Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 539 for entries3 (0.05 sec)

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

            builder.put(entry.getKey(), entry.getValue());
          }
          return ImmutableMap.copyOf(builder);
        }
      }
    
      public static class ImmutableMapCopyOfEntriesGenerator extends TestStringMapGenerator {
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          return ImmutableMap.copyOf(asList(entries));
        }
      }
    
      public static class ImmutableMapUnhashableValuesGenerator
    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. android/guava/src/com/google/common/collect/AbstractMultimap.java

      @LazyInit private transient @Nullable Collection<Entry<K, V>> entries;
    
      @Override
      public Collection<Entry<K, V>> entries() {
        Collection<Entry<K, V>> result = entries;
        return (result == null) ? entries = createEntries() : result;
      }
    
      abstract Collection<Entry<K, V>> createEntries();
    
      @WeakOuter
      class Entries extends Multimaps.Entries<K, V> {
        @Override
        Multimap<K, V> multimap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/LruHashMap.java

         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * Upper limit on the number of entries.
         */
        protected final int limitSize;
    
        /**
         * Creates an {@link LruHashMap}.
         *
         * @param limitSize the upper limit on the number of entries
         */
        public LruHashMap(final int limitSize) {
            this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

      // If the `next` bits in `entries[i]` are 0 that means there are no further entries for the given
      // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before
      // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value.
      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 3);
        Iterator<Entry<String, Integer>> entries = map.entries().iterator();
        Entry<String, Integer> entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            }
        }
    
        /**
         * Traverses classes contained in a Jar file.
         * <p>
         * If the specified Jar file has the extension <code>.war</code>, only entries whose path starts with the prefix <code>WEB-INF/classes</code> are traversed.
         * The handler receives the entry name excluding the prefix. For example, if the Jar file contains <code>/WEB-INF/classes/ccc/ddd/Eee.class</code>,
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. cmd/os-readdir-common.go

    type readDirOpts struct {
    	// The maximum number of entries to return
    	count int
    	// Follow directory symlink
    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    // Return up to count entries at the directory dirPath.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 09 23:20:51 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

                  .sampleKeys()
                  .e0();
          Object[] entries = new Object[elements.length];
          for (int i = 0; i < elements.length; i++) {
            @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere.
            V value = (V) elements[i];
            entries[i] = mapEntry(k, value);
          }
          return multimapGenerator.create(entries).values();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

         * the previously configured separator and key-value separator.
         *
         * @since 10.0
         */
        public String join(Iterable<? extends Entry<?, ?>> entries) {
          return join(entries.iterator());
        }
    
        /**
         * Returns a string containing the string representation of each entry in {@code entries}, using
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top