agg.attribute.view.impl
Class SlotSequence
java.lang.Object
agg.attribute.impl.AttrObject
agg.attribute.view.impl.SlotSequence
- All Implemented Interfaces:
- Disposable, java.util.Observer
public class SlotSequence
- extends AttrObject
- implements Disposable
Field Summary |
protected java.util.Vector<agg.attribute.view.impl.SlotSequence.Slot> |
slots
|
Methods inherited from class agg.attribute.impl.AttrObject |
defaultToString, err, err, getInstRepr, log, log, log, logEnteredMethod, logPrintln, logPrintln, stdoutPrintOnEnter, stdoutPrintOnExit, update, warn, warn, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
slots
protected java.util.Vector<agg.attribute.view.impl.SlotSequence.Slot> slots
SlotSequence
public SlotSequence()
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
dispose
public void dispose()
- Description copied from interface:
Disposable
- Prepare myself for garbage collection.
- Specified by:
dispose
in interface Disposable
getSize
public int getSize()
getIndexAt
public int getIndexAt(int slot)
getSlotForIndex
public int getSlotForIndex(int index)
addSlot
public void addSlot(int index)
incrementAllGreaterThan
public void incrementAllGreaterThan(int index)
deleteSlot
public void deleteSlot(int slot)
decrementAllGreaterThan
public void decrementAllGreaterThan(int index)
deleteSlotForIndex
public void deleteSlotForIndex(int index)
moveSlotInserting
public void moveSlotInserting(int srcSlot,
int destSlot)
toString
public java.lang.String toString()
- Overrides:
toString
in class AttrObject