MCPcopy Create free account
hub / github.com/apache/commons-lang / is

Method is

src/main/java/org/apache/commons/lang3/CharRange.java:156–158  ·  view source on GitHub ↗

Constructs a CharRange over a single character. @param ch only character in this range. @return the new CharRange object. @since 2.5

(final char ch)

Source from the content-addressed store, hash-verified

154 * @since 2.5
155 */
156 public static CharRange is(final char ch) {
157 return new CharRange(ch, ch, false);
158 }
159
160 /**
161 * Constructs a {@link CharRange} over a set of characters.

Callers 15

testContains_CharMethod · 0.95
testContainsNullArgMethod · 0.95
testEquals_ObjectMethod · 0.95
testHashCodeMethod · 0.95
testHashCodeLang1802Method · 0.95
testIteratorMethod · 0.95
testIteratorRemoveMethod · 0.95
testSerializationMethod · 0.95

Calls

no outgoing calls

Tested by 15

testContains_CharMethod · 0.76
testContainsNullArgMethod · 0.76
testEquals_ObjectMethod · 0.76
testHashCodeMethod · 0.76
testHashCodeLang1802Method · 0.76
testIteratorMethod · 0.76
testIteratorRemoveMethod · 0.76
testSerializationMethod · 0.76