Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for createUnfiltered (0.11 sec)

  1. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            assertFalse(filter(createUnfiltered(contents), EVEN).contains(new Object()));
          }
        }
    
        public void testAddAllFailsAtomically() {
          ImmutableList<Integer> toAdd = ImmutableList.of(2, 4, 3);
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
            C filteredToModify = filter(createUnfiltered(contents), EVEN);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java

    import java.util.NavigableSet;
    
    public final class SetsFilterNavigableSetTest extends AbstractFilteredNavigableSetTest {
      @Override
      NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Sets.newTreeSet(contents);
      }
    
      @Override
      NavigableSet<Integer> filter(
          NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

    import com.google.common.collect.FilteredCollectionsTestUtil.AbstractFilteredSetTest;
    import java.util.Set;
    
    public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> {
      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

    public final class IterablesFilterArrayListTest
        extends AbstractFilteredIterableTest<Iterable<Integer>> {
      @Override
      Iterable<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FilteredBiMapTest.java

    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredBiMapTest extends AbstractFilteredMapTest {
      @Override
      BiMap<String, Integer> createUnfiltered() {
        return HashBiMap.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 899 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FilteredMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredMapTest extends AbstractFilteredMapTest {
      @Override
      Map<String, Integer> createUnfiltered() {
        return Maps.newHashMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 917 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

    import java.util.Collection;
    
    public final class Collections2FilterArrayListTest
        extends AbstractFilteredCollectionTest<Collection<Integer>> {
      @Override
      Collection<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

    import java.util.SortedSet;
    import java.util.TreeSet;
    
    public final class SetsFilterSortedSetTest
        extends AbstractFilteredSortedSetTest<SortedSet<Integer>> {
      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        final TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

    import com.google.common.collect.FilteredCollectionsTestUtil.AbstractFilteredSetTest;
    import java.util.Set;
    
    public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> {
      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top