Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,315 for map (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsRemove) {
          return;
        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsRemove) {
          return;
        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
        assertEquals("{" + joiner.join(map.entrySet()) + "}", map.toString());
        assertEquals("[" + joiner.join(map.entrySet()) + "]", map.entrySet().toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Functions.java

        final Map<K, V> map;
    
        FunctionForMapNoDefault(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
        @ParametricNullness
        public V apply(@ParametricNullness K key) {
          V result = map.get(key);
          checkArgument(result != null || map.containsKey(key), "Key '%s' not present in map", key);
          // The unchecked cast is safe because of the containsKey check.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            hoge.setA("A");
            hoge.setB(true);
            hoge.setC(3);
            final Map<String, Object> map = newHashMap();
            BeanUtil.copyBeanToMap(hoge, map);
            assertThat(map, is(notNullValue()));
            assertThat(map.get("a"), is((Object) "A"));
            assertThat(map.get("b"), is((Object) true));
            assertThat(map.get("c"), is((Object) 3));
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

        public static class ApiSystemInfoResponse extends ApiResponse {
            protected List<Map<String, String>> envProps;
            protected List<Map<String, String>> systemProps;
            protected List<Map<String, String>> fessProps;
            protected List<Map<String, String>> bugReportProps;
    
            public ApiSystemInfoResponse envProps(final List<Map<String, String>> envProps) {
                this.envProps = envProps;
                return this;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        private final transient ImmutableMap<K, V> map;
        private final transient ImmutableList<Entry<K, V>> entries;
    
        RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) {
          this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries));
        }
    
        RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) {
          this.map = map;
          this.entries = entries;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        private final transient ImmutableMap<K, V> map;
        private final transient ImmutableList<Entry<K, V>> entries;
    
        RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) {
          this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries));
        }
    
        RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) {
          this.map = map;
          this.entries = entries;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. internal/crypto/metadata_test.go

    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top