/** * Get the depth of this relationship. Depth is a concept that can be defined by each relationship type. * The default notion of depth is the number of pointers that need to be traversed to go from the source * to target synset. This is basically getSize() - 1. */ public int getDepth() { return getSize() - 1; }