|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.oval.internal.util.LinkedSet<E>
public final class LinkedSet<E>
Constructor Summary | |
---|---|
LinkedSet()
Constructs a new, empty collection with an initial capacity (16). |
|
LinkedSet(int initialCapacity)
Constructs a new, empty collection with the given initial capacity. |
Method Summary | ||
---|---|---|
boolean |
add(E e)
|
|
void |
add(int index,
E e)
|
|
boolean |
addAll(Collection<? extends E> c)
|
|
boolean |
addAll(int index,
Collection<? extends E> c)
|
|
void |
clear()
|
|
Object |
clone()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
equals(Object obj)
|
|
E |
get(int index)
|
|
int |
hashCode()
|
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<E> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<E> |
listIterator()
|
|
ListIterator<E> |
listIterator(int index)
|
|
E |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
E |
set(int index,
E element)
|
|
int |
size()
|
|
List<E> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinkedSet()
public LinkedSet(int initialCapacity)
initialCapacity
- the initial capacityMethod Detail |
---|
public boolean add(E e)
add
in interface Collection<E>
add
in interface List<E>
add
in interface Set<E>
public void add(int index, E e)
add
in interface List<E>
public boolean addAll(Collection<? extends E> c)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in interface Set<E>
public boolean addAll(int index, Collection<? extends E> c)
addAll
in interface List<E>
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in interface Set<E>
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean contains(Object o)
contains
in interface Collection<E>
contains
in interface List<E>
contains
in interface Set<E>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<E>
containsAll
in interface List<E>
containsAll
in interface Set<E>
public boolean equals(Object obj)
equals
in interface Collection<E>
equals
in interface List<E>
equals
in interface Set<E>
equals
in class Object
public E get(int index)
get
in interface List<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in interface List<E>
hashCode
in interface Set<E>
hashCode
in class Object
public int indexOf(Object o)
indexOf
in interface List<E>
public boolean isEmpty()
isEmpty
in interface Collection<E>
isEmpty
in interface List<E>
isEmpty
in interface Set<E>
public Iterator<E> iterator()
iterator
in interface Iterable<E>
iterator
in interface Collection<E>
iterator
in interface List<E>
iterator
in interface Set<E>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
public E remove(int index)
remove
in interface List<E>
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in interface List<E>
remove
in interface Set<E>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<E>
removeAll
in interface List<E>
removeAll
in interface Set<E>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<E>
retainAll
in interface List<E>
retainAll
in interface Set<E>
public E set(int index, E element)
set
in interface List<E>
public int size()
size
in interface Collection<E>
size
in interface List<E>
size
in interface Set<E>
public List<E> subList(int fromIndex, int toIndex)
subList
in interface List<E>
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in interface Set<E>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in interface Set<E>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |