agg.attribute.view.impl
Class SlotSequence

java.lang.Object
  extended by agg.attribute.impl.AttrObject
      extended by 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
           
 
Fields inherited from class agg.attribute.impl.AttrObject
classHandlerExpr, classObject, classString, initialized
 
Constructor Summary
SlotSequence()
           
 
Method Summary
 void addSlot(int index)
           
 void decrementAllGreaterThan(int index)
           
 void deleteSlot(int slot)
           
 void deleteSlotForIndex(int index)
           
 void dispose()
          Prepare myself for garbage collection.
protected  void finalize()
           
 int getIndexAt(int slot)
           
 int getSize()
           
 int getSlotForIndex(int index)
           
 void incrementAllGreaterThan(int index)
           
 void moveSlotInserting(int srcSlot, int destSlot)
           
 java.lang.String toString()
           
 
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
 

Field Detail

slots

protected java.util.Vector<agg.attribute.view.impl.SlotSequence.Slot> slots
Constructor Detail

SlotSequence

public SlotSequence()
Method Detail

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