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
Returns whether the CloseableSequence was closed though a call to close.
Functions
Returns a sequence which adds all elements to the destination list as they pass through.
Returns a sequence containing only APK splits which are the most compatible with the device.
Returns a sequence that yields APK splits sorted according to their compatibility with the device.
Returns a sequence which throws SplitPackageException on iteration if the split package is invalid.
Returns a Provider which iterates over the APK splits sequence and creates a SplitPackage containing all APK splits from this sequence.
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.