com.alexkasko.unsafe.offheap
T - private static class OffHeapUtils.EmptyDisposableIterator<T> extends Object implements OffHeapDisposableIterator<T>
OffHeapDisposableIterator| Modifier | Constructor and Description |
|---|---|
private |
OffHeapUtils.EmptyDisposableIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
free()
Frees allocated memory, may be called multiple times from any thread
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
long |
size()
Optional method, should return size of the underlying collections,
if such size is known on iterator creation or
-1 otherwise |
private OffHeapUtils.EmptyDisposableIterator()
public void free()
OffHeapDisposablefree in interface OffHeapDisposablepublic long size()
OffHeapDisposableIterator-1 otherwisesize in interface OffHeapDisposableIterator<T>Copyright © 2014. All Rights Reserved.