T - the decoded type of the elementsPT - the persisted type from which we are decoding and to which we are
encoding each elementspublic class PersistedSet<T,PT> extends AbstractSet<T> implements PersistedObject<T,PT>
PersistedSet class provides a Set implementation
suitable to hold persisted values.| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e) |
void |
clear() |
Set<PersistedValue<T,PT>> |
getPersistedSet()
Gets the persisted set.
|
boolean |
isEmpty() |
Iterator<T> |
iterator() |
java.util.stream.Stream<T> |
parallelStream() |
boolean |
remove(Object o) |
int |
size() |
Spliterator<T> |
spliterator() |
java.util.stream.Stream<T> |
stream() |
String |
toString() |
equals, hashCode, removeAlladdAll, contains, containsAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, retainAll, toArray, toArrayremoveIfpublic Set<PersistedValue<T,PT>> getPersistedSet()
null persisted setpublic int size()
size in interface Collection<T>size in interface Set<T>size in class AbstractCollection<T>Set.size()public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface Set<T>isEmpty in class AbstractCollection<T>Set.isEmpty()public Iterator<T> iterator()
iterator in interface Iterable<T>iterator in interface Collection<T>iterator in interface Set<T>iterator in class AbstractCollection<T>Set.iterator()public Spliterator<T> spliterator()
spliterator in interface Iterable<T>spliterator in interface Collection<T>spliterator in interface Set<T>LinkedHashSet.spliterator()public java.util.stream.Stream<T> stream()
stream in interface Collection<T>Collection.stream()public java.util.stream.Stream<T> parallelStream()
parallelStream in interface Collection<T>Collection.parallelStream()public boolean add(T e)
add in interface Collection<T>add in interface Set<T>add in class AbstractCollection<T>Set.add(java.lang.Object)public boolean remove(Object o)
remove in interface Collection<T>remove in interface Set<T>remove in class AbstractCollection<T>Set.remove(java.lang.Object)public void clear()
clear in interface Collection<T>clear in interface Set<T>clear in class AbstractCollection<T>Set.clear()public String toString()
toString in class AbstractCollection<T>Object.toString()Copyright (C) 2015-2015 The Helenus Driver Project Authors.