Top Description Inners Fields Constructors Methods
org.easymock.internal

public final Class PrimitiveUtils

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map

Helper class for primitive types.
Author
Henri Tremblay

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final Map<Class<?>, PrimitiveUtils.PrimitiveEntry>
private static final Map<Class<?>, String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Object
public static String
public static Class<?>
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

primitiveTypesback to summary
private static final Map<Class<?>, PrimitiveUtils.PrimitiveEntry> primitiveTypes
wrapperTypesback to summary
private static final Map<Class<?>, String> wrapperTypes

Constructor Detail

PrimitiveUtilsback to summary
private PrimitiveUtils()

Method Detail

getEmptyValueback to summary
public static Object getEmptyValue(Class<?> type)
getPrimitiveTypeNameFromWrapperback to summary
public static String getPrimitiveTypeNameFromWrapper(Class<?> type)
getWrapperTypeback to summary
public static Class<?> getWrapperType(Class<?> type)
isPrimitiveWrapperback to summary
public static boolean isPrimitiveWrapper(Class<?> type)
org.easymock.internal back to summary

private Class PrimitiveUtils.PrimitiveEntry

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final Object
pack-priv final Class<?>

Constructor Summary

AccessConstructor and Description
private
PrimitiveEntry(Object emptyValue, Class<?> wrapperType)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

emptyValueback to summary
pack-priv final Object emptyValue
wrapperTypeback to summary
pack-priv final Class<?> wrapperType

Constructor Detail

PrimitiveEntryback to summary
private PrimitiveEntry(Object emptyValue, Class<?> wrapperType)