|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.module.VersionList
public class VersionList
A composite Version Matcher. Supports a list of version matchers, such as
Version, VersionRange and even other VersionList instances.
| Constructor Summary | |
|---|---|
VersionList(java.util.List<Matcher<Version>> matchers)
Construct a VersionList from the specified version matchers. |
|
VersionList(Matcher<Version>... matchers)
Construct a VersionList from the specified version matchers. |
|
| Method Summary | |
|---|---|
boolean |
matches(Version version)
Tests if the specified version is contained in this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionList(Matcher<Version>... matchers)
matchers - The version matchers.public VersionList(java.util.List<Matcher<Version>> matchers)
matchers - The version matchers.| Method Detail |
|---|
public boolean matches(Version version)
matches in interface Matcher<Version>version - The target version.
true if the specified version is contained in this instance;
false otherwise.
|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||