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

## infomat.vectorspace.ordering
Class IObjectFloatSorter.MapEntryComparator

    java.lang.Object
      infomat.vectorspace.ordering.IObjectFloatSorter.MapEntryComparator

All Implemented Interfaces:
  java.util.Comparator

Enclosing class:
  IObjectFloatSorter

    private class IObjectFloatSorter.MapEntryComparator

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

A private class that is used to order MapEntry:s.

Constructor Summary
`private` | `IObjectFloatSorter.MapEntryComparator()`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)` Compares two IObject:s and returns 1, 0 or -1

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

### IObjectFloatSorter.MapEntryComparator

    private IObjectFloatSorter.MapEntryComparator()

Method Detail

### compare

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

  Compares two IObject:s and returns 1, 0 or -1

  Specified by:
    `compare` in interface `java.util.Comparator`
  Parameters:
    `o1` - a IObject
    `o2` - a IObject
  Returns:
    int

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