S - Type of source items.T - Type of target items.public abstract class ArrayTransform<S,T> extends Object
| Constructor and Description |
|---|
ArrayTransform(Class<T> tClass)
Constructs ArrayTransform with implementation of transformation predefining tClass like a class of transformation-target
array.
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
transform(S[] sourceArray)
Process transformation of S[] sourceArray with T[] targetArray like return value.
|
abstract T |
transformation(S source)
This method is implementation of transformation each item of sourceArray and type S to item of type T in targetArray.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.