class BlockingObservable {

    public Iterable<T> toIterable() {
        return new Iterable<T>() {
            @Override
            public Iterator<T> iterator() {
                return getIterator();
            }
        };
    }

    private  BlockingObservable(Observable<? extends T> o);

}