com.vaadin.ui
Class UniqueSerializable
java.lang.Object
com.vaadin.ui.UniqueSerializable
- All Implemented Interfaces:
- java.io.Serializable
public abstract class UniqueSerializable
- extends java.lang.Object
- implements java.io.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:
- 7.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
UniqueSerializable
public UniqueSerializable()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.