class IpAddress implements Comparable<IpAddress> {

    public static IpAddress valueOf(int value) {
        byte[] bytes =
            ByteBuffer.allocate(INET_BYTE_LENGTH).putInt(value).array();
        return new IpAddress(Version.INET, bytes);
    }

    protected  IpAddress(Version version, byte[] value);

}