no message

This commit is contained in:
2025-09-11 20:49:33 +08:00
parent baa5aafe23
commit 6b7555d727
5 changed files with 29 additions and 9 deletions
@@ -1,10 +1,13 @@
package com.mingliqiye.utils.stream;
import java.io.*;
import java.util.List;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
public class InputStreanWrapper extends InputStream implements AutoCloseable {
@Getter
@@ -72,9 +75,9 @@ public class InputStreanWrapper extends InputStream implements AutoCloseable {
* jdk8 兼容实现 jdk9+ <br>
* 请使用 InputStream.transferTo()
*
* @param outputStream
* @param outputStream 输出流
* @return 转换的字节数
* @throws IOException
* @throws IOException IO错误
*/
public long transferToOutputStream(OutputStream outputStream)
throws IOException {
@@ -25,12 +25,13 @@ package com.mingliqiye.utils.stream;
import com.mingliqiye.utils.collection.Lists;
import com.mingliqiye.utils.collection.Maps;
import com.mingliqiye.utils.stream.interfaces.Getable;
import lombok.val;
import org.jetbrains.annotations.NotNull;
import java.util.*;
import java.util.concurrent.ConcurrentMap;
import java.util.function.*;
import java.util.stream.*;
import lombok.val;
import org.jetbrains.annotations.NotNull;
/**
* 自定义的 SuperStream 实现类,用于对集合进行流式操作。
@@ -1430,6 +1431,8 @@ public class SuperStream<T> implements Stream<T> {
* 返回一个收集器,将元素收集到 List 中。
*
* @param <T> 元素类型
* @param <K> Map.Key
* @param <V> Map.Value
* @return 收集器
*/
public static <T extends Map.Entry<K, V>, K, V> Collector<