ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
ByteList() |
| Modifier and Type | Method and Description |
|---|---|
int |
calcChildren(boolean isDynamic,
boolean isLast) |
int |
calcLength(boolean isDynamic,
boolean isLast) |
ByteBuffer |
getBytes(boolean isDynamic) |
BaseItem |
getNewList(boolean keyValue) |
byte |
getTyp() |
boolean |
remove(java.lang.Object value) |
java.lang.String |
toString()
Convert Element to String
|
java.lang.String |
toString(ByteConverter converter,
boolean dynamic)
Convert the bytes to a String
|
java.lang.String |
toString(Converter converter)
Convert the bytes to a String
|
ByteList |
with(java.lang.Object... values)
Add Elements to List or KeyValue
if param Modulo 2 the Params can be Key,Value
or add all Values to List
|
ByteList |
withTyp(java.lang.Byte value) |
SimpleList<ByteItem> |
withValue(java.lang.String value) |
void |
writeBytes(ByteBuffer buffer,
boolean isDynamic,
boolean last,
boolean isPrimitive)
Write the Entity to the buffer
|
clone, filter, subListadd, add, addAll, addAll, ceiling, copyEntity, filterItems, iteratorReverse, listIterator, listIterator, remove, set, subSet, withListaddHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, iterator, iterator, last, lastIndexOf, move, pack, parseItem, removeAll, removeByObject, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withVisibleequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic BaseItem getNewList(boolean keyValue)
getNewList in interface BaseItemgetNewList in class SimpleList<ByteItem>public java.lang.String toString()
BaseItemtoString in interface BaseItemtoString in class AbstractArray<ByteItem>public java.lang.String toString(Converter converter)
toString in interface BaseItemtoString in class AbstractArray<ByteItem>converter - Grammarpublic java.lang.String toString(ByteConverter converter, boolean dynamic)
public ByteBuffer getBytes(boolean isDynamic)
public void writeBytes(ByteBuffer buffer, boolean isDynamic, boolean last, boolean isPrimitive)
ByteItemwriteBytes in interface ByteItembuffer - for writingisDynamic - dynamic switschlast - is the entity is the last of a listisPrimitive - need the entity no datatyppublic int calcLength(boolean isDynamic,
boolean isLast)
calcLength in interface ByteItemisDynamic - ByteStream for minimize outputisLast - is the Element is the Last of Grouppublic int calcChildren(boolean isDynamic,
boolean isLast)
public ByteList withTyp(java.lang.Byte value)
public SimpleList<ByteItem> withValue(java.lang.String value)
public ByteList with(java.lang.Object... values)
BaseItemwith in interface BaseItemwith in class SimpleList<ByteItem>values - Items to Add to Listpublic boolean remove(java.lang.Object value)
remove in interface java.util.Collection<ByteItem>remove in interface java.util.List<ByteItem>remove in class SimpleList<ByteItem>