|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodesimian.CS<CSGeneric>
codesimian.DefaultCS
codesimian.PrimitiveArray
codesimian.ImmutBytes
public final class ImmutBytes
Immutable Bytes. THIS CLASS IS NOT FINISHED.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class codesimian.PrimitiveArray |
---|
PrimitiveArray.ByteArray, PrimitiveArray.IntArray, PrimitiveArray.ShortArray |
Field Summary | |
---|---|
static ImmutBytes |
EMPTY
|
Fields inherited from class codesimian.CS |
---|
DESCRIPTION, END, EXECPROXY, HEAP, JAVACODE, MYFUEL, NAME, NEWINSTANCE, NULL, PARENT, PARSEPRIORITY, PREV, TESTER, THIS |
Constructor Summary | |
---|---|
ImmutBytes(byte[] bytes)
|
|
ImmutBytes(byte[] b,
int offset,
int length)
|
|
ImmutBytes(java.lang.String s)
|
Method Summary | |
---|---|
byte |
B(int byteIndex)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.io.InputStream |
inputStream()
returns a new InputStream |
ImmutBytes |
intern()
|
ImmutBytes |
subImmutBytes(int start,
int end)
0 <= start+size < available() |
java.lang.String |
toString()
problem: toString() does not return the same as L(String.class). |
Methods inherited from class codesimian.PrimitiveArray |
---|
bitsToBytes, bytesToBits, concatByteArrays, cutBitsToMultipleOf8, D, deleteP, DForProxy, insertP, isIllusion, javaCodeForSubclass, keyword, maxP, minP, padBitsToMultipleOf8, sizeOfConcatChilds, subarray |
Methods inherited from class codesimian.DefaultCS |
---|
B, C, countP, decrementMyFuel, description, F, fuel, getExec, getObject, heap, I, indexP, indexPName, insertB, insertC, insertD, insertF, insertI, insertJ, insertL, insertL, insertL1, insertS, insertZ, J, javaCode, LForProxy, LForProxy, myFuel, name, newInstance, objectToCS, objectToCSArray, objectToCSArray, P, prevD, prevL, PType, S, setB, setC, setCountP, setD, setD, setExec, setF, setFuel, setI, setJ, setL, setL, setL, setL1, setMyFuel, setName, setObject, setP, setPrevExec, setPType, setS, setZ, start, V, Z |
Methods inherited from class codesimian.CS |
---|
addB, addC, addD, addF, addI, addJ, addL, addP, addP, addP, addP, addP, addS, addZ, BForProxy, CForProxy, clone, cost, deleteP, FForProxy, GETB, GETC, GETD, GETF, GETI, GETJ, GETL, GETS, GETZ, IForProxy, JForProxy, L, L, L, L, L, maxD, minD, overwrites, parent, parsePriority, PB, PC, PD, PF, PI, PJ, PL, prevB, prevC, prevF, prevI, prevJ, prevS, prevZ, proxyOf, PS, PZ, reflect, reflect, reflect6, setB, SETB, setC, SETC, setCost, SETD, setDescription, setF, SETF, setHeap, setI, SETI, setJ, SETJ, SETL, setL, setL, setParent, setParsePriority, setProxyOf, setS, SETS, setTester, setZ, SETZ, SForProxy, tester, toJavaCode, VForProxy, voidReflect, ZForProxy |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ImmutBytes EMPTY
Constructor Detail |
---|
public ImmutBytes(java.lang.String s)
public ImmutBytes(byte[] bytes)
public ImmutBytes(byte[] b, int offset, int length)
Method Detail |
---|
public byte B(int byteIndex)
public ImmutBytes subImmutBytes(int start, int end)
String.substring(int,int)
public ImmutBytes intern()
String.intern()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
DefaultCS
toString
in class DefaultCS
public int hashCode()
hashCode
in class java.lang.Object
public java.io.InputStream inputStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |