- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for target (0.15 sec)
-
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/src/com/google/common/util/concurrent/FakeTimeLimiter.java
@CanIgnoreReturnValue // TODO(kak): consider removing this @Override public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); return target; // ha ha } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override @ParametricNullness
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@CheckForNull Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() { return Iterators.singletonIterator(element); } @Override public ImmutableList<E> asList() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 2.5K bytes - Viewed (0) -
guava/pom.xml
XML - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 11 16:37:45 GMT 2024 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/base/IgnoreJRERequirement.java
import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. * * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}. */ @Target({METHOD, CONSTRUCTOR, TYPE}) @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 1.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ObjectArraysTest.java
Object[] target = ObjectArrays.toArrayImpl(list, array2); assertEquals(reference.getClass(), target.getClass()); assertTrue(Arrays.equals(reference, target)); assertTrue(Arrays.equals(reference, target)); Object[] expectedArray1 = expectModify ? reference : starting; Object[] expectedArray2 = expectModify ? target : starting;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
@Override public boolean contains(@CheckForNull Object target) { @Nullable Object[] table = this.table; if (target == null || table.length == 0) { return false; } for (int i = Hashing.smearedHash(target); ; i++) { i &= mask; Object candidate = table[i]; if (candidate == null) { return false; } else if (candidate.equals(target)) { return true; } } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
Object[] target = ObjectArrays.toArrayImpl(list, array2); assertEquals(reference.getClass(), target.getClass()); assertTrue(Arrays.equals(reference, target)); assertTrue(Arrays.equals(reference, target)); Object[] expectedArray1 = expectModify ? reference : starting; Object[] expectedArray2 = expectModify ? target : starting;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K bytes - Viewed (0)