Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 423 for getKey (0.15 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

        }
    
        Entry<K, V> getEntry(final int index) {
          checkElementIndex(index, size());
          return new AbstractMapEntry<K, V>() {
            @Override
            public K getKey() {
              return ArrayMap.this.getKey(index);
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        assertNull("put(null, null) should return null", put(nullKeyValueEntry));
        expectAdded(nullKeyValueEntry);
      }
    
      @CanIgnoreReturnValue
      private V put(Entry<K, V> entry) {
        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
       * {@link java.util.TreeMap} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) {
          for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) {
            Class<? extends T> type = entry.getKey();
            T value = entry.getValue();
            mapBuilder.put(type, cast(type, value));
          }
          return this;
        }
    
        private static <T> T cast(Class<T> type, Object value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                                                    logger.debug("Skipping interpolation of field: " + field
                                                                            + " (key: " + entry.getKey() + ") in: "
                                                                            + cls.getName()
                                                                            + "; it is an unmodifiable collection.");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

            private BiEntry<K, V> delegate;
    
            MapEntry(BiEntry<K, V> entry) {
              this.delegate = entry;
            }
    
            @Override
            @ParametricNullness
            public K getKey() {
              return delegate.key;
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return delegate.value;
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            return transformation;
        }
    
        public void setTransformation(final String transformation) {
            this.transformation = transformation;
        }
    
        public String getKey() {
            return key;
        }
    
        public void setKey(final String key) {
            this.key = key;
        }
    
        public String getCharsetName() {
            return charsetName;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

              .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY)));
          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    List<Plugin> result = new ArrayList<>(src.size() + tgt.size());
                    for (Map.Entry<Object, Plugin> entry : master.entrySet()) {
                        List<Plugin> pre = predecessors.get(entry.getKey());
                        if (pre != null) {
                            result.addAll(pre);
                        }
                        result.add(entry.getValue());
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top