de.grogra.rgg.model
public class PropertyQueue extends ModificationQueue implements TransferableQueue
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyQueue.MakePersistentDescriptor |
static class |
PropertyQueue.PropertyQueueDescriptor |
ModificationQueue.ApplierXAQueue.Data, XAQueue.ReaderHierarchicalQueue.Cursor| Modifier and Type | Field and Description |
|---|---|
static PropertyQueue.MakePersistentDescriptor |
MAKE_PERSISTENT |
static PropertyQueue.PropertyQueueDescriptor |
PROPERTY_QUEUE |
ADD_BYTE, ADD_CHAR, ADD_DOUBLE, ADD_FLOAT, ADD_INT, ADD_LONG, ADD_SHORT, AND_BOOLEAN, AND_BYTE, AND_CHAR, AND_INT, AND_LONG, AND_SHORT, DIV_BYTE, DIV_CHAR, DIV_DOUBLE, DIV_FLOAT, DIV_INT, DIV_LONG, DIV_SHORT, MIN_UNUSED_ITEM, MUL_BYTE, MUL_CHAR, MUL_DOUBLE, MUL_FLOAT, MUL_INT, MUL_LONG, MUL_SHORT, OR_BOOLEAN, OR_BYTE, OR_CHAR, OR_INT, OR_LONG, OR_SHORT, SET_BOOLEAN, SET_BYTE, SET_CHAR, SET_DOUBLE, SET_FLOAT, SET_INT, SET_LONG, SET_OBJECT, SET_SHORT, TYPE, XOR_BOOLEAN, XOR_BYTE, XOR_CHAR, XOR_INT, XOR_LONG, XOR_SHORTBEGIN_LEVEL, IS_FINISHED, ITEM_AND_BITS_MASK, ITEM_MASK, MAX_UNUSED_BIT, MIN_UNUSED_BIT, NEXT_EXISTS, out| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the queue.
|
void |
clearSegmentsToExclude(int[] segs) |
QueueDescriptor<?> |
getDescriptor()
Returns the descriptor which was used to create this queue.
|
void |
markSegment(int n) |
boolean |
process(int[] segments)
Processes all queued tasks.
|
void |
read(java.io.DataInput in) |
void |
resetToSegment(int n) |
boolean |
write(java.io.DataOutput out) |
addByte, addChar, addDouble, addFloat, addInt, addLong, addShort, andBoolean, andByte, andChar, andInt, andLong, andShort, apply, beginManaged, createApplier, divByte, divChar, divDouble, divFloat, divInt, divLong, divShort, makePersistent, mulByte, mulChar, mulDouble, mulFloat, mulInt, mulLong, mulShort, orBoolean, orByte, orChar, orInt, orLong, orShort, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, xorBoolean, xorByte, xorChar, xorInt, xorLong, xorShortbeginArray, beginField, beginFields, createData, endArray, endField, endFields, endManaged, getPersistenceManager, setNested, writeComponentSeparator, writeName, writeNullObject, writeObject, writePersistentObjectReference, writeSharedObjectReference, writeString, writeStringObjectbeginLevel, beginSkipBlock, cloneData, discardLevel, endLevel, endSkipBlock, getCursor, getData, hasItems, hasItemsInCurrentLevel, moveTo, restore, setItemSize, writeItem, writeObject, writeObjectInStreamclose, dump, flush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeObjectInQueue, writeShort, writeUTFclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShortpublic static final PropertyQueue.MakePersistentDescriptor MAKE_PERSISTENT
public static final PropertyQueue.PropertyQueueDescriptor PROPERTY_QUEUE
public void clear()
QueueQueueCollection
in order to reuse the queue for a new transformation step.public void clearSegmentsToExclude(int[] segs)
clearSegmentsToExclude in interface Queuepublic QueueDescriptor<?> getDescriptor()
QueuegetDescriptor in interface QueueQueueCollection.getQueue(QueueDescriptor),
QueueDescriptor.createQueue(QueueCollection)public void markSegment(int n)
markSegment in interface Queuepublic boolean process(int[] segments)
throws RuntimeModelException
QueueQueueCollection.process(int[]).process in interface Queuetrue iff the execution of tasks resulted
in modifications to the GraphRuntimeModelException - if some error occurs during executionpublic void read(java.io.DataInput in)
throws java.io.IOException
read in interface TransferableQueuejava.io.IOExceptionpublic void resetToSegment(int n)
resetToSegment in interface Queuepublic boolean write(java.io.DataOutput out)
throws java.io.IOException
write in interface TransferableQueuejava.io.IOException