public class 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)  | 
void | 
writeTo(ImmutableRTree val,
       WriteOutBytes out)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromByteBufferWithSizecomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ImmutableRTreeObjectStrategy(BitmapFactory bitmapFactory)
public Class<? extends ImmutableRTree> getClazz()
getClazz in interface ObjectStrategy<ImmutableRTree>public ImmutableRTree fromByteBuffer(ByteBuffer buffer, int numBytes)
ObjectStrategyByteBuffer.slice(), ByteBuffer.asReadOnlyBuffer() or ByteBuffer.duplicate() in
 this case.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 void writeTo(ImmutableRTree val, WriteOutBytes out) throws IOException
writeTo in interface ObjectStrategy<ImmutableRTree>IOExceptionpublic int compare(ImmutableRTree o1, ImmutableRTree o2)
compare in interface Comparator<ImmutableRTree>Copyright © 2011–2018. All rights reserved.