Class CacheKey<K>

java.lang.Object
com.xxl.tool.cache.model.CacheKey<K>
All Implemented Interfaces:
Serializable

public class CacheKey<K> extends Object implements Serializable
Cache Key
See Also:
  • Constructor Details

    • CacheKey

      public CacheKey(K key)
  • Method Details

    • of

      public static <K> CacheKey<K> of(K key)
    • get

      public K get()
    • set

      public void set(K key)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object