public interface Reference<T> extends Referencing<T>
Note: In most cases, a mutable reference object like this should not be neccessary if the program is well
structured (that's why no such class exists in the Java API).
Extensive use of this class where it would be better to restructure the program may end in even more structural
problems.
Yet in some cases, a mutable reference really is needed or at least helps in creating cleaner structures.
So again, use wisely.
Modifier and Type | Interface and Description |
---|---|
static class |
Reference.Implementation<T> |
Modifier and Type | Method and Description |
---|---|
void |
set(T object) |
get
void set(T object)
Copyright © 2003–2020 XDEV Software. All rights reserved.