package org.eclipse.collections.impl.block.predicate.primitive;
import java.io.Serializable;
@Deprecated
public interface CharPredicate
extends Serializable
{
CharPredicate IS_UPPERCASE = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isUpperCase(character);
}
};
CharPredicate IS_LOWERCASE = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isLowerCase(character);
}
};
CharPredicate IS_DIGIT = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isDigit(character);
}
};
CharPredicate IS_DIGIT_OR_DOT = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isDigit(character) || character == '.';
}
};
CharPredicate IS_LETTER = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isLetter(character);
}
};
CharPredicate IS_LETTER_OR_DIGIT = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isLetterOrDigit(character);
}
};
CharPredicate IS_WHITESPACE = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return Character.isWhitespace(character);
}
};
CharPredicate IS_UNDEFINED = new CharPredicate()
{
private static final long serialVersionUID = 1L;
public boolean accept(char character)
{
return !Character.isDefined(character);
}
};
boolean accept(char character);
}