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

dk.rode.thesis.meta.util
Class Const

java.lang.Object
  extended by dk.rode.thesis.meta.util.Const

public class Const
extends Object

Various constants used in this project.

Author:
Gunni Rode / rode.dk

Field Summary
static String CONSTRUCTOR_NAME
          The Java name used for constructors and instance initialisation blocks.
static String EMPTY
          Constant representing the empty string.
static int EOF
          Value indicating end-of-file, end-of-stream, end-of-search, etc.
static int INFINITE
          Value indicating that a given otherwise zero or positive number is considered to be infinite.
static Object NULL
          Unique object identifying null where null cannot be used.
static long SERIAL_VERSION_UID
          Common serial id used in all serializable classes.
static String STATIC_INITIALISER_NAME
          The Java name used for static initialisation blocks.
 
Constructor Summary
private Const()
          Private off-limit constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTRUCTOR_NAME

public static final String CONSTRUCTOR_NAME
The Java name used for constructors and instance initialisation blocks.

The value is <init>.

See Also:
Constant Field Values

EMPTY

public static final String EMPTY
Constant representing the empty string.

See Also:
Constant Field Values

EOF

public static final transient int EOF
Value indicating end-of-file, end-of-stream, end-of-search, etc.

The value is minus one.

See Also:
Constant Field Values

INFINITE

public static final transient int INFINITE
Value indicating that a given otherwise zero or positive number is considered to be infinite.

The value is minus one.

See Also:
Constant Field Values

NULL

public static final Object NULL
Unique object identifying null where null cannot be used.

The string representation of this null object is NULL.

See Also:
ProxyFactory.getNullObject(Class)

SERIAL_VERSION_UID

public static final long SERIAL_VERSION_UID
Common serial id used in all serializable classes.

We rely on an explicit value rather than a computed one!

The value is 1.

See Also:
Constant Field Values

STATIC_INITIALISER_NAME

public static final String STATIC_INITIALISER_NAME
The Java name used for static initialisation blocks.

The value is <clinit>.

See Also:
Constant Field Values
Constructor Detail

Const

private Const()
Private off-limit constructor.


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.