Class CGDTreeSet<I extends Number>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<I>
repast.simphony.visualization.cgd.util.CGDTreeSet<I>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<I>
,Collection<I>
,NavigableSet<I>
,Set<I>
,SortedSet<I>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
difference
(TreeSet child) Removes each node from the parent list which is a child for both parent and child node.void
indexUnion
(TreeSet[] base, TreeSet index) void
boolean
intersects
(TreeSet ts) boolean
Check if ts is a subset of this set.void
Methods inherited from class java.util.TreeSet
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
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
-
Constructor Details
-
CGDTreeSet
public CGDTreeSet()
-
-
Method Details
-
intersect
-
union
-
indexUnion
-
difference
Removes each node from the parent list which is a child for both parent and child node.- Parameters:
child
-
-
isSubset
Check if ts is a subset of this set.- Parameters:
ts
-- Returns:
-
intersects
-