Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for nargs (0.13 sec)

  1. src/main/java/org/codelibs/core/message/MessageFormatter.java

         * パターンを使用しないで引数を並べたメッセージを返します。
         *
         * @param args
         *            引数
         * @return 引数を並べたメッセージ
         */
        protected static String getNoPatternMessage(final Object... args) {
            if (args == null || args.length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> equalArgs = Lists.newArrayList(args);
        for (int i = 0; i < args.size(); i++) {
          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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static class ExecResult {
            private final String[] args;
            private final int code;
            private final String stdout;
            private final String stderr;
    
            public ExecResult(String[] args, int code, String stdout, String stderr) {
                this.args = args;
                this.code = code;
                this.stdout = stdout;
                this.stderr = stderr;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/FileAccessException.java

        private static final long serialVersionUID = 1L;
    
        public FileAccessException(final String messageCode, final Object[] args, final Throwable cause) {
            super(messageCode, args, cause);
        }
    
        public FileAccessException(final String messageCode, final Object[] args) {
            super(messageCode, args);
        }
    
        public FileAccessException(final String messageCode, final Throwable cause) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

         * @param args
         *            引数
         * @return フォーマットされたメッセージ文字列
         */
        public static LogMessage format(final String messageCode, final Object... args) {
            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

                return null;
            }
            return pcd.getRawClass();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> T newInstance(final Object... args) {
            return (T) ConstructorUtil.newInstance(constructor, args);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

            assertWithMessage(x + ", " + y)
                .that(Math.signum(Ints.compare(i, j)))
                .isEqualTo(Math.signum(UnsignedBytes.compare(x, y)));
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> UnsignedBytes.max());
      }
    
      public void testMax() {
        assertThat(UnsignedBytes.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top