javadoc and comments on class SelectModeABC