Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for uniqBy (0.31 sec)

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

            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
    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)
  2. guava/src/com/google/common/collect/Cut.java

    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        freshness.incrementAndGet();
        return proxy;
      }
    
      /**
       * Generates an instance for {@code type} using the current {@link #freshness}. The generated
       * instance may or may not be unique across different calls.
       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultimap.java

      public NavigableSet<V> get(@ParametricNullness K key) {
        return (NavigableSet<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link
       * NavigableSet}, instead of the {@link java.util.Set} specified in the {@link Multimap}
       * interface.
       *
       * @since 14.0 (present with return type {@code SortedSet} since 2.0)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeSet.java

    public interface RangeSet<C extends Comparable> {
    
      // Query methods
    
      /** Determines whether any of this range set's member ranges contains {@code value}. */
      boolean contains(C value);
    
      /**
       * Returns the unique range from this range set that {@linkplain Range#contains contains} {@code
       * value}, or {@code null} if this range set does not contain {@code value}.
       */
      @CheckForNull
      Range<C> rangeContaining(C value);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
          // TODO(user): verify future behavior - unify logic with getFutureValue in AbstractFuture. This
          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
    
        ExecutionException ee1 = getExpectingExecutionException(future);
        ExecutionException ee2 = getExpectingExecutionException(future);
    
        // Ensure we get a unique execution exception on each get
        assertNotSame(ee1, ee2);
    
        assertThat(ee1).hasCauseThat().isSameInstanceAs(failure);
        assertThat(ee2).hasCauseThat().isSameInstanceAs(failure);
    
        checkStackTrace(ee1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

          if (n == 0) {
            return;
          }
          Arrays.sort(elements, 0, n, comparator);
          int unique = 1;
          for (int i = 1; i < n; i++) {
            int cmp = comparator.compare(elements[unique - 1], elements[i]);
            if (cmp < 0) {
              elements[unique++] = elements[i];
            } else if (cmp > 0) {
              throw new AssertionError(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DiscreteDomain.java

            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top