Modifier and Type | Class and Description |
---|---|
static class |
AsciiSet.Builder
Builder class for
AsciiSet objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(char c)
Returns
|
boolean |
contains(CharSequence s)
Returns
|
boolean |
contains(int c)
Returns
|
boolean |
containsOnly(String s)
Returns
|
static AsciiSet.Builder |
create()
Creates a builder for an ASCII set.
|
static AsciiSet |
create(String chars)
Creates an ASCII set with the specified characters.
|
public static AsciiSet create(String chars)
chars
- The characters to keep in this store.public static AsciiSet.Builder create()
public boolean contains(char c)
c
- The character to check.public boolean contains(int c)
c
- The character to check.public boolean contains(CharSequence s)
s
- The string to test.public boolean containsOnly(String s)
s
- The string to test.Copyright © 2018 Apache. All rights reserved.