Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Booleans (0.17 sec)

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

        underlying.put("b", "");
    
        Map<@Nullable String, Boolean> map =
            transformValues(
                underlying,
                new Function<@Nullable String, Boolean>() {
                  @Override
                  public Boolean apply(@Nullable String from) {
                    return from == null;
                  }
                });
        Map<String, Boolean> expected = ImmutableMap.of("a", true, "b", false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredEntryMultimap.java

            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(in(c)));
            }
    
            @Override
            public boolean retainAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(not(in(c))));
            }
    
            @Override
            public boolean remove(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(in(c)));
            }
    
            @Override
            public boolean retainAll(Collection<?> c) {
              return removeEntriesIf(Maps.<K>keyPredicateOnEntries(not(in(c))));
            }
    
            @Override
            public boolean remove(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        underlying.put("b", "");
    
        Map<String, Boolean> map =
            transformValues(
                underlying,
                new Function<@Nullable String, Boolean>() {
                  @Override
                  public Boolean apply(@Nullable String from) {
                    return from == null;
                  }
                });
        Map<String, Boolean> expected = ImmutableMap.of("a", true, "b", false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
      }
    
      private abstract static class MapTests extends MapInterfaceTest<String, Integer> {
    
        MapTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
            boolean supportsClear,
            boolean supportsIteratorRemove) {
          super(
              false,
              allowsNullValues,
              supportsPut,
              supportsRemove,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
      }
    
      private abstract static class MapTests extends MapInterfaceTest<String, Integer> {
    
        MapTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
            boolean supportsClear,
            boolean supportsIteratorRemove) {
          super(
              false,
              allowsNullValues,
              supportsPut,
              supportsRemove,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

       * wasn't going to be any actual work to do anyway
       */
    
      @Override
      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        public String toString() {
          return "IncompatibleKeyType";
        }
      }
    
      protected final boolean supportsPut;
      protected final boolean supportsRemove;
      protected final boolean supportsClear;
      protected final boolean allowsNullKeys;
      protected final boolean allowsNullValues;
      protected final boolean supportsIteratorRemove;
    
      /**
       * Creates a new, empty instance of the class under test.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top