oracle.dss.graph
Class GraphSelectionSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<GraphSelection>
oracle.dss.graph.GraphSelectionSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<GraphSelection>, java.util.Collection<GraphSelection>, java.util.Set<GraphSelection>
public class GraphSelectionSet
- extends java.util.AbstractSet<GraphSelection>
- implements java.io.Serializable
This set is a mutable collection of GraphSelection objects. It is used
to encapsulate a selection on a graph.
- See Also:
- Serialized Form
Constructor Summary |
GraphSelectionSet()
Constructor that initializes this GraphSelectionSet object. |
Methods inherited from class java.util.AbstractSet |
removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, clear, contains, containsAll, isEmpty, remove, 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.Set |
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray |
GraphSelectionSet
public GraphSelectionSet()
- Constructor that initializes this GraphSelectionSet object.
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface java.util.Collection<GraphSelection>
- Specified by:
equals
in interface java.util.Set<GraphSelection>
- Overrides:
equals
in class java.util.AbstractSet<GraphSelection>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.util.Collection<GraphSelection>
- Specified by:
hashCode
in interface java.util.Set<GraphSelection>
- Overrides:
hashCode
in class java.util.AbstractSet<GraphSelection>
iterator
public java.util.Iterator<GraphSelection> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<GraphSelection>
- Specified by:
iterator
in interface java.util.Collection<GraphSelection>
- Specified by:
iterator
in interface java.util.Set<GraphSelection>
- Specified by:
iterator
in class java.util.AbstractCollection<GraphSelection>
size
public int size()
- Specified by:
size
in interface java.util.Collection<GraphSelection>
- Specified by:
size
in interface java.util.Set<GraphSelection>
- Specified by:
size
in class java.util.AbstractCollection<GraphSelection>
add
public boolean add(GraphSelection selection)
- Specified by:
add
in interface java.util.Collection<GraphSelection>
- Specified by:
add
in interface java.util.Set<GraphSelection>
- Overrides:
add
in class java.util.AbstractCollection<GraphSelection>
Copyright © 1997, 2013, Oracle. All rights reserved.