Package org.jboss.resteasy.util
Class ArrayCharSequence
- java.lang.Object
 - 
- org.jboss.resteasy.util.ArrayCharSequence
 
 
- 
- All Implemented Interfaces:
 CharSequence
public class ArrayCharSequence extends Object implements CharSequence
A CharSequence backed by a char[] (no copy on creation) 
- 
- 
Constructor Summary
Constructors Constructor Description ArrayCharSequence(char[] buff)ArrayCharSequence(char[] buff, int count)ArrayCharSequence(char[] buff, int offset, int count) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)intlength()CharSequencesubSequence(int beginIndex, int endIndex)StringtoString()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.lang.CharSequence
chars, codePoints 
 - 
 
 - 
 
- 
- 
Method Detail
- 
charAt
public char charAt(int index)
- Specified by:
 charAtin interfaceCharSequence
 
- 
length
public int length()
- Specified by:
 lengthin interfaceCharSequence
 
- 
subSequence
public CharSequence subSequence(int beginIndex, int endIndex)
- Specified by:
 subSequencein interfaceCharSequence
 
- 
toString
public String toString()
- Specified by:
 toStringin interfaceCharSequence- Overrides:
 toStringin classObject
 
 - 
 
 -