- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 233 for targets (0.18 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
@Override public boolean contains(@Nullable Object object) { return object != null && delegateList().contains(object); } @Override public boolean containsAll(Collection<?> targets) { return delegateList().containsAll(targets); } public int size() { return delegateList().size(); } @Override public boolean isEmpty() { return delegateList().isEmpty(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
return super.containsAll(targets); } /* * If targets is a sorted set with the same comparator, containsAll can run * in O(n) time stepping through the two collections. */ Iterator<E> thisIterator = iterator(); Iterator<?> thatIterator = targets.iterator(); // known nonempty since we checked targets.size() > 1 if (!thisIterator.hasNext()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
/** * Unit test for {@link AppendableWriter}. * * @author Alan Green */ public class AppendableWriterTest extends IoTestCase { /** Helper class for testing behavior with Flushable and Closeable targets. */ private static class SpyAppendable implements Appendable, Flushable, Closeable { boolean flushed; boolean closed; StringBuilder result = new StringBuilder(); @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
} @Override public boolean contains(@Nullable Object object) { return object != null && delegate.contains(object); } @Override public boolean containsAll(Collection<?> targets) { return delegate.containsAll(targets); } @Override public int size() { return delegate.size(); } @Override public boolean isEmpty() { return delegate.isEmpty(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
/** * Unit test for {@link AppendableWriter}. * * @author Alan Green */ public class AppendableWriterTest extends IoTestCase { /** Helper class for testing behavior with Flushable and Closeable targets. */ private static class SpyAppendable implements Appendable, Flushable, Closeable { boolean flushed; boolean closed; StringBuilder result = new StringBuilder(); @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
} @Override public boolean contains(@Nullable Object object) { return object != null && delegate.contains(object); } @Override public boolean containsAll(Collection<?> targets) { return delegate.containsAll(targets); } public int size() { return delegate.size(); } @Override public boolean isEmpty() { return delegate.isEmpty(); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@Override int indexOf(@CheckForNull Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 8.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
@Override public boolean containsAll(Collection<?> targets) { for (Object target : targets) { if (target == null) { // This set never contains null. We need to explicitly check here // because some comparator might throw NPE (e.g. the natural ordering). return false; } } try { return sortedDelegate.containsAll(targets); } catch (ClassCastException e) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* i, i + target.length)} contains exactly the same elements as {@code target}. * * @param array the array to search for the sequence {@code target} * @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(short[] array, short[] target) { checkNotNull(array, "array"); checkNotNull(target, "target"); if (target.length == 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 25.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
* i, i + target.length)} contains exactly the same elements as {@code target}. * * @param array the array to search for the sequence {@code target} * @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(long[] array, long[] target) { checkNotNull(array, "array"); checkNotNull(target, "target"); if (target.length == 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 28.7K bytes - Viewed (0)