public class Node extends Object
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Dependency dependency) |
void |
addMax(int max) |
void |
addMin(int min)
Sests min as the new minimum if it is larger than the previous set min
|
LinkedList<Dependency> |
getDependencies() |
int |
getMax() |
int |
getMin() |
int |
getValue() |
void |
push(int leastValue) |
boolean |
satisfied() |
void |
setMax(int max) |
void |
setMin(int min) |
void |
setValue(int value) |
public void addDependency(Dependency dependency)
public void addMax(int max)
public void addMin(int min)
min
- public LinkedList<Dependency> getDependencies()
public int getMax()
public int getMin()
public int getValue()
public void push(int leastValue)
public boolean satisfied()
public void setMax(int max)
public void setMin(int min)
public void setValue(int value)
Copyright © 2008-2013 Mathias Schwarz.