com.google.common.collect.testing.google
Class SetGenerators.ContiguousSetDescendingGenerator
java.lang.Object
com.google.common.collect.testing.TestIntegerSetGenerator
com.google.common.collect.testing.TestIntegerSortedSetGenerator
com.google.common.collect.testing.google.SetGenerators.ContiguousSetDescendingGenerator
- All Implemented Interfaces:
- TestCollectionGenerator<Integer>, TestContainerGenerator<Collection<Integer>,Integer>, TestSetGenerator<Integer>
- Enclosing class:
- SetGenerators
@GwtIncompatible(value="NavigableSet")
public static class SetGenerators.ContiguousSetDescendingGenerator
- extends TestIntegerSortedSetGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetGenerators.ContiguousSetDescendingGenerator
public SetGenerators.ContiguousSetDescendingGenerator()
create
protected SortedSet<Integer> create(Integer[] elements)
- Specified by:
create
in class TestIntegerSortedSetGenerator
order
public List<Integer> order(List<Integer> insertionOrder)
- Sorts the elements in reverse natural order.
- Specified by:
order
in interface TestContainerGenerator<Collection<Integer>,Integer>
- Overrides:
order
in class TestIntegerSortedSetGenerator
Copyright © 2010-2012. All Rights Reserved.