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

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

public class BigDecimalComparator
extends Object
implements Comparator<BigDecimal>

BigDecimal comparator.

Author:
Ales Justin

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

BigDecimalComparator

public BigDecimalComparator()
Method Detail

compare

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


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