class PagedResultsCookie {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PagedResultsCookie that = (PagedResultsCookie) o;

        if (!Arrays.equals(cookie, that.cookie)) return false;

        return true;
    }

    public  PagedResultsCookie(byte[] cookie);

}