Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for operators (0.17 sec)

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

              Supplier<M> multisetSupplier) {
        return CollectCollectors.toMultiset(elementFunction, countFunction, multisetSupplier);
      }
    
      /**
       * Returns an unmodifiable view of the specified multiset. Query operations on the returned
       * multiset "read through" to the specified multiset, and attempts to modify the returned multiset
       * result in an {@link UnsupportedOperationException}.
       *
    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/ImmutableSortedSet.java

      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
    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

       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
       * range set (such as {@code ImmutableRangeSet.of(Range.greaterThan(0))}). Certain operations on
       * such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
       * Collections#frequency}) can cause major performance problems.
       *
    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/Sets.java

        }
    
        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return Iterators.find(unfiltered().headSet(e, false).descendingIterator(), predicate, null);
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return Iterators.find(unfiltered().headSet(e, true).descendingIterator(), predicate, null);
        }
    
        @Override
    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)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * {@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
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
    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)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        list.add("cool");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 1)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
    
        list.add("pants");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1)));
    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)
  7. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p>Modifications to the backing set are read through to the returned map. The returned map
       * supports removal operations if the backing set does. Removal operations write through to the
       * backing set. The returned map does not support put operations.
       *
       * <p><b>Warning:</b> If the function rejects {@code null}, caution is required to make sure the
    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)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * Returns an iterator over the merged contents of all given {@code iterators}, traversing every
       * element of the input iterators. Equivalent entries will not be de-duplicated.
       *
       * <p>Callers must ensure that the source {@code iterators} are in non-descending order as this
       * method does not sort its input.
       *
       * <p>For any equivalent elements across all {@code iterators}, it is undefined which element is
       * returned first.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top