Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for entity (0.15 sec)

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

                // requireNonNull is safe because the first `size` elements have been filled in.
                Entry<K, V> prevEntry = requireNonNull(entryArray[i - 1]);
                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Map<Object, Object> result = cache.getAll(asList(lookupKeys));
        assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys));
        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertSame(value, result.get(key));
          assertNull(result.get(value));
          assertSame(value, cache.asMap().get(key));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         *
         * @param first the first entry of the table
         * @param entry the entry being removed from the table
         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @CheckForNull
        E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                TypeToken.of(String.class),
                new Entry<String, Integer>() {}.keyType(),
                new Entry<Integer, String>() {}.valueType(),
                new TypeToken<String>() {},
                new TypeToken<String>() {})
            .addEqualityGroup(
                TypeToken.of(Integer.class),
                new TypeToken<Integer>() {},
                new Entry<Integer, String>() {}.keyType(),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
     * <p>Entries are automatically evicted from the cache when any of {@link #maximumSize(long)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

          Comparator<? super E> comparator) {
        return new TreeSet<>(checkNotNull(comparator));
      }
    
      /**
       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

          }
          return false;
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          if (o instanceof Map.Entry) {
            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
            return multimap().remove(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public void clear() {
          multimap().clear();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

              return;
            }
          }
          // If all the delegates were complete, no reason for the next listener to have to
          // go through the whole list. Avoids O(n^2) behavior when the entire output list is
          // cancelled.
          delegateIndex = delegates.size();
        }
    
        private void recordCompletion() {
          if (incompleteOutputCount.decrementAndGet() == 0 && wasCancelled) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                TypeToken.of(String.class),
                new Entry<String, Integer>() {}.keyType(),
                new Entry<Integer, String>() {}.valueType(),
                new TypeToken<String>() {},
                new TypeToken<String>() {})
            .addEqualityGroup(
                TypeToken.of(Integer.class),
                new TypeToken<Integer>() {},
                new Entry<Integer, String>() {}.keyType(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top