org.jruby.test.bench
Class BenchIntFibRecursive

java.lang.Object
  extended by org.jruby.test.bench.BenchIntFibRecursive

public class BenchIntFibRecursive
extends java.lang.Object

Author:
headius

Nested Class Summary
static class BenchIntFibRecursive.BoxedInt
           
 
Field Summary
static BenchIntFibRecursive.BoxedInt[] BOXED_CACHE
           
static java.lang.Integer ONE
           
static java.lang.Integer TWO
           
 
Constructor Summary
BenchIntFibRecursive()
           
 
Method Summary
static void benchBoxedFib(int n)
           
static void benchIntegerFib(int n)
           
static void benchIntFib(int n)
           
static BenchIntFibRecursive.BoxedInt boxedFib(BenchIntFibRecursive.BoxedInt n)
           
static java.lang.Integer integerFib(java.lang.Integer n)
           
static int intFib(int n)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE

public static final java.lang.Integer ONE

TWO

public static final java.lang.Integer TWO

BOXED_CACHE

public static BenchIntFibRecursive.BoxedInt[] BOXED_CACHE
Constructor Detail

BenchIntFibRecursive

public BenchIntFibRecursive()
Method Detail

main

public static void main(java.lang.String[] args)

benchIntFib

public static void benchIntFib(int n)

benchIntegerFib

public static void benchIntegerFib(int n)

benchBoxedFib

public static void benchBoxedFib(int n)

intFib

public static int intFib(int n)

integerFib

public static java.lang.Integer integerFib(java.lang.Integer n)

boxedFib

public static BenchIntFibRecursive.BoxedInt boxedFib(BenchIntFibRecursive.BoxedInt n)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.