|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Primitive | |
---|---|
dk.rode.thesis.meta.util | Various utility classes and functions. |
Uses of Primitive in dk.rode.thesis.meta.util |
---|
Methods in dk.rode.thesis.meta.util that return Primitive | |
---|---|
static Primitive |
Primitive.getPrimitive(Class<?> type)
Returns the enumeration type corresponding to type ,
if any; for example Integer for either
java.lang.Integer or int
(java.lang.Integer.TYPE ). |
private static Primitive[] |
Primitive.merge(Primitive primitive,
Primitive... primitives)
Merges primitive with primitives . |
static Primitive |
Primitive.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Primitive[] |
Primitive.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in dk.rode.thesis.meta.util with parameters of type Primitive | |
---|---|
protected abstract Object |
Primitive.asPrimitive(Object value,
Primitive primitive)
Returns the value supplied as value wrapped in the non-primitive
type stored in in primitive . |
static Class<?> |
Primitive.getNonPrimitiveType(Primitive primitive)
Returns the non-primitive type corresponding to the enumeration type supplied as primitive ; for example
java.lang.Integer for Integer . |
static Class<?>[] |
Primitive.getNonPrimitiveTypes(Primitive primitive,
Primitive... primitives)
Returns an array containing the non-primitives corresponding to the enumeration primitives supplied in primitive and primitives . |
static Class<?>[] |
Primitive.getNonPrimitiveTypes(Primitive primitive,
Primitive... primitives)
Returns an array containing the non-primitives corresponding to the enumeration primitives supplied in primitive and primitives . |
static Class<?> |
Primitive.getPrimitiveType(Primitive primitive)
Returns the primitive type corresponding to the enumeration type supplied as primitive ; for
example int (java.lang.Integer.TYPE )
for Integer . |
static Class<?>[] |
Primitive.getPrimitiveTypes(Primitive primitive,
Primitive... primitives)
Returns an array containing the primitives corresponding to the enumeration primitives supplied in primitive and primitives . |
static Class<?>[] |
Primitive.getPrimitiveTypes(Primitive primitive,
Primitive... primitives)
Returns an array containing the primitives corresponding to the enumeration primitives supplied in primitive and primitives . |
abstract boolean |
Primitive.isCompatibleWith(Primitive primitive)
Returns true if the type supplied as primitive is
compatible with this enumeration type, false if not. |
private static Primitive[] |
Primitive.merge(Primitive primitive,
Primitive... primitives)
Merges primitive with primitives . |
private static Primitive[] |
Primitive.merge(Primitive primitive,
Primitive... primitives)
Merges primitive with primitives . |
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |