test_class.file: tajo-common/src/test/java/org/apache/tajo/common/type/TestIPv4.java
test_class.identifier: TestIPv4
test_case.body: @Test
  	public final void testSet() throws InvalidAddressException {
  		IPv4 ip = null;
  	  ip = new IPv4("255.255.255.255");
  		byte[] b = new byte[4];
  		for (int i = 0; i < 4; i++) {
  			b[i] = (byte)0xFF;
  		}
  		IPv4 ip2 = new IPv4(b);
  		assertEquals(ip, ip2);
  	}
test_case.class_method_signature: TestIPv4.testSet()
test_case.full_signature: @Test public final void testSet()
test_case.identifier: testSet
test_case.invocations: assertEquals
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSet()
focal_class.declarator: ipBytes
focal_class.modifier: private
focal_class.original_string: private byte[] ipBytes;
focal_class.type: byte[]
focal_class.var_name: ipBytes
focal_class.file: tajo-common/src/main/java/org/apache/tajo/common/type/IPv4.java
focal_class.identifier: IPv4
focal_class.interfaces: implements Writable, Comparable<IPv4>
focal_class.class_method_signature: IPv4.getSubnetMask(int len)
focal_class.full_signature: public static IPv4 getSubnetMask(int len)
focal_class.identifier: getSubnetMask
focal_class.modifiers: public static
focal_class.parameters: (int len)
focal_class.return: IPv4
focal_class.signature: IPv4 getSubnetMask(int len)
focal_class.class_method_signature: IPv4.IPv4()
focal_class.full_signature: public  IPv4()
focal_class.identifier: IPv4
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  IPv4()
focal_class.class_method_signature: IPv4.IPv4(byte[] bytes)
focal_class.full_signature: public  IPv4(byte[] bytes)
focal_class.identifier: IPv4
focal_class.modifiers: public
focal_class.parameters: (byte[] bytes)
focal_class.signature:  IPv4(byte[] bytes)
focal_class.class_method_signature: IPv4.IPv4(String ipAddress)
focal_class.full_signature: public  IPv4(String ipAddress)
focal_class.identifier: IPv4
focal_class.modifiers: public
focal_class.parameters: (String ipAddress)
focal_class.signature:  IPv4(String ipAddress)
focal_class.class_method_signature: IPv4.set(String ipAddress)
focal_class.full_signature: public void set(String ipAddress)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String ipAddress)
focal_class.return: void
focal_class.signature: void set(String ipAddress)
focal_class.class_method_signature: IPv4.set(byte[] bytes)
focal_class.full_signature: public void set(byte[] bytes)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (byte[] bytes)
focal_class.return: void
focal_class.signature: void set(byte[] bytes)
focal_class.class_method_signature: IPv4.getBytes()
focal_class.full_signature: public byte[] getBytes()
focal_class.identifier: getBytes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getBytes()
focal_class.class_method_signature: IPv4.matchSubnet(String addr)
focal_class.full_signature: public boolean matchSubnet(String addr)
focal_class.identifier: matchSubnet
focal_class.modifiers: public
focal_class.parameters: (String addr)
focal_class.return: boolean
focal_class.signature: boolean matchSubnet(String addr)
focal_class.class_method_signature: IPv4.matchGeoIP(/* country code */)
focal_class.full_signature: public boolean matchGeoIP(/* country code */)
focal_class.identifier: matchGeoIP
focal_class.modifiers: public
focal_class.parameters: (/* country code */)
focal_class.return: boolean
focal_class.signature: boolean matchGeoIP(/* country code */)
focal_class.class_method_signature: IPv4.and(IPv4 other)
focal_class.full_signature: public IPv4 and(IPv4 other)
focal_class.identifier: and
focal_class.modifiers: public
focal_class.parameters: (IPv4 other)
focal_class.return: IPv4
focal_class.signature: IPv4 and(IPv4 other)
focal_class.class_method_signature: IPv4.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: IPv4.compareTo(IPv4 o)
focal_class.full_signature: @Override public int compareTo(IPv4 o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (IPv4 o)
focal_class.return: int
focal_class.signature: int compareTo(IPv4 o)
focal_class.class_method_signature: IPv4.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: IPv4.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: IPv4.readFields(DataInput in)
focal_class.full_signature: @Override public void readFields(DataInput in)
focal_class.identifier: readFields
focal_class.modifiers: @Override public
focal_class.parameters: (DataInput in)
focal_class.return: void
focal_class.signature: void readFields(DataInput in)
focal_class.class_method_signature: IPv4.write(DataOutput out)
focal_class.full_signature: @Override public void write(DataOutput out)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (DataOutput out)
focal_class.return: void
focal_class.signature: void write(DataOutput out)
focal_method.body: public void set(String ipAddress) throws InvalidAddressException {
  		StringTokenizer tokenizer = new StringTokenizer(ipAddress);
  		String token;
  		for (int i = 0; i < 4; i++) {
  			token = tokenizer.nextToken(".");
  			if (token == null) {
  				throw new InvalidAddressException();
  			} else if (Integer.parseInt(token) < 0 || Integer.parseInt(token) > 255) {
  				throw new InvalidAddressException();
  			}
  			//			ipBytes[i] = Short.valueOf(token).byteValue();
  			this.ipBytes[i] = (byte)(((Integer.parseInt(token) << 24) >> 24) & 0xFF);
  		}
  	}
focal_method.class_method_signature: IPv4.set(String ipAddress)
focal_method.full_signature: public void set(String ipAddress)
focal_method.identifier: set
focal_method.invocations: nextToken parseInt parseInt parseInt
focal_method.modifiers: public
focal_method.parameters: (String ipAddress)
focal_method.return: void
focal_method.signature: void set(String ipAddress)