public class Version extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte |
major
The major version number.
|
protected byte |
minor
The minor version number.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Version()
Constructor for internal use only.
|
protected |
Version(sun.security.pkcs11.wrapper.CK_VERSION ckVersion)
Constructor taking a CK_VERSION object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(Object otherObject)
Compares major and minor version number of this objects with the other
object.
|
byte |
getMajor()
Get the major version number.
|
byte |
getMinor()
Get the minor version number.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this class
work correctly in a hashtable.
|
String |
toString()
Returns the string representation of this object.
|
protected byte major
protected byte minor
protected Version()
protected Version(sun.security.pkcs11.wrapper.CK_VERSION ckVersion)
ckVersion - A CK_VERSION object.public Object clone()
public byte getMajor()
public byte getMinor()
public String toString()
public boolean equals(Object otherObject)
Copyright © 2020. All rights reserved.