@Test public void isPlaceHolder() { assertTrue(SIMPLE_PLACEHOLDER.isPlaceholder("pname")); assertTrue(SIMPLE_PLACEHOLDER.isPlaceholder("pdname")); assertTrue(SIMPLE_PLACEHOLDER.isPlaceholder("world")); assertFalse(SIMPLE_PLACEHOLDER.isPlaceholder(NON_EXISTANT)); }
@Override public boolean isPlaceholder(@Nullable String string) { return this.placeholders.contains(string); }
SimplePlaceholder implements Placeholder { @Override public boolean isPlaceholder(@Nullable String string) { return this.placeholders.contains(string); } }
SimplePlaceholder implements Placeholder { @Override public boolean isPlaceholder(@Nullable String string) { return this.placeholders.contains(string); } SimplePlaceholder(@Nonnull String... placeholders); }
SimplePlaceholder implements Placeholder { @Override public boolean isPlaceholder(@Nullable String string) { return this.placeholders.contains(string); } SimplePlaceholder(@Nonnull String... placeholders); @Override void onComplete(String string); @Override boolean isPlaceholder(@Nullable String string); @Override @Nonnull List<String> getPlaceholders(); }
SimplePlaceholder implements Placeholder { @Override public boolean isPlaceholder(@Nullable String string) { return this.placeholders.contains(string); } SimplePlaceholder(@Nonnull String... placeholders); @Override void onComplete(String string); @Override boolean isPlaceholder(@Nullable String string); @Override @Nonnull List<String> getPlaceholders();  }