Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 539 for maps (0.01 sec)

  1. src/main/java/org/codelibs/core/collection/Maps.java

     *
     * Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
     * </pre>
     *
     * @author koichik
     * @param <K> the key type of the {@literal Map}
     * @param <V> the value type of the {@literal Map}
     */
    public class Maps<K, V> {
    
        /** The target <code>Map</code> to be created. */
        protected Map<K, V> map;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Map.class, ImmutableMap.of())
              .put(ImmutableMap.class, ImmutableMap.of())
              .put(SortedMap.class, ImmutableSortedMap.of())
              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/nio/ChannelUtil.java

        }
    
        /**
         * Returns a {@link ByteBuffer} that maps the file channel to memory.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param mode
         *            The mode. Must not be {@literal null}.
         * @return A {@link ByteBuffer} that maps the file channel to memory.
         */
        public static ByteBuffer map(final FileChannel channel, final MapMode mode) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.ViewCachingAbstractMap;
    import com.google.j2objc.annotations.WeakOuter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.ViewCachingAbstractMap;
    import com.google.j2objc.annotations.WeakOuter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Maps.<V>valueFunction()));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
                return removeEntryIf(compose(not(in(c)), Maps.<V>valueFunction()));
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractTable.java

      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top