put

open fun put(@NonNull() key: String, @NonNull() value: Array<Byte>)

Put bytes in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: Array<Byte>, saveTime: Int)

Put bytes in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: String)

Put string value in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: String, saveTime: Int)

Put string value in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: JSONObject)

Put JSONObject in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: JSONObject, saveTime: Int)

Put JSONObject in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: JSONArray)

Put JSONArray in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: JSONArray, saveTime: Int)

Put JSONArray in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: Bitmap)

Put bitmap in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: Bitmap, saveTime: Int)

Put bitmap in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: Drawable)

Put drawable in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: Drawable, saveTime: Int)

Put drawable in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: Parcelable)

Put parcelable in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: Parcelable, saveTime: Int)

Put parcelable in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.

open fun put(@NonNull() key: String, @NonNull() value: Serializable)

Put serializable in cache.

Parameters

key

The key of cache.

value

The value of cache.

open fun put(@NonNull() key: String, @NonNull() value: Serializable, saveTime: Int)

Put serializable in cache.

Parameters

key

The key of cache.

value

The value of cache.

saveTime

The save time of cache, in seconds.