org.jboss.metatype.api.values
Class SimpleValueComparator

java.lang.Object
  extended by org.jboss.metatype.api.values.SimpleValueComparator
All Implemented Interfaces:
Comparator<SimpleValue>

public class SimpleValueComparator
extends Object
implements Comparator<SimpleValue>

A Comparator for SimpleValues.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org, Ales.Justin@jboss.org

Constructor Summary
SimpleValueComparator()
           
 
Method Summary
 int compare(SimpleValue o1, SimpleValue 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

SimpleValueComparator

public SimpleValueComparator()
Method Detail

compare

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


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