Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for some (0.14 sec)

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

         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
         * @return a reference to {@code set}, for convenience
         */
        // Note: S should logically extend Set<? super E> but can't due to either
        // some javac bug or some weirdness in the spec, not sure which.
        @CanIgnoreReturnValue
        public <S extends Set<E>> S copyInto(S set) {
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return copyOf(comparator, (Iterable<? extends E>) elements);
      }
    
      /**
       * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
       * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the
       * natural ordering of the elements.
       *
    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/ImmutableRangeSet.java

        }
        return result;
      }
    
      /**
       * Returns a new range set consisting of the union of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).addAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Returns an immutable bimap containing the given entries. The returned bimap iterates over
       * entries in the same order as the original iterable.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
    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)
  5. android/guava/src/com/google/common/collect/Ordering.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * iterable. The key used to store that value in the multimap will be the result of calling the
       * function on that value. The resulting multimap is created as an immutable snapshot. In the
       * returned multimap, keys appear in the order they are first encountered, and the values
       * corresponding to each key appear in the same order as they are encountered.
       *
    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)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
        // The same, but with nulls.
        a = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        @Override
        public ImmutableListMultimap<K, V> build() {
          return (ImmutableListMultimap<K, V>) super.build();
        }
      }
    
      /**
       * Returns an immutable multimap containing the same mappings as {@code multimap}. The generated
       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
    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/ImmutableList.java

        return construct(e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11);
      }
    
      // These go up to eleven. After that, you just get the varargs form, and
      // whatever warnings might come along with it. :(
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 12}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        return new TreeMap<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeMap} instance with the same mappings as the specified map
       * and using the same ordering as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link
       * ImmutableSortedMap#copyOfSorted(SortedMap)} instead.
       *
    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)
Back to top