@Test public void testgetSpaces() throws Exception { assertEquals( "?", BTools.getSpaces( -3 ) ); assertEquals( "", BTools.getSpaces( 0 ) ); assertEquals( " ", BTools.getSpaces( 4 ) ); }
public static String getSpaces( int SpacesCount ) { if ( SpacesCount < 0 ) return "?"; String Info = ""; for ( int K = 1; K <= SpacesCount; K ++ ) { Info += " "; } return Info; }
BTools { public static String getSpaces( int SpacesCount ) { if ( SpacesCount < 0 ) return "?"; String Info = ""; for ( int K = 1; K <= SpacesCount; K ++ ) { Info += " "; } return Info; } }
BTools { public static String getSpaces( int SpacesCount ) { if ( SpacesCount < 0 ) return "?"; String Info = ""; for ( int K = 1; K <= SpacesCount; K ++ ) { Info += " "; } return Info; }  }
BTools { public static String getSpaces( int SpacesCount ) { if ( SpacesCount < 0 ) return "?"; String Info = ""; for ( int K = 1; K <= SpacesCount; K ++ ) { Info += " "; } 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 getSpaces( int SpacesCount ) { if ( SpacesCount < 0 ) return "?"; String Info = ""; for ( int K = 1; K <= SpacesCount; K ++ ) { Info += " "; } 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 );  }