Version
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Cloneable, java.io.Serializable
public class Version implements Cloneable, Serializable
Created by lexchou on 4/17/2017.
Constructors
| Constructor | Description |
|---|---|
| Version(int major, int minor, int build) | |
| Version(int major, int minor) | |
| Version(String ver) |
Methods
| Method | Description |
|---|---|
| clone() | |
| equals(Object obj) | |
| getBuild() | |
| getClass() | |
| getMajor() | |
| getMinor() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Version(int major, int minor, int build)
public Version(int major, int minor, int build)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| major | int | |
| minor | int | |
| build | int |
Version(int major, int minor)
public Version(int major, int minor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| major | int | |
| minor | int |
Version(String ver)
public Version(String ver)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ver | java.lang.String |
clone()
public Version clone()
Returns: Version
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
getBuild()
public int getBuild()
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getMajor()
public int getMajor()
Returns: int
getMinor()
public int getMinor()
Returns: int
hashCode()
public int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |