문제

/**
*@param context
*@param attrs
*/
Public DotView(Context context, Attribute attrs) {
     super(context, attrs);
     setFocusAbleInTouch(true);
}

Does the @param serve any purpose. I saw this code in an Android programming book, but the author didn't explain what the @param meant. I know it is inside a double line comment so I am assuming @param doesn't do anything to the outcome and it is there for readability. Am I right or wrong?

도움이 되었습니까?

해결책

Does the @param serve any purpose

It is part of the JavaDocs documentation system.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top