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

## infomat.algorithms.labeling
Class IObjectFloatMapEntryComparator

    java.lang.Object
      infomat.algorithms.labeling.IObjectFloatMapEntryComparator

All Implemented Interfaces:
  java.util.Comparator

     class IObjectFloatMapEntryComparator

extends java.lang.Object
implements java.util.Comparator

Orders Map.Entry:s in order of Float, highest first.

Field Summary
`private java.util.HashMap<IObject,java.lang.Float>` | `objectOrderValueMap`

Constructor Summary
`IObjectFloatMapEntryComparator(java.util.HashMap<IObject,java.lang.Float> objectOrderValueMap)`
`IObjectFloatMapEntryComparator(IVector<IObject> vec)`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)`

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`

Field Detail

### objectOrderValueMap

    private java.util.HashMap<IObject,java.lang.Float> objectOrderValueMap

Constructor Detail

### IObjectFloatMapEntryComparator

    public IObjectFloatMapEntryComparator(IVector<IObject> vec)

### IObjectFloatMapEntryComparator

    public IObjectFloatMapEntryComparator(java.util.HashMap<IObject,java.lang.Float> objectOrderValueMap)

Method Detail

### compare

    public int compare(java.lang.Object o1,
                       java.lang.Object o2)

  Specified by:
    `compare` in interface `java.util.Comparator`

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