Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 304 for UnsupportedOperationException (1.11 sec)

  1. guava/src/com/google/common/graph/ValueGraphBuilder.java

      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
      public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * (might fail some JDKs).
       *
       * <p>See <a href="https://github.com/google/guava/issues/2887">Throwables#lazyStackTrace throws
       * UnsupportedOperationException</a>.
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static @Nullable Method getSizeMethod(Object jla) {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public void refresh(K key) {
          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
       *
       * @param <K> the base key type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        directedGraph.removeEdge(N1, N2);
        directedGraph.removeEdge(N2, N1);
        containsExactlySanityCheck(edges);
    
        assertThrows(
            UnsupportedOperationException.class, () -> edges.add(EndpointPair.ordered(N1, N2)));
      }
    
      @Test
      public void endpointPair_undirected_contains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

       * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code
       * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only
       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                    destination.setLastModified(System.currentTimeMillis());
                                }
                            } catch (UnsupportedOperationException e) {
                                // older wagons throw this. Just get() instead
                                wagon.get(remotePath, temp);
    
                                downloaded = true;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      public final @Nullable V forcePut(K key, V value) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        public HashCode hashBytes(byte[] input, int off, int len) {
          return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
        }
    
        @Override
        public int bits() {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java

        public void xdisableFetchNarrowing() {
            // no need to disable in ConditionBean, basically for OutsideSql
            String msg = "This method is unsupported on ConditionBean!";
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
        public void xenableIgnoredFetchNarrowing() {
            // do nothing
        }
    
        @Override
        public void checkSafetyResult(int safetyMaxResultSize) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        PUNYCODE,
    
        /** This code point is special and should not be tested.  */
        SKIP,
    
        ;
    
        open fun encode(codePoint: Int): String = throw UnsupportedOperationException()
      }
    
      enum class Component {
        USER {
          override fun urlString(value: String): String = "http://$******@****.***/"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top