Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getValue (1.72 sec)

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

        K key1 = entry1.getKey();
        V value1 = entry1.getValue();
        checkEntryNotNull(key1, value1);
        // Do something that works for j2cl, where we can't call getDeclaredClass():
        EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1));
        while (entryItr.hasNext()) {
          Entry<K, ? extends V> entry = entryItr.next();
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            if (closed) {
              return;
            }
            closed = true;
          }
          for (Map.Entry<Closeable, Executor> entry : entrySet()) {
            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@CheckForNull Closeable closeable, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top