Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for kevinb9n (0.05 sec)

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

         * if:
         *
         * {@snippet :
         * Objects.equals(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@Nullable Object o);
    
        /**
         * {@inheritDoc}
         *
         * <p>The hash code of a multiset entry for element {@code element} and count {@code count} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

       *     such index exists.
       */
      public static int indexOf(int[] array, int target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(int[] array, int target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multiset.java

         * if:
         *
         * {@snippet :
         * Objects.equals(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@Nullable Object o);
    
        /**
         * {@inheritDoc}
         *
         * <p>The hash code of a multiset entry for element {@code element} and count {@code count} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

       *     such index exists.
       */
      public static int indexOf(long[] array, long target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(long[] array, long target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Chars.java

       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(char[] array, char target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Floats.java

       *     such index exists.
       */
      public static int indexOf(float[] array, float target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(float[] array, float target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       *     such index exists.
       */
      public static int indexOf(double[] array, double target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(double[] array, double target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top