Class NotInMatcher
java.lang.Object
pl.decerto.hyperon.runtime.matcher.AbstractMatcher
pl.decerto.hyperon.runtime.matcher.AbstractSetMatcher
pl.decerto.hyperon.runtime.matcher.InMatcher
pl.decerto.hyperon.runtime.matcher.NotInMatcher
- All Implemented Interfaces:
Matcher
- Author:
- przemek hertel
-
Field Summary
Fields inherited from class pl.decerto.hyperon.runtime.matcher.AbstractSetMatcher
DEFAULT_SEPARATOR, separator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ValueHolder>
booleanPattern w komorce zawiera liste elementow typu [type].Methods inherited from class pl.decerto.hyperon.runtime.matcher.AbstractSetMatcher
normalize, split, toNormalizedSetMethods inherited from class pl.decerto.hyperon.runtime.matcher.AbstractMatcher
isBlank, isDefaultPatternMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.smartparam.engine.core.matcher.Matcher
isReverse, setReverse
-
Constructor Details
-
NotInMatcher
public NotInMatcher() -
NotInMatcher
public NotInMatcher(char separator)
-
-
Method Details
-
matches
Pattern w komorce zawiera liste elementow typu [type]. Matcher spawdza, czy przekazana wartosc [value] nie wystepuje na liscie okreslonej przez [pattern].
Pattern moze zawierac wartosci oddzielone separatorem albo znak specjalny (*). Domylsny separator to przecinek. Moze byc zmieniony setterem lub w konstruktorze.
Wartosc [value] a takze wszystkie wartosci na liscie tuz przed sprawdzeniem sa normalizowane do postaci ValueHolder.- Specified by:
matchesin interfaceMatcher- Overrides:
matchesin classAbstractSetMatcher- Type Parameters:
T- level type- Parameters:
value- value form query (provided by user)pattern- pattern from parameter matrix (can be '*')type- type of value, might be null if none was set- Returns:
- wynik sprawdzenia, czy [value] nie wystepuje na liscie okreslonej w [pattern]
-