List of usage examples for java.lang Character MIN_VALUE
char MIN_VALUE
To view the source code for java.lang Character MIN_VALUE.
Click Source Link
From source file:phoneticsearch.lucene.FrDoubleMetaphone.java
/** * Gets the character at index <code>index</code> if available, otherwise * it returns <code>Character.MIN_VALUE</code> so that there is some sort * of a default.//from w w w . j a v a 2 s. co m */ protected char charAt(final String value, final int index) { if (index < 0 || index >= value.length()) { return Character.MIN_VALUE; } return value.charAt(index); }
From source file:streamflow.model.generator.RandomGenerator.java
public static Character randomChar() { return (char) (Character.MIN_VALUE + RandomUtils.nextInt(Character.MAX_VALUE - Character.MIN_VALUE)); }