- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
private static void report(String filename, long byteCount, long timespan, long[] bytesRemaining) { System.err.print(filename); System.err.print(": "); System.err.print(byteCount); System.err.print(" bytes ("); System.err.print(StringUtility.getApproximateSize(byteCount)); System.err.print(") transferred in "); System.err.print(BigDecimal.valueOf(timespan, 3)); System.err.print(" seconds ("); System.err.print(StringUtility.getTimeLengthString(timespan)); System.err.print(')'); if(bytesRemaining!=null && bytesRemaining[0]>0) { System.err.print(", "); System.err.print(bytesRemaining[0]); System.err.print(" bytes ("); System.err.print(StringUtility.getApproximateSize(bytesRemaining[0])); System.err.print(") remaining"); } System.err.println(); System.err.flush(); }
filename + " (" + StringUtility.getApproximateSize(resourceFile.length()) + ')'
final File file = new File(filename); System.out.print("Sequential Read by Block Size ("); System.out.print(StringUtility.getApproximateSize(MAX_READ_BYTES)); System.out.println(" Total)"); for(int ci=0; ci<blockSizes.length; ci++) { blockSizeThroughputs.add(throughput); System.out.print(" "); System.out.print(StringUtility.getApproximateSize(blockSize)); System.out.print(": "); System.out.print(numberFormat.format(throughput));
lastVerboseString = TerminalWriter.progressOutput( lastVerboseString, StringUtility.getApproximateSize(pos+blockSize) + ": " + SQLUtility.getDecimal((long)block * 10000L / (long)blocks) lastVerboseString = TerminalWriter.progressOutput( lastVerboseString, StringUtility.getApproximateSize(bytesWritten) + ": " + SQLUtility.getDecimal((long)written * 10000L / (long)numDirtyBlocks)
if(!hasBody && resourceFile != null && !isDirectory) { out.write(" ("); encodeTextInXhtml(StringUtility.getApproximateSize(resourceFile.length()), out); out.write(')');