Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for arg (0.2 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Parameter param = params.get(i);
          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equal(arg, shouldBeEqualArg)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
     *       #FileBackedOutputStream(int) the 1-arg constructor} or the {@linkplain
     *       #FileBackedOutputStream(int, boolean) 2-arg constructor} passing {@code false} in the
     *       second parameter.
     * </ul>
     *
     * <p>This class is thread-safe.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      static <C, E extends @Nullable Object, R extends Iterable<E>>
          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
        Equivalence<C> equivalence = Equivalence.equals().<E>pairwise().onResultOf(arg);
        return equivalence::equivalent;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EvictingQueue.java

      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
         * have the same nullness as E." Since we can't, we declare it to return nullable elements, and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Parameter.java

        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
      @Override
      public String toString() {
        return type + " arg" + 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)
  6. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EvictingQueue.java

      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
         * have the same nullness as E." Since we can't, we declare it to return nullable elements, and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicates.java

       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
            return false;
          }
          if (proxy == arg) {
            return true;
          }
          return isProxyOfSameInterfaces(arg, proxy.getClass())
              && equals(Proxy.getInvocationHandler(arg));
        }
        if (args.length == 0 && method.getName().equals("toString")) {
          return toString();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(reserialized, substitute(reserialized, String.class));
      }
    
      private static <T, X> TypeToken<T> substitute(TypeToken<T> type, Class<X> arg) {
        return type.where(new TypeParameter<X>() {}, arg);
      }
    
      private abstract static class ToReproduceGenericSignatureFormatError<V> {
        private abstract class BaseOuter {
          abstract class BaseInner {}
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top