java.lang.Object
com.aoapps.io.buffer.EmptyResult
- All Implemented Interfaces:
BufferResult
,Writable
A completely empty result.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTo
(Encoder encoder, Appendable out) void
appendTo
(Encoder encoder, Appendable out, long start, long end) void
appendTo
(Appendable out) void
appendTo
(Appendable out, long start, long end) static EmptyResult
long
boolean
toString()
trim()
Trims the contents of this result, as per rules ofStrings.isWhitespace(int)
, returning the instance that represents this result trimmed.void
void
void
void
-
Method Details
-
getInstance
-
getLength
public long getLength() -
isFastToString
public boolean isFastToString()- Specified by:
isFastToString
in interfaceWritable
-
toString
-
writeTo
-
writeTo
-
writeTo
-
writeTo
-
appendTo
-
appendTo
-
appendTo
-
appendTo
-
trim
Description copied from interface:BufferResult
Trims the contents of this result, as per rules ofStrings.isWhitespace(int)
, returning the instance that represents this result trimmed.All implementations cache the result for constant-time secondary access.
- Specified by:
trim
in interfaceBufferResult
- Specified by:
trim
in interfaceWritable
-