|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gumbo.graphic.probe.PickResult
The immutable result object of a pick operation. Allows pick operations to return as much information as possible about the pick hits.
| Constructor Summary | |
PickResult(java.util.Set specs,
java.util.List hits)
Creates an instance, with parameters protected from shallow mutation. |
|
| Method Summary | |
java.util.List |
getHits()
Gets the pick hit results. |
java.util.Set |
getSpecs()
Gets the pick specification flags. |
int |
hitCount()
Gets the number of hits in this pick result. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PickResult(java.util.Set specs,
java.util.List hits)
specs - The value of the flags (Object) used to specify the pick
operation. Typically, Picks.PICK_??? and Picks.HIT_???. Never null.
PICK_??? flag compliance is mandatory. HIT_??? flag compliance
is optional.hits - The value of the hit results (HitResult). Possibly
empty (no hits) but never null. The contents must conform to
pickFlags.| Method Detail |
public java.util.Set getSpecs()
public int hitCount()
public java.util.List getHits()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||