- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 322 for UnsupportedOperationException (1.42 sec)
-
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 {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java
AbstractImmutableMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) { // TODO: can these be moved to MapInterfaceTest?
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
@CollectionSize.Require(absent = ZERO) @MapFeature.Require(absent = SUPPORTS_REMOVE) public void testClearUnsupported() { assertThrows(UnsupportedOperationException.class, () -> multimap().clear()); } // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") private void assertCleared() { assertEquals(0, multimap().size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
@Resource private ScheduledJobService scheduledJobService; /** * Index page (not supported for API). * * @return throws UnsupportedOperationException */ @Execute public HtmlResponse index() { throw new UnsupportedOperationException("index() is not supported in API. Use the admin UI instead."); } /** * Starts a scheduled job by ID. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 10.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
assertEquals(values.subList(1, values.size()), copyToList(navigableSet)); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testPollFirstUnsupported() { assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollFirst()); } @CollectionSize.Require(SEVERAL) public void testLowerHole() { resetWithHole(); assertEquals(null, navigableSet.lower(a));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
} @Override public boolean isResolved() { return getFile() != null; } @Override public void setFile(File file) { throw new UnsupportedOperationException("transformed artifact file cannot be set"); } @Override public synchronized File getFile() { try { String state = mayUpdate(); if (state == null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
} @Override public int size() { return Ints.saturatedCast(edgeCount()); } @Override public boolean remove(@Nullable Object o) { throw new UnsupportedOperationException(); } // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe // operations only in weird cases like checking for an EndpointPair<ArrayList> in aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return set; } @Override public boolean add(@ParametricNullness E element) { throw new UnsupportedOperationException(); } @Override public boolean addAll(Collection<? extends E> es) { throw new UnsupportedOperationException(); } }; } private static <E extends @Nullable Object> SortedSet<E> removeOnlySortedSet(SortedSet<E> set) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
verify(tree, never()).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("remove() throws UnsupportedOperationException") void remove_throws_unsupported() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0)