|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.util.LazySet<ElementType>
ElementType
- type of the elements within the set@NotThreadSafe public class LazySet<ElementType>
A set that is lazy initialized. This set takes very little memory when storing zero or one item.
Constructor Summary | |
---|---|
LazySet()
|
Method Summary | ||
---|---|---|
boolean |
add(ElementType element)
|
|
boolean |
addAll(Collection<? extends ElementType> collection)
|
|
void |
clear()
|
|
boolean |
contains(Object element)
|
|
boolean |
containsAll(Collection<?> collection)
|
|
boolean |
equals(Object obj)
|
|
int |
hashCode()
|
|
boolean |
isEmpty()
|
|
Iterator<ElementType> |
iterator()
|
|
boolean |
remove(Object element)
|
|
boolean |
removeAll(Collection<?> collection)
|
|
boolean |
retainAll(Collection<?> collection)
|
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] type)
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LazySet()
Method Detail |
---|
public boolean add(ElementType element)
add
in interface Collection<ElementType>
add
in interface Set<ElementType>
public boolean addAll(Collection<? extends ElementType> collection)
addAll
in interface Collection<ElementType>
addAll
in interface Set<ElementType>
public void clear()
clear
in interface Collection<ElementType>
clear
in interface Set<ElementType>
public boolean contains(Object element)
contains
in interface Collection<ElementType>
contains
in interface Set<ElementType>
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<ElementType>
containsAll
in interface Set<ElementType>
public boolean isEmpty()
isEmpty
in interface Collection<ElementType>
isEmpty
in interface Set<ElementType>
public Iterator<ElementType> iterator()
iterator
in interface Iterable<ElementType>
iterator
in interface Collection<ElementType>
iterator
in interface Set<ElementType>
public boolean remove(Object element)
remove
in interface Collection<ElementType>
remove
in interface Set<ElementType>
public boolean removeAll(Collection<?> collection)
removeAll
in interface Collection<ElementType>
removeAll
in interface Set<ElementType>
public boolean retainAll(Collection<?> collection)
retainAll
in interface Collection<ElementType>
retainAll
in interface Set<ElementType>
public int size()
size
in interface Collection<ElementType>
size
in interface Set<ElementType>
public Object[] toArray()
toArray
in interface Collection<ElementType>
toArray
in interface Set<ElementType>
public <T> T[] toArray(T[] type)
toArray
in interface Collection<ElementType>
toArray
in interface Set<ElementType>
public String toString()
toString
in class Object
public int hashCode()
hashCode
in interface Collection<ElementType>
hashCode
in interface Set<ElementType>
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface Collection<ElementType>
equals
in interface Set<ElementType>
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |