getDegree method

int getDegree()

Implementation

int getDegree() {
  return edgeMap.length;
}