All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javolution.util.function.Iteration Maven / Gradle / Ivy

Go to download

Only the Java Core part of Javolution library, with slight modifications for use in MSFTBX.

The newest version!
/*
 * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
 * Copyright (C) 2012 - Javolution (http://javolution.org/)
 * All rights reserved.
 * 
 * Permission to use, copy, modify, and distribute this software is
 * freely granted, provided that this notice is preserved.
 */
package javolution.util.function;

import java.util.Iterator;

/**
 * 

A function iterating over a collection.

* *

Except for {@link Mutable} instances, iterations are not * allowed to modify the collection iterated. * * @author Jean-Marie Dautelle * @version 6.0, July 21, 2013 */ public interface Iteration { public interface Mutable extends Iteration {} public interface Sequential extends Iteration {} /** * Runs the iteration using the specified iterator. */ void run(Iterator it); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy