public class ListTrimTransformer extends Object implements FunctionTransformer
modifyOriginal
is true, then the trim operation will be performed on the original List passed, else a copy will be returned.Constructor and Description |
---|
ListTrimTransformer() |
ListTrimTransformer(List<Integer> indexToRemove) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getIndexToRemove() |
boolean |
isModifyOriginal()
If true, then the trim operation will be performed on the original List passed, else a copy will be returned.
|
void |
setIndexToRemove(List<Integer> indexToRemove) |
void |
setModifyOriginal(boolean modifyOriginal)
If true, then the trim operation will be performed on the original List passed, else a copy will be returned.
|
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public boolean isModifyOriginal()
public void setModifyOriginal(boolean modifyOriginal)
Copyright © 2018. All rights reserved.