Class SampleElements<E>
java.lang.Object
com.google.common.collect.testing.SampleElements<E>
- All Implemented Interfaces:
Iterable<E>
- Direct Known Subclasses:
SampleElements.Chars, SampleElements.Colliders, SampleElements.Enums, SampleElements.Ints, SampleElements.Strings, SampleElements.Unhashables
A container class for the five sample elements we need for testing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
SampleElements
-
-
Method Details
-
iterator
-
asList
-
mapEntries
public static <K,V> SampleElements<Map.Entry<K,V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) -
e0
-
e1
-
e2
-
e3
-
e4
-