Class AbstractPatriciaTrie.Reference<E>
- java.lang.Object
-
- org.apache.commons.collections4.trie.AbstractPatriciaTrie.Reference<E>
-
- Enclosing class:
- AbstractPatriciaTrie<K,V>
private static class AbstractPatriciaTrie.Reference<E> extends java.lang.Object
AAbstractPatriciaTrie.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 theAbstractPatriciaTrie.Reference
Class but that happens only once).
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Reference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
get()
void
set(E item)
-