Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 403 for getValue2 (0.14 sec)

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

            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
          return false;
        }
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          builder.put((TypeToken) entry.getKey(), entry.getValue());
                        }
                        return (Map) builder.build();
                      }
                    })
                .named("ImmutableTypeToInstanceMap")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                                .toSortedMap()
                            for (key in versionsByPatch.keys.reversed()) {
                                val versionsOfPatch = versionsByPatch.getValue(key)
                                if (versionsOfPatch.any { !it.contains("-") }) {
                                    add(versionsOfPatch.first { !it.contains("-") })
                                    break
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

        @SuppressWarnings("unchecked") // we'll only be using getKey and getValue, which are covariant
        Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
        switch (entryArray.length) {
          case 0:
            return of();
          case 1:
            Entry<K, V> entry = entryArray[0];
            return of(entry.getKey(), entry.getValue());
          default:
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        int size = 0;
    
        for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) {
          K key = entry.getKey();
          Collection<? extends V> values = entry.getValue();
          ImmutableList<V> list =
              (valueComparator == null)
                  ? ImmutableList.copyOf(values)
                  : ImmutableList.sortedCopyOf(valueComparator, values);
          if (!list.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSortedMapCopyOfEntriesGenerator
          extends TestStringSortedMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(cell.getColumnKey(), "column");
            checkNotNull(cell.getValue(), "value");
            @SuppressWarnings("unchecked") // all supported methods are covariant
            Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell;
            cells.add(immutableCell);
          } else {
            put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
          }
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSortedMapCopyOfEntriesGenerator
          extends TestStringSortedMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top