|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.util.AbstractService.Version
public static class AbstractService.Version
An immutable class to hold the current version of the keys and data persisted by a service.
| Constructor Summary | |
|---|---|
AbstractService.Version(int major,
int minor)
Constructs an instance with the specified major and
minor version numbers. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getMajorVersion()
Returns the major version number. |
int |
getMinorVersion()
Returns the minor version number. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractService.Version(int major,
int minor)
major and
minor version numbers.
major - a major version numberminor - a minor version number| Method Detail |
|---|
public int getMajorVersion()
public int getMinorVersion()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||