Refactorings.

*) Box exposes the primitive value as field, also renamed.
*) Changed Function<T,Bool> to corresponding predicate type.
*) Adjusted correspondingly the primitive stream.