1819202122232425
if (start instanceof Iterator) { super.setStarts((Iterator) start); } else if (start instanceof Iterable) { super.setStarts((Iterable) start); } else { super.setStarts(new SingleIterator(start)); } }
117118119120121122123124
if (starts instanceof Iterator) { pipeline.setStarts((Iterator) starts); } else if (starts instanceof Iterable) { pipeline.setStarts(((Iterable) starts).iterator()); } else { pipeline.setStarts(new SingleIterator(starts)); } }