mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 19:37:18 +01:00
48 lines
2.1 KiB
Java
48 lines
2.1 KiB
Java
package org.apache.commons.text;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes11.dex */
|
|
public enum CharacterPredicates implements CharacterPredicate {
|
|
LETTERS { // from class: org.apache.commons.text.CharacterPredicates.1
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return Character.isLetter(i);
|
|
}
|
|
},
|
|
DIGITS { // from class: org.apache.commons.text.CharacterPredicates.2
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return Character.isDigit(i);
|
|
}
|
|
},
|
|
ARABIC_NUMERALS { // from class: org.apache.commons.text.CharacterPredicates.3
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return i >= 48 && i <= 57;
|
|
}
|
|
},
|
|
ASCII_LOWERCASE_LETTERS { // from class: org.apache.commons.text.CharacterPredicates.4
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return i >= 97 && i <= 122;
|
|
}
|
|
},
|
|
ASCII_UPPERCASE_LETTERS { // from class: org.apache.commons.text.CharacterPredicates.5
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return i >= 65 && i <= 90;
|
|
}
|
|
},
|
|
ASCII_LETTERS { // from class: org.apache.commons.text.CharacterPredicates.6
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return CharacterPredicates.ASCII_LOWERCASE_LETTERS.test(i) || CharacterPredicates.ASCII_UPPERCASE_LETTERS.test(i);
|
|
}
|
|
},
|
|
ASCII_ALPHA_NUMERALS { // from class: org.apache.commons.text.CharacterPredicates.7
|
|
@Override // org.apache.commons.text.CharacterPredicate
|
|
public boolean test(int i) {
|
|
return CharacterPredicates.ASCII_LOWERCASE_LETTERS.test(i) || CharacterPredicates.ASCII_UPPERCASE_LETTERS.test(i) || CharacterPredicates.ARABIC_NUMERALS.test(i);
|
|
}
|
|
}
|
|
}
|