Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1401 - 1410 of 6,020 for new1 (0.04 seconds)

  1. android/guava/src/com/google/common/collect/Sets.java

      public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) {
        HashSet<E> set = new HashSet<>();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/LinearTransformation.java

          checkArgument(!Double.isNaN(slope));
          if (isFinite(slope)) {
            double yIntercept = y1 - x1 * slope;
            return new RegularLinearTransformation(slope, yIntercept);
          } else {
            return new VerticalLinearTransformation(x1);
          }
        }
      }
    
      /**
       * Builds an instance representing a vertical transformation with a constant value of {@code x}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#daemon(boolean)} instead.
       *
       * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads
       * @return this for the builder pattern
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsCrawlingInfoParamCB.java

                _specification = new HpSpecification();
            }
            return _specification;
        }
    
        protected void assertQueryPurpose() {
        }
    
        protected void assertAggregationPurpose() {
        }
    
        protected void assertSpecifyPurpose() {
        }
    
        public static class HpSpecification {
            protected List<String> columnList = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("web_config_id", getWebConfigId());
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final File junitJar = ResourceUtil.getBuildDir(TestCase.class);
            assertTrue(junitJar.exists());
            final URL url = junitJar.toURI().toURL();
            final URLClassLoader loader = new URLClassLoader(new URL[] { url });
            loader.loadClass(TestCase.class.getName());
        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

        private JobHelper jobHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            jobHelper = new JobHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new MockJobLogBhv(), JobLogBhv.class.getCanonicalName());
        }
    
        @Test
        public void test_register_with_null_scheduledJob() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

            return new AllocationDeciders(deciders);
        }
    
        private static final AtomicInteger portGenerator = new AtomicInteger();
    
        public static DiscoveryNode newNode(String nodeId, Map<String, String> attributes) {
            return new DiscoveryNode(
                "",
                nodeId,
                new TransportAddress(TransportAddress.META_ADDRESS, portGenerator.incrementAndGet()),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Lists.java

          int initialArraySize) {
        checkNonnegative(initialArraySize, "initialArraySize"); // for GWT.
        return new ArrayList<>(initialArraySize);
      }
    
      /**
       * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an
       * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link
       * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit padding
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
Back to Top