@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
Collection
s whose elements are of the appropriate type
from its Converter.convert(Value)
method; must not be
null
NullPointerException
- if collectionConverter
is
null
convert(Value)
public T[] convert(Value value)
Value
into an appropriately-typed
array and returns the result.value
- the Value
to convert; may be null
null
Converter.convert(Value)
null
.Copyright © 2019–2020, microBean™. All rights reserved.