- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Munmap (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); subMap.remove(key); assertNull(subMap.remove(firstEntry.getKey())); assertEquals(map.size(), oldSize - 1); assertFalse(map.containsKey(key)); assertEquals(subMap.size(), oldSize - 2); } public void testTailMapClearThrough() { SortedMap<K, V> map; try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges * from {@code fromKey}, inclusive, to {@code toKey}, exclusive. * * <p>The {@link SortedMap#subMap} documentation states that a submap of a submap throws an {@link * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}. * However, this method doesn't throw an exception in that situation, but instead keeps the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
List<Feature<?>> features = new ArrayList<>(); features.add(NoRecurse.SUBMAP); features.addAll(parentBuilder.getFeatures()); return newBuilderUsing(delegate, to, from) .named(parentBuilder.getName() + " subMap " + from + "-" + to) .withFeatures(features) .suppressing(parentBuilder.getSuppressedTests())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
} else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { return map.subMap(firstExclusive, false, lastExclusive, false); } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) { return map.subMap(firstExclusive, false, lastInclusive, true); } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) { return map.subMap(firstInclusive, true, lastInclusive, true); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
List<Feature<?>> features = new ArrayList<>(); features.add(NoRecurse.SUBMAP); features.addAll(parentBuilder.getFeatures()); return newBuilderUsing(delegate, to, from) .named(parentBuilder.getName() + " subMap " + from + "-" + to) .withFeatures(features) .suppressing(parentBuilder.getSuppressedTests())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
return createMultimap().asMap().subMap("e", "p"); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { TreeMultimap<String, Integer> multimap = createMultimap(); multimap.put("f", 1); multimap.put("f", 2); multimap.put("g", 3); multimap.put("h", 4); return multimap.asMap().subMap("e", "p"); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertEqualInOrder( entries.subList(i, j), navigableMap.subMap(entries.get(i).getKey(), entries.get(j).getKey()).entrySet()); } } } @CollectionSize.Require(SEVERAL) public void testSubMapIllegal() { assertThrows(IllegalArgumentException.class, () -> navigableMap.subMap(c.getKey(), a.getKey())); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
} else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { return map.subMap(firstExclusive, false, lastExclusive, false); } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) { return map.subMap(firstExclusive, false, lastInclusive, true); } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) { return map.subMap(firstInclusive, true, lastInclusive, true); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges * from {@code fromKey}, inclusive, to {@code toKey}, exclusive. * * <p>The {@link SortedMap#subMap} documentation states that a submap of a submap throws an {@link * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}. * However, this method doesn't throw an exception in that situation, but instead keeps the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public Entry<K, V>[] createArray(int length) { return delegate.createArray(length); } } /** Two bounds (from and to) define how to build a subMap. */ public enum Bound { INCLUSIVE, EXCLUSIVE, NO_BOUND; } public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object> implements TestSortedSetGenerator<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0)