Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Garg (0.16 sec)

  1. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. android/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 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K 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 Apr 26 12:43:10 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/eventbus/SubscriberTest.java

       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    
      @Subscribe
      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    
      @Subscribe
      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top