@Test public void testMatchesAll() { assertTrue(Matcher.of("*").matchesAll()); assertTrue(Matcher.all().matchesAll()); assertFalse(Matcher.of("all").matchesAll()); assertFalse(Matcher.of("all/*").matchesAll()); }
public boolean matchesAll() { return "*".equals(patternString()); }
Matcher implements Predicate<Leaf> { public boolean matchesAll() { return "*".equals(patternString()); } }
Matcher implements Predicate<Leaf> { public boolean matchesAll() { return "*".equals(patternString()); } Matcher(); }
Matcher implements Predicate<Leaf> { public boolean matchesAll() { return "*".equals(patternString()); } Matcher(); static Matcher all(); static Matcher of(CharSequence fields); boolean matchesAll(); abstract boolean matches(Leaf leaf); boolean matches(CharSequence path); abstract boolean matchesParent(Leaf node); boolean matchesParent(CharSequence path); Matcher transform(final Function<? super String, String> nameTransformer); @Override @Deprecated boolean apply(@Nullable Leaf input); @Override String toString(); @Override boolean equals(@Nullable Object obj); @Override int hashCode(); }
Matcher implements Predicate<Leaf> { public boolean matchesAll() { return "*".equals(patternString()); } Matcher(); static Matcher all(); static Matcher of(CharSequence fields); boolean matchesAll(); abstract boolean matches(Leaf leaf); boolean matches(CharSequence path); abstract boolean matchesParent(Leaf node); boolean matchesParent(CharSequence path); Matcher transform(final Function<? super String, String> nameTransformer); @Override @Deprecated boolean apply(@Nullable Leaf input); @Override String toString(); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }