当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
BlockStringBuffer (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.ejbql
Class BlockStringBuffer
java.lang.Object
org.jboss.ejb.plugins.cmp.ejbql.BlockStringBuffer
- public final class BlockStringBuffer
- extends Object
A buffer simmilar to StringBuffer that works on string blocks instead
of individual characters. This eliminates excessive array allocation
and copying at the expense of removal and substring opperations. This
is a greate compromise as usually the only functions called on a
StringBuffer are append, length, and toString.
- Version:
- $Revision: 1.4 $
- Author:
- Dain Sundstrom
BlockStringBuffer
public BlockStringBuffer()
append
public BlockStringBuffer append(boolean b)
append
public BlockStringBuffer append(char c)
append
public BlockStringBuffer append(char[] str)
append
public BlockStringBuffer append(char[] str,
int offset,
int len)
append
public BlockStringBuffer append(double d)
append
public BlockStringBuffer append(float f)
append
public BlockStringBuffer append(int i)
append
public BlockStringBuffer append(long l)
append
public BlockStringBuffer append(Object obj)
prepend
public BlockStringBuffer prepend(boolean b)
prepend
public BlockStringBuffer prepend(char c)
prepend
public BlockStringBuffer prepend(char[] str)
prepend
public BlockStringBuffer prepend(char[] str,
int offset,
int len)
prepend
public BlockStringBuffer prepend(double d)
prepend
public BlockStringBuffer prepend(float f)
prepend
public BlockStringBuffer prepend(int i)
prepend
public BlockStringBuffer prepend(long l)
prepend
public BlockStringBuffer prepend(Object obj)
length
public int length()
size
public int size()
toStringBuffer
public StringBuffer toStringBuffer()
toString
public String toString()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.