Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 389 for getValue2 (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/escape/CharEscaperBuilder.java

       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
        for (Entry<Character, String> entry : map.entrySet()) {
          result[entry.getKey()] = entry.getValue().toCharArray();
        }
        return result;
      }
    
      /**
       * Convert this builder into a char escaper which is just a decorator around the underlying array
       * of replacement char[]s.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      }
    
      public void testToImmutableBiMap() {
        Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector =
            toImmutableBiMap(Entry::getKey, Entry::getValue);
        Equivalence<ImmutableBiMap<String, Integer>> equivalence =
            Equivalence.equals()
                .<Entry<String, Integer>>pairwise()
                .onResultOf(ImmutableBiMap::entrySet);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

          case 1:
            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
            return of(comparator, onlyEntry.getKey(), onlyEntry.getValue());
          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      private static final class ImmutableSetMultimapCopyOfEntriesGenerator
          extends TestStringSetMultimapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

        /**
         * インデックスで指定された位置の値を返します。
         *
         * @param index
         *            インデックス
         * @return インデックスで指定された位置の値
         */
        public V getAt(final int index) {
            return getEntryAt(index).getValue();
        }
    
        /**
         * インデックスで指定された位置のキーを返します。
         *
         * @param index
         *            インデックス
         * @return インデックスで指定された位置のキー
         */
        public K getKeyAt(final int index) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/LabelTypeDbm.java

            setupEpg(_epgMap, et -> ((LabelType) et).getUpdatedTime(), (et, vl) -> ((LabelType) et).setUpdatedTime(DfTypeUtil.toLong(vl)),
                    "updatedTime");
            setupEpg(_epgMap, et -> ((LabelType) et).getValue(), (et, vl) -> ((LabelType) et).setValue(DfTypeUtil.toString(vl)), "value");
            setupEpg(_epgMap, et -> ((LabelType) et).getVirtualHost(), (et, vl) -> ((LabelType) et).setVirtualHost(DfTypeUtil.toString(vl)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(final CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top