Package com._1c.g5.v8.bm.store
Interface IBmPersistentIndex<P>
- 
 public interface IBmPersistentIndex<P>
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clear persistent indexbooleancontainsKey(String key)Test if persistent index contains specified keyvoidforEach(BiConsumer<String,P> action)Performs the given action for each entry in this index until all entries have been processed or the action throws an exception.Pget(String key)Get value by keyIterable<String>keys()Get key set of persistent indexvoidput(String key, P value)Add key/value pair into persistent indexvoidputAll(Map<String,P> map)Put map of key/value pairs into indexPremove(String key)Remove specified key from persistent index
 
- 
- 
- 
Method Detail- 
clearvoid clear() Clear persistent index
 - 
containsKeyboolean containsKey(String key) Test if persistent index contains specified key- Parameters:
- key- key to test
- Returns:
- true - if index contains key, false - otherwise
 
 - 
removeP remove(String key) Remove specified key from persistent index- Parameters:
- key- key to remove
- Returns:
- old value, associated with removed key or null
 
 - 
forEachvoid forEach(BiConsumer<String,P> action) Performs the given action for each entry in this index until all entries have been processed or the action throws an exception.- Parameters:
- action- The action. May not be- null.
 
 - 
putvoid put(String key, P value) Add key/value pair into persistent index- Parameters:
- key- key to add
- value- value to add
 
 - 
putAllvoid putAll(Map<String,P> map) Put map of key/value pairs into index- Parameters:
- map- map to add
 
 
- 
 
-