public class PrimitiveBoxedUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PrimitiveBoxedUtils.PrimitiveBoxed |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areSameWithBoxing(Class<?> a,
Class<?> b)
Returns
true if one of the given Class<? |
static Optional<PrimitiveBoxedUtils.PrimitiveBoxed> |
getKiePMMLPrimitiveBoxed(Class<?> c) |
public static Optional<PrimitiveBoxedUtils.PrimitiveBoxed> getKiePMMLPrimitiveBoxed(Class<?> c)
public static boolean areSameWithBoxing(Class<?> a, Class<?> b)
true if one of the given Class<?> is a primitive
or boxed of a KiePMMLPrimitiveBoxed and the other Class<?> is the
boxed/unboxed counterpart of the same KiePMMLPrimitiveBoxed OR the same one.
Returns false otherwise. Please note it returns false even if both classes are equals
but are not a found between KIE_PMML_PRIMITIVE_BOXEDSa - b - Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.