Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Class
dk.rode.thesis.meta.util.Primitive

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

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.