Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,125 for returns (0.2 sec)

  1. android/guava/src/com/google/common/collect/Range.java

      /** Returns {@code true} if this range has an upper endpoint. */
      public boolean hasUpperBound() {
        return upperBound != Cut.aboveAll();
      }
    
      /**
       * Returns the upper endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded above (that is, {@link
       *     #hasUpperBound()} returns {@code false})
       */
      public C upperEndpoint() {
        return upperBound.endpoint();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

                    return atomic.get();
                  }
                }));
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
      public boolean containsKey(Object key) {
        return map.containsKey(key);
      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Splitter.java

        return new Splitter(strategy, true, trimmer, limit);
      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter but stops splitting after
       * it reaches the limit. The limit defines the maximum number of items returned by the iterator,
       * or the maximum size of the list returned by {@link #splitToList}.
       *
       * <p>For example, {@code Splitter.on(',').limit(3).split("a,b,c,d")} returns an iterable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * Returns a view of the supplied {@code iterator} that removes each element from the supplied
       * {@code iterator} as it is returned.
       *
       * <p>The provided iterator must support {@link Iterator#remove()} or else the returned iterator
       * will fail on the first call to {@code next}. The returned {@link Iterator} is also not
       * thread-safe.
       *
       * @param iterator the iterator to remove and return elements from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Equivalence.java

              return equivalence.equivalent(this.reference, that.reference);
            }
          }
          return false;
        }
    
        /** Returns the result of {@link Equivalence#hash(Object)} applied to the wrapped reference. */
        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

              return equivalence.equivalent(this.reference, that.reference);
            }
          }
          return false;
        }
    
        /** Returns the result of {@link Equivalence#hash(Object)} applied to the wrapped reference. */
        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
         * @return the programmatic name together with the module name on which it applies
         * @see #toString()
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. 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)
Back to top