@Test public void testgetSIntA() throws Exception { assertEquals( "?", BTools.getSIntA( null ) ); assertEquals( "?", BTools.getSIntA( ) ); assertEquals( "0", BTools.getSIntA( 0 ) ); assertEquals( "5, 6, 7", BTools.getSIntA( 5, 6, 7 ) ); int[] intA = { 2, 3, 4, 5, 6 }; assertEquals( "2, 3, 4, 5, 6", BTools.getSIntA( intA ) ); }
public static String getSIntA( int... intA ) { String Info = ""; if ( intA == null ) return "?"; if ( intA.length == 0 ) return "?"; for ( int K = 0; K < intA.length; K ++ ) { Info += ( Info.isEmpty() )? "" : ", "; Info += BTools.getSInt( intA[ K ] ); } return Info; }
BTools { public static String getSIntA( int... intA ) { String Info = ""; if ( intA == null ) return "?"; if ( intA.length == 0 ) return "?"; for ( int K = 0; K < intA.length; K ++ ) { Info += ( Info.isEmpty() )? "" : ", "; Info += BTools.getSInt( intA[ K ] ); } return Info; } }
BTools { public static String getSIntA( int... intA ) { String Info = ""; if ( intA == null ) return "?"; if ( intA.length == 0 ) return "?"; for ( int K = 0; K < intA.length; K ++ ) { Info += ( Info.isEmpty() )? "" : ", "; Info += BTools.getSInt( intA[ K ] ); } return Info; }  }
BTools { public static String getSIntA( int... intA ) { String Info = ""; if ( intA == null ) return "?"; if ( intA.length == 0 ) return "?"; for ( int K = 0; K < intA.length; K ++ ) { Info += ( Info.isEmpty() )? "" : ", "; Info += BTools.getSInt( intA[ K ] ); } return Info; }  static String getMtLvESS( int mtLv ); static String getMtLvISS(); static String getSpaces( int SpacesCount ); static String getSBln( boolean... blnA ); static String getSDbl( double Value, int DecPrec ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength ); static String getSInt( int Value, int CharsCount ); static String getSInt( int Value, int CharsCount, char LeadingChar ); static String getSInt( int Value ); static String getSIntA( int... intA ); static int getIndexCharsCount( int MaxIndex ); static String getSLcDtTm(); static String getSLcDtTm( String FormatS ); }
BTools { public static String getSIntA( int... intA ) { String Info = ""; if ( intA == null ) return "?"; if ( intA.length == 0 ) return "?"; for ( int K = 0; K < intA.length; K ++ ) { Info += ( Info.isEmpty() )? "" : ", "; Info += BTools.getSInt( intA[ K ] ); } return Info; }  static String getMtLvESS( int mtLv ); static String getMtLvISS(); static String getSpaces( int SpacesCount ); static String getSBln( boolean... blnA ); static String getSDbl( double Value, int DecPrec ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength ); static String getSInt( int Value, int CharsCount ); static String getSInt( int Value, int CharsCount, char LeadingChar ); static String getSInt( int Value ); static String getSIntA( int... intA ); static int getIndexCharsCount( int MaxIndex ); static String getSLcDtTm(); static String getSLcDtTm( String FormatS );  }