Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 291 for UnsupportedOperationException (0.2 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

         */
        @Override
        public PluginDescriptor clone() {
            try {
                return (PluginDescriptor) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        public void addMojos(List<MojoDescriptor> mojos) throws DuplicateMojoDescriptorException {
            for (MojoDescriptor mojoDescriptor : mojos) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Table.java

     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
     * not be modifiable. When modification isn't supported, those methods will throw an {@link
     * UnsupportedOperationException}.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableTable}
     *   <li>{@link HashBasedTable}
     *   <li>{@link TreeBasedTable}
     *   <li>{@link ArrayTable}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxy(
                      SetMultimap.class,
                      (proxy, method, args) -> {
                        throw new UnsupportedOperationException();
                      });
        }
    
        @Override
        protected Multimap<K, V> delegate() {
          return unusableDelegate;
        }
    
        @Override
        public boolean put(K key, V value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      // TODO(cpovirk): should we be including other methods from the shim here and
      // in ImmutableSortedMap?
      @Deprecated
      public static <E> ImmutableSortedSet.Builder<E> builder() {
        throw new UnsupportedOperationException();
      }
    
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      // TODO(b/345814817): Move this to RegularImmutableSortedSet?
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * @param predicate a predicate that determines whether an element should be removed
       * @return {@code true} if any elements were removed from the iterable
       * @throws UnsupportedOperationException if the iterable does not support {@code remove()}.
       * @since 2.0
       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean removeIf(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        @Override
        public MojoDescriptor clone() {
            try {
                return (MojoDescriptor) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        private volatile org.apache.maven.api.plugin.descriptor.MojoDescriptor mojoDescriptorV4;
    
        public org.apache.maven.api.plugin.descriptor.MojoDescriptor getMojoDescriptorV4() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testAtMostOneSeparator() {
        BaseEncoding separated = base64().withSeparator("\n", 3);
        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

             * a clear specification for what annotations should mean on resolved TypeVariables
             * with modified bounds, annotation methods will throw
             * UnsupportedOperationException. Frameworks requiring annotation preservation
             * should use the original TypeVariable when bounds haven't changed.
             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

       * The returned collection is a live view of {@code fromCollection}; changes to one affect the
       * other.
       *
       * <p>The returned collection's {@code add()} and {@code addAll()} methods throw an {@link
       * UnsupportedOperationException}. All other collection methods are supported, as long as {@code
       * fromCollection} supports them.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code fromCollection} is.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          super.combine(other);
          return this;
        }
    
        @Override
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          throw new UnsupportedOperationException("Not available on ImmutableSortedMap.Builder");
        }
    
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 16.1K bytes
    - Click Count (0)
Back to Top