ConForM.CoopnTools.JavaProto.Transaction
Class SimpleObjectState
java.lang.Object
|
+--ConForM.CoopnTools.JavaProto.Transaction.SimpleObjectState
- All Implemented Interfaces:
- State
- public class SimpleObjectState
- extends java.lang.Object
- implements State
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleObjectState
public SimpleObjectState(int size)
- Simple object state with size places.
SimpleObjectState
public SimpleObjectState(java.lang.Object[] oplaces)
- Simple object state with oplaces.length places taking values from oplaces,
zero or one value by place
null assumes nothing
SimpleObjectState
public SimpleObjectState(java.lang.Object[][] oplaces)
- Simple object state with oplaces.length places taking values from oplaces,
zero or more values by place
null assumes nothing
SimpleObjectState
public SimpleObjectState(SimpleObjectState state1,
SimpleObjectState state2)
add
public State add(State s)
- Specified by:
add
in interface State
add
public State add(SimpleObjectState s)
trim
public State trim()
- Specified by:
trim
in interface State
iterator
public PlaceIterator iterator(int[] test,
int[] pre)
iteratorPrec
public PlaceIterator iteratorPrec(int[] pre)
iteratorTest
public PlaceIterator iteratorTest(int[] test)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object