java.lang.Object
com.telenav.kivakit.collections.set.LogicalSet<T>
com.telenav.kivakit.collections.set.operations.Union<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
The logical union of two sets. The two sets are combined without creating any new set.
This set is not modifiable. To change the union, you must modify the underlying set(s).
- Author:
- jonathanl (shibo)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.telenav.kivakit.collections.set.LogicalSet
add, addAll, clear, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, 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
spliterator
-
Constructor Details
-
Union
-
-
Method Details
-
contains
-
equals
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
iterator
-
size
public int size()
-