class ImmutableIntSet implements IntSet {

    @Override public int[] toIntArray() {
        if (delegate instanceof IntSet)
            return ((IntSet)delegate).toIntArray();
        else
            return U.toIntArray(delegate);
    }

    public  ImmutableIntSet(Set<Integer> delegate);

}