javadoc for two tops of interfaces