Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 875 for Collections2 (0.12 seconds)

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

     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class Collections2 {
      private Collections2() {}
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is
       * a live view of {@code unfiltered}; changes to one affect the other.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Collections2.java

     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class Collections2 {
      private Collections2() {}
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is
       * a live view of {@code unfiltered}; changes to one affect the other.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractTable.java

          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
                    row.entrySet(), immutableEntry(cell.getColumnKey(), cell.getValue()));
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ForwardingCollection.java

       * implementation.
       *
       * @since 7.0
       */
      protected boolean standardContainsAll(Collection<?> collection) {
        return Collections2.containsAllImpl(this, collection);
      }
    
      /**
       * A sensible definition of {@link #addAll} in terms of {@link #add}. If you override {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ForwardingCollection.java

       * implementation.
       *
       * @since 7.0
       */
      protected boolean standardContainsAll(Collection<?> collection) {
        return Collections2.containsAllImpl(this, collection);
      }
    
      /**
       * A sensible definition of {@link #addAll} in terms of {@link #add}. If you override {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractTable.java

          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
                    row.entrySet(), immutableEntry(cell.getColumnKey(), cell.getValue()));
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top