@Test public void testPositionInvalidLocation() { assertEquals(-1, Locations.position("invalid location")); }
public static int position(final String location) { checkNotNull(location); return LOCATIONS.containsKey(location) ? LOCATIONS.get(location).getPosition() : -1; }
Locations { public static int position(final String location) { checkNotNull(location); return LOCATIONS.containsKey(location) ? LOCATIONS.get(location).getPosition() : -1; } }
Locations { public static int position(final String location) { checkNotNull(location); return LOCATIONS.containsKey(location) ? LOCATIONS.get(location).getPosition() : -1; }  }
Locations { public static int position(final String location) { checkNotNull(location); return LOCATIONS.containsKey(location) ? LOCATIONS.get(location).getPosition() : -1; }  static Iterable<String> locations(); static int index(final String location); static String chromosome(final String location); static int position(final String location); }
Locations { public static int position(final String location) { checkNotNull(location); return LOCATIONS.containsKey(location) ? LOCATIONS.get(location).getPosition() : -1; }  static Iterable<String> locations(); static int index(final String location); static String chromosome(final String location); static int position(final String location);  }