xbn.array.primitive
Class ListPA

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.array.primitive.ListPA

public class ListPA
extends XBNObject

Lists an array existing inside a PrimitiveArray. See PrimitiveArray.

Source code:  ListPA.java


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
ListPA()
          Create a ListPA with default configuration.
ListPA(LPAConfig lpa_config)
          Create a ListPA.
ListPA(String s_divider)
          Create a ListPA.
ListPA(String s_prefix, String s_postfix)
          Create a ListPA.
ListPA(String s_prefix, String s_divider, String s_postfix)
          Create a ListPA.
 
Method Summary
 void append(StringBuffer str_buffer, char[] a_char)
          Append a list of the provided characters onto the provided StringBuffer.
 void append(StringBuffer str_buffer, int[] a_int)
          Append a list of the ints onto the provided StringBuffer.
 void append(StringBuffer str_buffer, PrimitiveArray primitive_array)
          Append a list of the PrimitiveArray values onto the provided StringBuffer.
 void append(StringBuffer str_buffer, String[] a_string)
          Append a list of the strings onto the provided StringBuffer.
 void append(StringBuffer str_buffer, StringBuffer[] a_stringBuffer)
          Append a list of the StringBuffers onto the provided StringBuffer.
 void append(StringBuffer str_buffer, StringOrBuffer[] a_strOrBfr)
          Append a list of the StringOrBuffers onto the provided StringBuffer.
 void append(StringOrBuffer str_orBfr, char[] a_char)
          Append a list of characters onto the provided StringOrBuffer.
 void append(StringOrBuffer str_orBfr, int[] a_int)
          Append a list of ints onto the provided StringOrBuffer.
 void append(StringOrBuffer str_orBfr, PrimitiveArray primitive_array)
          Append a list of the PrimitiveArray values onto the provided StringOrBuffer, based on the settings in LPAConfig.
 void append(StringOrBuffer str_orBfr, String[] a_string)
          Append a list of strings onto the provided StringOrBuffer.
 void append(StringOrBuffer str_orBfr, StringBuffer[] a_stringBuffer)
          Append a list of StringBuffers onto the provided StringOrBuffer.
 void append(StringOrBuffer str_orBfr, StringOrBuffer[] a_strOrBfr)
          Append a list of StringOrBuffers onto the provided StringOrBuffer.
 String get(char[] a_char)
          Get a list of the provided characters.
 String get(int[] a_int)
          Get a list of the provided ints.
 String get(PrimitiveArray primitive_array)
          Get a list of the provided PrimitiveArray values.
 String get(String[] a_string)
          Get a list of the provided strings.
 String get(StringBuffer[] a_stringBuffer)
          Get a list of the provided StringBuffers.
 String get(StringOrBuffer[] a_strOrBfr)
          Get a list of the provided StringOrBuffers.
 LPAConfig getLPAConfig()
          Get the LPAConfig for direct manipulation.
 
Methods inherited from class xbn.XBNObject
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListPA

public ListPA()

Create a ListPA with default configuration.

Equal to ListPA(new LPAConfig())


ListPA

public ListPA(String s_divider)

Create a ListPA.

Equal to ListPA(new LPAConfig(s_divider))


ListPA

public ListPA(String s_prefix,
              String s_postfix)

Create a ListPA.

Equal to ListPA(new LPAConfig(s_prefix, s_postfix))


ListPA

public ListPA(String s_prefix,
              String s_divider,
              String s_postfix)

Create a ListPA.

Equal to ListPA(new LPAConfig(s_prefix, s_divider, s_postfix))


ListPA

public ListPA(LPAConfig lpa_config)

Create a ListPA.

Parameters:
lpa_config - The LPAConfig. May not be null. See getLPAConfig.
Method Detail

getLPAConfig

public final LPAConfig getLPAConfig()

Get the LPAConfig for direct manipulation.

Returns:
lpa_config Exactly as provided to the constructor.

get

public String get(char[] a_char)

Get a list of the provided characters.

Returns:
The contents of SOBString after append(new SOBString(""), a_char)

get

public String get(int[] a_int)

Get a list of the provided ints.

Returns:
The contents of SOBString after append(new SOBString(""), a_int)

get

public String get(String[] a_string)

Get a list of the provided strings.

Returns:
The contents of SOBString after append(new SOBString(""), a_string)

get

public String get(StringBuffer[] a_stringBuffer)

Get a list of the provided StringBuffers.

Returns:
The contents of SOBString after append(new SOBString(""), a_stringBuffer)

get

public String get(StringOrBuffer[] a_strOrBfr)

Get a list of the provided StringOrBuffers.

Returns:
The contents of SOBString after append(new SOBString(""), a_strOrBfr)

get

public String get(PrimitiveArray primitive_array)

Get a list of the provided PrimitiveArray values.

Returns:
The contents of SOBString after append(new SOBString(""), primitive_array)

append

public void append(StringBuffer str_buffer,
                   char[] a_char)

Append a list of the provided characters onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(str_buffer, "append"), primitive_array)


append

public void append(StringBuffer str_buffer,
                   int[] a_int)

Append a list of the ints onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(a_int, "append"), primitive_array)


append

public void append(StringBuffer str_buffer,
                   String[] a_string)

Append a list of the strings onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(a_string, "append"), primitive_array)


append

public void append(StringBuffer str_buffer,
                   StringBuffer[] a_stringBuffer)

Append a list of the StringBuffers onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(a_stringBuffer, "append"), primitive_array)


append

public void append(StringBuffer str_buffer,
                   StringOrBuffer[] a_strOrBfr)

Append a list of the StringOrBuffers onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(a_strOrBfr, "append"), primitive_array)


append

public void append(StringBuffer str_buffer,
                   PrimitiveArray primitive_array)

Append a list of the PrimitiveArray values onto the provided StringBuffer.

Equal to append([UtilStringBuffer].getSOBSB(primitive_array, "append"), primitive_array)


append

public void append(StringOrBuffer str_orBfr,
                   char[] a_char)

Append a list of characters onto the provided StringOrBuffer.

Equal to append(str_orBfr, (new PACChar(a_char)))


append

public void append(StringOrBuffer str_orBfr,
                   int[] a_int)

Append a list of ints onto the provided StringOrBuffer.

Equal to append(str_orBfr, (new PAIInt(a_int)))


append

public void append(StringOrBuffer str_orBfr,
                   String[] a_string)

Append a list of strings onto the provided StringOrBuffer.

Equal to append(str_orBfr, (new PASString(a_string)))


append

public void append(StringOrBuffer str_orBfr,
                   StringBuffer[] a_stringBuffer)

Append a list of StringBuffers onto the provided StringOrBuffer.

Equal to append(str_orBfr, (new PASStringBuffer(a_stringBuffer)))


append

public void append(StringOrBuffer str_orBfr,
                   StringOrBuffer[] a_strOrBfr)

Append a list of StringOrBuffers onto the provided StringOrBuffer.

Equal to append(str_orBfr, (new PASStringOrBuffer(a_strOrBfr)))


append

public void append(StringOrBuffer str_orBfr,
                   PrimitiveArray primitive_array)

Append a list of the PrimitiveArray values onto the provided StringOrBuffer, based on the settings in LPAConfig. See LPAConfig.




Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.

 

http://sourceforge.net/projects/xbnjava

 

SourceForge.net Logo