|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongCollection
This class extends Collection
with methods that are specific
for long
values.
Method Summary | |
---|---|
boolean |
add(long key)
Ensures that this collection contains the specified element. |
boolean |
contains(long key)
Returns true if this collection contains the specified element. |
LongIterator |
longIterator()
Returns an iterator over the elements in this collection. |
boolean |
remove(long key)
Removes a single instance of the specified element from this collection, if it is present. |
long[] |
toLongArray()
Returns an array containing all of the elements in this collection. |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
boolean contains(long key)
Collection.contains(Object)
boolean add(long key)
Collection.add(Object)
boolean remove(long key)
Collection.remove(Object)
long[] toLongArray()
Collection.toArray()
LongIterator longIterator()
Collection.iterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |