Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 550 for getValue5 (0.37 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    case 0:
                        return emptyMap();
                    case 1:
                        Map.Entry<K, V> entry = map.entrySet().iterator().next();
                        return singletonMap(entry.getKey(), entry.getValue());
                    default:
                        return new MapN<>(map);
                }
            }
        }
    
        @SuppressWarnings("unchecked")
        static <K, V> Map<K, V> emptyMap() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
            StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue())));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
        assertThat(map.entrySet().toString()).isEqualTo("[" + JOINER.join(map.entrySet()) + "]");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/ChatIntent.java

        ChatIntent(final String value) {
            this.value = value;
        }
    
        /**
         * Returns the string value of this intent.
         *
         * @return the intent value
         */
        public String getValue() {
            return value;
        }
    
        /**
         * Parses a string value to ChatIntent enum.
         *
         * @param value the string value to parse
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          BiMap<String, String> result = HashBiMap.create();
          for (Entry<String, String> entry : entries) {
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                    final StringBuilder tempBuf = new StringBuilder();
                    append(tempBuf, StringEscapeUtils.escapeJson(e.getKey()), () -> StringEscapeUtils.escapeJson(e.getValue().getHotThreads()));
                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top