public class LongHashSet extends LongHash
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected ReentrantReadWriteLock.ReadLock |
rl |
protected ReentrantReadWriteLock |
rwl |
protected long[][][] |
values |
protected ReentrantReadWriteLock.WriteLock |
wl |
| Constructor and Description |
|---|
LongHashSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int msw,
int lsw) |
void |
add(long key) |
boolean |
containsKey(long key) |
boolean |
isEmpty() |
long[] |
keys() |
long[] |
popAll() |
long |
popFirst() |
void |
remove(long key) |
int |
size() |
protected long[][][] values
protected int count
protected ReentrantReadWriteLock rwl
protected ReentrantReadWriteLock.ReadLock rl
protected ReentrantReadWriteLock.WriteLock wl
public boolean isEmpty()
public int size()
public void add(int msw,
int lsw)
public void add(long key)
public boolean containsKey(long key)
containsKey in class LongHashpublic long popFirst()
public long[] popAll()
public long[] keys()
Copyright © 2015. All Rights Reserved.