test_class.declarator: logger = LoggerFactory.getLogger(URLTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(URLTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: ch-commons-util/src/test/java/com/cloudhopper/commons/util/URLTest.java
test_class.identifier: URLTest
test_case.body: @Test
      public void testEquals() throws Exception {
          URL url0 = URLParser.parse("http://www.google.com/");
          URL url1 = URLParser.parse("http://www.google.com/");
  
          Assert.assertEquals(url0, url1);
      }
test_case.class_method_signature: URLTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: parse parse assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: protocol
focal_class.modifier: private
focal_class.original_string: private String protocol;
focal_class.type: String
focal_class.var_name: protocol
focal_class.declarator: username
focal_class.modifier: private
focal_class.original_string: private String username;
focal_class.type: String
focal_class.var_name: username
focal_class.declarator: password
focal_class.modifier: private
focal_class.original_string: private String password;
focal_class.type: String
focal_class.var_name: password
focal_class.declarator: host
focal_class.modifier: private
focal_class.original_string: private String host;
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port
focal_class.modifier: private
focal_class.original_string: private Integer port;
focal_class.type: Integer
focal_class.var_name: port
focal_class.declarator: path
focal_class.modifier: private
focal_class.original_string: private String path;
focal_class.type: String
focal_class.var_name: path
focal_class.declarator: query
focal_class.modifier: private
focal_class.original_string: private String query;
focal_class.type: String
focal_class.var_name: query
focal_class.declarator: queryProperties
focal_class.modifier: private
focal_class.original_string: private Properties queryProperties;
focal_class.type: Properties
focal_class.var_name: queryProperties
focal_class.file: ch-commons-util/src/main/java/com/cloudhopper/commons/util/URL.java
focal_class.identifier: URL
focal_class.class_method_signature: URL.URL()
focal_class.full_signature: public  URL()
focal_class.identifier: URL
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  URL()
focal_class.class_method_signature: URL.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: URL.setProtocol(String protocol)
focal_class.full_signature: public void setProtocol(String protocol)
focal_class.identifier: setProtocol
focal_class.modifiers: public
focal_class.parameters: (String protocol)
focal_class.return: void
focal_class.signature: void setProtocol(String protocol)
focal_class.class_method_signature: URL.getProtocol()
focal_class.full_signature: public String getProtocol()
focal_class.identifier: getProtocol
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProtocol()
focal_class.class_method_signature: URL.setUsername(String username)
focal_class.full_signature: public void setUsername(String username)
focal_class.identifier: setUsername
focal_class.modifiers: public
focal_class.parameters: (String username)
focal_class.return: void
focal_class.signature: void setUsername(String username)
focal_class.class_method_signature: URL.getUsername()
focal_class.full_signature: public String getUsername()
focal_class.identifier: getUsername
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUsername()
focal_class.class_method_signature: URL.setPassword(String password)
focal_class.full_signature: public void setPassword(String password)
focal_class.identifier: setPassword
focal_class.modifiers: public
focal_class.parameters: (String password)
focal_class.return: void
focal_class.signature: void setPassword(String password)
focal_class.class_method_signature: URL.getPassword()
focal_class.full_signature: public String getPassword()
focal_class.identifier: getPassword
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPassword()
focal_class.class_method_signature: URL.setHost(String host)
focal_class.full_signature: public void setHost(String host)
focal_class.identifier: setHost
focal_class.modifiers: public
focal_class.parameters: (String host)
focal_class.return: void
focal_class.signature: void setHost(String host)
focal_class.class_method_signature: URL.getHost()
focal_class.full_signature: public String getHost()
focal_class.identifier: getHost
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHost()
focal_class.class_method_signature: URL.setPort(Integer port)
focal_class.full_signature: public void setPort(Integer port)
focal_class.identifier: setPort
focal_class.modifiers: public
focal_class.parameters: (Integer port)
focal_class.return: void
focal_class.signature: void setPort(Integer port)
focal_class.class_method_signature: URL.getPort()
focal_class.full_signature: public Integer getPort()
focal_class.identifier: getPort
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getPort()
focal_class.class_method_signature: URL.setPath(String path)
focal_class.full_signature: public void setPath(String path)
focal_class.identifier: setPath
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void setPath(String path)
focal_class.class_method_signature: URL.getPath()
focal_class.full_signature: public String getPath()
focal_class.identifier: getPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPath()
focal_class.class_method_signature: URL.getQuery()
focal_class.full_signature: public String getQuery()
focal_class.identifier: getQuery
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getQuery()
focal_class.class_method_signature: URL.setQuery(String value)
focal_class.full_signature: public void setQuery(String value)
focal_class.identifier: setQuery
focal_class.modifiers: public
focal_class.parameters: (String value)
focal_class.return: void
focal_class.signature: void setQuery(String value)
focal_class.class_method_signature: URL.getQueryProperty(String name)
focal_class.full_signature: public String getQueryProperty(String name)
focal_class.identifier: getQueryProperty
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getQueryProperty(String name)
focal_class.class_method_signature: URL.getQueryProperties()
focal_class.full_signature: public Properties getQueryProperties()
focal_class.identifier: getQueryProperties
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getQueryProperties()
focal_class.class_method_signature: URL.parseQueryProperties(String q, Properties props)
focal_class.full_signature: public static void parseQueryProperties(String q, Properties props)
focal_class.identifier: parseQueryProperties
focal_class.modifiers: public static
focal_class.parameters: (String q, Properties props)
focal_class.return: void
focal_class.signature: void parseQueryProperties(String q, Properties props)
focal_class.class_method_signature: URL.equals(Object object)
focal_class.full_signature: @Override public boolean equals(Object object)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object object)
focal_class.return: boolean
focal_class.signature: boolean equals(Object object)
focal_class.class_method_signature: URL.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_class.class_method_signature: URL.encode(String str0)
focal_class.full_signature: static private String encode(String str0)
focal_class.identifier: encode
focal_class.modifiers: static private
focal_class.parameters: (String str0)
focal_class.return: String
focal_class.signature: String encode(String str0)
focal_method.body: @Override
      public boolean equals(Object object) {
          if (object == null) {
              return false;
          }
          if (object instanceof URL) {
              URL otherURL = (URL)object;
              String otherURLString = otherURL.toString();
              return this.toString().equals(otherURLString);
          } else if (object instanceof String) {
              String otherURLString = (String)object;
              return this.toString().equals(otherURLString);
          } else {
              return false;
          }
      }
focal_method.class_method_signature: URL.equals(Object object)
focal_method.full_signature: @Override public boolean equals(Object object)
focal_method.identifier: equals
focal_method.invocations: toString equals toString equals toString
focal_method.modifiers: @Override public
focal_method.parameters: (Object object)
focal_method.return: boolean
focal_method.signature: boolean equals(Object object)