private static class AbstractPatriciaTrie.Reference<E>
extends java.lang.Object
AbstractPatriciaTrie.Reference
allows us to return something through a Method's
argument list. An alternative would be to an Array with a length of
one (1) but that leads to compiler warnings. Computationally and memory
wise there's no difference (except for the need to load the
AbstractPatriciaTrie.Reference
Class but that happens only once).Modifier | Constructor and Description |
---|---|
private |
Reference() |
Modifier and Type | Method and Description |
---|---|
E |
get() |
void |
set(E item) |