feat: implement identity finisher() for MyListCollector

This commit is contained in:
Гаджикурбанов Темирлан
2026-08-29 12:12:03 +03:00
parent 02c11a040d
commit fe41b5d67d
@@ -27,4 +27,9 @@ public class MyListCollector <T> implements Collector<T, MyList<T>, MyList<T>>
return list1;
};
}
@Override
public Function<MyList<T>, MyList<T>> finisher()
{
return list -> list;
}
}