Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lbg.peer.strategy.ranking
Class TCoRConsumptionRanking.TCoRComparator

    java.lang.Object
      lbg.peer.strategy.ranking.TCoRConsumptionRanking.TCoRComparator

All Implemented Interfaces:
  java.io.Serializable, java.util.Comparator<TCoRConsumptionRanking.TCoRKey>

Enclosing class:
  TCoRConsumptionRanking

    protected static class TCoRConsumptionRanking.TCoRComparator

extends java.lang.Object
implements java.util.Comparator<TCoRConsumptionRanking.TCoRKey>, java.io.Serializable

Helper class of TCoRConsumptionRanking. Comparator of TCoRKeys (by decreasing TCoR).

See Also:
  Serialized Form

Constructor Summary
`TCoRConsumptionRanking.TCoRComparator()`

Method Summary
`int` | `compare(TCoRConsumptionRanking.TCoRKey k1, TCoRConsumptionRanking.TCoRKey k2)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### TCoRConsumptionRanking.TCoRComparator

    public TCoRConsumptionRanking.TCoRComparator()

Method Detail

### compare

    public int compare(TCoRConsumptionRanking.TCoRKey k1,
                       TCoRConsumptionRanking.TCoRKey k2)

  Specified by:
    `compare` in interface `java.util.Comparator<TCoRConsumptionRanking.TCoRKey>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

> Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.