Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 427 for getValue4 (0.09 seconds)

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

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
       * #hashCode()} to forward to this implementation.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue());
          if (oldValue != null) {
            throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]);
          }
          K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey());
          if (oldKey != null) {
            throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(entry.getKey()).isEqualTo("foo");
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("google");
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("tree");
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    
      public void testOrderedEntries() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
      public static class ImmutableMapCopyOfGenerator extends TestStringMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
       * #hashCode()} to forward to this implementation.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/SparseImmutableTable.java

        ImmutableMap<C, V> row = rowEntry.getValue();
        int columnIndex = cellColumnInRowIndices[index];
        Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex);
        return cellOf(rowEntry.getKey(), colEntry.getKey(), colEntry.getValue());
      }
    
      @Override
      V getValue(int index) {
        int rowIndex = cellRowIndices[index];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            Map<K, V> orderPreservingCopy = Maps.newLinkedHashMap();
            for (Entry<? extends K, ? extends V> e : map.entrySet()) {
              orderPreservingCopy.put(checkNotNull(e.getKey()), checkNotNull(e.getValue()));
            }
            return new RegularImmutableMap<K, V>(orderPreservingCopy);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

            @Override
            public K getKey() {
              return ArrayMap.this.getKey(index);
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
          V existingValue = values[rowIndex][columnIndex];
          checkNoDuplicate(rowKey, columnKey, existingValue, cell.getValue());
          values[rowIndex][columnIndex] = cell.getValue();
          rowCounts[rowIndex]++;
          columnCounts[columnIndex]++;
          cellRowIndices[i] = rowIndex;
          cellColumnIndices[i] = columnIndex;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top