\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java
  • fiftyone
  • pipeline
  • util
  • Types

fiftyone.pipeline.util.Types Class Reference

Detailed Description

Static type methods.

Static Public Member Functions

static Map< Class<?>, Class<?> >  getPrimitiveTypeMap ()
Get a map of primitive types to their boxed type e.g. More...
static Class<?>  findSubClassParameterType (Object instance, Class<?> classOfInterest, int parameterIndex)
Get the type parameter of a class in relation to a parent class. More...
static Class<?>  getDataTypeFromElement (Object instance)
Get the type of ElementData which be the result of an instance's processing. More...

Member Function Documentation

◆ findSubClassParameterType()

static Class<?> fiftyone.pipeline.util.Types.findSubClassParameterType ( Object   instance,
Class<?>   classOfInterest,
int   parameterIndex  
)
static

Get the type parameter of a class in relation to a parent class.

Parameters
instance - to get the type parameter of
classOfInterest - a class above instance in the the inheritance hierarchy which the type of instance defines a generic type parameter of
parameterIndex - index in the list of type parameters
Returns
the parameter type, or null if it could not be determined

◆ getDataTypeFromElement()

static Class<?> fiftyone.pipeline.util.Types.getDataTypeFromElement ( Object   instance )
static

Get the type of ElementData which be the result of an instance's processing.

Parameters
instance - an instance extending FlowElementBase
Returns
element data type or null

◆ getPrimitiveTypeMap()

static Map<Class<?>, Class<?> > fiftyone.pipeline.util.Types.getPrimitiveTypeMap ( )
static

Get a map of primitive types to their boxed type e.g.

boolean and Boolean

Returns
primitive type map