get method

int get(
  1. int posIndex
)

Implementation

int get(int posIndex) {
  if (posIndex < location.length) return location[posIndex];
  return Location.NONE;
}