Class StreamFieldDictComponents

All Implemented Interfaces:
JepComponent, Serializable

public class StreamFieldDictComponents extends DictionaryComponents
Provides a set of components for using dictionaries compatible with the com.singularsys.extensions.stream package and using a FieldI. The FieldI.eq(Object, Object) method is used to compare keys in the get(dict,'x'), getOr(dict,'x'), put(dict,'x'), remove(dict,'x'), and containsKey(dict,'x') functions. The treeSet() is setup to use FieldComparator for ordering elements. Most functions are as in DictionaryComponents apart from entries(dict), keys(dict) and values(dict) which return streams rather than lists.

See DictionaryComponents for the main documentation. Three components EntriesIterable, KeysIterable and ValuesIterable, are not included by default, as they are intended to be used by the com.singularsys.extensions.stream package. These can be added manually or by editing the properties file.

Since:
Jep 4.1 extensions 2.2
See Also: