private static class ELKIServiceRegistry.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
aliases
Aliases hash map.
|
private int |
aliaslen
Occupied entries in aliases.
|
private java.lang.Class<?>[] |
clazzes
Loaded classes.
|
private static java.lang.String[] |
EMPTY_ALIASES
Reusable empty array.
|
private int |
len
Length.
|
private java.lang.String[] |
names
Class names.
|
Modifier | Constructor and Description |
---|---|
private |
Entry() |
Modifier and Type | Method and Description |
---|---|
private void |
addAlias(java.lang.String alias,
java.lang.String cname)
Register a class alias.
|
private void |
addHit(java.lang.String cname,
java.lang.Class<?> c)
If a name has been resolved, add it.
|
private void |
addName(java.lang.String cname)
Add a candidate.
|
private static final java.lang.String[] EMPTY_ALIASES
private java.lang.String[] names
private java.lang.Class<?>[] clazzes
private int len
private java.lang.String[] aliases
private int aliaslen
private void addName(java.lang.String cname)
cname
- Candidate nameprivate void addHit(java.lang.String cname, java.lang.Class<?> c)
cname
- Namec
- Resulting classprivate void addAlias(java.lang.String alias, java.lang.String cname)
alias
- Alias namecname
- Class nameCopyright © 2019 ELKI Development Team. License information.