public class SBPrintStream extends java.io.PrintStream implements JCodeSB<SBPrintStream>
SB
.Constructor and Description |
---|
SBPrintStream(java.io.OutputStream out) |
SBPrintStream(java.io.OutputStream out,
boolean autoFlush) |
SBPrintStream(java.io.OutputStream out,
boolean autoFlush,
java.lang.String encoding) |
Modifier and Type | Method and Description |
---|---|
SBPrintStream |
append(double d) |
SBPrintStream |
append(float f) |
SBPrintStream |
append(int i) |
SBPrintStream |
append(long l) |
SBPrintStream |
append(SB sb) |
SBPrintStream |
ci(JCodeSB sb) |
SBPrintStream |
di(int i)
Decrease indentation counter
|
java.lang.String |
getContent() |
int |
getIndent() |
SBPrintStream |
i()
Increase indentation counter
|
SBPrintStream |
i(int d)
Increase indentation counter
|
SBPrintStream |
ii(int i)
Increase indentation counter
|
SBPrintStream |
ip(java.lang.String s)
Indent and append.
|
SBPrintStream |
nl() |
SBPrintStream |
p(boolean s) |
SBPrintStream |
p(char s) |
SBPrintStream |
p(double s) |
SBPrintStream |
p(float s) |
SBPrintStream |
p(IcedBitSet ibs) |
SBPrintStream |
p(int s) |
SBPrintStream |
p(JCodeSB s) |
SBPrintStream |
p(long s) |
SBPrintStream |
p(SB sb) |
SBPrintStream |
p(java.lang.String s) |
SBPrintStream |
pj(double s) |
SBPrintStream |
pj(float s) |
SBPrintStream |
pj(java.lang.String s) |
SBPrintStream |
pj(java.lang.String objectName,
java.lang.String fieldName)
Append reference to object's field
|
SBPrintStream |
pobj(java.lang.Object s) |
SBPrintStream |
ps(java.lang.String s) |
SBPrintStream |
s()
Append empty string.
|
SBPrintStream |
toJavaStringInit(double[] ss) |
SBPrintStream |
toJavaStringInit(double[][] ss) |
SBPrintStream |
toJavaStringInit(double[][][] ss) |
SBPrintStream |
toJavaStringInit(float[] ss) |
SBPrintStream |
toJavaStringInit(java.lang.String[] ss) |
SBPrintStream |
toJSArray(float[] nums) |
SBPrintStream |
toJSArray(java.lang.String[] ss) |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
public SBPrintStream(java.io.OutputStream out)
public SBPrintStream(java.io.OutputStream out, boolean autoFlush)
public SBPrintStream(java.io.OutputStream out, boolean autoFlush, java.lang.String encoding) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public SBPrintStream ps(java.lang.String s)
ps
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(JCodeSB s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(java.lang.String s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(float s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(double s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(char s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(int s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(long s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(boolean s)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream pobj(java.lang.Object s)
pobj
in interface JCodeSB<SBPrintStream>
public SBPrintStream i(int d)
JCodeSB
i
in interface JCodeSB<SBPrintStream>
public SBPrintStream i()
JCodeSB
i
in interface JCodeSB<SBPrintStream>
public SBPrintStream ip(java.lang.String s)
JCodeSB
ip
in interface JCodeSB<SBPrintStream>
public SBPrintStream s()
JCodeSB
s
in interface JCodeSB<SBPrintStream>
public SBPrintStream pj(double s)
pj
in interface JCodeSB<SBPrintStream>
public SBPrintStream pj(float s)
pj
in interface JCodeSB<SBPrintStream>
public SBPrintStream pj(java.lang.String s)
pj
in interface JCodeSB<SBPrintStream>
public SBPrintStream pj(java.lang.String objectName, java.lang.String fieldName)
JCodeSB
pj
in interface JCodeSB<SBPrintStream>
objectName
- name of objectfieldName
- field name to referencepublic SBPrintStream p(IcedBitSet ibs)
p
in interface JCodeSB<SBPrintStream>
public SBPrintStream p(SB sb)
public SBPrintStream ii(int i)
JCodeSB
ii
in interface JCodeSB<SBPrintStream>
public SBPrintStream di(int i)
JCodeSB
di
in interface JCodeSB<SBPrintStream>
public SBPrintStream ci(JCodeSB sb)
ci
in interface JCodeSB<SBPrintStream>
public SBPrintStream nl()
nl
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJavaStringInit(java.lang.String[] ss)
toJavaStringInit
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJavaStringInit(float[] ss)
toJavaStringInit
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJavaStringInit(double[] ss)
toJavaStringInit
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJavaStringInit(double[][] ss)
toJavaStringInit
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJavaStringInit(double[][][] ss)
toJavaStringInit
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJSArray(float[] nums)
toJSArray
in interface JCodeSB<SBPrintStream>
public SBPrintStream toJSArray(java.lang.String[] ss)
toJSArray
in interface JCodeSB<SBPrintStream>
public int getIndent()
getIndent
in interface JCodeSB<SBPrintStream>
public java.lang.String getContent()
getContent
in interface JCodeSB<SBPrintStream>
public SBPrintStream append(float f)
public SBPrintStream append(double d)
public SBPrintStream append(int i)
public SBPrintStream append(long l)
public SBPrintStream append(SB sb)