public class PList extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addFirst(java.lang.String id,
ByteSequence bs) |
void |
addLast(java.lang.String id,
ByteSequence bs) |
void |
destroy() |
PListEntry |
get(int position) |
PListEntry |
getFirst() |
PListEntry |
getLast() |
long |
getLastId() |
java.lang.String |
getName() |
PListEntry |
getNext(PListEntry entry) |
long |
getRootId() |
boolean |
isEmpty() |
boolean |
isLoaded() |
PListEntry |
refresh(PListEntry entry) |
boolean |
remove(int position) |
boolean |
remove(PListEntry entry) |
boolean |
remove(java.lang.String id) |
void |
setLastId(long lastId) |
void |
setName(java.lang.String name) |
void |
setRootId(long rootId) |
int |
size() |
void |
unload() |
void |
write(java.io.DataOutput out) |
public void setName(java.lang.String name)
public java.lang.String getName()
public int size()
public boolean isEmpty()
public long getRootId()
public void setRootId(long rootId)
rootId
- the rootId to setpublic long getLastId()
public void setLastId(long lastId)
lastId
- the lastId to setpublic boolean isLoaded()
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void destroy() throws java.io.IOException
java.io.IOException
public void unload()
public void addLast(java.lang.String id, ByteSequence bs) throws java.io.IOException
java.io.IOException
public void addFirst(java.lang.String id, ByteSequence bs) throws java.io.IOException
java.io.IOException
public boolean remove(java.lang.String id) throws java.io.IOException
java.io.IOException
public boolean remove(int position) throws java.io.IOException
java.io.IOException
public boolean remove(PListEntry entry) throws java.io.IOException
java.io.IOException
public PListEntry get(int position) throws java.io.IOException
java.io.IOException
public PListEntry getFirst() throws java.io.IOException
java.io.IOException
public PListEntry getLast() throws java.io.IOException
java.io.IOException
public PListEntry getNext(PListEntry entry) throws java.io.IOException
java.io.IOException
public PListEntry refresh(PListEntry entry) throws java.io.IOException
java.io.IOException
Copyright © 2005-2012. All Rights Reserved.