Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stats (0.12 sec)

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

      /**
       * Returns the single element contained in {@code iterator}.
       *
       * @throws NoSuchElementException if the iterator is empty
       * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the
       *     iterator is unspecified.
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterator<T> iterator) {
        T first = iterator.next();
        if (!iterator.hasNext()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Returns the single element contained in {@code iterator}.
       *
       * @throws NoSuchElementException if the iterator is empty
       * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the
       *     iterator is unspecified.
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterator<T> iterator) {
        T first = iterator.next();
        if (!iterator.hasNext()) {
    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)
Back to top