public class BenchLongFibRecursive
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BenchLongFibRecursive.BoxedLong |
Modifier and Type | Field and Description |
---|---|
static BenchLongFibRecursive.BoxedLong[] |
BOXED_CACHE |
static java.lang.Long |
ONE |
static java.lang.Long |
TWO |
Constructor and Description |
---|
BenchLongFibRecursive() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final java.lang.Long ONE
public static final java.lang.Long TWO
public static BenchLongFibRecursive.BoxedLong[] BOXED_CACHE
public static void main(java.lang.String[] args)
public static void benchPrimitiveLongFib(long n)
public static void benchBoxedLongFib(long n)
public static void benchFullyBoxedFib(long n)
public static long longFib(long n)
public static java.lang.Long boxedLongFib(java.lang.Long n)
public static BenchLongFibRecursive.BoxedLong fullyBoxedFib(BenchLongFibRecursive.BoxedLong n)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.