Package | Description |
---|---|
org.springframework.data.util |
Core utility APIs such as a type information framework to resolve generic types.
|
Modifier and Type | Method and Description |
---|---|
static Version |
Version.parse(String version)
Parses the given string representation of a version into a
Version object. |
Modifier and Type | Method and Description |
---|---|
int |
Version.compareTo(Version that) |
boolean |
Version.is(Version version)
Returns whether the current
Version is the same as the given one. |
boolean |
Version.isGreaterThan(Version version)
Returns whether the current
Version is greater (newer) than the given one. |
boolean |
Version.isGreaterThanOrEqualTo(Version version)
Returns whether the current
Version is greater (newer) or the same as the given one. |
boolean |
Version.isLessThan(Version version)
Returns whether the current
Version is less (older) than the given one. |
boolean |
Version.isLessThanOrEqualTo(Version version)
Returns whether the current
Version is less (older) or equal to the current one. |
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.