@Vetoed public abstract class ArrayConverter<T> extends Object
Converter interface.Converter,
convert(Value)| Modifier | Constructor and Description |
|---|---|
protected |
ArrayConverter(Converter<? extends Collection<? extends T>> collectionConverter)
Creates a new
ArrayConverter. |
| Modifier and Type | Method and Description |
|---|---|
T[] |
convert(Value value)
Converts the supplied
Value into an appropriately-typed
array and returns the result. |
protected ArrayConverter(Converter<? extends Collection<? extends T>> collectionConverter)
ArrayConverter.collectionConverter - a Converter that returns
Collections whose elements are of the appropriate type
from its Converter.convert(Value) method; must not be
nullNullPointerException - if collectionConverter is
nullconvert(Value)public T[] convert(Value value)
Value into an appropriately-typed
array and returns the result.value - the Value to convert; may be nullnullConverter.convert(Value)null.Copyright © 2019–2020, microBean™. All rights reserved.