Class SortedMapGenerators.ImmutableSortedMapKeyListGenerator
- java.lang.Object
-
- com.google.common.collect.testing.TestStringListGenerator
-
- com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapKeyListGenerator
-
- All Implemented Interfaces:
TestCollectionGenerator<java.lang.String>
,TestContainerGenerator<java.util.Collection<java.lang.String>,java.lang.String>
,TestListGenerator<java.lang.String>
- Enclosing class:
- SortedMapGenerators
public static class SortedMapGenerators.ImmutableSortedMapKeyListGenerator extends TestStringListGenerator
-
-
Constructor Summary
Constructors Constructor Description ImmutableSortedMapKeyListGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
create(java.lang.String[] elements)
Creates a new collection containing the given elements; implement this method instead ofTestStringListGenerator.create(Object...)
.java.util.List<java.lang.String>
order(java.util.List<java.lang.String> insertionOrder)
Returns the original element list, unchanged.-
Methods inherited from class com.google.common.collect.testing.TestStringListGenerator
create, createArray, samples
-
-
-
-
Method Detail
-
create
protected java.util.List<java.lang.String> create(java.lang.String[] elements)
Description copied from class:TestStringListGenerator
Creates a new collection containing the given elements; implement this method instead ofTestStringListGenerator.create(Object...)
.- Specified by:
create
in classTestStringListGenerator
-
order
public java.util.List<java.lang.String> order(java.util.List<java.lang.String> insertionOrder)
Description copied from class:TestStringListGenerator
Returns the original element list, unchanged.- Specified by:
order
in interfaceTestContainerGenerator<java.util.Collection<java.lang.String>,java.lang.String>
- Overrides:
order
in classTestStringListGenerator
-
-