public class DefaultNVersionFilter extends AbstractVersionFilter implements NExprIdFilter, Serializable
| Constructor and Description |
|---|
DefaultNVersionFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptVersion(NVersion version) |
void |
add(NVersionInterval interval) |
boolean |
equals(Object obj) |
int |
hashCode() |
NOptional<List<NVersionInterval>> |
intervals() |
static NOptional<NVersionFilter> |
parse(String version,
NVersionComparator versionComparator) |
NVersionFilter |
simplify() |
String |
toExpr()
if convertible to javascript boolean expression return valid non null
code.
|
String |
toString() |
and, neg, or, redescribeand, describe, getFilterOp, getFilterType, getSubFilters, or, simplify, toclone, finalize, getClass, notify, notifyAll, wait, wait, waitdescribeand, getFilterOp, getFilterType, getSubFilters, or, simplify, topublic static NOptional<NVersionFilter> parse(String version, NVersionComparator versionComparator)
public boolean acceptVersion(NVersion version)
acceptVersion in interface NVersionFilterpublic NOptional<List<NVersionInterval>> intervals()
intervals in interface NVersionFilterintervals in class AbstractVersionFilterpublic void add(NVersionInterval interval)
public String toExpr()
NExprIdFiltertoExpr in interface NExprIdFilterpublic NVersionFilter simplify()
simplify in interface NFiltersimplify in interface NSimplifiable<NVersionFilter>Copyright © 2025 vpc open source initiative. All rights reserved.