V
- is the templated type of the value.public interface Transformer<V>
transforms
a given value.Modifier and Type | Method and Description |
---|---|
V |
transform(V original)
This method transforms a given
original value. |
V transform(V original)
original
value. This value must NOT be modified by this method. To change
the original
value a new value has to be created and returned instead. If the value should NOT be changed,
the original
value (the exact same instance) should be returned.original
- is the original value.null
if explicitly documented by the implementation. The
receiver of a Transformer
should also document if null
is a legal result.Copyright © 2001–2016 mmm-Team. All rights reserved.