Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1211 - 1220 of 6,187 for New (0.01 seconds)

  1. 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)
  2. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedSetTest.class);
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
                    new TestStringSortedSetGenerator() {
                      @Override
                      protected SortedSet<String> create(String[] elements) {
                        return new StandardImplForwardingSortedSet<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            to.parents.remove(from);
        }
    
        List<String> visitAll() {
            return visitAll(vertices.values(), new HashMap<>(), new ArrayList<>());
        }
    
        List<String> findCycle(Vertex vertex) {
            return visitCycle(Collections.singleton(vertex), new HashMap<>(), new LinkedList<>());
        }
    
        private static List<String> visitAll(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return filterCollection(unfiltered.entries(), predicate);
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

            final ApiStartJobResponse response = new ApiStartJobResponse();
            final ApiStartJobResponse returned = response.jobLogId("abc123def456");
            assertSame(response, returned);
            assertEquals("abc123def456", response.jobLogId);
        }
    
        @Test
        public void test_ApiStartJobResponse_withNullJobLogId() {
            final ApiStartJobResponse response = new ApiStartJobResponse();
            response.jobLogId(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

                    "Raw bytes for empty string should be empty");
    
            byte[] emptyBytes = new byte[0];
            AvTargetName avTargetNameFromBytes = new AvTargetName(emptyBytes);
            assertEquals(emptyString, avTargetNameFromBytes.getTargetName(),
                    "Empty string should be handled correctly from raw bytes constructor");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

       *     ImmutableTypeToInstanceMap.<Handler<?>>builder()
       *         .put(new TypeToken<Handler<Foo>>() {}, new FooHandler())
       *         .put(new TypeToken<Handler<Bar>>() {}, new SubBarHandler())
       *         .build();
       * }
       *
       * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingNavigableSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingNavigableSet<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top