Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 333 for UnsupportedOperationException (0.17 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
              .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException)
              .put(VerifyException.class, e -> e instanceof VerifyException)
              .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions())
              .buildOrThrow();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        multiset.addAll(adds);
        assertEquals(1, addCalls.get());
      }
    
      public void testRemoveUnsupported() {
        Multiset<String> multiset = new NoRemoveMultiset<>();
        multiset.add("a");
        assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a"));
        assertTrue(multiset.contains("a"));
      }
    
      private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
          implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

        return delegate().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      public void testClear_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> collection.clear());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          collection.clear();
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        public void close () throws CIFSException {
            if ( this.next != null ) {
                doClose();
            }
        }
    
    
        @Override
        public void remove () {
            throw new UnsupportedOperationException("remove");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
Back to top