Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for testvalue (0.32 sec)

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

      public K getKey() {
        return delegate().getKey();
      }
    
      @Override
      @ParametricNullness
      public V getValue() {
        return delegate().getValue();
      }
    
      @Override
      @ParametricNullness
      @CanIgnoreReturnValue
      public V setValue(@ParametricNullness V value) {
        return delegate().setValue(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return delegate().equals(object);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

    public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
        assertEqualIgnoringOrder(expected, multimap().values());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEntry.java

      }
    
      @Override
      @ParametricNullness
      public final K getKey() {
        return key;
      }
    
      @Override
      @ParametricNullness
      public final V getValue() {
        return value;
      }
    
      @Override
      @ParametricNullness
      public final V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 19 21:29:44 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.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
    - 7.5K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
      public static class ImmutableMapCopyOfGenerator extends TestStringMapGenerator {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapValues.java

            return entryItr.hasNext();
          }
    
          @Override
          public V next() {
            return entryItr.next().getValue();
          }
        };
      }
    
      @Override
      public Spliterator<V> spliterator() {
        return CollectSpliterators.map(map.entrySet().spliterator(), Entry::getValue);
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top