no.uio.labmed.pybliographer
Class FieldComparator

java.lang.Object
  |
  +--no.uio.labmed.pybliographer.FieldComparator
All Implemented Interfaces:
java.util.Comparator

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


Constructor Summary
FieldComparator(java.lang.String _key)
           
 
Method Summary
 int compare(java.lang.Object _x, java.lang.Object _y)
           
protected  int compareFields(Field fx, Field fy)
           
 FieldComparator setSubsort(java.util.Comparator sub)
           
 
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

FieldComparator

public FieldComparator(java.lang.String _key)
Method Detail

setSubsort

public FieldComparator setSubsort(java.util.Comparator sub)

compare

public int compare(java.lang.Object _x,
                   java.lang.Object _y)
Specified by:
compare in interface java.util.Comparator

compareFields

protected int compareFields(Field fx,
                            Field fy)