类的使用
springfox.documentation.swagger.common.Version
使用Version的程序包
-
springfox.documentation.swagger.common中Version的使用
修饰符和类型方法说明static VersionParses the given string representation of a version into aVersionobject.修饰符和类型方法说明intbooleanReturns whether the currentVersionis the same as the given one.booleanVersion.isGreaterThan(Version version) Returns whether the currentVersionis greater (newer) than the given one.booleanVersion.isGreaterThanOrEqualTo(Version version) Returns whether the currentVersionis greater (newer) or the same as the given one.booleanVersion.isLessThan(Version version) Returns whether the currentVersionis less (older) than the given one.booleanVersion.isLessThanOrEqualTo(Version version) Returns whether the currentVersionis less (older) or equal to the current one.