Created
January 12, 2015 20:37
-
-
Save pandey-adarsh147/0a50230f9fae11ff0ee8 to your computer and use it in GitHub Desktop.
Cacheable Store class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.verctordirection.test; | |
import com.vectordirection.CacheableItem; | |
/** | |
* Created by adarshpandey on 1/13/15. | |
*/ | |
public class Store implements CacheableItem<Integer> { | |
private Integer key; | |
private Integer value; | |
public Store(Integer key, Integer value) { | |
this.key = key; | |
this.value = value; | |
} | |
@Override | |
public Integer getKey() { | |
return key; | |
} | |
public void setKey(Integer key) { | |
this.key = key; | |
} | |
public Integer getValue() { | |
return value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment