Package org.readium.r2.shared.util
See: Description
-
Interface Summary Interface Description Closeable A Closeable is an object holding closeable resources, such as open files or streams. SuspendingCloseable A SuspendingCloseable is an object holding closeable resources, such as open files or streams. Error Describes an error. MemoryObserver A memory observer reacts to a device reclaiming memory by releasing unused resources. -
Class Summary Class Description CoroutineQueue CoroutineScope-like util to execute coroutines in a sequential order (FIFO). CursorList A List with a mutable cursor index. Left Right Either Generic wrapper to store two mutually exclusive types. DebugError A basic Error implementation with a debug message. ThrowableError An error caused by the catch of a throwable. ErrorException A throwable caused by an Error. Instant A moment in time. Language Represents a language with its region. MapCompanion Encapsulates a Map into a more limited query API. MapWithDefaultCompanion Extends a MapCompanion by adding a default value as a fallback. SingleJob Runs a single coroutine job at a time. Success Failure Try A Result type which can be used as a return type. Query Represents a list of query parameters in a URL. QueryParameter Represents a single query parameter and its value in a URL. Scheme A URL scheme, e.g. Url A Uniform Resource Locator. AbsoluteUrl Represents an absolute Uniform Resource Locator. RelativeUrl Represents a relative Uniform Resource Locator. FileExtension LazyKt CloseableKt DeprecatedKt ErrorKt TryKt UrlKt -
Enum Summary Enum Description Level Level of memory trim.