-
- All Superinterfaces:
Comparable<T>
- All Known Implementing Classes:
AbstractConstant
,AttributeKey
,ChannelOption
,EpollChannelOption
,GenericUnixChannelOption
,IntegerUnixChannelOption
,KQueueChannelOption
,NioChannelOption
,OpenSslContextOption
,RawUnixChannelOption
,SslContextOption
,UnixChannelOption
public interface Constant<T extends Constant<T>> extends Comparable<T>
A singleton which is safe to compare via the==
operator. Created and managed byConstantPool
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
id()
Returns the unique number assigned to thisConstant
.String
name()
Returns the name of thisConstant
.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-