Package org.smallmind.nutsnbolts.util
Class SelfDestructiveKey<K extends Comparable<K>>
- java.lang.Object
-
- org.smallmind.nutsnbolts.util.SelfDestructiveKey<K>
-
- All Implemented Interfaces:
Comparable<SelfDestructiveKey<K>>
public class SelfDestructiveKey<K extends Comparable<K>> extends Object implements Comparable<SelfDestructiveKey<K>>
-
-
Constructor Summary
Constructors Constructor Description SelfDestructiveKey(K mapKey, Stint timeoutStint)SelfDestructiveKey(Stint timeoutStint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SelfDestructiveKey<K> key)booleanequals(Object obj)longgetIgnitionTime()KgetMapKey()StintgetTimeoutStint()inthashCode()
-
-
-
Method Detail
-
getMapKey
public K getMapKey()
-
getTimeoutStint
public Stint getTimeoutStint()
-
getIgnitionTime
public long getIgnitionTime()
-
compareTo
public int compareTo(SelfDestructiveKey<K> key)
- Specified by:
compareToin interfaceComparable<K extends Comparable<K>>
-
-