fr.inria.oadymppac.solver
Class ValueListImpl

java.lang.Object
  extended byfr.inria.oadymppac.solver.SolverElementImpl
      extended byfr.inria.oadymppac.solver.ValueListImpl
All Implemented Interfaces:
Indexable, SolverElement, SolverManagable, ValueList
Direct Known Subclasses:
DefaultCause, DefaultDelta, DefaultDomain, DefaultValueList

public abstract class ValueListImpl
extends SolverElementImpl
implements ValueList

Author:
raf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.solver.ValueList
EVENT_TYPE
 
Constructor Summary
ValueListImpl(Solver solver)
           
 
Method Summary
 void add(int from, int to)
           
 int getMax()
           
 int getMin()
           
 int getSize()
           
 int[] getValues()
           
 void setMax(int max)
           
 void setMin(int min)
           
 void setSize(int size)
           
 
Methods inherited from class fr.inria.oadymppac.solver.SolverElementImpl
getIndex, getSolver, setIndex, setSolver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.solver.SolverElement
getEventType, getLabel, getSolverType
 
Methods inherited from interface fr.inria.oadymppac.utils.Indexable
getIndex, getKey, reset, setIndex
 
Methods inherited from interface fr.inria.oadymppac.solver.SolverManagable
getSolver, setSolver
 

Constructor Detail

ValueListImpl

public ValueListImpl(Solver solver)
Method Detail

add

public void add(int from,
                int to)
Specified by:
add in interface ValueList

getMax

public int getMax()
Specified by:
getMax in interface ValueList

getMin

public int getMin()
Specified by:
getMin in interface ValueList

getSize

public int getSize()
Specified by:
getSize in interface ValueList

getValues

public int[] getValues()
Specified by:
getValues in interface ValueList

setMax

public void setMax(int max)
Specified by:
setMax in interface ValueList
Parameters:
max -

setMin

public void setMin(int min)
Specified by:
setMin in interface ValueList
Parameters:
min -

setSize

public void setSize(int size)
Specified by:
setSize in interface ValueList
Parameters:
size -