Package com.gengoai.conversion
Class StackTypeConverter
- java.lang.Object
-
- com.gengoai.conversion.CollectionTypeConverter
-
- com.gengoai.conversion.StackTypeConverter
-
- All Implemented Interfaces:
TypeConverter
@MetaInfServices(TypeConverter.class) public class StackTypeConverter extends CollectionTypeConverter
Stack Converter- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description StackTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]
getConversionType()
Array of classes that this type converter can convert objects toprotected Collection<?>
newCollection()
New collection collection.-
Methods inherited from class com.gengoai.conversion.CollectionTypeConverter
convert
-
-
-
-
Method Detail
-
getConversionType
public Class[] getConversionType()
Description copied from interface:TypeConverter
Array of classes that this type converter can convert objects to- Returns:
- the classes that this converter can convert to
-
newCollection
protected Collection<?> newCollection()
Description copied from class:CollectionTypeConverter
New collection collection.- Specified by:
newCollection
in classCollectionTypeConverter
- Returns:
- the collection
-
-