Package io.higson.runtime.matcher
Class NotInMatcher
java.lang.Object
io.higson.runtime.matcher.AbstractMatcher
io.higson.runtime.matcher.AbstractSetMatcher
io.higson.runtime.matcher.InMatcher
io.higson.runtime.matcher.NotInMatcher
- All Implemented Interfaces:
Matcher
- Author:
- przemek hertel
-
Field Summary
Fields inherited from class io.higson.runtime.matcher.AbstractSetMatcher
DEFAULT_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ValueHolder>
booleanPattern w komorce zawiera liste elementow typu [type].
-
Constructor Details
-
NotInMatcher
public NotInMatcher() -
NotInMatcher
public NotInMatcher(char separator) -
NotInMatcher
-
-
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]
-