Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 143 for newInstance (0.1 sec)

  1. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
            return arg;
        }
    
        private Object convertWithString(final Object arg) {
            if (stringConstructor != null) {
                return ConstructorUtil.newInstance(stringConstructor, arg);
            }
            if (valueOfMethod != null) {
                return MethodUtil.invoke(valueOfMethod, null, arg);
            }
            return arg;
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    session, repositorySystem, repositories, null, lookup, new Context(userProperties, systemProperties));
        }
    
        @Override
        public Settings getSettings() {
            return Settings.newInstance();
        }
    
        @Override
        public Map<String, String> getUserProperties() {
            return Map.of();
        }
    
        @Override
        public Map<String, String> getSystemProperties() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        protected String userAgent = "gsa-crawler";
    
        public void parse(final InputSource is) {
            try {
                final SAXParserFactory factory = SAXParserFactory.newInstance();
                factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true);
                factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
            executor.execute(() -> {
                try {
                    final Object eventType = dataMap.remove(getParamValue(localParams, "field.event_type", "event_type"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            }
            if (filters.isEmpty()) {
                return null;
            } else if (filters.size() == 1) {
                return filters.get(0);
            } else {
                return ChainedVersionFilter.newInstance(filters);
            }
        }
    
        private Version parseVersion(String spec) {
            try {
                return versionScheme.parseVersion(spec);
            } catch (InvalidVersionSpecificationException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

         * percent-encoded in a path.
         *
         * See https://url.spec.whatwg.org/#percent-encoded-bytes
         */
        fun newInstance(): UrlComponentEncodingTester {
          return UrlComponentEncodingTester()
            .allAscii(Encoding.IDENTITY)
            .nonPrintableAscii(Encoding.PERCENT)
            .override(
              Encoding.SKIP,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

        // arrays, but is there another way to extract the array class in a
        // non-hacky way (i.e. using String value class names- "[L...")?
        return Array.newInstance(componentType, 0).getClass();
      }
    
      // TODO(benyu): Once behavior is the same for all Java versions we support, delete this.
      enum JavaVersion {
        JAVA6 {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

         * @return 配列
         */
        @SuppressWarnings("unchecked")
        public E[] toArray(E[] array) {
            if (array.length < size) {
                array = (E[]) Array.newInstance(array.getClass().getComponentType(), size);
            }
            int i = 0;
            for (Entry e = header.next; e != header; e = e.next) {
                array[i++] = e.element;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

                }
            };
        }
    
        /**
         * Creates a new model builder instance.
         *
         * @return The new model builder instance, never {@code null}.
         */
        public DefaultModelBuilder newInstance() {
            return new DefaultModelBuilder(
                    modelProcessor != null ? modelProcessor : newModelProcessor(),
                    modelValidator != null ? modelValidator : newModelValidator(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate.go

    func fromSchemaAndJSONMap(schema resource.Schema, data any) (config.Spec, error) {
    	// Marshal to json bytes
    	str, err := json.Marshal(data)
    	if err != nil {
    		return nil, err
    	}
    	out, err := schema.NewInstance()
    	if err != nil {
    		return nil, err
    	}
    	if err = config.ApplyJSONStrict(out, string(str)); err != nil {
    		return nil, err
    	}
    	return out, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top