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 TypeMethodDescriptionvoidappendTo(Encoder encoder, Appendable out) voidappendTo(Encoder encoder, Appendable out, long start, long end) voidappendTo(Appendable out) voidappendTo(Appendable out, long start, long end) static EmptyResultlongbooleantoString()trim()Trims the contents of this result, as per rules ofStrings.isWhitespace(int), returning the instance that represents this result trimmed.voidvoidvoidvoid
-
Method Details
-
getInstance
-
getLength
public long getLength() -
isFastToString
public boolean isFastToString()- Specified by:
isFastToStringin interfaceWritable
-
toString
-
writeTo
-
writeTo
-
writeTo
-
writeTo
-
appendTo
-
appendTo
-
appendTo
-
appendTo
-
trim
Description copied from interface:BufferResultTrims 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:
trimin interfaceBufferResult- Specified by:
trimin interfaceWritable
-
