Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,094 for Entry (0.23 seconds)

  1. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.builder = builder;
        }
    
        @Override
        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;
        }
      }
    
      @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        var entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 3]!!
        checkEntry(entry, "custom-key", "custom-value", 54)
    
        // [  2] (s =  53) cache-control: no-cache
        entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 2]!!
        checkEntry(entry, "cache-control", "no-cache", 53)
    
        // [  3] (s =  57) :authority: www.example.com
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

      }
    
      private static <K, V> Map<K, V> newHashMap(
          Collection<? extends Entry<? extends K, ? extends V>> entries) {
        HashMap<K, V> map = new HashMap<>();
        for (Entry<? extends K, ? extends V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        return map;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * {@code equals} to comply with the Entry contract, to avoid a possible nefarious implementation
       * of equals.
       *
       * @param entry the entry for which to return an unmodifiable view
       * @return an unmodifiable view of the entry
       */
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> unmodifiableEntry(
          Entry<? extends K, ? extends V> entry) {
        checkNotNull(entry);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/MapIteratorCache.java

        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        if (entry != null && entry.getKey() == key) {
          return entry.getValue();
        }
        return null;
      }
    
      void clearCache() {
        cacheEntry = null;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

       * {@code equals} to comply with the Entry contract, to avoid a possible nefarious implementation
       * of equals.
       *
       * @param entry the entry for which to return an unmodifiable view
       * @return an unmodifiable view of the entry
       */
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> unmodifiableEntry(
          Entry<? extends K, ? extends V> entry) {
        checkNotNull(entry);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Adds user attributes to the LDAP entry for user creation.
         *
         * @param entry the BasicAttributes to add user attributes to
         * @param user the user object containing attribute values
         */
        protected void addUserAttributes(final BasicAttributes entry, final User user) {
            entry.put(new BasicAttribute("cn", user.getName()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
Back to Top