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

## com.tonbeller.wcf.utils
Class IndexOfComparator

    java.lang.Object
      com.tonbeller.wcf.utils.IndexOfComparator

All Implemented Interfaces:
  java.util.Comparator

public class IndexOfComparator
extends java.lang.Object
implements java.util.Comparator

comparator to sort a list in the order of another list. Missing elements are placed at the end.

Since:
  07.03.2005
Author:
  av

Constructor Summary
`IndexOfComparator(java.util.List list)`

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`

Constructor Detail

### IndexOfComparator

    public IndexOfComparator(java.util.List list)

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