CloseableSequence
A Sequence which has AutoCloseable resources. Constrained to be iterated only once.
When iteration is completed or interrupted with exception originating from this sequence, all resources are automatically closed.
Properties
Link copied to clipboard
Returns whether the CloseableSequence was closed though a call to close.
Functions
Link copied to clipboard
Returns a Provider which iterates over the APK splits sequence and creates a SplitPackage containing all APK splits from this sequence.
Link copied to clipboard
Returns a sequence which throws SplitPackageException on iteration if the split package is invalid and closes all I/O resources opened in the upstream sequence if it's supported.