Package dev.vortex.api
Class DataSource.ByteSize.Unknown
java.lang.Object
dev.vortex.api.DataSource.ByteSize.Unknown
- All Implemented Interfaces:
DataSource.ByteSize
- Enclosing interface:
- DataSource.ByteSize
Byte size is not known.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.vortex.api.DataSource.ByteSize
DataSource.ByteSize.Estimate, DataSource.ByteSize.Exact, DataSource.ByteSize.Unknown -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the byte size as a long, orOptionalLong.empty()when unknown.
-
Field Details
-
INSTANCE
-
-
Method Details
-
asOptional
Description copied from interface:DataSource.ByteSizeReturns the byte size as a long, orOptionalLong.empty()when unknown.- Specified by:
asOptionalin interfaceDataSource.ByteSize
-