Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 889 for nullable (1.05 sec)

  1. guava/src/com/google/common/base/CaseFormat.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utility class for converting between various ASCII case formats. Behavior is undefined for
     * non-ASCII input.
     *
     * @author Mike Bostock
     * @since 1.0
     */
    @GwtCompatible
    public enum CaseFormat {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

          return array[start + index];
        }
    
        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeTraverser.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import java.util.ArrayDeque;
    import java.util.Deque;
    import java.util.Iterator;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Views elements of a type {@code T} as nodes in a tree, and provides methods to traverse the trees
     * induced by this traverser.
     *
     * <p>For example, the tree
     *
     * {@snippet :
     *        h
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedInteger.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import java.util.Objects;
    import java.util.concurrent.Callable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link SortedMultiset} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        }
    
        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Integer) && Ints.indexOf(array, (Integer) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Integer) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HostSpecifier.java

    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.net.InetAddress;
    import java.text.ParseException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LittleEndianByteArray.java

    import java.nio.ByteOrder;
    import java.security.AccessController;
    import java.security.PrivilegedActionException;
    import java.security.PrivilegedExceptionAction;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /**
     * Utility functions for loading and storing values from a byte array.
     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    final class LittleEndianByteArray {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.util.Map;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BiMap} whose contents will never change, with many other important properties detailed
     * at {@link ImmutableCollection}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top