public abstract class LenientChars extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
protected static class |
LenientChars.AllChars |
protected static class |
LenientChars.PartialChars |
Modifier and Type | Field and Description |
---|---|
static LenientChars |
ALL
A
LenientChars instance meant to be reused that always returns true . |
static LenientChars |
NONE
A
LenientChars instance meant to be reused that always returns false . |
Constructor and Description |
---|
LenientChars() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isLenient(int c) |
static LenientChars |
partial(BitSet lenientChars)
Returns a
LenientChars instance configured using the passed-in BitSet . |
public static final LenientChars ALL
LenientChars
instance meant to be reused that always returns true
.public static final LenientChars NONE
LenientChars
instance meant to be reused that always returns false
.public static LenientChars partial(BitSet lenientChars)
Returns a LenientChars
instance configured using the passed-in BitSet
.
Only a reference to the passed-in BitSet
is maintained;
i.e., a shallow-copy vs. a deep-copy is performed.
public abstract boolean isLenient(int c)
Copyright © 2009–2017 Mark A. Ziesemer. All rights reserved.