| Package | Description |
|---|---|
| com.helger.commons.factory | |
| com.helger.commons.io.stream | |
| com.helger.commons.pool |
| Modifier and Type | Class and Description |
|---|---|
class |
FactoryNewInstance<DATATYPE>
Implementation of
ISupplier that always creates a new instance via
reflection |
| Modifier and Type | Method and Description |
|---|---|
static HasInputStream |
HasInputStream.multiple(ISupplier<? extends InputStream> aISP)
Create a new object with a supplier that can read multiple times.
|
static HasInputStream |
HasInputStream.once(ISupplier<? extends InputStream> aISP)
Create a new object with a supplier that can be read only once.
|
| Constructor and Description |
|---|
HasInputStream(ISupplier<? extends InputStream> aISP,
boolean bReadMultiple)
Constructor
|
| Constructor and Description |
|---|
ObjectPool(int nItemCount,
ISupplier<? extends DATATYPE> aFactory)
Create a new object pool for a certain amount of items and a factory that
creates the objects on demand.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.