- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 434 for checkNotNull (0.08 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
* @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) { return 0; } outer: for (int i = 0; i < array.length - target.length + 1; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* @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) { return 0; } outer: for (int i = 0; i < array.length - target.length + 1; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
super(method.getName()); this.factory = checkNotNull(factory); this.data = checkNotNull(data); this.expected = checkNotNull(factory.getExpected(data)); this.suiteName = checkNotNull(suiteName); this.caseDesc = checkNotNull(caseDesc); } @Override public String getName() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
String relationshipName, String hashName, ItemReporter itemReporter) { this.equivalence = checkNotNull(equivalence); this.relationshipName = checkNotNull(relationshipName); this.hashName = checkNotNull(hashName); this.itemReporter = checkNotNull(itemReporter); } // TODO(cpovirk): should we reject null items, since the tests already check null automatically? @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} final void addDelayedShutdownHook( final ExecutorService service, final long terminationTimeout, final TimeUnit timeUnit) { checkNotNull(service); checkNotNull(timeUnit); addShutdownHook( MoreExecutors.newThread( "DelayedShutdownHook-for-" + service, new Runnable() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.io; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.BufferedOutputStream;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
return fromIntBits(this.value + checkNotNull(val).value); } /** * Returns the result of subtracting this and {@code val}. If the result would be negative, * returns the low 32 bits of the result. * * @since 14.0 */ public UnsignedInteger minus(UnsignedInteger val) { return fromIntBits(value - checkNotNull(val).value); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
return fromIntBits(this.value + checkNotNull(val).value); } /** * Returns the result of subtracting this and {@code val}. If the result would be negative, * returns the low 32 bits of the result. * * @since 14.0 */ public UnsignedInteger minus(UnsignedInteger val) { return fromIntBits(value - checkNotNull(val).value); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/MultiEdgesConnecting.java
private final Map<E, ?> outEdgeToNode; private final Object targetNode; MultiEdgesConnecting(Map<E, ?> outEdgeToNode, Object targetNode) { this.outEdgeToNode = checkNotNull(outEdgeToNode); this.targetNode = checkNotNull(targetNode); } @Override public UnmodifiableIterator<E> iterator() { Iterator<? extends Entry<E, ?>> entries = outEdgeToNode.entrySet().iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
return fromLongBits(this.value + checkNotNull(val).value); } /** * Returns the result of subtracting this and {@code val}. If the result would have more than 64 * bits, returns the low 64 bits of the result. * * @since 14.0 */ public UnsignedLong minus(UnsignedLong val) { return fromLongBits(this.value - checkNotNull(val).value); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:09:25 UTC 2021 - 8.9K bytes - Viewed (0)