Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* ************************************************************************
 #
 #  DivConq
 #
 #  http://divconq.com/
 #
 #  Copyright:
 #    Copyright 2014 eTimeline, LLC. All rights reserved.
 #
#  License:
#    See the license.txt file in the project's top-level directory for details.
#  Authors:
#    * Andy White
************************************************************************ */
package divconq.util;
public class ClassicIterableAdapter<T> implements IAsyncIterable<T> {
	protected Iterable<T> classic = null;
	public ClassicIterableAdapter(Iterable<T> classic) {
		this. = classic;
	}
	public IAsyncIterator<T> iterator() {
		Iterator<T> it = this..iterator();
		return new ClassicIteratorAdapter<T>(it);
	}
New to GrepCode? Check out our FAQ X