- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Truncate (0.19 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testBuildKeepingLast_shortTable() { Builder<Integer, String> builder = ImmutableMap.builder(); Map<Integer, String> expected = new LinkedHashMap<>(); for (int i = 0; i < 1000; i++) { // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are // duplicates. Integer key = i & ~1; String value = String.valueOf(i); builder.put(key, value);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 14:39:16 GMT 2024 - 37.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
} }; } }; } /** * Returns an unmodifiable view of the difference of two multisets. In the returned multiset, the * count of each element is the result of the <i>zero-truncated subtraction</i> of its count in * the second multiset from its count in the first multiset, with elements that would have a count * of 0 not included. The iteration order of the returned multiset matches that of the element set
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0)