OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MinimalIterable
(Results
1 - 4
of
4
) sorted by null
/external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalIterable.java
51
public final class
MinimalIterable
<E> implements Iterable<E> {
55
public static <E>
MinimalIterable
<E> of(E... elements) {
57
return new
MinimalIterable
<E>(Arrays.asList(elements).iterator());
66
public static <E>
MinimalIterable
<E> from(final Collection<E> elements) {
67
return (
MinimalIterable
) of(elements.toArray());
72
private
MinimalIterable
(Iterator<E> iterator) {
/external/guava/guava-tests/test/com/google/common/collect/
AbstractImmutableSetTest.java
28
import com.google.common.collect.testing.
MinimalIterable
;
428
Iterable<String> iterableWithNulls =
MinimalIterable
.of("a", null, "b");
SetsTest.java
37
import com.google.common.collect.testing.
MinimalIterable
;
275
= Sets.immutableEnumSet(
MinimalIterable
.<SomeEnum>of());
279
= Sets.immutableEnumSet(
MinimalIterable
.of(SomeEnum.B));
283
= Sets.immutableEnumSet(
MinimalIterable
.of(SomeEnum.D, SomeEnum.B));
[
all
...]
ImmutableListTest.java
30
import com.google.common.collect.testing.
MinimalIterable
;
769
Iterable<String> iterableWithNulls =
MinimalIterable
.of("a", null, "b");
Completed in 605 milliseconds