Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class Version

Hierarchy

java.lang.Object

Package
com.smartdevicelink.util

Constructors

Version()

public Version()

Version( int major, int minor, int patch )

public Version(int major,int minor,int patch)

Parameters

major
minor
patch

Version( String versionString )

public Version(String versionString)

Parameters

versionString

Methods

getMajor()

public int getMajor()

getMinor()

public int getMinor()

getPatch()

public int getPatch()

isNewerThan( Version version )

Method to test if this instance of Version is newer than the supplied one.

public int isNewerThan(Version version)

Parameters

version
the version to check against

toString()

public java.lang.String toString()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section