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 classprivate static classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
e0
-
e1
-
e2
-
e3
-
e4
-
-
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
-