Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
checker
/
tests
/
index
/
IndexByChar.java
blob: df049c0f8b327e30e554d9e25162f90ffdc65a00 [
file
] [
log
] [
blame
]
public
class
IndexByChar
{
public
int
m
(
char
c
)
{
int
[]
i
=
new
int
[
128
];
if
(
c
<
128
)
{
return
i
[
c
];
}
else
{
return
-
1
;
}
}
}