Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 813 for entryOf (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
          return new Ordering<Entry<AnEnum, String>>() {
    
            @Override
            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

          for (Object object : entries) {
            Entry<Country, Currency> entry = (Entry<Country, Currency>) object;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, Currency>> samples() {
          return new SampleElements<>(
              mapEntry(Country.CANADA, Currency.DOLLAR),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    }
    
    // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).
    func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] {
    	return l.insert(&Entry[K, V]{Value: v, Key: k, ExpiresAt: expiresAt}, at)
    }
    
    // Remove removes e from its list, decrements l.len
    func (l *LruList[K, V]) Remove(e *Entry[K, V]) V {
    	e.prev.next = e.next
    	e.next.prev = e.prev
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/jar/JarFileUtil.java

        /**
         * Returns an input stream to read the contents of the specified JAR file entry.
         *
         * @param file the JAR file (must not be {@literal null})
         * @param entry the JAR file entry (must not be {@literal null})
         * @return the input stream to read the entry
         */
        public static InputStream getInputStream(final JarFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      @CanIgnoreReturnValue
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      private static final class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> {
        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            when(nameFilter.accept(any(), any())).thenReturn(false);
            when(nameFilter.accept(parent, acceptedName)).thenReturn(true);
    
            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("rejected"), entry(acceptedName) };
            TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 }));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void clear() {
        if (removalListener != null) {
          for (Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) {
            alertListenerIfPresent(entry.getKey(), entry.getValue().getValue(), RemovalCause.EXPLICIT);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top