- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for containers (0.22 sec)
-
guava/src/com/google/common/collect/Collections2.java
} /** * Returns {@code true} if the collection {@code self} contains all of the elements in the * collection {@code c}. * * <p>This method iterates over the specified collection {@code c}, checking each element returned * by the iterator in turn to see if it is contained in the specified collection {@code self}. If * all elements are so contained, {@code true} is returned, otherwise {@code false}. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
checkNotNull(multiset1); checkNotNull(multiset2); return new ViewMultiset<E>() { @Override public boolean contains(@CheckForNull Object element) { return multiset1.contains(element) || multiset2.contains(element); } @Override public boolean isEmpty() { return multiset1.isEmpty() && multiset2.isEmpty(); } @Override
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/src/com/google/common/collect/Iterables.java
} /** * Returns the single element contained in {@code iterable}. * * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code * stream.collect(MoreCollectors.onlyElement())}. * * @throws NoSuchElementException if the iterable is empty * @throws IllegalArgumentException if the iterable contains multiple elements */ @ParametricNullness
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) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
} } } public void testContains() { assertThat(Booleans.contains(EMPTY, false)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, true)).isTrue(); } public void testIndexOf() {
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) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
} } } public void testContains() { assertThat(Booleans.contains(EMPTY, false)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse(); assertThat(Booleans.contains(ARRAY_FALSE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, false)).isTrue(); assertThat(Booleans.contains(ARRAY_FALSE_TRUE, true)).isTrue(); } public void testIndexOf() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
.inOrder(); } public void testCartesianProduct_contains() { Set<List<Integer>> actual = Sets.cartesianProduct(set(1, 2), set(3, 4)); assertTrue(actual.contains(list(1, 3))); assertTrue(actual.contains(list(1, 4))); assertTrue(actual.contains(list(2, 3))); assertTrue(actual.contains(list(2, 4))); assertFalse(actual.contains(list(3, 1))); } public void testCartesianProduct_equals() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 49.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
public void testCopyOf_collection_general() { Collection<String> c = MinimalCollection.of("a", "b", "a"); Set<String> set = copyOf(c); assertEquals(2, set.size()); assertTrue(set.contains("a")); assertTrue(set.contains("b")); } public void testCopyOf_collectionContainingNull() { Collection<@Nullable String> c = MinimalCollection.of("a", null, "b"); try { copyOf((Collection<String>) c);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
public void testCopyOf_collection_general() { Collection<String> c = MinimalCollection.of("a", "b", "a"); Set<String> set = copyOf(c); assertEquals(2, set.size()); assertTrue(set.contains("a")); assertTrue(set.contains("b")); } public void testCopyOf_collectionContainingNull() { Collection<@Nullable String> c = MinimalCollection.of("a", null, "b"); try { copyOf((Collection<String>) c);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
return size() - index; } @Override public ImmutableList<E> reverse() { return forwardList; } @Override public boolean contains(@CheckForNull Object object) { return forwardList.contains(object); } @Override public int indexOf(@CheckForNull Object object) { int index = forwardList.lastIndexOf(object);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertTrue(entrySet.contains(Maps.immutableEntry(10, 'X'))); assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X'))); assertFalse(entrySet.contains(Maps.immutableEntry(15, 'X'))); entrySet = row.tailMap(15).entrySet(); assertFalse(entrySet.contains(Maps.immutableEntry(10, 'X'))); assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X')));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0)