|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet
common.IndexedSet.EmptyIndexedSet
public static class IndexedSet.EmptyIndexedSet
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface common.IndexedSet |
---|
IndexedSet.EmptyIndexedSet |
Field Summary |
---|
Fields inherited from interface common.IndexedSet |
---|
EMPTY_INDEXED_SET |
Constructor Summary | |
---|---|
IndexedSet.EmptyIndexedSet()
|
Method Summary | |
---|---|
boolean |
contains(java.lang.Object o)
|
java.lang.Object |
get(int index)
Returns the object with the specified index in this IndexedSet. |
int |
indexOf(java.lang.Object o)
Returns the index of the given object in this IndexedSet, or -1 if this IndexedSet does not contain the given object. |
java.util.Iterator |
iterator()
|
int |
size()
|
Methods inherited from class java.util.AbstractSet |
---|
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
---|
add, addAll, clear, 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 |
---|
add, addAll, clear, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Constructor Detail |
---|
public IndexedSet.EmptyIndexedSet()
Method Detail |
---|
public int size()
size
in interface java.util.Collection
size
in interface java.util.Set
size
in class java.util.AbstractCollection
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.Set
contains
in class java.util.AbstractCollection
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.Set
iterator
in class java.util.AbstractCollection
public java.lang.Object get(int index)
IndexedSet
get
in interface IndexedSet
public int indexOf(java.lang.Object o)
IndexedSet
indexOf
in interface IndexedSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |