public abstract class AbstractConstant<T extends AbstractConstant<T>> extends Object implements Constant<T>
Constant
.Modifier | Constructor and Description |
---|---|
protected |
AbstractConstant(int id,
String name)
Creates a new instance.
|
protected AbstractConstant(int id, String name)
public final String name()
Constant
Constant
.name
in interface Constant<T extends AbstractConstant<T>>
public final int id()
Constant
Constant
.id
in interface Constant<T extends AbstractConstant<T>>
public final int compareTo(T o)
compareTo
in interface Comparable<T extends AbstractConstant<T>>
Copyright © 2008–2024 The Netty Project. All rights reserved.