Home
last modified time | relevance | path

Searched refs:compressionLevelMap (Results 1 – 1 of 1) sorted by relevance

/external/caliper/examples/src/main/java/examples/
DCompressionSizeBenchmark.java44 public static final Map<String, Integer> compressionLevelMap = new HashMap<String, Integer>(); field in CompressionSizeBenchmark
46 compressionLevelMap.put("bestCompression", Deflater.BEST_COMPRESSION);
47 compressionLevelMap.put("bestSpeed", Deflater.BEST_SPEED);
48 compressionLevelMap.put("noCompression", Deflater.NO_COMPRESSION);
49 compressionLevelMap.put("huffmanOnly", Deflater.HUFFMAN_ONLY);
70 compressor.setLevel(compressionLevelMap.get(compressionLevel)); in compress()