public class ForkNumberBucket extends Object
Modifier | Constructor and Description |
---|---|
protected |
ForkNumberBucket()
Non-public constructor
|
Modifier and Type | Method and Description |
---|---|
static int |
drawNumber() |
protected int |
drawNumberInternal() |
protected int |
getHighestDrawnNumber() |
static void |
returnNumber(int number) |
protected void |
returnNumberInternal(int number) |
public static int drawNumber()
returnNumber(int)
.public static void returnNumber(int number)
number
- the number to return to the bucket so that it can be reused.protected int drawNumberInternal()
returnNumber(int)
.protected int getHighestDrawnNumber()
protected void returnNumberInternal(int number)
number
- the number to return to the bucket so that it can be reused.Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.