当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
OrderedSet (NetBeans VCS API) - NetBeans API Javadoc 4.1.0
org.netbeans.modules.vcscore.util
Class OrderedSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
org.netbeans.modules.vcscore.util.OrderedSet
- All Implemented Interfaces:
- Collection, Set
- public final class OrderedSet
- extends AbstractSet
Constructor Summary |
OrderedSet()
Creates new OrderedSet |
Method Summary |
boolean |
add(Object obj)
|
boolean |
addAll(Collection coll)
Adds all of the elements in the specified collection to this collection. |
Iterator |
iterator()
Returns an iterator over the elements contained in this collection. |
int |
size()
Returns the number of elements in this collection. |
OrderedSet
public OrderedSet()
- Creates new OrderedSet
add
public boolean add(Object obj)
addAll
public boolean addAll(Collection coll)
- Adds all of the elements in the specified collection to this collection.
iterator
public Iterator iterator()
- Returns an iterator over the elements contained in this collection.
size
public int size()
- Returns the number of elements in this collection.