Class SampleElements<E extends @Nullable Object>
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
@GwtCompatible
@NullMarked
public class SampleElements<E extends @Nullable Object>
extends Object
implements Iterable<E>
A container class for the five sample elements we need for testing.
- Author:
- Kevin Bourrillion
-
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 extends @Nullable Object, V extends @Nullable Object> SampleElements<Map.Entry<K,V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) -
e0
-
e1
-
e2
-
e3
-
e4
-