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