com.jproxy.proxy
Class Wraper
java.lang.Object
|
+--com.jproxy.proxy.Wraper
- public class Wraper
- extends java.lang.Object
Class that keeps wraper for primitive type and mehod
that recreates original value of primitive type.
It also has a static method-helpers.
Field Summary |
java.lang.Object |
defaultValue
default value |
java.lang.Class |
primitiveType
primitive type |
java.lang.Class |
type
Wraper for primitiveType |
java.lang.reflect.Method |
unwraper
reflection method for recreation of original value of primitive type |
Constructor Summary |
Wraper(java.lang.Class t,
java.lang.Class pt,
java.lang.reflect.Method u,
java.lang.Object defVal)
Constructor for Wraper |
Method Summary |
static java.lang.Class[] |
getTypes(java.lang.Object[] objs,
boolean[] isPrimitives)
|
static Wraper |
getWraper(java.lang.Class c)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public java.lang.Class type
- Wraper for primitiveType
primitiveType
public java.lang.Class primitiveType
- primitive type
unwraper
public java.lang.reflect.Method unwraper
- reflection method for recreation of original value of primitive type
defaultValue
public java.lang.Object defaultValue
- default value
Wraper
public Wraper(java.lang.Class t,
java.lang.Class pt,
java.lang.reflect.Method u,
java.lang.Object defVal)
- Constructor for Wraper
- Parameters:
t
- Wraper class for primitive typept
- Primitive Type Classu
- method for recreation of value of primitive type from objectdefVal
- default value
that is wraper of primitive type
getTypes
public static java.lang.Class[] getTypes(java.lang.Object[] objs,
boolean[] isPrimitives)
getWraper
public static Wraper getWraper(java.lang.Class c)
Copyright ⌐ JProxy LLC. All Rights Reserved.