|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ItemRandomizer.RandomItem<T>
Method Summary | |
---|---|
void |
decrementWeight()
Decrements the weight value assigned to this random item |
T |
getItem()
|
int |
getWeight()
|
void |
incrementWeight()
Increments the weight value assigned to this random item |
boolean |
isEnabled()
|
void |
setEnabled(boolean value)
|
void |
setWeight(int weight)
|
Method Detail |
---|
void incrementWeight()
void decrementWeight()
void setWeight(int weight)
weight
- the random weight assigned to this itemint getWeight()
boolean isEnabled()
void setEnabled(boolean value)
value
- true if this item should be enabledT getItem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |