Package org.meeuw.json.grep.matching
Class NeverPathMatcher
- java.lang.Object
-
- org.meeuw.json.grep.matching.NeverPathMatcher
-
- All Implemented Interfaces:
PathMatcher
public class NeverPathMatcher extends Object implements PathMatcher
The matcher that matches never.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.meeuw.json.grep.matching.PathMatcher
PathMatcher.MatchResult
-
-
Constructor Summary
Constructors Constructor Description NeverPathMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatcher.MatchResultmatches(ParseEvent event)Predicate<Path>needsKeyCollection()Predicate<Path>needsObjectCollection()
-
-
-
Method Detail
-
matches
public PathMatcher.MatchResult matches(ParseEvent event)
- Specified by:
matchesin interfacePathMatcher- Parameters:
event- The event to match
-
needsKeyCollection
public Predicate<Path> needsKeyCollection()
- Specified by:
needsKeyCollectionin interfacePathMatcher
-
needsObjectCollection
public Predicate<Path> needsObjectCollection()
- Specified by:
needsObjectCollectionin interfacePathMatcher
-
-