JavaDoc-Kommentare Schnittstelle

Habe ich ein interface die Methoden x, y und z. Ich bin kommentieren Sie die Klasse auf diese Weise:

/**
 * 
 * A.java
 * Interface class that has the following methods.
 * 
 * @author MyName
 * @since mm-dd-yyyy
 */

public interface A {

    //method description for x
    void x();

    //method description for y
    void y();

    //method description for z
    void z();
}

Ist es richtig oder sollte ich andere Dinge um die KLASSE KOMMENTARE?

Warum akzeptieren nicht Sie Jon Skeet?

InformationsquelleAutor FranXh | 2012-02-10

Schreibe einen Kommentar