code: @SuppressWarnings("unchecked")
  	@Override
  	public List<T> getAllEndpoints() {
  		ArrayList<T> list = new ArrayList<>(endpoints.length);
  		for (int i = 0; i < endpoints.length; i++) {
  			list.add((T) endpoints[i]);
  		}
  		return list;
  	}
docs: --- GET ALL ENDPOINTS ---