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>

public class CGDTreeSet<I extends Number> extends TreeSet<I>
See Also:
  • Constructor Details

    • CGDTreeSet

      public CGDTreeSet()
  • Method Details

    • intersect

      public void intersect(TreeSet b)
    • union

      public void union(TreeSet child)
    • indexUnion

      public void indexUnion(TreeSet[] base, TreeSet index)
    • difference

      public void difference(TreeSet child)
      Removes each node from the parent list which is a child for both parent and child node.
      Parameters:
      child -
    • isSubset

      public boolean isSubset(TreeSet ts)
      Check if ts is a subset of this set.
      Parameters:
      ts -
      Returns:
    • intersects

      public boolean intersects(TreeSet ts)