- Sort Score
- Result 10 results
- Languages All
Results 2091 - 2100 of 2,871 for value (0.04 sec)
-
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* an application-specified ordering of lock acquisitions. The application defines the allowed * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which * the values are declared dictates the allowed order of lock acquisition. In other words, locks * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks * with larger ordinals. Example: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
entries.add(entry(k3(), null)); Map<K, V> other = newHashMap(entries); assertFalse( "Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.toString(x, 2).length(); } return tmp; } private static long random() { return RANDOM_SOURCE.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
public void testRemoveNullValue() { Collection<V> result = multimap().asMap().get(k0()); assertFalse(result.remove(null)); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testAddNullValueUnsupported() { Collection<V> result = multimap().asMap().get(k0()); assertThrows(NullPointerException.class, () -> result.add(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/base/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/html/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPairIterator.java
abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> { private final BaseGraph<N> graph; private final Iterator<N> nodeIterator; @CheckForNull N node = null; // null is safe as an initial value because graphs don't allow null nodes Iterator<N> successorIterator = ImmutableSet.<N>of().iterator(); static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 5K bytes - Viewed (0) -
guava/src/com/google/common/xml/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (1)