test_class.file: utils/src/test/java/com/cloud/utils/net/Ip4AddressTest.java
test_class.identifier: Ip4AddressTest
test_case.body: @Test
      public void testIsSameAddressAs() {
          Assert.assertTrue("1 and one should be considdered the same address", new Ip4Address(1L, 5L).isSameAddressAs("0.0.0.1"));
          Assert.assertFalse("zero and 0L should be considdered the same address but a Long won't be accepted", new Ip4Address("0.0.0.0", "00:00:00:00:00:08").isSameAddressAs(0L));
      }
test_case.class_method_signature: Ip4AddressTest.testIsSameAddressAs()
test_case.full_signature: @Test public void testIsSameAddressAs()
test_case.identifier: testIsSameAddressAs
test_case.invocations: assertTrue isSameAddressAs assertFalse isSameAddressAs
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsSameAddressAs()
focal_class.declarator: _addr
focal_class.original_string: String _addr;
focal_class.type: String
focal_class.var_name: _addr
focal_class.declarator: _mac
focal_class.original_string: String _mac;
focal_class.type: String
focal_class.var_name: _mac
focal_class.declarator: s_empty_mac = "00:00:00:00:00:00"
focal_class.modifier: static final
focal_class.original_string: static final String s_empty_mac = "00:00:00:00:00:00";
focal_class.type: String
focal_class.var_name: s_empty_mac
focal_class.file: utils/src/main/java/com/cloud/utils/net/Ip4Address.java
focal_class.identifier: Ip4Address
focal_class.class_method_signature: Ip4Address.Ip4Address(String addr, String mac)
focal_class.full_signature: public  Ip4Address(String addr, String mac)
focal_class.identifier: Ip4Address
focal_class.modifiers: public
focal_class.parameters: (String addr, String mac)
focal_class.signature:  Ip4Address(String addr, String mac)
focal_class.class_method_signature: Ip4Address.Ip4Address(long addr, long mac)
focal_class.full_signature: public  Ip4Address(long addr, long mac)
focal_class.identifier: Ip4Address
focal_class.modifiers: public
focal_class.parameters: (long addr, long mac)
focal_class.signature:  Ip4Address(long addr, long mac)
focal_class.class_method_signature: Ip4Address.Ip4Address(String addr)
focal_class.full_signature: public  Ip4Address(String addr)
focal_class.identifier: Ip4Address
focal_class.modifiers: public
focal_class.parameters: (String addr)
focal_class.signature:  Ip4Address(String addr)
focal_class.class_method_signature: Ip4Address.Ip4Address(long addr)
focal_class.full_signature: public  Ip4Address(long addr)
focal_class.identifier: Ip4Address
focal_class.modifiers: public
focal_class.parameters: (long addr)
focal_class.signature:  Ip4Address(long addr)
focal_class.class_method_signature: Ip4Address.ip4()
focal_class.full_signature: public String ip4()
focal_class.identifier: ip4
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String ip4()
focal_class.class_method_signature: Ip4Address.mac()
focal_class.full_signature: public String mac()
focal_class.identifier: mac
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String mac()
focal_class.class_method_signature: Ip4Address.toLong()
focal_class.full_signature: public long toLong()
focal_class.identifier: toLong
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long toLong()
focal_class.class_method_signature: Ip4Address.equals(Object that)
focal_class.full_signature: @Override public boolean equals(Object that)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object that)
focal_class.return: boolean
focal_class.signature: boolean equals(Object that)
focal_class.class_method_signature: Ip4Address.isSameAddressAs(Object other)
focal_class.full_signature: public boolean isSameAddressAs(Object other)
focal_class.identifier: isSameAddressAs
focal_class.modifiers: public
focal_class.parameters: (Object other)
focal_class.return: boolean
focal_class.signature: boolean isSameAddressAs(Object other)
focal_class.class_method_signature: Ip4Address.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_method.body: public boolean isSameAddressAs(Object other) {
          if (other instanceof String) { // Assume that is an ip4 address in String form
              return _addr.equals(other);
          } else {
              return equals(other);
          }
      }
focal_method.class_method_signature: Ip4Address.isSameAddressAs(Object other)
focal_method.full_signature: public boolean isSameAddressAs(Object other)
focal_method.identifier: isSameAddressAs
focal_method.invocations: equals equals
focal_method.modifiers: public
focal_method.parameters: (Object other)
focal_method.return: boolean
focal_method.signature: boolean isSameAddressAs(Object other)