nd4j-common/src/main/java/org/nd4j/tools/InfoLine.java
public String getTitleLine( int mtLv, int title_I ) {
		//
		String info = "";
		//
		if ( title_I < 0 ) return "?";
		if ( title_I > 5 ) return "?";
		//
		info = "";
		info += BTools.getMtLvESS( mtLv );
		info += BTools.getMtLvISS();
		info += "|";
		//
		InfoValues i_IV;
		//
		String i_ValuesS = "";
		//
		int i_VSLen = -1;
		//
		String i_TitleS = "";
		//
		for ( int i = 0; i < ivL.size(); i ++ ) {
			//
			i_IV = ivL.get( i );
			//
			i_ValuesS = i_IV.getValues();
			//
			i_VSLen = i_ValuesS.length();
			//
			i_TitleS = ( title_I < i_IV.titleA.length )? i_IV.titleA[ title_I ] : "";
			//
			i_TitleS = i_TitleS + BTools.getSpaces( i_VSLen );
			//
			info += i_TitleS.substring( 0, i_VSLen - 1 );
			//
			info += "|";
		}
		//
		return info;
	}
public String getTitleLine( int mtLv, int title_I ) {
		//
		String info = "";
		//
		if ( title_I < 0 ) return "?";
		if ( title_I > 5 ) return "?";
		//
		info = "";
		info += BTools.getMtLvESS( mtLv );
		info += BTools.getMtLvISS();
		info += "|";
		//
		InfoValues i_IV;
		//
		String i_ValuesS = "";
		//
		int i_VSLen = -1;
		//
		String i_TitleS = "";
		//
		for ( int i = 0; i < ivL.size(); i ++ ) {
			//
			i_IV = ivL.get( i );
			//
			i_ValuesS = i_IV.getValues();
			//
			i_VSLen = i_ValuesS.length();
			//
			i_TitleS = ( title_I < i_IV.titleA.length )? i_IV.titleA[ title_I ] : "";
			//
			i_TitleS = i_TitleS + BTools.getSpaces( i_VSLen );
			//
			info += i_TitleS.substring( 0, i_VSLen - 1 );
			//
			info += "|";
		}
		//
		return info;
	}
public String getTitleLine ( int mtLv , int title_I ) { // String info = "" ; // if ( title_I < 0 ) return "?" ; if ( title_I > 5 ) return "?" ; // info = "" ; info += BTools . getMtLvESS ( mtLv ) ; info += BTools . getMtLvISS ( ) ; info += "|" ; // InfoValues i_IV ; // String i_ValuesS = "" ; // int i_VSLen = - 1 ; // String i_TitleS = "" ; // for ( int i = 0 ; i < ivL . size ( ) ; i ++ ) { // i_IV = ivL . get ( i ) ; // i_ValuesS = i_IV . getValues ( ) ; // i_VSLen = i_ValuesS . length ( ) ; // i_TitleS = ( title_I < i_IV . titleA . length ) ? i_IV . titleA [ title_I ] : "" ; // i_TitleS = i_TitleS + BTools . getSpaces ( i_VSLen ) ; // info += i_TitleS . substring ( 0 , i_VSLen - 1 ) ; // info += "|" ; } // return info ; }
Returns titles line as string appointed by title index (0..5).<br>
Columns are separated with char '|'.<br>
If title index is < 0 returns "?".<br>
If title index is > 5 returns "?".<br>
@param mtLv - method level
@param title_I - title index
@return titles line as string
Returns titles line as string appointed by title index ( 0 .. 5 ) . <br > Columns are separated with char | . <br > If title index is < 0 returns ? . <br > If title index is > 5 returns ? . <br >