Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getParameters (0.1 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> invokable = Invokable.from(constructor);
        assertEquals(2, invokable.getParameters().size());
        assertEquals(new TypeToken<Iterable<String>>() {}, invokable.getParameters().get(0).getType());
        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> invokable = Invokable.from(constructor);
        assertEquals(2, invokable.getParameters().size());
        assertEquals(new TypeToken<Iterable<String>>() {}, invokable.getParameters().get(0).getType());
        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                TypeMetaData type = methodMetaData.getParameters().get(0).getType();
                getCurrentClass().addWriteableProperty(propName, type, rawCommentText, methodMetaData);
            }
        }
    
        private void extractParameters(MethodDeclaration n, MethodMetaData method) {
            for (Parameter parameter : n.getParameters()) {
                TypeMetaData typeMetaData = extractTypeName(parameter.getType());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              return Ordering.usingToString().compare(left.getParameters(), right.getParameters());
            }
          };
    
      private static final Ordering<Invokable<?, ?>> BY_NUMBER_OF_PARAMETERS =
          new Ordering<Invokable<?, ?>>() {
            @Override
            public int compare(Invokable<?, ?> left, Invokable<?, ?> right) {
              return Integer.compare(left.getParameters().size(), right.getParameters().size());
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebAuthenticationDbm.java

                    (et, vl) -> ((WebAuthentication) et).setHostname(DfTypeUtil.toString(vl)), "hostname");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getParameters(),
                    (et, vl) -> ((WebAuthentication) et).setParameters(DfTypeUtil.toString(vl)), "parameters");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getPassword(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileAuthenticationDbm.java

                    (et, vl) -> ((FileAuthentication) et).setHostname(DfTypeUtil.toString(vl)), "hostname");
            setupEpg(_epgMap, et -> ((FileAuthentication) et).getParameters(),
                    (et, vl) -> ((FileAuthentication) et).setParameters(DfTypeUtil.toString(vl)), "parameters");
            setupEpg(_epgMap, et -> ((FileAuthentication) et).getPassword(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.setSince(md.getSince());
            this.setThreadSafe(true);
            this.setImplementation(md.getImplementation());
            try {
                this.setParameters(md.getParameters().stream().map(Parameter::new).collect(Collectors.toList()));
            } catch (DuplicateParameterException e) {
                throw new IllegalArgumentException(e);
            }
            this.mojoDescriptorV4 = md;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

         */
        if (Reflection.getPackageName(testedClass).startsWith("com.google.common")) {
          return;
        }
        if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) {
          return; // there's nothing to test
        }
        @Nullable Object[] params = buildParamList(invokable, paramIndex);
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       *     static
       */
      private void testParameter(
          @Nullable Object instance, Invokable<?, ?> invokable, int paramIndex, Class<?> testedClass) {
        if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) {
          return; // there's nothing to test
        }
        @Nullable Object[] params = buildParamList(invokable, paramIndex);
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                if (Constants.SAMBA.equals(fileAuth.getProtocolScheme())) {
                    final SmbAuthentication smbAuth = new SmbAuthentication();
                    final Map<String, String> map = ParameterUtil.parse(fileAuth.getParameters());
                    final String domain = map.get("domain");
                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top