public class ConstantsCache
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
ConstantsCache() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Nie wywoływuj tej metody.
|
static java.lang.Object |
cache(java.lang.Object object)
Zwraca obiekt z cachu reprezentujący tą samą wartość tego samego typu.
|
void |
setTimeout(int seconds)
Ustawia czas automatycznego czyszczenia cachu.
|
public static java.lang.Object cache(java.lang.Object object)
object
- wartość dowolnego typupublic void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- public void setTimeout(int seconds)
seconds
- czas podany w sekundach