T - public static class Mutable.LeftMutator<T extends Mutable<T>,S extends Domain<T>> extends Object implements Transformer<T>
[1,2]. There are three possible mutations for this. We can
replace either of the elements with a new element from the domain; or we can
append a new element.| Constructor and Description |
|---|
LeftMutator(S domain,
int maxWidth) |
LeftMutator(S domain,
Mutable.Transfer<T,S> transfer,
int maxWidth) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
transform(T item)
Transform a given item into zero or more items which are modified in some
way.
|
public LeftMutator(S domain, int maxWidth)
public LeftMutator(S domain, Mutable.Transfer<T,S> transfer, int maxWidth)
public List<T> transform(T item)
Transformertransform in interface Transformer<T extends Mutable<T>>Copyright © 2019. All rights reserved.