Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Map1 (0.49 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

                  }
                });
      }
    
      public void testEquals() {
        ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one");
        ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

                  }
                });
      }
    
      public void testEquals() {
        SortedMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        SortedMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                  }
                });
      }
    
      public void testEquals() {
        NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        NavigableMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                  }
                });
      }
    
      public void testEquals() {
        NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        NavigableMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            return (Map<K, V>) EMPTY_MAP;
        }
    
        static <K, V> Map<K, V> singletonMap(K key, V value) {
            return new Map1<>(key, value);
        }
    
        private static class Map1<K, V> extends AbstractImmutableMap<K, V> {
            private final Entry<K, V> entry;
    
            private Map1(K key, V value) {
                this.entry = new SimpleImmutableEntry<>(key, value);
            }
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            TestSearchLogEvent event = new TestSearchLogEvent("id", 1L, "type");
    
            // Initial empty map
            Map<String, Object> map1 = new HashMap<>();
            event.setSourceMap(map1);
            assertEquals(0, event.toSource().size());
    
            // Add elements to the map
            map1.put("key1", "value1");
            assertEquals(1, event.toSource().size());
    
            // Replace the map
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            @SuppressWarnings("unchecked")
            List<Map<String, Object>> resultList = (List<Map<String, Object>>) result;
            assertEquals(2, resultList.size());
    
            Map<String, Object> map1 = resultList.get(0);
            assertEquals("name1", map1.get("name"));
    
            Map<String, Object> map2 = resultList.get(1);
            assertEquals("name2", map2.get("name"));
        }
    
        public void test_register_entitySet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @DisplayName("Test haveCapability with multiple capability flags")
        void testHaveCapabilityMultipleFlags() {
            // Arrange
            int cap1 = 0x00000001;
            int cap2 = 0x00000002;
            int cap3 = 0x00000004;
            when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true);
            when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top