- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for CCE (0.01 sec)
-
guava/src/com/google/common/collect/ContiguousSet.java
*/ C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain)); C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain)); // Per class spec, we are allowed to throw CCE if necessary empty = Range.compareOrThrow(afterLower, beforeUpper) > 0; } return empty ? new EmptyContiguousSet<C>(domain) : new RegularContiguousSet<C>(effectiveRange, domain); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
new EqualsTester() .addEqualityGroup(new SetContainsThrows()) .addEqualityGroup(intersection(singleton(null), singleton(null))) // NPE .addEqualityGroup(intersection(singleton(0), singleton(0))) // CCE .testEquals(); } /** Returns a {@link Set} with a {@link Set#size()} of {@code size}. */ private static ContiguousSet<Integer> setSize(int size) { checkArgument(size >= 0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
int entryCount = entry.getCount(); if (entryCount != 0) { // Safe as long as we never add a new entry, which we won't. // (Presumably it can still throw CCE/NPE but only if the underlying Multiset does.) @SuppressWarnings({"unchecked", "nullness"}) Multiset<@Nullable Object> multiset = (Multiset<@Nullable Object>) multiset();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
int entryCount = entry.getCount(); if (entryCount != 0) { // Safe as long as we never add a new entry, which we won't. // (Presumably it can still throw CCE/NPE but only if the underlying Multiset does.) @SuppressWarnings({"unchecked", "nullness"}) Multiset<@Nullable Object> multiset = (Multiset<@Nullable Object>) multiset();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals("Ordering.explicit([0])", c.toString()); } public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0)