cn.woodwhales.common.business.collection.CollectionMath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodwhales-common Show documentation
Show all versions of woodwhales-common Show documentation
https://github.com/woodwhales
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