- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 481 for containers (0.18 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED; ImmutableCollection() {} public abstract UnmodifiableIterator<E> iterator(); public boolean contains(@Nullable Object object) { return object != null && super.contains(object); } public final boolean add(E e) { throw new UnsupportedOperationException(); } public final boolean remove(@Nullable Object object) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key)); assertEquals(values.size() > 0, multimap().keySet().contains(key)); assertEquals(values.size() > 0, multimap().keys().contains(key)); } protected final K k0() { return e0().getKey(); } protected final V v0() { return e0().getValue(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} @Override public int count(@CheckForNull Object element) { try { @SuppressWarnings("unchecked") E e = (E) element; AvlNode<E> root = rootReference.get(); if (!range.contains(e) || root == null) { return 0; } return root.count(comparator(), e); } catch (ClassCastException | NullPointerException e) { return 0; } }
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) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
if (comparator == null) { comparator = (Comparator<? super E>) NATURAL_ORDER; } return comparator; } @Override public boolean contains(Object object) { return delegate.contains(checkValid(object)); } @Override public boolean containsAll(Collection<?> c) { return delegate.containsAll(c); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
fail(); } catch (AssertionFailedError e) { assertTrue(e.getMessage().contains("toString representation")); } } private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
return delegate().setCount(element, oldCount, newCount); } /** * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link * #count}, you may wish to override {@link #contains} to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardContains(@CheckForNull Object object) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 10.4K bytes - Viewed (0)