站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

CalendarComparator (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.util
Class CalendarComparator

java.lang.Object
  extended byorg.hibernate.util.CalendarComparator
All Implemented Interfaces:
Comparator

public class CalendarComparator
extends Object
implements Comparator

Author:
Gavin King

Field Summary
static Comparator INSTANCE
           
 
Constructor Summary
CalendarComparator()
           
 
Method Summary
 int compare(Object x, Object y)
           
 
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 INSTANCE
Constructor Detail

CalendarComparator

public CalendarComparator()
Method Detail

compare

public int compare(Object x,
                   Object y)
Specified by:
compare in interface Comparator