public abstract class NumberAllocator extends CloneableDataObject
Title: Framework Support Library
Description: Defines an object allocating numbers from a pool of numbers.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
NumberAllocator(long maxNumber)
Constructs a new allocator using the specified maximal number.
|
NumberAllocator(java.lang.Long startNumber,
int maxValue) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the allocator.
|
NumberAllocator |
clone()
Clones the object.
|
getSerialVersionUID
public NumberAllocator(long maxNumber)
maxNumber
- the specified maximal number.public NumberAllocator(java.lang.Long startNumber, int maxValue)
public void clear()
public NumberAllocator clone()
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.