(String[] args)
| 97 | } |
| 98 | |
| 99 | public static void main(String[] args) { |
| 100 | String str = "abbccccccde"; |
| 101 | int c = countCompression(str); |
| 102 | String str2 = compressAlternate(str); |
| 103 | String t = compressBetter(""); |
| 104 | System.out.println("Compression: " + t); |
| 105 | System.out.println("Old String (len = " + str.length() + "): " + str); |
| 106 | System.out.println("New String (len = " + str2.length() + "): " + str2); |
| 107 | System.out.println("Potential Compression: " + c); |
| 108 | } |
| 109 | } |
nothing calls this directly
no test coverage detected