java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<T>
io.qt.core.QSet<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<T>
,Collection<T>
,Set<T>
Java wrapper for Qt class QSet
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
begin()
final int
capacity()
final void
clear()
clone()
final boolean
final int
count()
end()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final void
final void
intersect
(Collection<T> other) final boolean
intersects
(Collection<T> other) final boolean
isEmpty()
static <T> QSet<T>
of
(T element0, T... elements) Returns a QSet containing given elements.void
readFrom
(QDataStream stream) final boolean
final void
reserve
(int size) final int
size()
final void
subtract
(Collection<T> other) final void
unite
(Collection<T> other) values()
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.internal.QtJambiCollectionObject
addAll, containsAll, descendingIterator, iterator, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
addAll, containsAll, iterator, removeAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
QSet
-
QSet
-
QSet
-
QSet
-
QSet
-
-
Method Details
-
clone
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<T>
-
capacity
-
clear
-
contains
-
count
-
end
- Specified by:
end
in classQtJambiCollectionObject<T>
-
insert
-
intersect
-
intersects
-
isEmpty
-
remove
-
reserve
-
size
-
subtract
-
unite
-
values
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
add
-
writeTo
-
readFrom
-
of
Returns a QSet containing given elements.- Type Parameters:
E
- theQSet
's element type- Parameters:
element0
- the first elementelements
- subsequent elements- Returns:
- a
QSet
containing the specified element - Throws:
NullPointerException
- if elements arenull
-