|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agical.rmock.core.match.multiplicity.impl.MultiplicityImpl
public class MultiplicityImpl
(c) Agical AB 2005
Constructor Summary | |
---|---|
MultiplicityImpl(int min,
int max)
|
Method Summary | |
---|---|
boolean |
canMatch()
Called to check if this constraint can match given its current state |
Object |
clone()
|
boolean |
equals(Object obj)
|
int |
getMatchCount()
|
int |
getMax()
|
int |
getMin()
|
int |
hashCode()
|
boolean |
isSatisfied()
Indicates if this constraint has been satisfied. |
void |
match()
Called to notify the constraint that it has been matched. |
protected void |
setMax(int max)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiplicityImpl(int min, int max)
Method Detail |
---|
public int getMatchCount()
getMatchCount
in interface Multiplicity
public int getMin()
getMin
in interface Multiplicity
Multiplicity.getMin()
public int getMax()
getMax
in interface Multiplicity
Multiplicity.getMax()
public boolean canMatch()
Multiplicity
canMatch
in interface Multiplicity
Multiplicity.canMatch()
public boolean isSatisfied()
Multiplicity
isSatisfied
in interface Multiplicity
Multiplicity.isSatisfied()
public void match()
Multiplicity
match
in interface Multiplicity
Multiplicity.match()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
protected void setMax(int max)
public Object clone()
clone
in interface Multiplicity
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |