Sleuth Kit Java Bindings (JNI)  4.6
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.VersionNumber Class Reference

Inherits Comparable< VersionNumber >.

Inherited by org.sleuthkit.datamodel.CaseDbSchemaVersionNumber.

Public Member Functions

 VersionNumber (int majorVersion, int minorVersion, int patchVersion)
 
int compareTo (VersionNumber vs)
 
boolean equals (Object obj)
 
int getMajor ()
 
int getMinor ()
 
int getPatch ()
 
int hashCode ()
 
String toString ()
 

Detailed Description

A version number consisting of three parts: Major.Minor.Patch. The compareTo method implements numerical ordering with decreasing precedence from left to right, e.g., 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1.

Definition at line 26 of file VersionNumber.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.VersionNumber.VersionNumber ( int  majorVersion,
int  minorVersion,
int  patchVersion 
)

Definition at line 32 of file VersionNumber.java.

Referenced by org.sleuthkit.datamodel.VersionNumber.equals().

Member Function Documentation

int org.sleuthkit.datamodel.VersionNumber.getPatch ( )
int org.sleuthkit.datamodel.VersionNumber.hashCode ( )

Definition at line 71 of file VersionNumber.java.

String org.sleuthkit.datamodel.VersionNumber.toString ( )

Definition at line 51 of file VersionNumber.java.


The documentation for this class was generated from the following file:

Copyright © 2011-2018 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.