Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 409 for getvalue (0.18 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Object newValue = new Object();
            assertSame(entry.getValue(), cache.asMap().replace(entry.getKey(), newValue));
            assertTrue(cache.asMap().replace(entry.getKey(), newValue, entry.getValue()));
            Object newKey = new Object();
            assertNull(cache.asMap().replace(newKey, entry.getValue()));
            assertFalse(cache.asMap().replace(newKey, entry.getValue(), newValue));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

              if (entry.getValue().containsKey(columnKey)) {
                @WeakOuter
                class EntryImpl extends AbstractMapEntry<R, V> {
                  @Override
                  public R getKey() {
                    return entry.getKey();
                  }
    
                  @Override
                  public V getValue() {
                    return entry.getValue().get(columnKey);
                  }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals(4, (int) entrya.getValue());
        assertEquals(3, (int) entryb.getValue());
    
        assertTrue(multimap.put("foo", 5));
        assertTrue(multimap.containsEntry("foo", 5));
        assertTrue(multimap.containsEntry("foo", 4));
        assertTrue(multimap.containsEntry("bar", 3));
        assertEquals(4, (int) entrya.getValue());
        assertEquals(3, (int) entryb.getValue());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals("test", entry.getValue());
        assertThrows(UnsupportedOperationException.class, () -> entry.setValue(1));
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, Integer.valueOf(5)));
    
        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getValue(),
                  mapSamples.e1().getValue(),
                  mapSamples.e2().getValue(),
                  mapSamples.e3().getValue(),
                  mapSamples.e4().getValue());
        }
    
        @Override
        public SampleElements<V> samples() {
          return samples;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        for (Entry<String, String> entry : entries) {
                          checkArgument(!bimap.containsKey(entry.getKey()));
                          bimap.put(entry.getKey(), entry.getValue());
                        }
                        return Maps.unmodifiableBiMap(bimap);
                      }
                    })
                .named("unmodifiableBiMap[HashBiMap]")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.6K bytes
    - Viewed (0)
Back to top