private static class LRUDictionary.BidirectionalLRUMap.ByteBufferBackedNode extends LRUDictionary.BidirectionalLRUMap.Node
Modifier and Type | Field and Description |
---|---|
private ByteBuffer |
container |
length, next, offset, prev
Constructor and Description |
---|
ByteBufferBackedNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
(package private) byte[] |
getContents() |
int |
hashCode() |
(package private) void |
resetContents() |
(package private) void |
setContents(byte[] container,
int offset,
int length) |
(package private) void |
setContents(ByteBuffer container,
int offset,
int length) |
private ByteBuffer container
public ByteBufferBackedNode()
void setContents(byte[] container, int offset, int length)
setContents
in class LRUDictionary.BidirectionalLRUMap.Node
void setContents(ByteBuffer container, int offset, int length)
void resetContents()
resetContents
in class LRUDictionary.BidirectionalLRUMap.Node
byte[] getContents()
getContents
in class LRUDictionary.BidirectionalLRUMap.Node
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.