Record Class Partition<T>
java.lang.Object
java.lang.Record
com.sure.tool.collection.Partition<T>
- Type Parameters:
T- 元素类型- Record Components:
matched- 匹配谓词的元素列表(可为空列表,不为null)unmatched- 不匹配谓词的元素列表(可为空列表,不为null)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Partition
-
-
Method Details
-
matched
-
unmatched
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
-