- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for DoNotCall (0.28 seconds)
-
guava/src/com/google/common/collect/ImmutableSortedMap.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.util.AbstractMap; import java.util.Comparator; import java.util.Map; import java.util.NavigableMap; import java.util.SortedMap;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 52.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
public class UnmodifiableListIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { Iterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
public class UnmodifiableListIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { Iterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
*/ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") // DoNotCall wants this to be final, but we want to override it to return more specific types. // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress. @SuppressWarnings("DoNotCall") public ImmutableCollection<V> removeAll(@Nullable Object key) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
*/ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") // DoNotCall wants this to be final, but we want to override it to return more specific types. // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress. @SuppressWarnings("DoNotCall") public ImmutableCollection<V> removeAll(@Nullable Object key) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.DoNotMock; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.AbstractCollection; import java.util.Collection;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.util.AbstractMap; import java.util.Arrays; import java.util.Comparator; import java.util.Map; import java.util.NavigableMap;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
@Override @DoNotCall("Always throws UnsupportedOperationException") public void remove(Range<C> range) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.DoNotMock; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.AbstractCollection; import java.util.Arrays;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
@DoNotCall("Always throws UnsupportedOperationException") public final V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0)