org.rythmengine.utils
Class TextBuilder.StrBuf
java.lang.Object
org.rythmengine.utils.TextBuilder.StrBuf
- Enclosing class:
- TextBuilder
protected static final class TextBuilder.StrBuf
- extends Object
A data structure used to store both character based content and it's
binary byte array. This is used to optimize the performance when Rythm
is used to output to a binary outputstream, where the
TextBuilder.StrBuf
public TextBuilder.StrBuf(String s,
byte[] ba)
TextBuilder.StrBuf
public TextBuilder.StrBuf(String s)
toString
public String toString()
- Overrides:
toString
in class Object
toBinary
public byte[] toBinary()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2013. All Rights Reserved.