- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,839 for of (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
} public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableMultimap.of(), ImmutableMultimap.of()) .addEqualityGroup(ImmutableMultimap.of(1, "a"), ImmutableMultimap.of(1, "a")) .addEqualityGroup( ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a")) .testEquals(); } @J2ktIncompatible @GwtIncompatible // reflection
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return LAST_COLOR_ADDED; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of()) .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1)) .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1)) .testEquals(); } @GwtIncompatible("internals") public void testControlsArraySize() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* instead. * * @param iterable the iterable to return a partitioned view of * @param size the desired size of each partition (the last may be smaller) * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided * into partitions * @throws IllegalArgumentException if {@code size} is nonpositive */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* * <ul> * <li>returning the same iterator again * <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
// TODO(user): predecessors and successors should be collocated (reducing cache misses). // Might also explore collocating all of [hash, next, predecessor, successor] fields of an // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2 /** * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_disjoint() { assertFalse( "containsAll(disjoint) should return false", collection.containsAll(MinimalCollection.of(e3()))); } @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContainsAll_nullNotAllowed() { try { assertFalse(collection.containsAll(MinimalCollection.of((E) null)));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
Collection<String> c = ImmutableSortedMultiset.of("a", "b", "a"); assertEquals(c, ImmutableSortedMultiset.of("a", "b", "a")); assertEquals(c, ImmutableSortedMultiset.of("a", "a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b", "c", "d")); } public void testIterationOrder() {
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/util/concurrent/CycleDetectingLockFactory.java
* <li>for nested locking, the cost increases with the depth of the nesting: * <ul> * <li>2 levels: average of 64ns per lock()/unlock() * <li>3 levels: average of 77ns per lock()/unlock() * <li>4 levels: average of 99ns per lock()/unlock() * <li>5 levels: average of 103ns per lock()/unlock() * <li>10 levels: average of 184ns per lock()/unlock()
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
/** Returns the empty array. */ public static ImmutableIntArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */ public static ImmutableIntArray of(int e0) { return new ImmutableIntArray(new int[] {e0}); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray of(int e0, int e1) { return new ImmutableIntArray(new int[] {e0, e1});
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)