站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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

Constructor Summary
BlockStringBuffer()
           
 
Method Summary
 BlockStringBuffer append(boolean b)
           
 BlockStringBuffer append(char c)
           
 BlockStringBuffer append(char[] str)
           
 BlockStringBuffer append(char[] str, int offset, int len)
           
 BlockStringBuffer append(double d)
           
 BlockStringBuffer append(float f)
           
 BlockStringBuffer append(int i)
           
 BlockStringBuffer append(long l)
           
 BlockStringBuffer append(Object obj)
           
 int length()
           
 BlockStringBuffer prepend(boolean b)
           
 BlockStringBuffer prepend(char c)
           
 BlockStringBuffer prepend(char[] str)
           
 BlockStringBuffer prepend(char[] str, int offset, int len)
           
 BlockStringBuffer prepend(double d)
           
 BlockStringBuffer prepend(float f)
           
 BlockStringBuffer prepend(int i)
           
 BlockStringBuffer prepend(long l)
           
 BlockStringBuffer prepend(Object obj)
           
 int size()
           
 String toString()
           
 StringBuffer toStringBuffer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockStringBuffer

public BlockStringBuffer()
Method Detail

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.