public interface ComparableWord extends WordBase
Modifier and Type | Method and Description |
---|---|
boolean |
equal(ComparableWord val)
Compares this word with the specified value.
|
boolean |
notEqual(ComparableWord val)
Compares this word with the specified value.
|
boolean equal(ComparableWord val)
val
- value to which this word is to be compared.this == val
boolean notEqual(ComparableWord val)
val
- value to which this word is to be compared.this != val