3030package org .scijava .ops .api ;
3131
3232import java .lang .reflect .Type ;
33- import java .util .Collection ;
33+ import java .util .Set ;
3434
3535import org .scijava .types .Nil ;
3636
@@ -721,15 +721,15 @@ default OpBuilder.Arity16 arity16(final String opName, final Hints hints) {
721721 /**
722722 * Creates an {@link OpInfo} from an {@link Class}.
723723 *
724- * @param opClass
724+ * @param opClass the {@link Class} to derive the Op from
725725 * @return an {@link OpInfo} which can make instances of {@code opClass}
726726 */
727727 OpInfo opify (Class <?> opClass );
728728
729729 /**
730730 * Creates an {@link OpInfo} from an {@link Class} with the given priority.
731731 *
732- * @param opClass
732+ * @param opClass the {@link Class} to derive the Op from
733733 * @param priority - the assigned priority of the Op.
734734 * @param names - the name(s) of the Op
735735 * @return an {@link OpInfo} which can make instances of {@code opClass}
@@ -746,9 +746,9 @@ default OpBuilder.Arity16 arity16(final String opName, final Hints hints) {
746746 /**
747747 * Creates some {@link OpInfo}s from {@code o}
748748 * @param o the {@link Object} to create {@link OpInfo}s from
749- * @return a {@link Collection } of {@link OpInfo}s
749+ * @return a {@link Set } of {@link OpInfo}s
750750 */
751- Collection <OpInfo > infosFrom (Object o );
751+ Set <OpInfo > infosFrom (Object o );
752752
753753 /**
754754 * Creates some {@link OpInfo}s from {@code o}
@@ -769,10 +769,10 @@ default void registerInfosFrom(Object o) {
769769 * Note that this method does not inherently provide <b>any</b> guarantees
770770 * pertaining to thread-safety; this API is provided purely for convenience.
771771 * Any calls to {@link OpEnvironment#op(String, Nil, Nil[], Nil)} that require
772- * a specific {@Hints} should <b>not</b> use this method, instead opting for
772+ * a specific {@link Hints} should <b>not</b> use this method, instead opting for
773773 * {@link OpEnvironment#op(String, Nil, Nil[], Nil, Hints)}.
774774 *
775- * @param hints
775+ * @param hints the {@link Hints} to be set as default
776776 */
777777 void setDefaultHints (Hints hints );
778778
@@ -797,16 +797,16 @@ default void registerInfosFrom(Object o) {
797797 * Returns the descriptions for all Ops contained within this
798798 * {@link OpEnvironment}
799799 *
800- * @return a {@link Collection } of descriptions
800+ * @return a {@link Set } of descriptions
801801 */
802- Collection <String > descriptions ();
802+ Set <String > descriptions ();
803803
804804 /**
805805 * Returns the descriptions for all Ops identifiable by a given name within
806806 * this {@link OpEnvironment}
807807 *
808- * @return a {@link Collection } of descriptions
808+ * @return a {@link Set } of descriptions
809809 */
810- Collection <String > descriptions (String name );
810+ Set <String > descriptions (String name );
811811
812812}
0 commit comments