class FindSums {

  public List<Pair<Integer, Integer>> find(int[] numbers, int value) {
    validateInput(numbers);
    List<Pair<Integer, Integer>> sums = new LinkedList<Pair<Integer, Integer>>();
    for (int i = 0; i < numbers.length; i++) {
      for (int j = 0; j < numbers.length; j++) {
        if (numbers[i] + numbers[j] == value) {
          sums.add(new Pair(numbers[i], numbers[j]));
        }
      }
    }
    return sums;
  }

}