@Deprecated public class UniqueName extends java.lang.Object implements java.lang.Comparable<UniqueName>
Modifier | Constructor and Description |
---|---|
|
UniqueName(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Boolean> map,
java.lang.String name,
java.lang.Object... args)
Deprecated.
Constructs a new
UniqueName |
protected |
UniqueName(java.lang.String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UniqueName other)
Deprecated.
|
boolean |
equals(java.lang.Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
int |
id()
Deprecated.
Returns this
UniqueName 's ID |
java.lang.String |
name()
Deprecated.
Returns this
UniqueName 's name |
java.lang.String |
toString()
Deprecated.
|
protected void |
validateArgs(java.lang.Object... args)
Deprecated.
Validates the given arguments.
|
public UniqueName(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Boolean> map, java.lang.String name, java.lang.Object... args)
UniqueName
map
- the map of names to compare withname
- the name of this UniqueName
args
- the arguments to processprotected UniqueName(java.lang.String name)
protected void validateArgs(java.lang.Object... args)
args
- arguments to validatepublic final java.lang.String name()
UniqueName
's namepublic final int id()
UniqueName
's IDpublic final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(UniqueName other)
compareTo
in interface java.lang.Comparable<UniqueName>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.