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

java.util.stream.Collector Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package java.util.stream;

import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.function.Supplier;

public interface Collector {
	Supplier supplier();

	BiConsumer accumulator();

	BinaryOperator combiner();

	Function finisher();

	Set characteristics();

	static  Collector of(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Characteristics... characteristics) {
		throw new RuntimeException("Not implemented");
	}

	static  Collector of(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Function finisher, Characteristics... characteristics) {
		throw new RuntimeException("Not implemented");
	}

	enum Characteristics {
		CONCURRENT,
		UNORDERED,
		IDENTITY_FINISH
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy