com.vaadin.ui.


Class UniqueSerializable

java.lang.Object
  com.vaadin.ui.UniqueSerializable

All Implemented Interfaces:

Serializable

public abstract class UniqueSerializable
extends Object
implements Serializable

A base class for generating an unique object that is serializable.

This class is abstract but has no abstract methods to force users to create an anonymous inner class. Otherwise each instance will not be unique.

Since:

6.8.0

Version:

6.8.18

Author:

Vaadin Ltd

See Also:

Serialized Form

Constructor Summary
UniqueSerializable()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueSerializable

public UniqueSerializable()
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object