se.kth.leiflindback.distdb.db
Class NullAccount

java.lang.Object
  extended by se.kth.leiflindback.distdb.db.Account
      extended by se.kth.leiflindback.distdb.db.NullAccount
All Implemented Interfaces:
java.io.Serializable

public class NullAccount
extends Account

Used as an empty state, so we can transfer an object instead of null.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
NullAccount()
           
 
Method Summary
 
Methods inherited from class se.kth.leiflindback.distdb.db.Account
addInterest, deposit, getBalance, withdraw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

NullAccount

public NullAccount()