net.sf.mmm.util.collection.base
Class RankMap.Ranking
java.lang.Object
net.sf.mmm.util.collection.base.RankMap.Ranking
- Enclosing class:
- RankMap<E>
private static class RankMap.Ranking
- extends Object
This inner class represents the rank of an element.
|
Field Summary |
private int |
rank
The ranking value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rank
private int rank
- The ranking value.
RankMap.Ranking
private RankMap.Ranking()
setUnacceptable
public void setUnacceptable()
- See Also:
RankMap.setUnacceptable(Object)
isUnacceptable
public boolean isUnacceptable()
- Returns:
true if unacceptable.
addRank
public void addRank(int gain)
- Parameters:
gain - is the amount by which to increase the rank.- See Also:
RankMap.addRank(Object, int)
Copyright © 2001-2010 mmm-Team. All Rights Reserved.