Package org.apache.mina.util.byteaccess
Class CompositeByteArrayRelativeWriter.NopExpander
- java.lang.Object
-
- org.apache.mina.util.byteaccess.CompositeByteArrayRelativeWriter.NopExpander
-
- All Implemented Interfaces:
CompositeByteArrayRelativeWriter.Expander
- Enclosing class:
- CompositeByteArrayRelativeWriter
public static class CompositeByteArrayRelativeWriter.NopExpander extends Object implements CompositeByteArrayRelativeWriter.Expander
No-op expander. The overridden method does nothing.
-
-
Constructor Summary
Constructors Constructor Description NopExpander()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expand(CompositeByteArray cba, int minSize)
Expand a ByteBuffer by minSize bytes
-
-
-
Method Detail
-
expand
public void expand(CompositeByteArray cba, int minSize)
Expand a ByteBuffer by minSize bytes- Specified by:
expand
in interfaceCompositeByteArrayRelativeWriter.Expander
- Parameters:
cba
- The ByteBuffer to expandminSize
- The new added size
-
-