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
@GwtCompatible public class SampleElements<E> extends Object implements Iterable<E>
A container class for the five sample elements we need for testing.- Author:
- Kevin Bourrillion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSampleElements.Charsstatic classSampleElements.Collidersstatic classSampleElements.Enumsstatic classSampleElements.Intsstatic classSampleElements.Stringsstatic classSampleElements.Unhashables
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<E>asList()Ee0()Ee1()Ee2()Ee3()Ee4()Iterator<E>iterator()static <K,V>
SampleElements<Map.Entry<K,V>>mapEntries(SampleElements<K> keys, SampleElements<V> values)-
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
-
-
-
-
Method Detail
-
mapEntries
public static <K,V> SampleElements<Map.Entry<K,V>> mapEntries(SampleElements<K> keys, SampleElements<V> values)
-
-