Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Garg (0.23 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. maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

        private List<ArtifactRepository> remoteRepositories;
    
        /**
         * Creates an empty repository request.
         */
        public DefaultRepositoryRequest() {
            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
         * @param repositoryRequest The repository request to copy from, must not be {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

            if (objectExpr instanceof VariableExpression && ((VariableExpression) objectExpr).getName().equals("result")) {
                String arg = AstUtil.getNodeText(call.getArguments(), getSourceCode());
                addViolation(call, "Should use outputContains(" + arg + ") or failure.assertHasCause(" + arg + ") instead");
            }
        }
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            /**
             * @return String
             */
            public String foo() {
                return "hoge";
            }
    
            /**
             * @param arg
             * @return String
             */
            public static String bar(final String arg) {
                return arg;
            }
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (args == null || args.length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top