public static class IndexedRTree.ImmutableRTreeObjectStrategy extends Object implements ObjectStrategy<com.metamx.collections.spatial.ImmutableRTree>
Constructor and Description |
---|
IndexedRTree.ImmutableRTreeObjectStrategy(com.metamx.collections.bitmap.BitmapFactory bitmapFactory) |
Modifier and Type | Method and Description |
---|---|
int |
compare(com.metamx.collections.spatial.ImmutableRTree o1,
com.metamx.collections.spatial.ImmutableRTree o2) |
com.metamx.collections.spatial.ImmutableRTree |
fromByteBuffer(ByteBuffer buffer,
int numBytes)
Convert values from their underlying byte representation.
|
Class<? extends com.metamx.collections.spatial.ImmutableRTree> |
getClazz() |
byte[] |
toBytes(com.metamx.collections.spatial.ImmutableRTree val) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public IndexedRTree.ImmutableRTreeObjectStrategy(com.metamx.collections.bitmap.BitmapFactory bitmapFactory)
public Class<? extends com.metamx.collections.spatial.ImmutableRTree> getClazz()
getClazz
in interface ObjectStrategy<com.metamx.collections.spatial.ImmutableRTree>
public com.metamx.collections.spatial.ImmutableRTree fromByteBuffer(ByteBuffer buffer, int numBytes)
ObjectStrategy
fromByteBuffer
in interface ObjectStrategy<com.metamx.collections.spatial.ImmutableRTree>
buffer
- buffer to read value fromnumBytes
- number of bytes used to store the value, starting at buffer.position()public byte[] toBytes(com.metamx.collections.spatial.ImmutableRTree val)
toBytes
in interface ObjectStrategy<com.metamx.collections.spatial.ImmutableRTree>
public int compare(com.metamx.collections.spatial.ImmutableRTree o1, com.metamx.collections.spatial.ImmutableRTree o2)
compare
in interface Comparator<com.metamx.collections.spatial.ImmutableRTree>
Copyright © 2011–2015. All rights reserved.