de.interactive_instruments.ShapeChange.Transformation.Profiling
Class VersionNumber
java.lang.Object
de.interactive_instruments.ShapeChange.Transformation.Profiling.VersionNumber
public class VersionNumber
- extends Object
- Author:
- Johannes Echterhoff (echterhoff interactive-instruments
de)
components
public int[] components
VersionNumber
public VersionNumber(String vn)
VersionNumber
public VersionNumber(int[] components)
VersionNumber
public VersionNumber(int component)
compareTo
public int compareTo(VersionNumber other)
- Compares this version number with the given one. If the length of the
component arrays is different, they are compared by assuming '0' as
values for the missing components in the shorter component array.
- Parameters:
other
- the version number to compare this number with
- Returns:
- -1 if this version number is less than the other number, 0 if it
is equal, 1 if it is bigger
copyForVersionRangeEnd
public VersionNumber copyForVersionRangeEnd()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015. All rights reserved.