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

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

public class BigIntegerComparator
extends Object
implements Comparator<BigInteger>

BigInteger comparator.

Author:
Ales Justin

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

BigIntegerComparator

public BigIntegerComparator()
Method Detail

compare

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


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