Interface XReference<E>

All Superinterfaces:
CapacityCarrying, Consumer<E>, Copyable, ExtendedBag<E>, ExtendedCollection<E>, ExtendedList<E>, ExtendedSequence<E>, Iterable<E>, Reference<E>, Referencing<E>, ReleasingCollection<E>, Sized, Sortable<E>, XGettingBag<E>, XGettingCollection<E>, XGettingEnum<E>, XGettingList<E>, XGettingSequence<E>, XGettingSet<E>, XIndexIterable<E>, XIterable<E>, XJoinable<E>, XOrderingEnum<E>, XOrderingSequence<E>, XReferencing<E>, XReplacingBag<E>, XReplacingCollection<E>, XSettingList<E>, XSettingSequence<E>, XSortableEnum<E>, XSortableSequence<E>
All Known Implementing Classes:
LinkReference.Default, Single, Singleton

public interface XReference<E>
extends XReferencing<E>, XSettingList<E>, XSortableEnum<E>, Reference<E>, Consumer<E>
Simple Reference class to handle mutable references. Handle with care!

Note: In most cases, a mutable reference object like this should not be necessary if the program is well structured. 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.