Add a value to this fodable
Add a value to this fodable
Constructor for accepting Sources.
Constructor for accepting Sources.
Constructor for accepting Sources.
Constructor for accepting Sources.
Constructor for accepting Readers.
Constructor for accepting Readers.
Constructor for accepting a File
Constructor for accepting a File
Constructor for accepting an InputStream.
Constructor for accepting an InputStream.
Constructor for accepting StringBuilders.
Constructor for accepting StringBuilders.
Constructor for accepting strings.
Constructor for accepting strings.
Constructor for accepting Byte arrays.
Constructor for accepting Byte arrays.
Mark that everything has been added to this foldable.
A class designed for accumulating the values in a hash using a fold.
This class attempts to enforce ordered digest creation by rendering each instance unusable the each time you add a value. Adding a value then returns a new instance, which must be used for adding more data.
Presenting an API like this allows for more efficient code, while still maintaining an outwardly immutable API. It also helps prevent race conditions by ensuring continued forward motion.