com.github.TKnudsen.ComplexDataObject.model.processors.utility.UniqueValuesIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of complex-data-object Show documentation
Show all versions of complex-data-object Show documentation
A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.
package com.github.TKnudsen.ComplexDataObject.model.processors.utility;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Iterates over the values of a given attribute stored in the supplied ComplexDataContainer and
* returns a List of all the unique values found.
*
* Assumes that the values to be scanned are stored as lists by each ComplexDataObject.
*
* @author Robert Heimbach
*
* @see AbstractUniqueValuesIdentifier
*/
public class UniqueValuesIdentifier extends AbstractUniqueValuesIdentifier {
@Override
public Set