|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FixedCount
This interface describes the features of a
Count which do not modify
the value.
| Method Summary | |
|---|---|
boolean |
eq(FixedCount count)
Compare the value for equality. |
boolean |
ge(FixedCount count)
Compare the value for a greater or equal value. |
long |
getValue()
Getter for the value |
boolean |
gt(FixedCount count)
Compare the value for a greater value. |
boolean |
le(FixedCount count)
Compare the value for a less or equal value. |
boolean |
lt(FixedCount count)
Compare the value for a lesser value. |
boolean |
ne(FixedCount count)
Compare the value for non-equality. |
java.lang.String |
toString()
Determine the printable representation of the object. |
void |
toString(java.lang.StringBuffer sb)
Determine the printable representation of the object. |
| Method Detail |
|---|
boolean eq(FixedCount count)
count - the count to compare to
true iff count has an equal value to the current
oneboolean ge(FixedCount count)
count - the count to compare to
true iff count has an value greater or equal to the
current onelong getValue()
boolean gt(FixedCount count)
count - the count to compare to
true iff count has an value greater than the
current oneboolean le(FixedCount count)
count - the count to compare to
true iff count has an value less or equal to the
current oneboolean lt(FixedCount count)
count - the count to compare to
true iff count has an value less than the
current oneboolean ne(FixedCount count)
count - the count to compare to
true iff count has an value not equal to the
current onejava.lang.String toString()
toString in class java.lang.ObjecttoString(StringBuffer)void toString(java.lang.StringBuffer sb)
sb - the target string buffertoString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||