public abstract class ByteBufferCloner extends java.lang.Object implements Cloner
Constructor and Description |
---|
ByteBufferCloner() |
Modifier and Type | Method and Description |
---|---|
abstract java.nio.ByteBuffer |
allocate(int size)
Allocate a slice of the given length.
|
java.nio.ByteBuffer |
clone(byte[] bytes) |
java.nio.ByteBuffer |
clone(java.nio.ByteBuffer buffer) |
Cell<?> |
clone(Cell<?> cell)
Clones the specified cell.
|
Clustering<?> |
clone(Clustering<?> clustering)
Clones the specified clustering.
|
DecoratedKey |
clone(DecoratedKey key)
Clones the specified key.
|
<V> java.nio.ByteBuffer |
clone(V value,
ValueAccessor<V> accessor) |
public abstract java.nio.ByteBuffer allocate(int size)
public DecoratedKey clone(DecoratedKey key)
Cloner
public Clustering<?> clone(Clustering<?> clustering)
Cloner
public Cell<?> clone(Cell<?> cell)
Cloner
public final java.nio.ByteBuffer clone(java.nio.ByteBuffer buffer)
public final java.nio.ByteBuffer clone(byte[] bytes)
public final <V> java.nio.ByteBuffer clone(V value, ValueAccessor<V> accessor)
Copyright © 2009- The Apache Software Foundation