org.jruby.test.bench
Class BenchLongFibRecursive

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

public class BenchLongFibRecursive
extends java.lang.Object

Author:
headius

Nested Class Summary
static class BenchLongFibRecursive.BoxedLong
           
 
Field Summary
static BenchLongFibRecursive.BoxedLong[] BOXED_CACHE
           
static java.lang.Long ONE
           
static java.lang.Long TWO
           
 
Constructor Summary
BenchLongFibRecursive()
           
 
Method Summary
static void benchBoxedLongFib(long n)
           
static void benchFullyBoxedFib(long n)
           
static void benchPrimitiveLongFib(long n)
           
static java.lang.Long boxedLongFib(java.lang.Long n)
           
static BenchLongFibRecursive.BoxedLong fullyBoxedFib(BenchLongFibRecursive.BoxedLong n)
           
static long longFib(long 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.Long ONE

TWO

public static final java.lang.Long TWO

BOXED_CACHE

public static BenchLongFibRecursive.BoxedLong[] BOXED_CACHE
Constructor Detail

BenchLongFibRecursive

public BenchLongFibRecursive()
Method Detail

main

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

benchPrimitiveLongFib

public static void benchPrimitiveLongFib(long n)

benchBoxedLongFib

public static void benchBoxedLongFib(long n)

benchFullyBoxedFib

public static void benchFullyBoxedFib(long n)

longFib

public static long longFib(long n)

boxedLongFib

public static java.lang.Long boxedLongFib(java.lang.Long n)

fullyBoxedFib

public static BenchLongFibRecursive.BoxedLong fullyBoxedFib(BenchLongFibRecursive.BoxedLong n)


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