Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 404 for UnsupportedOperationException (0.36 sec)

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

        multimap.put("three", 33);
        multimap.put("three", 333);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "zero";
      }
    
      @Override
      protected Collection<Integer> getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return Lists.newArrayList(0);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        try {
          reverse.remove(4);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      void ensureNotDirectlyModifiable(SortedSet<Integer> unmod) {
        try {
          unmod.add(4);
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * @since 12.0
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @GwtIncompatible // NavigableSet
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final E pollFirst() {
        throw new UnsupportedOperationException();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

            throw new UnsupportedOperationException();
        }
    
        public static List<Plugin> orderAfterMerge(
                List<Plugin> merged, List<Plugin> highPrioritySource, List<Plugin> lowPrioritySource) {
            throw new UnsupportedOperationException();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        Set<Integer> nodes = network.nodes();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(network.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        Set<String> edges = network.edges();
        UnsupportedOperationException e =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitParameterizedType(ParameterizedType t) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        void visitClass(Class<?> t) {
          throw new UnsupportedOperationException();
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
Back to top