Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 1,094 for Entry (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                            ImmutableClassToInstanceMap.builder();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          builder.put((Class) entry.getKey(), (Impl) entry.getValue());
                        }
                        return (Map) builder.build();
                      }
                    })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                        MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          map.putInstance((Class) entry.getKey(), (Impl) entry.getValue());
                        }
                        return (Map) map;
                      }
                    })
                .named("MutableClassToInstanceMap")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          return this;
        }
    
        /**
         * Adds the given {@code entry} to the bimap. Duplicate keys or values are not allowed, and will
         * cause {@link #build} to fail.
         *
         * @since 19.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          super.put(entry);
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

      static ImmutableSet<LocationInfo> locationsFrom(ClassLoader classloader) {
        ImmutableSet.Builder<LocationInfo> builder = ImmutableSet.builder();
        for (Map.Entry<File, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) {
          builder.add(new LocationInfo(entry.getKey(), entry.getValue()));
        }
        return builder.build();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            // Write first FileBothDirectoryInfo at bufferIndex=8
            SMBUtil.writeInt4(104, buffer, 8); // NextEntryOffset to second entry
            SMBUtil.writeInt4(0, buffer, 12); // FileIndex
            // ... rest of first entry fields (zeros for simplicity)
            for (int i = 16; i < 102; i++) {
                buffer[i] = 0;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/LruHashMap.java

    package org.codelibs.core.collection;
    
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * {@link HashMap} with an upper limit on the number of entries. When a new entry is added, the oldest entry is discarded using LRU if the limit is exceeded.
     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * are thus effectively static during the lifetime of a cache entry.
       *
       * <p>When the weight of an entry is zero it will not be considered for size-based eviction
       * (though it still may be evicted by other means).
       *
       * <p><b>Important note:</b> Instead of returning this as a {@code CacheBuilder}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
Back to Top