Skip to content

Commit

Permalink
2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
leonchen83 committed Feb 9, 2017
1 parent 72dfdfb commit 2f672ae
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,24 @@ public Set<String> getValueAsSet() {
}

/**
* @return RDB_TYPE_ZSET, RDB_TYPE_ZSET_ZIPLIST
* @return RDB_TYPE_ZSET, RDB_TYPE_ZSET_2, RDB_TYPE_ZSET_ZIPLIST
*/
public Set<ZSetEntry> getValueAsZSet() {
return (Set<ZSetEntry>) value;
}

/**
* @return RDB_TYPE_LIST, RDB_TYPE_LIST_ZIPLIST
* @return RDB_TYPE_LIST, RDB_TYPE_LIST_ZIPLIST, RDB_TYPE_LIST_QUICKLIST
*/
public List<String> getValueAsStringList() {
return (List<String>) value;
}

/**
* @return RDB_TYPE_LIST_QUICKLIST
* @return RDB_TYPE_MODULE
*/
public List<byte[]> getValueAsByteArrayList() {
return (List<byte[]>) value;
public Module getValueAsModule() {
return (Module) value;
}

@Override
Expand Down

0 comments on commit 2f672ae

Please sign in to comment.