4Fermer6
EthanielLe 18/07/2007 à 15:20
Perdu, c'est le contraire grin }
 !    /**
     * Returns the string representation of the <code>long</code> argument.
     * <p>
     * The representation is exactly the one returned by the
     * <code>Long.toString</code> method of one argument.
     *
     * @param   l   a <code>long</code>.
     * @return  a string representation of the <code>long</code> argument.
     * @see     java.lang.Long#toString(long)
     */
    public static String valueOf(long l) {
        return Long.toString(l, 10);
   
Rhô mais Sun fait n'importe quoi !
La balise <p> de la JavaDoc n'est pas fermée, et 10 étant la base par défaut, on économise 3 pouillèmes de seconde (et un peu de pile) en appelant directement Long.toString(l) wink.