test_class.file: storm/storm-elasticsearch/src/test/java/org/apache/storm/elasticsearch/common/TransportAddressesTest.java
test_class.identifier: TransportAddressesTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void throwsOnInvalidPortValue() throws Exception {
          new TransportAddresses(new String[] {"h1:-1000"}).iterator();
      }
test_case.class_method_signature: TransportAddressesTest.throwsOnInvalidPortValue()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void throwsOnInvalidPortValue()
test_case.identifier: throwsOnInvalidPortValue
test_case.invocations: iterator
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void throwsOnInvalidPortValue()
focal_class.declarator: DELIMETER = ":"
focal_class.modifier: static final
focal_class.original_string: static final String DELIMETER = ":";
focal_class.type: String
focal_class.var_name: DELIMETER
focal_class.declarator: nodes
focal_class.modifier: private final
focal_class.original_string: private final String[] nodes;
focal_class.type: String[]
focal_class.var_name: nodes
focal_class.file: storm/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/common/TransportAddresses.java
focal_class.identifier: TransportAddresses
focal_class.interfaces: implements Iterable<InetSocketTransportAddress>
focal_class.class_method_signature: TransportAddresses.TransportAddresses(String[] nodes)
focal_class.full_signature:   TransportAddresses(String[] nodes)
focal_class.identifier: TransportAddresses
focal_class.parameters: (String[] nodes)
focal_class.signature:  TransportAddresses(String[] nodes)
focal_class.class_method_signature: TransportAddresses.iterator()
focal_class.full_signature: @Override public Iterator<InetSocketTransportAddress> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<InetSocketTransportAddress>
focal_class.signature: Iterator<InetSocketTransportAddress> iterator()
focal_class.class_method_signature: TransportAddresses.transformToInetAddress(String node)
focal_class.full_signature: private InetSocketTransportAddress transformToInetAddress(String node)
focal_class.identifier: transformToInetAddress
focal_class.modifiers: private
focal_class.parameters: (String node)
focal_class.return: InetSocketTransportAddress
focal_class.signature: InetSocketTransportAddress transformToInetAddress(String node)
focal_class.class_method_signature: TransportAddresses.hostname(String input)
focal_class.full_signature: private String hostname(String input)
focal_class.identifier: hostname
focal_class.modifiers: private
focal_class.parameters: (String input)
focal_class.return: String
focal_class.signature: String hostname(String input)
focal_class.class_method_signature: TransportAddresses.port(String input)
focal_class.full_signature: private int port(String input)
focal_class.identifier: port
focal_class.modifiers: private
focal_class.parameters: (String input)
focal_class.return: int
focal_class.signature: int port(String input)
focal_method.body: @Override
      public Iterator<InetSocketTransportAddress> iterator() {
          List<InetSocketTransportAddress> result = new LinkedList<>();
  
          for (String node : nodes) {
              InetSocketTransportAddress transportAddress = transformToInetAddress(node);
              result.add(transportAddress);
          }
  
          return result.iterator();
      }
focal_method.class_method_signature: TransportAddresses.iterator()
focal_method.full_signature: @Override public Iterator<InetSocketTransportAddress> iterator()
focal_method.identifier: iterator
focal_method.invocations: transformToInetAddress add iterator
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Iterator<InetSocketTransportAddress>
focal_method.signature: Iterator<InetSocketTransportAddress> iterator()