RedisAsyncClientAdapter-------------接口继承

public abstract class RedisAsyncClientAdapter<K, V, T extends RedisKeyAsyncCommands<K, V>
& RedisStringAsyncCommands<K, V>
& RedisListAsyncCommands<K, V>
& RedisSetAsyncCommands<K, V>
& BaseRedisAsyncCommands<K, V>
& RedisHashAsyncCommands<K, V>
> {//需要 可都为接口 也可第一个为类 其余为接口
...........................
}
具体学习网址:http://blog.csdn.net/shunzi1046/article/details/52456594 搜索接口继承
posted @ 2017-12-22 21:14  不会就问咯  阅读(579)  评论(0编辑  收藏  举报