repositories
/
Project_POO.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0ce8f871570db793e2293de0d0a9a9a45b964b91
[Project_POO.git]
/
StrComparator.java
1
import
java
.
util
.
Comparator
;
2
3
class
StrComparator
implements
Comparator
<
String
> {
4
5
public int
compare
(
String str1
,
String str2
) {
6
return
str1
.
compareToIgnoreCase
(
str2
);
7
}
8
9
}