public class NpmVersion extends FlexibleSemanticVersion implements IVersion
| Constructor and Description |
|---|
NpmVersion(String buf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
satisfies(String range)
Some range processing so that the comparison can be handled by our
SemanticVersion library.
|
compareTo, equals, getMajor, getMinor, getPatch, hashCode, isStable, setVersion, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMajor, getMinor, getPatch, isStablecompareTopublic NpmVersion(String buf)
buf - Version we are trying to parsepublic boolean satisfies(String range)
satisfies in interface IVersionsatisfies in class SemanticVersionrange - A version range description to matchCopyright © 2015. All rights reserved.