Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 143 for newInstance (0.08 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRequestHeaderBhv.java

        }
    
        @Override
        protected <RESULT extends RequestHeader> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

        }
    
        @Override
        protected <RESULT extends SearchLog> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAccessType(DfTypeUtil.toString(source.get("accessType")));
                result.setClientIp(DfTypeUtil.toString(source.get("clientIp")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        Model getModel();
    
        /**
         * Shorthand method.
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
         * A project is usually read from a file named {@code pom.xml},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
                BeanUtil.copyMapToBean(dataMap, obj);
                return obj;
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not create/copy a data map to " + dataClass, e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
            return null;
          }
        }
        try {
          return constructor.newInstance(params);
        } catch (IllegalArgumentException
            | InstantiationException
            | IllegalAccessException
            | InvocationTargetException e) {
          return null;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetArrayValue() throws Exception {
            final Object o = Array.newInstance(int.class, 3);
            Array.set(o, 0, new Integer(1));
            Array.set(o, 1, new Integer(2));
            Array.set(o, 2, new Integer(3));
            final int[] num = (int[]) o;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            }
        }
    
        public void richReport(Action<? super RichReport> configureAction) {
            if (!getRichReport().isPresent()) {
                RichReport richReport = getProject().getObjects().newInstance(RichReport.class);
                DirectoryProperty buildDirectory = getProject().getLayout().getBuildDirectory();
                richReport.getDestinationDir().convention(buildDirectory.dir("reports"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

        }
    
        @Override
        protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory")));
                result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                VersionResult result) {
            Versioning versioning = null;
            try {
                if (metadata != null) {
                    try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            LocalRepository localRepo = new LocalRepository(localRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            return session;
        }
    
        private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top