docs: public List<Address> getAddressesOfType(Type type) {
          List<Address> answer = new ArrayList<>(addresses.size());
          for (Address address : addresses) {
              if (address.getType().equals(type)) {
                  answer.add(address);
              }
          }
  
          return answer;
      }