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