- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for constraint (0.34 sec)
-
android/guava/src/com/google/common/collect/BiMap.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as * that of its keys. This constraint enables bimaps to support an "inverse view", which is another * bimap containing the same entries as this bimap but with reversed keys and values. * * <h3>Implementations</h3> * * <ul>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
} @Override protected Map<Class<? extends @NonNull B>, B> delegate() { return delegate; } /** * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint. */ private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry( final Entry<Class<? extends @NonNull B>, B> entry) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
* {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the * user attempts to add an element to the multiset that violates this constraint (for example, the * user attempts to add a string element to a set whose elements are integers), the {@code * add(Object)} call will throw a {@code ClassCastException}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
map = MutableClassToInstanceMap.create(); } public void testConstraint() { /** * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself * well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
map = MutableClassToInstanceMap.create(); } public void testConstraint() { /** * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself * well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as * that of its keys. This constraint enables bimaps to support an "inverse view", which is another * bimap containing the same entries as this bimap but with reversed keys and values. * * <h3>Implementations</h3> * * <ul>
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
private final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound; /** * upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper * bound" map; it's a constraint on the *keys*, and does not affect the values. */ private final Range<Cut<C>> upperBoundWindow; RangesByUpperBound(NavigableMap<Cut<C>, Range<C>> rangesByLowerBound) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(2, 20); cache.put(3, 30); cache.put(4, 40); cache.put(5, 50); assertEquals(null, cache.getIfPresent(10)); // Order required to remove dependence on access order / write order constraint. assertEquals(Integer.valueOf(20), cache.getIfPresent(2)); assertEquals(Integer.valueOf(30), cache.getIfPresent(3)); assertEquals(Integer.valueOf(40), cache.getIfPresent(4));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 15.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java
import com.google.common.collect.testing.Helpers; import java.util.Collections; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Encapsulates the constraints that a class under test must satisfy in order for a tester method to * be run against that class. * * @author George van den Driessche */ @GwtCompatible public final class TesterRequirements {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 20 11:19:03 GMT 2023 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
import static com.google.common.math.StatsTesting.ALL_MANY_VALUES; import static com.google.common.math.StatsTesting.ALL_PAIRED_STATS; import static com.google.common.math.StatsTesting.CONSTANT_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.DUPLICATE_MANY_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.EMPTY_PAIRED_STATS;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0)