Webで検索しても見つかりません。
任意の整数を文字列リテラル表現に表すことができる関数はありますか?
例 :
Integer i1 = new Integer(4);
Integer i2 = new Integer(30);
i1.callSomeFunction();
i2.callSomeFunction();
Output :
"Four"
"Thirty"
Integer クラスにない別の関数を知っていれば、それも問題ありません。
Webで検索しても見つかりません。
任意の整数を文字列リテラル表現に表すことができる関数はありますか?
例 :
Integer i1 = new Integer(4);
Integer i2 = new Integer(30);
i1.callSomeFunction();
i2.callSomeFunction();
Output :
"Four"
"Thirty"
Integer クラスにない別の関数を知っていれば、それも問題ありません。