Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,545 for returns (0.23 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      /** Returns the empty array. */
      public static ImmutableIntArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableIntArray of(int e0) {
        return new ImmutableIntArray(new int[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableDoubleArray of(double e0) {
        return new ImmutableDoubleArray(new double[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns the entry of the last element in this multiset, or {@code null} if this multiset is
       * empty.
       */
      @CheckForNull
      Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @CheckForNull
      Entry<E> pollFirstEntry();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Strings.java

      private Strings() {}
    
      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@CheckForNull String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

      public static <E> ImmutableList<E> of(E element) {
        return new SingletonImmutableList<>(element);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/Comparators.java

          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) >= 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger minus(UnsignedInteger val) {
        return fromIntBits(value - checkNotNull(val).value);
      }
    
      /**
       * Returns the result of multiplying this and {@code val}. If the result would have more than 32
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-512 algorithm (512 hash bits). */
      public static HashFunction sha512() {
        return Sha512Holder.SHA_512;
      }
    
      private static class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
            return Long.MIN_VALUE;
          }
          return result;
        }
    
        @Override
        public Long minValue() {
          return Long.MIN_VALUE;
        }
    
        @Override
        public Long maxValue() {
          return Long.MAX_VALUE;
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) {
        return checkNotNull(iterable);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
Back to top