Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 887 for nullable (0.04 sec)

  1. guava/src/com/google/common/collect/ReverseOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the reverse of a given order. */
    @GwtCompatible
    final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Ordering<? super T> forwardOrder;
    
      ReverseOrdering(Ordering<? super T> forwardOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Objects.java

       * java.util.Objects#equals} instead.
       */
      @SuppressWarnings("InlineMeSuggester") // would introduce fully qualified references to Objects
      public static boolean equal(@Nullable Object a, @Nullable Object b) {
        return java.util.Objects.equals(a, b);
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        E[] castedArray = (E[]) array;
        return Arrays.asList(castedArray);
      }
    
      @Override
      public int indexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

     * footprint.
     */
    @GwtCompatible
    @NullMarked
    final class ObjectCountLinkedHashMap<K extends @Nullable Object> extends ObjectCountHashMap<K> {
      /** Creates an empty {@code ObjectCountLinkedHashMap} instance. */
      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> create() {
        return new ObjectCountLinkedHashMap<K>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

       * as well.
       */
      @Override
      public abstract ImmutableMap<R, Map<C, V>> rowMap();
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        return get(rowKey, columnKey) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      /**
       * Guaranteed to throw an exception and leave the table unmodified.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ListMultimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Platform.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @Nullable Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterEntries(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredEntrySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends FilteredEntryMultimap<K, V> implements FilteredSetMultimap<K, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for resolving an artifact.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactResolverRequest extends Request<Session> {
    
        @Nonnull
        Collection<? extends ArtifactCoordinates> getCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multiset.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.ObjIntConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that supports order-independent equality, like {@link Set}, but may have duplicate
     * elements. A multiset is also sometimes called a <i>bag</i>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top