@@ -43,44 +43,47 @@ public interface BrainAnnotation {
4343 /** Character constant representing any hemisphere (null character) */
4444 public char ANY_HEMISPHERE = '\u0000' ;
4545
46- /** @return the compartment's unique id */
46+ /** Returns the compartment's unique id. */
4747 public int id ();
4848
49- /** @return the compartment's name */
49+ /** Returns the compartment's name. */
5050 public String name ();
5151
52- /** @return the compartment's acronym */
52+ /** Returns the compartment's acronym. */
5353 public String acronym ();
5454
55- /** @return the compartment's alias(es) */
55+ /** Returns the compartment's alias(es). */
5656 public String [] aliases ();
5757
58- /** @return the mesh associated with this compartment */
58+ /** Returns the mesh associated with this compartment. */
5959 public OBJMesh getMesh ();
6060
61- /** @return whether this compartment is a sub-compartment of {@code annotation} */
61+ /** Returns whether this compartment is a sub-compartment of {@code annotation}. */
6262 public boolean isChildOf (BrainAnnotation annotation );
6363
64- /** @return whether this compartment is a parentCompartment of {@code annotation} */
64+ /** Returns whether this compartment is a parent of {@code parentCompartment}. */
6565 public boolean isParentOf (final BrainAnnotation parentCompartment );
6666
67+ /** Returns the ontology depth of this compartment. */
6768 public int getOntologyDepth ();
6869
69- /** @return whether a mesh is available for this compartment */
70+ /** Returns whether a mesh is available for this compartment. */
7071 public boolean isMeshAvailable ();
7172
7273 /**
74+ * Returns the ancestor of this compartment at the specified level.
75+ *
7376 * @param level the ancestor level as negative 1-based index. E.g., {@code -1}
7477 * retrieves the last ancestor (parent), {@code -2} retrieves the
7578 * second to last, etc
76- * @return the ancestor of this compartment at the nth level
79+ * @return the ancestor at the given level
7780 */
7881 public BrainAnnotation getAncestor (final int level );
7982
80- /** @return the parent of this compartment */
83+ /** Returns the parent of this compartment. */
8184 public BrainAnnotation getParent ();
8285
83- /** @return the display color of this compartment (if known) */
86+ /** Returns the display color of this compartment (if known). */
8487 public ColorRGB color ();
8588
8689 public static char getHemisphereFlag (final String hemisphere ) {
0 commit comments