站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byorg.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.
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
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
clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

OrderedSet

public OrderedSet()
Creates new OrderedSet

Method Detail

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.


 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.