-
- All Implemented Interfaces:
public interface SocketCache<T extends Object>
A container of cached T data.
-
-
Method Summary
Modifier and Type Method Description abstract Set<T>
getArmor(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with armor. abstract Set<T>
getMainHand(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with the main hand. abstract Set<T>
getOffHand(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with the off hand. abstract SocketCache<T>
setArmor(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with armor for given GemTriggerType to the given Set of Ts. abstract SocketCache<T>
setMainHand(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with the main hand for given GemTriggerType to the given Set of Ts. abstract SocketCache<T>
setOffHand(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with the off hand for given GemTriggerType to the given Set of Ts. abstract SocketCache<T>
clearArmor()
Clears the cache associated with armor. abstract SocketCache<T>
clearMainHand()
Clears the cache associated with main hand. abstract SocketCache<T>
clearOffHand()
Clears the cache associated with off hand. -
-
Method Detail
-
getArmor
abstract Set<T> getArmor(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with armor.
- Parameters:
gemTriggerType
- type of gem
-
getMainHand
abstract Set<T> getMainHand(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with the main hand.
- Parameters:
gemTriggerType
- type of gem
-
getOffHand
abstract Set<T> getOffHand(GemTriggerType gemTriggerType)
Gets any cached Ts for the given GemTriggerType associated with the off hand.
- Parameters:
gemTriggerType
- type of gem
-
setArmor
abstract SocketCache<T> setArmor(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with armor for given GemTriggerType to the given Set of Ts. May or may not operate on this instance of the cache container.
- Parameters:
gemTriggerType
- type of gemset
- effects to cache
-
setMainHand
abstract SocketCache<T> setMainHand(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with the main hand for given GemTriggerType to the given Set of Ts. May or may not operate on this instance of the cache container.
- Parameters:
gemTriggerType
- type of gemset
- effects to cache
-
setOffHand
abstract SocketCache<T> setOffHand(GemTriggerType gemTriggerType, Set<T> set)
Sets cache associated with the off hand for given GemTriggerType to the given Set of Ts. May or may not operate on this instance of the cache container.
- Parameters:
gemTriggerType
- type of gemset
- effects to cache
-
clearArmor
abstract SocketCache<T> clearArmor()
Clears the cache associated with armor. May or may not operate on this instance of the cache container.
-
clearMainHand
abstract SocketCache<T> clearMainHand()
Clears the cache associated with main hand. May or may not operate on this instance of the cache container.
-
clearOffHand
abstract SocketCache<T> clearOffHand()
Clears the cache associated with off hand. May or may not operate on this instance of the cache container.
-
-
-
-