Class KeywordSet

java.lang.Object
org.apache.juneau.internal.KeywordSet

public final class KeywordSet extends Object
Stores a set of language keywords for quick lookup.
See Also:
  • Constructor Details

    • KeywordSet

      public KeywordSet(String... keywords)
      Constructor.
      Parameters:
      keywords - The list of keywords.
  • Method Details

    • contains

      public boolean contains(String s)
      Returns true if the specified string exists in this store.
      Parameters:
      s - The string to check.
      Returns:
      true if the specified string exists in this store.