- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 434 for checkNotNull (0.1 sec)
-
guava/src/com/google/common/primitives/Booleans.java
* @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(boolean[] array, boolean[] 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: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
} @Override public boolean hasEdgeConnecting(N nodeU, N nodeV) { checkNotNull(nodeU); checkNotNull(nodeV); return nodes().contains(nodeU) && successors(nodeU).contains(nodeV); } @Override public boolean hasEdgeConnecting(EndpointPair<N> endpoints) { checkNotNull(endpoints); if (!isOrderingCompatible(endpoints)) { return false; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedIterables.java
* {@code comparator}. */ public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { checkNotNull(comparator); checkNotNull(elements); Comparator<?> comparator2; if (elements instanceof SortedSet) { comparator2 = comparator((SortedSet<?>) elements); } else if (elements instanceof SortedIterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
ChecksumHashFunction( ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) { this.checksumSupplier = checkNotNull(checksumSupplier); checkArgument(bits == 32 || bits == 64, "bits (%s) must be either 32 or 64", bits); this.bits = bits; this.toString = checkNotNull(toString); } @Override public int bits() { return bits; } @Override public Hasher newHasher() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FunctionalEquivalence.java
private final Equivalence<T> resultEquivalence; FunctionalEquivalence( Function<? super F, ? extends @Nullable T> function, Equivalence<T> resultEquivalence) { this.function = checkNotNull(function); this.resultEquivalence = checkNotNull(resultEquivalence); } @Override protected boolean doEquivalent(F a, F b) { return resultEquivalence.equivalent(function.apply(a), function.apply(b)); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 01 19:48:29 UTC 2023 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);} * * @since 12.0 */ public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) { checkNotNull(enumClass); checkNotNull(value); return Platform.getEnumIfPresent(enumClass, value); } @GwtIncompatible // java.lang.ref.WeakReference
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.RegularImmutableMap.makeImmutable; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EdgesConnecting.java
private final Map<?, E> nodeToOutEdge; private final Object targetNode; EdgesConnecting(Map<?, E> nodeToEdgeMap, Object targetNode) { this.nodeToOutEdge = checkNotNull(nodeToEdgeMap); this.targetNode = checkNotNull(targetNode); } @Override public UnmodifiableIterator<E> iterator() { E connectingEdge = getConnectingEdge(); return (connectingEdge == null)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
private final int bits; private final boolean supportsClone; MacHashFunction(String algorithmName, Key key, String toString) { this.prototype = getMac(algorithmName, key); this.key = checkNotNull(key); this.toString = checkNotNull(toString); this.bits = prototype.getMacLength() * Byte.SIZE; this.supportsClone = supportsClone(prototype); } @Override public int bits() { return bits; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K 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)