public class BListJid<ENTRY_TYPE extends Jid> extends AppJid implements Collection<ENTRY_TYPE>, JAList
Modifier and Type | Field and Description |
---|---|
protected org.agilewiki.jactor.factory.ActorFactory |
entryFactory |
protected boolean |
isRoot |
protected int |
nodeCapacity |
protected int |
TUPLE_SIZE |
protected int |
TUPLE_UNION |
tuple, tupleFactories
serializedBytes, serializedOffset
Constructor and Description |
---|
BListJid() |
Modifier and Type | Method and Description |
---|---|
void |
empty() |
protected org.agilewiki.jactor.factory.ActorFactory |
getEntryFactory()
Returns the JidFactory for all the elements in the list.
|
protected ListJid<ENTRY_TYPE> |
getNode() |
String |
getNodeType() |
protected IntegerJid |
getSizeJid() |
protected UnionJid |
getUnionJid() |
void |
iAdd(int i) |
void |
iAddBytes(int ndx,
byte[] bytes) |
ENTRY_TYPE |
iGet(int ndx)
Returns the selected element.
|
protected void |
incSize(int inc) |
protected void |
init() |
protected void |
inodeSplit(BListJid<ENTRY_TYPE> leftBNode) |
void |
iRemove(int ndx) |
void |
iSetBytes(int ndx,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
boolean |
isFat() |
boolean |
isLeaf() |
int |
nodeSize() |
_Jid |
resolvePathname(String pathname)
Resolves a JID pathname, returning a JID actor or null.
|
protected void |
rootSplit() |
protected void |
setNodeType(String nodeType) |
int |
size()
Returns the size of the collection.
|
_iGet, _iSetBytes, _resolvePathname, _size, change, getSerializedLength, getTupleFactories, load, serialize
changed, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, save, setContainerJid
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
change, getSerializedLength, load, save, setContainerJid
protected final int TUPLE_SIZE
protected final int TUPLE_UNION
protected int nodeCapacity
protected boolean isRoot
protected org.agilewiki.jactor.factory.ActorFactory entryFactory
protected org.agilewiki.jactor.factory.ActorFactory getEntryFactory() throws Exception
Exception
protected IntegerJid getSizeJid() throws Exception
Exception
public int size() throws Exception
size
in interface Collection<ENTRY_TYPE extends Jid>
Exception
protected ListJid<ENTRY_TYPE> getNode() throws Exception
Exception
public ENTRY_TYPE iGet(int ndx) throws Exception
iGet
in interface Collection<ENTRY_TYPE extends Jid>
ndx
- Selects the element.Exception
public void iSetBytes(int ndx, byte[] bytes) throws Exception
iSetBytes
in interface Collection<ENTRY_TYPE extends Jid>
ndx
- The index of the desired element.bytes
- Holds the serialized data.Exception
- Any exceptions thrown while processing the request.public _Jid resolvePathname(String pathname) throws Exception
resolvePathname
in interface _Jid
resolvePathname
in class Jid
pathname
- A JID pathname.Exception
- Any uncaught exception which occurred while processing the request.public void iAdd(int i) throws Exception
public void iAddBytes(int ndx, byte[] bytes) throws Exception
protected void inodeSplit(BListJid<ENTRY_TYPE> leftBNode) throws Exception
Exception
public void empty() throws Exception
Copyright © 2013. All Rights Reserved.