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