net.walend.enum.test
Class Operations.Add

java.lang.Object
  |
  +--net.walend.enum.test.Operation
        |
        +--net.walend.enum.test.Operations.Add
All Implemented Interfaces:
Immutable, Member, java.io.Serializable, Singleton
Enclosing class:
Operations

public static final class Operations.Add
extends Operation
implements java.io.Serializable, Immutable, Singleton

See Also:
Serialized Form

Field Summary
static Operations.Add IT
           
 
Fields inherited from class net.walend.enum.test.Operation
 
Constructor Summary
private Operations.Add()
           
 
Method Summary
 int eval(int a, int b)
           
private  java.lang.Object readResolve()
          Singleton serialization
 
Methods inherited from class net.walend.enum.test.Operation
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IT

public static final Operations.Add IT
Constructor Detail

Operations.Add

private Operations.Add()
Method Detail

eval

public int eval(int a,
                int b)
Specified by:
eval in class Operation

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Singleton serialization

java.io.ObjectStreamException


Copyright (c) 2001, 2002, David Walend