All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zhengframework.cache.simple.SimpleCacheEntry Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.github.zhengframework.cache.simple;

import javax.cache.Cache;

public class SimpleCacheEntry implements Cache.Entry {

  private final K k;
  private final V v;

  public SimpleCacheEntry(K k, V v) {
    this.k = k;
    this.v = v;
  }

  @Override
  public K getKey() {
    return k;
  }

  @Override
  public V getValue() {
    return v;
  }

  @Override
  public  T unwrap(Class clazz) {
    return null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy