public class ReadOnlyExpiringHashSet<T> extends AbstractReadOnlyExpiringCollection implements ReadOnlyExpiringSet<T>
Constructor and Description |
---|
ReadOnlyExpiringHashSet(ReadOnlyExpiringHashSetBuilder<T> builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected void |
doClear() |
protected void |
doLoad() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
void |
reload() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
finalize, getExpiryTimeoutMilliseconds, getId, getLastLoadingTime, hasExpired, isLoadOnFirstAccess, isReloadOnExpiry, setExpiryTimeoutMilliseconds, setId, setLoadOnFirstAccess, setReloadOnExpiry, setReloadWhenExpired, setTimeProvider, start, stop, validateOnAccess
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stop
equals, hashCode, spliterator
parallelStream, removeIf, stream
public ReadOnlyExpiringHashSet(ReadOnlyExpiringHashSetBuilder<T> builder)
protected void doLoad()
doLoad
in class AbstractReadOnlyExpiringCollection
public boolean add(T e)
public boolean addAll(Collection<? extends T> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
protected void doClear()
doClear
in class AbstractReadOnlyExpiringCollection
public void reload()
reload
in interface ReadOnlyExpiringCollection
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.