Groovy Documentation

groovy.gbench
[Groovy] Class BenchmarkBuilder.Benchmarks

java.lang.Object
  java.util.AbstractCollection
      java.util.AbstractList
          java.util.ArrayList
              groovy.gbench.BenchmarkBuilder.Benchmarks

static class BenchmarkBuilder.Benchmarks
extends ArrayList

Method Summary
def prettyPrint(PrintWriter writer = new PrintWriter(System.out)

Pretty-prints.

def sort()

Sorts by real time.

 
Methods inherited from class ArrayList
clone, add, add, contains, get, indexOf, isEmpty, lastIndexOf, size, subList, toArray, toArray, addAll, addAll, iterator, remove, remove, clear, set, ensureCapacity, trimToSize, listIterator, listIterator, removeAll, retainAll, hashCode, equals, toString, containsAll, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from class AbstractList
hashCode, equals, add, add, get, indexOf, lastIndexOf, subList, addAll, iterator, remove, clear, set, listIterator, listIterator, toString, contains, isEmpty, size, toArray, toArray, addAll, remove, containsAll, removeAll, retainAll, getClass, notify, notifyAll, wait, wait, wait, size
 
Methods inherited from class AbstractCollection
toString, add, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, clear, containsAll, removeAll, retainAll, getClass, hashCode, equals, notify, notifyAll, wait, wait, wait
 
Methods inherited from class Object
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait
 

Method Detail

prettyPrint

def prettyPrint(PrintWriter writer = new PrintWriter(System.out)
Pretty-prints.
Parameters:
writer - a print writer.


sort

def sort()
Sorts by real time.
Returns:
this


 

Groovy Documentation