接口 ReadCache
public interface ReadCache
Read cache
-
方法概要
修饰符和类型方法说明voiddestroy()Called when the excel read is completeGet valuevoidinit(AnalysisContext analysisContext) Initialize cachevoidAutomatically generate the key and put it in the cache.Key start from 0voidIt's called when all the values are put in
-
方法详细资料
-
init
Initialize cache- 参数:
analysisContext- A context is the main anchorage point of a excel reader.
-
put
Automatically generate the key and put it in the cache.Key start from 0- 参数:
value- Cache value
-
get
Get value- 参数:
key- Index- 返回:
- Value
-
putFinished
void putFinished()It's called when all the values are put in -
destroy
void destroy()Called when the excel read is complete
-