|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpops.ale.engine.com.GtinPool
class GtinPool
A pool of gtin members.
Field Summary | |
---|---|
protected int |
current
Current free index |
protected Gtin[] |
pool
Pool of reusable Gtin elements |
Constructor Summary | |
---|---|
GtinPool(int maxCapacity)
|
Method Summary | |
---|---|
(package private) int |
contains(Gtin gtin)
Tests if a gtin is present in pool. |
(package private) Gtin |
getGtin()
get a free gtin from the pool |
(package private) void |
reset()
Invalidates all pool members. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int current
protected Gtin[] pool
Constructor Detail |
---|
public GtinPool(int maxCapacity)
Method Detail |
---|
Gtin getGtin()
int contains(Gtin gtin)
gtin
-
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |