erjang
Class EBigString

java.lang.Object
  extended by erjang.EObject
      extended by erjang.ECons
          extended by erjang.ESeq
              extended by erjang.EBigString
All Implemented Interfaces:
java.lang.CharSequence, java.lang.Comparable<EObject>

public class EBigString
extends ESeq
implements java.lang.CharSequence


Nested Class Summary
 class EBigString.SubSequence
           
 
Field Summary
 
Fields inherited from class erjang.EObject
CMP_ORDER_ATOM, CMP_ORDER_BITSTRING, CMP_ORDER_ERJANG_INTERNAL, CMP_ORDER_FUN, CMP_ORDER_LIST, CMP_ORDER_NUMBER, CMP_ORDER_PID, CMP_ORDER_PORT, CMP_ORDER_REFERENCE, CMP_ORDER_TUPLE
 
Constructor Summary
EBigString(java.lang.String value)
           
 
Method Summary
 EBinary asBitString(java.nio.charset.Charset charset)
           
 char charAt(int index)
           
 void collectCharList(CharCollector out)
           
 EList cons(EObject h)
           
 Type emit_const(MethodVisitor fa)
           
 boolean equals(java.lang.Object obj)
           
 boolean equalsExactly(EObject rhs)
           
static EBigString fromString(java.lang.String s)
           
 int hashCode()
           
 ESmall head()
           
static boolean isValidCodePoint(int cp)
           
 int length()
           
static EBigString make(char[] array, int arrayOffset, int len)
           
static EBigString make(ECons list)
           
static EBigString make(EObject eObject)
           
 ECons prepend(ECons list)
           
static ESeq read(EInputStream ei)
           
 java.lang.String stringValue()
           
 java.lang.CharSequence subSequence(int start, int end)
           
 ESeq tail()
           
 EBigString testBigString()
           
 ECons testCons()
           
 ENil testNil()
           
 ECons testNonEmptyList()
           
 ESeq testSeq()
           
 java.lang.String toString()
           
 
Methods inherited from class erjang.ESeq
cons, cons, cons, fromArray, fromArraySkippingNulls, fromList, reverse, testString, toArray
 
Methods inherited from class erjang.ECons
collectIOList, compileMatch, count, match
 
Methods inherited from class erjang.EObject
add, add, add, add, asInt, band, band, band, bnot, bor, bor, bor, bsl, bsl, bsr, bxor, bxor, bxor, compareTo, divide, divide, equals, ge, idiv, idiv, irem, irem, isBoolean, isNil, multiply, multiply, multiply, multiply, negate, subtract, subtract, testAtom, testBinary, testBinMatchState, testBitString, testBoolean, testFloat, testFunction, testFunction2, testHandle, testInteger, testInternalPID, testInternalPort, testNumber, testPID, testPort, testPortControl, testReference, testSmall, testTuple
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EBigString

public EBigString(java.lang.String value)
Method Detail

testBigString

public EBigString testBigString()
Overrides:
testBigString in class EObject

make

public static EBigString make(char[] array,
                              int arrayOffset,
                              int len)
Parameters:
array -
arrayOffset -
len -

make

public static EBigString make(ECons list)
Parameters:
list -

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

stringValue

public java.lang.String stringValue()

equalsExactly

public boolean equalsExactly(EObject rhs)
Overrides:
equalsExactly in class EObject

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class EObject

charAt

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

length

public int length()
Specified by:
length in interface java.lang.CharSequence
Overrides:
length in class ESeq

subSequence

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

toString

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

fromString

public static EBigString fromString(java.lang.String s)

emit_const

public Type emit_const(MethodVisitor fa)
Overrides:
emit_const in class EObject

cons

public EList cons(EObject h)
Specified by:
cons in class ESeq

tail

public ESeq tail()
Specified by:
tail in class ESeq

head

public ESmall head()
Specified by:
head in class ECons

testNil

public ENil testNil()
Overrides:
testNil in class EObject

testSeq

public ESeq testSeq()
Overrides:
testSeq in class ESeq

testNonEmptyList

public ECons testNonEmptyList()
Overrides:
testNonEmptyList in class EObject

testCons

public ECons testCons()
Overrides:
testCons in class ECons

prepend

public ECons prepend(ECons list)
Overrides:
prepend in class ECons
Returns:

asBitString

public EBinary asBitString(java.nio.charset.Charset charset)
Returns:

make

public static EBigString make(EObject eObject)
Parameters:
eObject -
Returns:

collectCharList

public void collectCharList(CharCollector out)
                     throws CharCollector.CollectingException,
                            java.io.IOException
Overrides:
collectCharList in class ECons
Throws:
CharCollector.CollectingException - when encountering something that can't be decoded as characters using the given CharCollector. Exception contains the undecoded part of the input.
java.io.IOException - when out.output throws IOException.

isValidCodePoint

public static boolean isValidCodePoint(int cp)
Parameters:
i -
Returns:

read

public static ESeq read(EInputStream ei)
                 throws java.io.IOException
Throws:
java.io.IOException


TBD erjang license note