org.glassfish.tyrus
Class PrimitivesToBoxing

java.lang.Object
  extended by org.glassfish.tyrus.PrimitivesToBoxing

public class PrimitivesToBoxing
extends Object

For the given primitive type returns finds it's boxing alternative.

Author:
Stepan Kopriva (stepan.kopriva at oracle.com)

Constructor Summary
PrimitivesToBoxing()
           
 
Method Summary
static Class<?> getBoxing(Class<?> input)
          Gets the Boxing class for the primitive type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitivesToBoxing

public PrimitivesToBoxing()
Method Detail

getBoxing

public static Class<?> getBoxing(Class<?> input)
Gets the Boxing class for the primitive type.

Parameters:
input - primitive type
Returns:
boxing class if input is primitive type, input otherwise


Copyright © 2012. All Rights Reserved.