org.glassfish.tyrus
Class PrimitivesToBoxing
java.lang.Object
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)
|
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 |
PrimitivesToBoxing
public PrimitivesToBoxing()
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.