Package org.kie.pmml.api.utils
Class PrimitiveBoxedUtils.PrimitiveBoxed
- java.lang.Object
-
- org.kie.pmml.api.utils.PrimitiveBoxedUtils.PrimitiveBoxed
-
- Enclosing class:
- PrimitiveBoxedUtils
public static class PrimitiveBoxedUtils.PrimitiveBoxed extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PrimitiveBoxed(java.lang.Class<?> primitive, java.lang.Class<?> boxed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getBoxed()java.lang.Class<?>getPrimitive()booleanisSameWithBoxing(java.lang.Class<?> c)Returnstrueif the givenClass<?
-
-
-
Method Detail
-
getPrimitive
public java.lang.Class<?> getPrimitive()
-
getBoxed
public java.lang.Class<?> getBoxed()
-
isSameWithBoxing
public boolean isSameWithBoxing(java.lang.Class<?> c)
Returnstrueif the givenClass<?>is the primitive or the boxed one of the currentKiePMMLPrimitiveBoxed- Parameters:
c-- Returns:
-
-