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 class
static class
static class
static class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.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
-