Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 884 for nullable (0.04 sec)

  1. android/guava/src/com/google/common/base/Throwables.java

      private static final @Nullable Object jla = getJla();
    
      /**
       * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to
       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible @GwtIncompatible // java.lang.reflect
      private static final @Nullable Method getStackTraceElementMethod =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

          List<@Nullable String> listWithNulls = asList("a", null, "b");
          assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls));
        }
    
        {
          ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
          Multiset<@Nullable String> multisetWithNull =
              LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType);
        }
    
        @Override
        public int count(@Nullable Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map.Entry<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      @Override
      public @Nullable V value(N node) {
        return adjacentNodeValues.get(node);
      }
    
      @Override
      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      public @Nullable V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMapDifference.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.SortedMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An object representing the differences between two sorted maps.
     *
     * @author Louis Wasserman
     * @since 8.0
     */
    @GwtCompatible
    public interface SortedMapDifference<K extends @Nullable Object, V extends @Nullable Object>
        extends MapDifference<K, V> {
    
      @Override
      SortedMap<K, V> entriesOnlyOnLeft();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/TestListMultimapGenerator.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A generator for {@code ListMultimap} implementations based on test data.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestListMultimapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        public CustomScheduler() {}
    
        /** A callable class that can reschedule itself using a {@link CustomScheduler}. */
        private final class ReschedulableCallable implements Callable<@Nullable Void> {
    
          /** The underlying task. */
          private final Runnable wrappedRunnable;
    
          /** The executor on which this Callable will be scheduled. */
          private final ScheduledExecutorService executor;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsRow(rowKey);
        }
    
        @Override
        public @Nullable V get(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.get(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V put(R rowKey, C columnKey, V value) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top