xbn.placeholder
Class UtilPHFromObj

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.placeholder.UtilPHFromObj

public class UtilPHFromObj
extends XBNObject

Functions to cast an Object to an xbn.placeholder object.

Source code:  UtilPHFromObj.java

It is required that the provided object be both non-null, and of the expected type an AssertException is thrown..


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
UtilPHFromObj()
          Create a UtilPHFromObj.
 
Method Summary
 i_i_i_i[] getAOi_i_i_i(Object[] ao_iiii)
          Cast the provided Object array to an array of i_i_i_i-s.
 i_i_i[] getAOi_i_i(Object[] ao_iii)
          Cast the provided Object array to an array of i_i_i-s.
 i_i[] getAOi_i(Object[] ao_ii)
          Cast the provided Object array to an array of i_i-s.
 s_s[] getAOs_s(Object[] ao_ss)
          Cast the provided Object array to an array of s_s-s.
 sb_sb_c[] getAOsb_sb_c(Object[] ao_sbsbc)
          Cast the provided Object array to an array of sb_sb_c-s.
 i_i_i_i geti_i_i_i(Object o_iiii)
          Cast the provided Object to an i_i_i_i.
 i_i_i geti_i_i(Object o_iii)
          Cast the provided Object to an i_i_i.
 i_i geti_i(Object o_ii)
          Cast the provided Object to an i_i.
 s_s gets_s(Object o_ss)
          Cast the provided Object to an s_s.
 sb_sb_c getsb_sb_c(Object o_sbsbc)
          Cast the provided Object to an sb_sb_c.
 
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

UtilPHFromObj

public UtilPHFromObj()

Create a UtilPHFromObj. This constructor does nothing.

Method Detail

geti_i

public final i_i geti_i(Object o_ii)

Cast the provided Object to an i_i.

Parameters:
o_ii - The i_i, in the form of an Object. May not be null, and must be an i_i.
Throws:
NullPointerException - If o_ii is null.
ClassCastException - If o_ii is not a valid i_i.

geti_i_i

public final i_i_i geti_i_i(Object o_iii)

Cast the provided Object to an i_i_i.

Parameters:
o_iii - The i_i_i, in the form of an Object. May not be null, and must be an i_i_i.
Throws:
NullPointerException - If o_iii is null.
ClassCastException - If o_iii is not a valid i_i_i.

geti_i_i_i

public final i_i_i_i geti_i_i_i(Object o_iiii)

Cast the provided Object to an i_i_i_i.

Parameters:
o_iiii - The i_i_i_i, in the form of an Object. May not be null, and must be an i_i_i_i.
Throws:
NullPointerException - If o_iiii is null.
ClassCastException - If o_iiii is not a valid i_i_i_i.

gets_s

public final s_s gets_s(Object o_ss)

Cast the provided Object to an s_s.

Parameters:
o_ss - The s_s, in the form of an Object. May not be null, and must be an s_s.
Throws:
NullPointerException - If o_ss is null.
ClassCastException - If o_ss is not a valid s_s.

getsb_sb_c

public final sb_sb_c getsb_sb_c(Object o_sbsbc)

Cast the provided Object to an sb_sb_c.

Parameters:
o_sbsbc - The sb_sb_c, in the form of an Object. May not be null, and must be an sb_sb_c.
Throws:
NullPointerException - If o_sbsbc is null.
ClassCastException - If o_sbsbc is not a valid sb_sb_c.

getAOi_i

public final i_i[] getAOi_i(Object[] ao_ii)

Cast the provided Object array to an array of i_i-s.

Parameters:
ao_ii - The i_i array, in the form of an Object array. May not be null or zero elements in length. Each object must be non-null, and a valid i_i.
Throws:
NullPointerException - If ao_ii or any element within is null.
ClassCastException - If any element within ao_ii is not a valid i_i.

getAOi_i_i

public final i_i_i[] getAOi_i_i(Object[] ao_iii)

Cast the provided Object array to an array of i_i_i-s.

Parameters:
ao_iii - The i_i_i array, in the form of an Object array. May not be null or zero elements in length. Each object must be non-null, and a valid i_i_i.
Throws:
NullPointerException - If ao_iii or any element within is null.
ClassCastException - If any element within ao_iii is not a valid i_i_i.

getAOi_i_i_i

public final i_i_i_i[] getAOi_i_i_i(Object[] ao_iiii)

Cast the provided Object array to an array of i_i_i_i-s.

Parameters:
ao_iiii - The i_i_i_i array, in the form of an Object array. May not be null or zero elements in length. Each object must be non-null, and a valid i_i_i_i.
Throws:
NullPointerException - If ao_iiii or any element within is null.
ClassCastException - If any element within ao_iiii is not a valid i_i_i_i.

getAOs_s

public final s_s[] getAOs_s(Object[] ao_ss)

Cast the provided Object array to an array of s_s-s.

Parameters:
ao_ss - The s_s array, in the form of an Object array. May not be null or zero elements in length. Each object must be non-null, and a valid s_s.
Throws:
NullPointerException - If ao_ss or any element within is null.
ClassCastException - If any element within ao_ss is not a valid s_s.

getAOsb_sb_c

public final sb_sb_c[] getAOsb_sb_c(Object[] ao_sbsbc)

Cast the provided Object array to an array of sb_sb_c-s.

Parameters:
ao_sbsbc - The sb_sb_c array, in the form of an Object array. May not be null or zero elements in length. Each object must be non-null, and a valid sb_sb_c.
Throws:
NullPointerException - If ao_sbsbc or any element within is null.
ClassCastException - If any element within ao_sbsbc is not a valid sb_sb_c.



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