Class SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator
java.lang.Object
com.google.common.collect.testing.TestStringMapGenerator
com.google.common.collect.testing.TestStringSortedMapGenerator
com.google.common.collect.testing.google.SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator
- All Implemented Interfaces:
TestContainerGenerator<Map<String,String>, Map.Entry<String, String>>, TestMapGenerator<String, String>, TestSortedMapGenerator<String, String>
- Enclosing class:
SortedMapGenerators
public static class SortedMapGenerators.ImmutableSortedMapCopyOfEntriesGenerator
extends TestStringSortedMapGenerator
- Author:
- Kevin Bourrillion, Jesse Wilson, Jared Levy, Hayward Chan, Chris Povirk, Louis Wasserman
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TestStringSortedMapGenerator
aboveSamplesGreater, aboveSamplesLesser, belowSamplesGreater, belowSamplesLesser, create, orderModifier and TypeMethodDescriptionReturns an entry with a key greater than the keys of theTestContainerGenerator.samples()and greater than the key ofTestSortedMapGenerator.aboveSamplesLesser().Returns an entry with a key greater than the keys of theTestContainerGenerator.samples()but less than the key ofTestSortedMapGenerator.aboveSamplesGreater().Returns an entry with a key less than the keys of theTestContainerGenerator.samples()but greater than the key ofTestSortedMapGenerator.belowSamplesLesser().Returns an entry with a key less than the keys of theTestContainerGenerator.samples()and less than the key ofTestSortedMapGenerator.belowSamplesGreater().Creates a new container containing the given elements.Returns the original element list, unchanged.Methods inherited from class TestStringMapGenerator
createArray, createKeyArray, createValueArray, samplesModifier and TypeMethodDescriptioncreateArray(int length) Helper method to create an array of the appropriate type used by this generator.final String[]createKeyArray(int length) final String[]createValueArray(int length) samples()Returns the sample elements that this generate populates its container with.
-
Constructor Details
-
ImmutableSortedMapCopyOfEntriesGenerator
public ImmutableSortedMapCopyOfEntriesGenerator()
-
-
Method Details
-
create
-