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


Constructor Summary
SimpleObjectState(int size)
          Simple object state with size places.
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(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(SimpleObjectState state1, SimpleObjectState state2)
           
 
Method Summary
 State add(SimpleObjectState s)
           
 State add(State s)
           
 PlaceIterator iterator(int[] test, int[] pre)
           
 PlaceIterator iteratorPrec(int[] pre)
           
 PlaceIterator iteratorTest(int[] test)
           
 java.lang.String toString()
           
 State trim()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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