|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.semaine.util.FuzzySort.FuzzySortable
public static class FuzzySort.FuzzySortable
Constructor Summary | |
---|---|
FuzzySort.FuzzySortable(java.lang.Object payload)
Create a fuzzy sortable which is neither initial nor final. |
|
FuzzySort.FuzzySortable(java.lang.Object payload,
boolean isInitial,
boolean isFinal)
Create a fuzzy sortable and set its initial or final state. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getPayload()
|
int |
hashCode()
|
boolean |
isFinal()
Indicate whether this sortable wants to be in final position. |
boolean |
isInitial()
Indicate whether this sortable wants to be in initial position. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FuzzySort.FuzzySortable(java.lang.Object payload)
payload
- an object associated with this sortable. must not be null
java.lang.NullPointerException
- if payload is nullpublic FuzzySort.FuzzySortable(java.lang.Object payload, boolean isInitial, boolean isFinal) throws java.lang.IllegalArgumentException
payload
- an object associated with this sortable. must not be nullisInitial
- whether the sortable wants to be in initial positionisFinal
- whether the sortable wants to be in final position
java.lang.IllegalArgumentException
- if both isInitial and isFinal are true.
java.lang.NullPointerException
- if payload is nullMethod Detail |
---|
public boolean isInitial()
public boolean isFinal()
public java.lang.Object getPayload()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |