Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. package test.archiver;
  2.  
  3. public abstract class AbstractArchiver {
  4.  
  5. public AbstractArchiver() {
  6.  
  7. }
  8.  
  9. public String zip(String sourceText) {
  10. return null;
  11. }
  12.  
  13. public String unzip(String sourceText) {
  14. return null;
  15. }
  16.  
  17. public String createCountString() {
  18. StringBuilder result = new StringBuilder();
  19. for (char ch = '0'; ch <= '9'; ch++) {
  20. result.append(ch);
  21. }
  22. for (char ch = 'a'; ch <= 'z'; ch++) {
  23. result.append(ch);
  24. }
  25. for (char ch = 'A'; ch <= 'Z'; ch++) {
  26. result.append(ch);
  27. }
  28. return result.toString();
  29. }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement