Package com.gengoai.conversion
Class TreeSetTypeConverter
- java.lang.Object
-
- com.gengoai.conversion.CollectionTypeConverter
-
- com.gengoai.conversion.TreeSetTypeConverter
-
- All Implemented Interfaces:
TypeConverter
@MetaInfServices(TypeConverter.class) public class TreeSetTypeConverter extends CollectionTypeConverter
SortedSet and TreeSet Converter.- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description TreeSetTypeConverter()
-
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
-
-