- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 193 for parameter (0.17 sec)
-
android/guava/src/com/google/common/reflect/Parameter.java
A[] cast = (A[]) result; return cast; } @Override public boolean equals(@CheckForNull Object obj) { if (obj instanceof Parameter) { Parameter that = (Parameter) obj; return position == that.position && declaration.equals(that.declaration); } return false; } @Override public int hashCode() { return position; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
} } /* * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a * nullness checker can already "prove" are non-null. That means that the first parameter to * checkNotNull *should* be annotated to require it to be non-null. * * However, for a variety of reasons, Google developers have written a ton of code over the past
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java
*/ package com.google.common.collect.testing.testers; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; 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;
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-testlib/src/com/google/common/testing/FreshValueGenerator.java
TypeToken<?> paramType = type.resolveType(typeVars[i]); // We require all @Generates methods to either be parameter-less or accept non-null // values for their generic parameter types. Object argValue = generate(paramType); if (argValue == null) { // When a parameter of a @Generates method cannot be created, // The type most likely is a collection.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
* which is in O(d_node) where d_node is the degree of {@code node}. * * @author James Sexton * @author Joshua O'Madadhain * @author Omar Darwish * @param <N> Node parameter type * @param <V> Value parameter type */ @ElementTypesAreNonnullByDefault final class StandardMutableValueGraph<N, V> extends StandardValueGraph<N, V> implements MutableValueGraph<N, V> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Oct 21 01:50:30 GMT 2023 - 6.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
@SuppressWarnings("unused") // Called by reflection public void t(T t) { fail("Method with parameter <T extends @Nullable Object> should not be called"); } @SuppressWarnings("unused") // Called by reflection public void u(U u) { fail( "Method with parameter <U extends T> where <T extends @Nullable Object> should not be" + " called"); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Cut.java
@Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */ @SuppressWarnings("unchecked") static <C extends Comparable> Cut<C> belowAll() { return (Cut<C>) BelowAll.INSTANCE; } private static final long serialVersionUID = 0;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable)}.</b> */ @DoNotCall("Pass a parameter of type Comparable") @Deprecated public static <E> ImmutableSortedSet<E> of(E element) { throw new UnsupportedOperationException(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
this.expectedElements = Helpers.copyToList(expectedElements); this.knownOrder = knownOrder; this.startIndex = startIndex; } /** * I'd like to make this a parameter to the constructor, but I can't because the stimulus * instances refer to {@code this}. */ protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues(); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* the dummy value of a constructor or method parameter is unknown. */ @VisibleForTesting static class ParameterNotInstantiableException extends Exception { public ParameterNotInstantiableException(Parameter parameter) { super( "Cannot determine value for parameter " + parameter + " of " + parameter.getDeclaringInvokable()); } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0)