Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 291 for UnsupportedOperationException (1.42 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
                        Files.createLink(target, source);
                    } catch (UnsupportedOperationException | IOException suppressed) {
                        LOGGER.info("Copying {} to project local repository.", artifact);
                        try {
                            Files.copy(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. 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.6K bytes
    - Click Count (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            override fun configureSocket(sslSocket: SSLSocket): SSLSocket =
              object : DelegatingSSLSocket(sslSocket) {
                override fun getApplicationProtocol(): String = throw UnsupportedOperationException()
              }
          }
    
        client =
          client
            .newBuilder()
            .sslSocketFactory(delegatingSocketFactory, trustManager)
            .build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        final String string;
    
        public HashHostileComparable(String string) {
          this.string = string;
        }
    
        @Override
        public int hashCode() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int compareTo(HashHostileComparable o) {
          return string.compareTo(o.string);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @Nullable Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testFromArrayAndIteratorRemove() {
        FluentIterable<TimeUnit> units = FluentIterable.from(TimeUnit.values());
        assertThrows(UnsupportedOperationException.class, () -> removeIf(units, equalTo(SECONDS)));
      }
    
      public void testFrom() {
        assertEquals(
            ImmutableList.of(1, 2, 3, 4),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Converter.java

       *
       * @param b the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
       *     very rare. Note that if backward conversion is not only unimplemented but
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

     * elements. This is simply a refinement of {@code Collection}'s constructor recommendations.
     *
     * <p>As with other collection types, the modification operations are optional, and should throw
     * {@link UnsupportedOperationException} when they are not implemented. Most implementations should
     * support either all add operations or none of them, all removal operations or none of them, and if
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. 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)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @Nullable Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
Back to Top