Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 1100 (0.12 sec)

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

       *
       * @param sortedMultiset the sorted multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       * @since 11.0
       */
      public static <E extends @Nullable Object> SortedMultiset<E> unmodifiableSortedMultiset(
          SortedMultiset<E> sortedMultiset) {
        // it's in its own file so it can be emulated for GWT
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * Adds an entry to the built multimap if it is not already present.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          super.put(entry);
          return this;
        }
    
        /**
         * {@inheritDoc}
    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)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         * according to the comparator (which might be the keys' natural order), are not allowed, and
         * will cause {@link #build} to fail.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          super.put(entry);
          return this;
        }
    
        /**
    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)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

         * put more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will
         * keep the last value put for that key.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          return put(entry.getKey(), entry.getValue());
        }
    
        /**
    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)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Gregory Kick
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V>
        implements Serializable {
    
      /**
    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)
  6. android/guava/src/com/google/common/collect/Sets.java

       * @return a new, empty {@code LinkedHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       * @since 11.0
       */
      public static <E extends @Nullable Object> LinkedHashSet<E> newLinkedHashSetWithExpectedSize(
          int expectedSize) {
        return new LinkedHashSet<>(Maps.capacity(expectedSize));
      }
    
      // TreeSet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals.
       *
       * @since 11.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> filterKeys(
          Multimap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
    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)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          super.put(entry);
          return this;
        }
    
        /**
         * {@inheritDoc}
    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)
  9. android/guava/src/com/google/common/collect/Maps.java

       *
       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @return the difference between the two maps
       * @since 11.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SortedMapDifference<K, V> difference(
              SortedMap<K, ? extends V> left, Map<? extends K, ? extends V> right) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuildKeepingLast_shortTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top