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

science.aist.jack.general.transformer.ForwardCollectionTransformer Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
/*
 * Copyright (c) 2020 the original author or authors.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

package science.aist.jack.general.transformer;

import java.util.Collection;

/**
 * 

Generic interface for a unidirectional Transformer between collection of a class to collection of another

* * @param FROM which should be transformed to TO * @param TO which is transformed from FROM * @author Christoph Praschl * @since 2.0 */ @FunctionalInterface @SuppressWarnings("java:S119") // Naming of type arguments public interface ForwardCollectionTransformer { /** * Transforms a Collection of FROM to a Collection of TO * * @param collection the collection to be transformed * @return the resulting collection */ Collection transformFromCollection(Collection collection); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy