Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 322 for UnsupportedOperationException (0.28 sec)

  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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  3. 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.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. 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()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. 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);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. 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);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  9. 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),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top