public class LazySet<E> extends JdbcSet<E>
LazySet class.
Modifier and Type | Class and Description |
---|---|
static interface |
LazySet.Loader<E> |
JdbcSet.JdbcSetIterator
Constructor and Description |
---|
LazySet(LazySet.Loader<E> loader)
Constructor for LazySet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(Collection<? extends E> arg0) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> arg0) |
boolean |
isEmpty() |
boolean |
isLoaded()
isLoaded
|
Iterator<E> |
iterator()
iterator
|
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
int |
size()
size
|
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
String |
toString()
toString
|
add, getAdded, getRemaining, getRemoved, reset, setElements
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public LazySet(LazySet.Loader<E> loader)
Constructor for LazySet.
loader
- a LazySet.Loader
object.public int size()
size
public boolean removeAll(Collection<?> arg0)
removeAll
in interface Collection<E>
removeAll
in interface Set<E>
removeAll
in class AbstractSet<E>
public boolean addAll(Collection<? extends E> arg0)
addAll
in interface Collection<E>
addAll
in interface Set<E>
addAll
in class AbstractCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in interface Set<E>
clear
in class AbstractCollection<E>
public boolean contains(Object o)
contains
in interface Collection<E>
contains
in interface Set<E>
contains
in class AbstractCollection<E>
public boolean containsAll(Collection<?> arg0)
containsAll
in interface Collection<E>
containsAll
in interface Set<E>
containsAll
in class AbstractCollection<E>
public boolean isEmpty()
isEmpty
in interface Collection<E>
isEmpty
in interface Set<E>
isEmpty
in class AbstractCollection<E>
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in interface Set<E>
remove
in class AbstractCollection<E>
public boolean retainAll(Collection<?> arg0)
retainAll
in interface Collection<E>
retainAll
in interface Set<E>
retainAll
in class AbstractCollection<E>
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in interface Set<E>
toArray
in class AbstractCollection<E>
public <T> T[] toArray(T[] arg0)
toArray
in interface Collection<E>
toArray
in interface Set<E>
toArray
in class AbstractCollection<E>
public String toString()
toString
toString
in class AbstractCollection<E>
String
object.public boolean isLoaded()
isLoaded
Copyright © 2021. All rights reserved.