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

cn.woodwhales.common.business.collection.CollectionMath Maven / Gradle / Ivy

There is a newer version: 3.8.3
Show newest version
package cn.woodwhales.common.business.collection;

import java.util.List;
import java.util.Set;

/**
 * @author woodwhales
 * 2020-12-13 22:00
 */
public interface CollectionMath {

    /**
     * 交集
     * @return 交集
     */
    Set> getIntersectionSet();

    /**
     * 交集
     * @return 交集
     */
    Set getIntersectionKeySet();

    /**
     * 并集
     * @return 并集
     */
    Set getUnionKeySet();

    /**
     * 并集
     * @return 并集
     */
    Set> getUnionSet();

    /**
     * 正差集
     * @return 正差集
     */
    Set getPositiveDifferenceKeySet();

    /**
     * 正差集
     * @return 正差集
     */
    List getPositiveDifferenceList();

    /**
     * 正差集
     * @return 正差集
     */
    Set> getPositiveDifferenceSet();

    /**
     * 负差集
     * @return 负差集
     */
    Set getNegativeDifferenceKeySet();

    /**
     * 负差集
     * @return 负差集
     */
    List getNegativeDifferenceList();

    /**
     * 负差集
     * @return 负差集
     */
    Set> getNegativeDifferenceSet();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy