Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for generator (0.16 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          super.orderKeysBy(keyComparator);
          return this;
        }
    
        /**
         * Specifies the ordering of the generated multimap's values for each key.
         *
         * <p>If this method is called, the sets returned by the {@code get()} method of the generated
         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns a builder that creates immutable sorted sets with an explicit comparator. If the
       * comparator has a more general type than the set being generated, such as creating a {@code
       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>The returned multiset will be serializable if the specified multiset is serializable.
       *
       * @param multiset the multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       */
      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSortedMap} whose
       * keys and values are the result of applying the provided mapping functions to the input
       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       */
      static <K, V> Entry<K, V> entryOf(K key, V value) {
        checkEntryNotNull(key, value);
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        @SuppressWarnings("unchecked") // we will only ever read these
        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

        @CheckForNull private Comparator<? super C> columnComparator;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableTable#builder}.
         */
        public Builder() {}
    
        /** Specifies the ordering of the generated table's rows. */
        @CanIgnoreReturnValue
        public Builder<R, C, V> orderRowsBy(Comparator<? super R> rowComparator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is serializable if {@code map}, {@code factory}, the collections generated by
       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top