public class BenchIntFibRecursive
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BenchIntFibRecursive.BoxedInt |
Modifier and Type | Field and Description |
---|---|
static BenchIntFibRecursive.BoxedInt[] |
BOXED_CACHE |
static java.lang.Integer |
ONE |
static java.lang.Integer |
TWO |
Constructor and Description |
---|
BenchIntFibRecursive() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final java.lang.Integer ONE
public static final java.lang.Integer TWO
public static BenchIntFibRecursive.BoxedInt[] BOXED_CACHE
public static void main(java.lang.String[] args)
public static void benchIntFib(int n)
public static void benchIntegerFib(int n)
public static void benchBoxedFib(int n)
public static int intFib(int n)
public static java.lang.Integer integerFib(java.lang.Integer n)
public static BenchIntFibRecursive.BoxedInt boxedFib(BenchIntFibRecursive.BoxedInt n)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.