com.netflix.astyanax.util
Class ByteBufferRangeImpl

java.lang.Object
  extended by com.netflix.astyanax.util.ByteBufferRangeImpl
All Implemented Interfaces:
ByteBufferRange

public class ByteBufferRangeImpl
extends java.lang.Object
implements ByteBufferRange


Constructor Summary
ByteBufferRangeImpl(java.nio.ByteBuffer start, java.nio.ByteBuffer end, int limit, boolean reversed)
           
 
Method Summary
 java.nio.ByteBuffer getEnd()
           
 int getLimit()
           
 java.nio.ByteBuffer getStart()
           
 boolean isReversed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteBufferRangeImpl

public ByteBufferRangeImpl(java.nio.ByteBuffer start,
                           java.nio.ByteBuffer end,
                           int limit,
                           boolean reversed)
Method Detail

getStart

public java.nio.ByteBuffer getStart()
Specified by:
getStart in interface ByteBufferRange

getEnd

public java.nio.ByteBuffer getEnd()
Specified by:
getEnd in interface ByteBufferRange

isReversed

public boolean isReversed()
Specified by:
isReversed in interface ByteBufferRange

getLimit

public int getLimit()
Specified by:
getLimit in interface ByteBufferRange