Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for replaceAll (0.65 sec)

  1. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().set(index, element);
          }
        }
    
        @Override
        public void replaceAll(UnaryOperator<E> operator) {
          synchronized (mutex) {
            delegate().replaceAll(operator);
          }
        }
    
        @Override
        public void sort(@Nullable Comparator<? super E> c) {
          synchronized (mutex) {
            delegate().sort(c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          unmod.putAll(Collections.singletonMap(4, "four"));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.replaceAll((k, v) -> v);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putIfAbsent(3, "three");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
Back to top