net.walend.enum.test
Class Operations
java.lang.Object
|
+--net.walend.enum.AbstractEnum
|
+--net.walend.enum.test.Operations
- All Implemented Interfaces:
- java.util.Collection, Enum, Immutable, java.io.Serializable, java.util.Set, Singleton
- public final class Operations
- extends AbstractEnum
- implements java.io.Serializable, Immutable, Singleton
Operations is an Enum of mathematical operations I use as a test case. Josh Bloch uses them as an example in his work.
- Since:
- 20021217
- Author:
- David Walend david@walend.net
- See Also:
- Serialized Form
Constructor Summary |
private |
Operations(java.util.Set memberSet)
|
Method Summary |
private java.lang.Object |
readResolve()
Singleton serialization |
Methods inherited from class net.walend.enum.AbstractEnum |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ADD
public static final Operations.Add ADD
IT
public static final Operations IT
Operations
private Operations(java.util.Set memberSet)
readResolve
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
- Singleton serialization
java.io.ObjectStreamException
Copyright (c) 2001, 2002, David Walend