org.apache.accumulo.core.util
Class ByteArrayBackedCharSequence

java.lang.Object
  extended by org.apache.accumulo.core.util.ByteArrayBackedCharSequence
All Implemented Interfaces:
CharSequence

public class ByteArrayBackedCharSequence
extends Object
implements CharSequence


Constructor Summary
ByteArrayBackedCharSequence()
           
ByteArrayBackedCharSequence(byte[] data)
           
ByteArrayBackedCharSequence(byte[] data, int offset, int len)
           
 
Method Summary
 char charAt(int index)
           
 int length()
           
 void set(byte[] data, int offset, int len)
           
 void set(ByteSequence bs)
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteArrayBackedCharSequence

public ByteArrayBackedCharSequence(byte[] data,
                                   int offset,
                                   int len)

ByteArrayBackedCharSequence

public ByteArrayBackedCharSequence(byte[] data)

ByteArrayBackedCharSequence

public ByteArrayBackedCharSequence()
Method Detail

set

public void set(byte[] data,
                int offset,
                int len)

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

length

public int length()
Specified by:
length in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object

set

public void set(ByteSequence bs)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.