Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RoundDown {
- public int mapObject(final double d) {
- return (int) d;
- }
- public Function<Integer, Integer> mapMorphism(final Function<Double, Double> m) {
- return i -> (int) m.apply((double) i);
- }
- }
Add Comment
Please, Sign In to add comment