Top Description Methods
io.netty.util

public Interface Constant<T extends Constant<T>>

extends Comparable<T extends Constant<T>>
Known Direct Implementers
io.netty.util.Signal, io.netty.util.AbstractConstant

A singleton which is safe to compare via the == operator. Created and managed by ConstantPool.

Method Summary

Modifier and TypeMethod and Description
public int
id()

Returns the unique number assigned to this Constant.

public String
name()

Returns the name of this Constant.

Inherited from java.lang.Comparable:
compareTo

Method Detail

idback to summary
public int id()

Returns the unique number assigned to this Constant.

nameback to summary
public String name()

Returns the name of this Constant.