T- The type of the immutable constant value.
public interface Immutable<T>
An object capable of returning a
value not subject or
susceptible of change or variation. For example,
List value which is guaranteed to be constant (not modifiable
by anybody). Classes implementing this interface do not need themselves to
be unmodifiable. If the value and the class instance are the same, the
ValueType sub-interface can be implemented.
direct support for immutable.
Copyright © 2005-2013 Javolution. All Rights Reserved.