Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 333 for UnsupportedOperationException (0.23 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @CheckForNull
      public final V forcePut(K key, V value) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

       * need to prove that it isn't called.
       */
      private static class DiesOnIteratorArrayList extends ArrayList<String> {
        /** @throws UnsupportedOperationException all the time */
        @Override
        public Iterator<String> iterator() {
          throw new UnsupportedOperationException();
        }
      }
    
      public void testGetLast_withDefault_not_empty_list() {
        // TODO: verify that this is the best testing strategy.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            }
            printBoostAndQueryName(builder);
            builder.endObject();
        }
    
        @Override
        protected Query doToQuery(final QueryShardContext context) throws IOException {
            throw new UnsupportedOperationException("Query processing is not supported.");
        }
    
        @Override
        protected boolean doEquals(final StoredLtrQueryBuilder other) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                  endOfData();
                }
                haveBeenCalled = true;
                return 0;
              }
            };
    
        assertEquals(0, (int) iter.next());
    
        assertThrows(UnsupportedOperationException.class, iter::remove);
      }
    
    
      @GwtIncompatible // weak references
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.toString();
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(asList(b, c), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     *
     * <pre>
     * class Unsupported extends AbstractInvocationHandler {
     *   protected Object handleInvocation(Object proxy, Method method, Object[] args) {
     *     throw new UnsupportedOperationException();
     *   }
     * }
     *
     * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported());
     * </pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          count = 0;
          putIndex = 0;
          takeIndex = 0;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top