org.jboss.metatype.api.types.helpers
Class LongComparator

java.lang.Object
  extended by org.jboss.metatype.api.types.helpers.LongComparator
All Implemented Interfaces:
Comparator<Long>

public class LongComparator
extends Object
implements Comparator<Long>

Long comparator.

Author:
Ales Justin

Field Summary
static Comparator<Long> INSTANCE
           
 
Constructor Summary
LongComparator()
           
 
Method Summary
 int compare(Long o1, Long 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

INSTANCE

public static final Comparator<Long> INSTANCE
Constructor Detail

LongComparator

public LongComparator()
Method Detail

compare

public int compare(Long o1,
                   Long o2)
Specified by:
compare in interface Comparator<Long>


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.