public class TimeKey extends Object implements Comparable
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeKey.TimeKeyComparator |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Long,WeakReference<TimeKey>> |
keys |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Wipes out case with time keys.
|
int |
compareTo(Object key) |
boolean |
equals(Object other) |
static boolean |
exists(long time)
Checks if a TimeKey instance exists for the integer time.
|
protected void |
finalize() |
static TimeKey |
get(long time)
Returns the TimeKey object for the required time.
|
static List<WeakReference<TimeKey>> |
getAllKeys() |
static cz.cuni.amis.utils.flag.ImmutableFlag<Integer> |
getInstances() |
long |
getTime()
returns the integer time for this timekey.
|
int |
hashCode() |
String |
toString() |
protected static Map<Long,WeakReference<TimeKey>> keys
public static cz.cuni.amis.utils.flag.ImmutableFlag<Integer> getInstances()
protected void finalize()
throws Throwable
public static TimeKey get(long time)
time - public static void clear()
public static boolean exists(long time)
time - public long getTime()
public int compareTo(Object key)
compareTo in interface Comparablepublic static List<WeakReference<TimeKey>> getAllKeys()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.