Class NotInMatcher

All Implemented Interfaces:
Matcher

public class NotInMatcher extends InMatcher
Author:
przemek hertel
  • Constructor Details

    • NotInMatcher

      public NotInMatcher()
    • NotInMatcher

      public NotInMatcher(char separator)
  • Method Details

    • matches

      public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type)

      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:
      matches in interface Matcher
      Overrides:
      matches in class AbstractSetMatcher
      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]