- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 158 for parameters (0.2 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable, Comparable)}.</b> */ @DoNotCall("Pass parameters of type Comparable") @Deprecated public static <E> ImmutableSortedSet<E> of(E e1, E e2) { 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) -
android/guava/src/com/google/common/collect/Comparators.java
* {@code lexicographical(Collections.reverseOrder(comparator))} (consider how each would order * {@code [1]} and {@code [1, 1]}). */ // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the // desired return type. However, *nested* generics introduce a special class of problems that we // think tip it over into being worthwhile.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
} public void testConstructor_parameters() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); ImmutableList<Parameter> parameters = delegate.getParameters(); assertEquals(2, parameters.size()); assertEquals(String.class, parameters.get(0).getType().getType()); assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that * {@code Comparator} doesn't: it evaluates all the parameters of all the {@code .compare} calls, * even when the result of the comparison is already known from previous {@code .compare} calls. * That can be expensive. * * @author Mark Davis * @author Kevin Bourrillion
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Sep 21 17:28:11 GMT 2022 - 11.2K 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) -
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) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} Method method = (Method) member; if (!method.getName().contentEquals("equals")) { return false; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { return false; } if (!parameters[0].equals(Object.class)) { return false; } return true; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link * ImmutableSortedSet#of(Comparable, Comparable)}.</b> */ @DoNotCall("Pass parameters of type Comparable") @Deprecated public static <E> ImmutableSortedSet<E> of(E e1, E e2) { throw new UnsupportedOperationException(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} public void testNullBounds() { // NullBounds has methods whose parameters are type variables that have // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers // those parameters to be @Nullable, so it won't call the methods. NullBounds<?, ?, ?> nullBounds = new NullBounds<>(); new NullPointerTester().testAllPublicInstanceMethods(nullBounds);
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) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* @param formal The type whose type variables or itself is mapped to other type(s). It's almost * always a bug if {@code formal} isn't a type variable and contains no type variable. Make * sure you are passing the two parameters in the right order. * @param actual The type that the formal type variable(s) are mapped to. It can be or contain yet * other type variables, in which case these type variables will be further resolved if
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0)