java

Table of Contents

1. overiding method and super

when with constructor, super is super(), when with method, it’s super.method().

@Override public void step() {
         super.step();
}

2. javadoc to refer to other function

syntax: == example:

    /**
     * return the pose of encounter from the sensor senosrIndex.
     * the point that the sensor detacted to be occupied.
     *
     * @param sensorIndex index of sensor in {@link #ps}
     */

Backlinks

Author: Linfeng He

Created: 2024-04-03 Wed 20:16