Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,041 for maps (0.02 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

      /** Returns a multimap containing the parameters of this media type. */
      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultimap.java

            Serialization.getFieldSetter(ImmutableMultimap.class, "map");
        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> SIZE_FIELD_SETTER =
            Serialization.getFieldSetter(ImmutableMultimap.class, "size");
    
        private FieldSettersHolder() {}
      }
    
      ImmutableMultimap(ImmutableMap<K, ? extends ImmutableCollection<V>> map, int size) {
        this.map = map;
        this.size = size;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }, (searchResponse, hit) -> {
                        final Map<String, Object> docMap = new HashMap<>();
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (source != null) {
                            docMap.putAll(source);
                        }
                        final Map<String, DocumentField> fields = hit.getFields();
                        if (fields != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * ExecutionSequencer objects interfere with each other, which would be undesirable, in addition
       * to increasing the memory footprint of every thread that interacted with it. In order to release
       * entries in thread-specific maps when the ThreadLocal object itself is no longer referenced,
       * ThreadLocal is usually implemented with a WeakReference, which can have negative performance
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

         * @return an unmodifiable, ordered map of results: the keys will be the specified quantile
         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order they were passed to the {@code
         *     indexes} method.
         */
        public Map<Integer, Double> compute(Collection<? extends Number> dataset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

        return hextetsToIPv6String(hextets) + scopeWithDelimiter((Inet6Address) ip);
      }
    
      private static String scopeWithDelimiter(Inet6Address ip) {
        // getHostAddress on android sometimes maps the scope ID to an invalid interface name; if the
        // mapped interface isn't present, fallback to use the scope ID (which has no validation against
        // present interfaces)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(heapSize)).create();
        /*
         * this map would contain the same exact elements as the MinMaxHeap; the
         * value in the map is the number of occurrences of the key.
         */
        SortedMap<Integer, AtomicInteger> replica = Maps.newTreeMap();
        assertTrue("Empty heap should be OK", mmHeap.isIntact());
        for (int i = 0; i < heapSize; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top