ix.examples
Class SimResource.Constraint

java.lang.Object
  extended by ix.examples.PicoIX.Constraint
      extended by ix.examples.SimResource.Constraint
Enclosing class:
SimResource

static class SimResource.Constraint
extends PicoIX.Constraint

Simple "produce" or "consume" resource constraints.


Field Summary
(package private)  long amount
           
(package private)  java.lang.Object pattern
           
(package private)  Symbol subtype
           
 
Fields inherited from class ix.examples.PicoIX.Constraint
args, type
 
Constructor Summary
SimResource.Constraint(Symbol subtype, long amount, java.lang.Object pattern)
           
 
Method Summary
 
Methods inherited from class ix.examples.PicoIX.Constraint
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subtype

Symbol subtype

pattern

java.lang.Object pattern

amount

long amount
Constructor Detail

SimResource.Constraint

SimResource.Constraint(Symbol subtype,
                       long amount,
                       java.lang.Object pattern)