- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 322 for UnsupportedOperationException (0.23 sec)
-
src/main/java/jcifs/DialectVersion.java
} /** * Get the SMB2 dialect identifier * * @return the dialect */ public final int getDialect() { if (!this.smb2) { throw new UnsupportedOperationException(); } return this.dialect; } /** * Check if this dialect version is at least the specified version * * @param v the version to compare againstRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
if (!iterator.hasNext()) { iterator = iterable.iterator(); } return iterator.next(); } @Override public void remove() { throw new UnsupportedOperationException(); } }; } static <T extends @Nullable Object> T get(Iterator<T> iterator, int position) { for (int i = 0; i < position; i++) { iterator.next(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
endOfData(); } haveBeenCalled = true; return 0; } }; assertEquals(0, (int) iter.next()); assertThrows(UnsupportedOperationException.class, iter::remove); } public void testReentrantHasNext() { Iterator<Integer> iter = new AbstractIterator<Integer>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
Cache<Integer, Integer> cache = new AbstractCache<Integer, Integer>() { @Override public Integer getIfPresent(Object key) { throw new UnsupportedOperationException(); } @Override public void invalidate(Object key) { invalidated.add(key); } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 6.4K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java
* any. */ public PersistedToolchains read(XmlPullParser parser, boolean strict) throws IOException, XmlPullParserException { throw new UnsupportedOperationException("Not yet implemented"); } /** * @param reader a reader object. * @param strict a strict object. * @return PersistedToolchains * @throws IOException IOException if any.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat May 31 10:30:45 UTC 2025 - 5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
} catch (Exception e) { throw new RuntimeException("Unable to create repository", e); } } else { // TODO throw new UnsupportedOperationException("Not yet implemented"); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
*/ 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0)