Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getParameters (0.12 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. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
                    mojoDescriptor.getParameterMap().size());
    
            Parameter param2 = new Parameter();
            param2.setName("param2");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("2.2", md.getSince());
            assertEquals("deprecated-mojo", md.getDeprecated());
            assertEquals(1, md.getRequirements().size());
            assertEquals(1, md.getParameters().size());
    
            assertNotNull(md.getMojoConfiguration());
            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                        });
                return new NTLMScheme(new JcifsEngine(props));
            }
            if (Constants.FORM.equals(scheme)) {
                final Map<String, String> parameterMap = ParameterUtil.parse(getParameters());
                return new FormScheme(parameterMap);
            }
            return null;
        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. 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)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
        assertThat(parameters).hasSize(1);
        TypeToken<?> parameterType = parameters.get(0).getType();
        assertEquals(List.class, parameterType.getRawType());
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
        assertThat(parameters).hasSize(1);
        TypeToken<?> parameterType = parameters.get(0).getType();
        assertEquals(List.class, parameterType.getRawType());
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            @Override
            public String getTrackTotalHits() {
                return request.getParameter(Constants.TRACK_TOTAL_HITS);
            }
    
            @Override
            public String getQuery() {
                return request.getParameter("q");
            }
    
            @Override
            public String[] getExtraQueries() {
                return getParamValueArray(request, "ex_q");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            private
            val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex()
    
            fun fromDslContext(): VersionedSettingsBranch {
                return VersionedSettingsBranch(DslContext.getParameter("Branch", "placeholder"))
            }
    
            private fun determineNightlyPromotionTriggerHour(branchName: String) = when (branchName) {
                MASTER_BRANCH -> 0
                RELEASE_BRANCH -> 1
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top