当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
AbstractLabeledEnum (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.core.enums
Class AbstractLabeledEnum
java.lang.Object
org.springframework.core.enums.AbstractLabeledEnum
- All Implemented Interfaces:
- Serializable, Comparable, LabeledEnum
- Direct Known Subclasses:
- AbstractGenericLabeledEnum, StaticLabeledEnum
public abstract class AbstractLabeledEnum
- extends Object
- implements LabeledEnum
Abstract base superclass for LabeledEnum implementations.
- Since:
- 1.2.2
- Author:
- Keith Donald
- See Also:
- Serialized Form
AbstractLabeledEnum
protected AbstractLabeledEnum()
- Create a new AbstractLabeledEnum instance.
getType
public Class getType()
- Description copied from interface:
LabeledEnum
- Return this enumeration's type.
- Specified by:
getType
in interface LabeledEnum
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2007 The Spring Framework.