站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

ComparableComparator (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.util.comparator
Class ComparableComparator

java.lang.Object
  extended by org.springframework.util.comparator.ComparableComparator
All Implemented Interfaces:
Comparator

public class ComparableComparator
extends Object
implements Comparator

Comparator that adapts Comparables to the Comparator interface. Mainly for internal use in other Comparators, when supposed to work on Comparables.

Since:
1.2.2
Author:
Keith Donald
See Also:
Comparable

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

ComparableComparator

public ComparableComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright (c) 2002-2007 The Spring Framework Project.