- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 369 for One (0.12 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
} @Override @ParametricNullness public T get() { // Another variant of Double Checked Locking. // // We use two volatile reads. We could reduce this to one by // putting our fields into a holder class, but (at least on x86) // the extra memory consumption and indirection are more // expensive than the extra volatile reads. long nanos = expirationNanos;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1); assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2); assertMultimapEquals( ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3); assertMultimapEquals( ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4), "one", 1, "two", 2,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
private static final long serialVersionUID = 0; } /** * Returns a view of the elements of {@code unfiltered} that satisfy a predicate. The returned * multiset is a live view of {@code unfiltered}; changes to one affect the other. * * <p>The resulting multiset's iterators, and those of its {@code entrySet()} and {@code * elementSet()}, do not support {@code remove()}. However, all other multiset methods supported
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) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
public Multiset apply(Multiset delegate) { return wrap(delegate); } }); } public void testEquals() { Multiset<String> set1 = ImmutableMultiset.of("one"); Multiset<String> set2 = ImmutableMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
* Returns {@code true} if {@code n} is a <a * href="http://mathworld.wolfram.com/PrimeNumber.html">prime number</a>: an integer <i>greater * than one</i> that cannot be factored into a product of <i>smaller</i> positive integers. * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be * factored into smaller positive integers). * * <p>To test larger numbers, use {@link BigInteger#isProbablePrime}.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
static final Stats EMPTY_STATS_VARARGS = Stats.of(); static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of()); static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE); static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE); static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES); static final Stats OTHER_TWO_VALUES_STATS = Stats.of(OTHER_TWO_VALUES);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 23.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
// need explicit type parameter to avoid javac warning!? List<Boolean> none = Arrays.<Boolean>asList(); assertThat(Booleans.toArray(none)).isEqualTo(EMPTY); List<Boolean> one = Arrays.asList(false); assertThat(Booleans.toArray(one)).isEqualTo(ARRAY_FALSE); boolean[] array = {false, false, true}; List<Boolean> three = Arrays.asList(false, false, true);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
} public void testCopyOfDefensiveCopy() { // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class // rather than mocking to ensure that one of those methods is called. class TestArrayList<E> extends ArrayList<E> { boolean toArrayCalled = false; @Override public Object[] toArray() { toArrayCalled = true;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** * Returns a new immutable array containing the values in the specified range. * * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start, * end).trimmed()}. */ public ImmutableIntArray subArray(int startIndex, int endIndex) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* {@code iterator().remove()} of an unmodifiable list could throw either {@link * IllegalStateException} or {@link UnsupportedOperationException}. Note that iterator * implementations should always throw one of the exceptions in a {@code PermittedExceptions} * instance, since {@code PermittedExceptions} is thrown only when a method call is invalid. * * <p>This class is accessible but not supported in GWT as it references {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0)