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