Add doc.
This commit is contained in:
parent
92b7c59267
commit
88484c1e47
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ public class MainPanel {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extracts the upper case characters from the given string.
|
||||||
|
* @param s The string where to extract upper case characters.
|
||||||
|
* @return The upper case characters found in the given string.
|
||||||
|
*/
|
||||||
public String extractUpperCase(String s) {
|
public String extractUpperCase(String s) {
|
||||||
String upperCase = "";
|
String upperCase = "";
|
||||||
for (int i = 0; i < s.length(); i++) {
|
for (int i = 0; i < s.length(); i++) {
|
||||||
|
|
Loading…
Reference in a new issue