com.google.common.collect.testing.google
Class SetGenerators.ContiguousSetDescendingGenerator

java.lang.Object
  extended by com.google.common.collect.testing.TestIntegerSetGenerator
      extended by com.google.common.collect.testing.TestIntegerSortedSetGenerator
          extended by 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


Constructor Summary
SetGenerators.ContiguousSetDescendingGenerator()
           
 
Method Summary
protected  SortedSet<Integer> create(Integer[] elements)
           
 List<Integer> order(List<Integer> insertionOrder)
          Sorts the elements in reverse natural order.
 
Methods inherited from class com.google.common.collect.testing.TestIntegerSetGenerator
create, createArray, samples
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetGenerators.ContiguousSetDescendingGenerator

public SetGenerators.ContiguousSetDescendingGenerator()
Method Detail

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.