Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for SingletonIterator (0.07 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.transform;
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

    import static com.google.common.collect.ImmutableMultiset.toImmutableMultiset;
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.misleadingSizeCollection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> UnmodifiableIterator<T> singletonIterator(
          @ParametricNullness T value) {
        return new SingletonIterator<>(value);
      }
    
      private static final class SingletonIterator<T extends @Nullable Object>
          extends UnmodifiableIterator<T> {
        private final T value;
        private boolean done;
    
        SingletonIterator(T value) {
          this.value = value;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testComparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Iterators.singletonIterator;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testComparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top