java.lang.Object
org.jjoost.collections.base.LockFreeHashStore<N>
org.jjoost.collections.base.LockFreeLinkedHashStore<N>
- All Implemented Interfaces:
- java.io.Serializable, HashStore<N>
public class LockFreeLinkedHashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>
- extends LockFreeHashStore<N>
- See Also:
- Serialized Form
|
Method Summary |
<NCmp,V> java.util.Iterator<V> |
|
all(Function<? super N,? extends NCmp> nodePrefixEqFunc,
HashNodeEquality<? super NCmp,? super N> nodePrefixEq,
Function<? super N,? extends V> ret)
|
|
copy(Function<? super N,? extends NCmp> nodeEqualityProj,
HashNodeEquality<? super NCmp,? super N> nodeEquality)
|
<NCmp,NCmp2,V>
java.util.Iterator<V> |
|
unique(Function<? super N,? extends NCmp> uniquenessEqualityProj,
Equality<? super NCmp> uniquenessEquality,
Function<? super N,? extends NCmp2> nodeEqualityProj,
HashNodeEquality<? super NCmp2,? super N> nodeEquality,
Function<? super N,? extends V> ret)
|
| Methods inherited from class org.jjoost.collections.base.LockFreeHashStore |
capacity, clear, clearAndReturn, contains, count, ensureAndGet, find, findNow, first, isEmpty, put, putIfAbsent, putIfAbsent, remove, removeAndReturn, removeAndReturnFirst, removeNode, resize, shrink, toString, totalCount, uniquePrefixCount |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LockFreeLinkedHashStore
public LockFreeLinkedHashStore(float loadFactor,
org.jjoost.collections.base.LockFreeHashStore.Counter totalCounter,
org.jjoost.collections.base.LockFreeHashStore.Counter uniqCounter,
N[] table)
LockFreeLinkedHashStore
public LockFreeLinkedHashStore(int initialCapacity,
float loadFactor,
LockFreeHashStore.Counting totalCounting,
LockFreeHashStore.Counting uniquePrefixCounting)
copy
public <NCmp> HashStore<N> copy(Function<? super N,? extends NCmp> nodeEqualityProj,
HashNodeEquality<? super NCmp,? super N> nodeEquality)
- Specified by:
copy in interface HashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>- Overrides:
copy in class LockFreeHashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>
all
public <NCmp,V> java.util.Iterator<V> all(Function<? super N,? extends NCmp> nodePrefixEqFunc,
HashNodeEquality<? super NCmp,? super N> nodePrefixEq,
Function<? super N,? extends V> ret)
- Specified by:
all in interface HashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>- Overrides:
all in class LockFreeHashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>
unique
public <NCmp,NCmp2,V> java.util.Iterator<V> unique(Function<? super N,? extends NCmp> uniquenessEqualityProj,
Equality<? super NCmp> uniquenessEquality,
Function<? super N,? extends NCmp2> nodeEqualityProj,
HashNodeEquality<? super NCmp2,? super N> nodeEquality,
Function<? super N,? extends V> ret)
- Specified by:
unique in interface HashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>- Overrides:
unique in class LockFreeHashStore<N extends LockFreeLinkedHashStore.LockFreeLinkedHashNode<N>>