Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,188 for NULLABLE (0.05 seconds)

  1. android/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. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/LexicographicalOrdering.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering which sorts iterables by comparing corresponding elements pairwise. */
    @GwtCompatible
    final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>>
        implements Serializable {
      final Comparator<? super T> elementOrder;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/LexicographicalOrdering.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering which sorts iterables by comparing corresponding elements pairwise. */
    @GwtCompatible
    final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>>
        implements Serializable {
      final Comparator<? super T> elementOrder;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

        Multiset<N> adjacentNodes = getReference(adjacentNodesReference);
        if (adjacentNodes != null) {
          checkState(adjacentNodes.add(node));
        }
      }
    
      private static <T> @Nullable T getReference(@Nullable Reference<T> reference) {
        return (reference == null) ? null : reference.get();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

      }
    
      private static boolean matchesType(
          @Nullable PublicSuffixType desiredType, @Nullable PublicSuffixType actualType) {
        return actualType != null && (desiredType == null || desiredType.equals(actualType));
      }
    
      private static boolean isExcludedMatch(int metadata) {
        return ((metadata >> EXCLUSION_SHIFT) & EXCLUSION_MASK) != 0;
      }
    
      private @Nullable PublicSuffixType getExactMatchType(int metadata) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/MoreObjects.java

          valueHolder.name = checkNotNull(name);
          return this;
        }
    
        // Holder object for values that might be null and/or empty.
        static class ValueHolder {
          @Nullable String name;
          @Nullable Object value;
          @Nullable ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Streams.java

       * href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>.
       * This may harm parallel performance.
       */
      @Beta
      public static <A extends @Nullable Object, B extends @Nullable Object, R extends @Nullable Object>
          Stream<R> zip(
              Stream<A> streamA, Stream<B> streamB, BiFunction<? super A, ? super B, R> function) {
        checkNotNull(streamA);
        checkNotNull(streamB);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/BiMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> {
      // Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Callable<@Nullable Void> completeSuccessfullyRunnable =
            () -> {
              if (currentFuture.get().set("set")) {
                numSuccessfulSetCalls.incrementAndGet();
              }
              awaitUnchecked(barrier);
              return null;
            };
        Callable<@Nullable Void> completeExceptionallyRunnable =
            new Callable<@Nullable Void>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top