Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 550 for getValue4 (0.08 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
      }
    
      @CollectionSize.Require(ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
                        }
                        return table.cellSet();
                      }
    
                      @Override
                      Table<String, Integer, Character> createTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
                        }
                        return table.cellSet();
                      }
    
                      @Override
                      Table<String, Integer, Character> createTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

          // requireNonNull is safe because the first `n` elements have been filled in.
          entryArray[i] = makeImmutable(requireNonNull(entryArray[i]));
          K key = entryArray[i].getKey();
          V value = entryArray[i].getValue();
          V oldValue = delegateMap.put(key, value);
          if (oldValue != null) {
            if (throwIfDuplicateKeys) {
              throw conflictException("key", entryArray[i], entryArray[i].getKey() + "=" + oldValue);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntry.java

      @Override
      @ParametricNullness
      public final K getKey() {
        return super.getKey();
      }
    
      @Override
      @ParametricNullness
      public final V getValue() {
        return super.getValue();
      }
    
      @Override
      @ParametricNullness
      public final V setValue(@ParametricNullness V value) {
        return super.setValue(value);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 21:42:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
                    table1, cell2.getRowKey(), cell2.getColumnKey(), cell2.getValue(), mergeFunction);
              }
              return table1;
            });
      }
    
      private static final class ImmutableTableCollectorState<R, C, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            try {
                LabelTypePattern pattern = new LabelTypePattern("test", "/test.*", "/exclude.*");
                assertNotNull(pattern);
                assertEquals("test", pattern.getValue());
            } catch (Exception e) {
                fail("LabelTypePattern constructor should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            acquireSharedInterruptibly(-1);
            return getValue();
          }
    
          /**
           * Implementation of the actual value retrieval. Will return the value on success, an
           * exception on failure, a cancellation on cancellation, or an illegal state if the
           * synchronizer is in an invalid state.
           */
          private V getValue() throws CancellationException, ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/Helpers.java

              e.setValue(value); // muhahaha!
    
              return equal(this.getKey(), e.getKey()) && equal(this.getValue(), e.getValue());
            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top