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, tupleFactoriesserializedBytes, 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, serializechanged, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, save, setContainerJidacceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, getSerializedLength, load, save, setContainerJidprotected 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
Exceptionprotected IntegerJid getSizeJid() throws Exception
Exceptionpublic int size()
throws Exception
size in interface Collection<ENTRY_TYPE extends Jid>Exceptionprotected ListJid<ENTRY_TYPE> getNode() throws Exception
Exceptionpublic ENTRY_TYPE iGet(int ndx) throws Exception
iGet in interface Collection<ENTRY_TYPE extends Jid>ndx - Selects the element.Exceptionpublic 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 _JidresolvePathname in class Jidpathname - 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
Exceptionpublic void empty()
throws Exception
Copyright © 2013. All Rights Reserved.