functional-java Questions

5

I need to count the number of vowels in a list of words in Functional Java. If I have this list: List<String> l = Arrays.asList("hello", "world", "test"); My idea was to "delete" the vowe...
Supplication asked 31/1, 2020 at 17:10

6

Solved

I would love to use closures in Java. I have read that they may or may not make it into Java 7. But an open-source project called functional-java has implemented functional features including closu...
Infusionism asked 20/4, 2009 at 3:11

3

Solved

I have a hibernate-mapped Java object, JKL, which is full of a bunch of normal hibernate-mappable fields (like strings and integers). I'm added a new embedded field to it (which lives in the same t...
Pullman asked 15/5, 2012 at 16:17

1

Solved

I know one of the goals of pure functional programming is to eliminate mutability, and therefore to preclude side-effects. But let's face it, Java is not a functional language even with all of the ...

3

Solved

I'd like to use either Functional Java or Guava (or less likely Scala) in a course I'll be teaching. Although there are lots of functional languages that run on the JVM I'd like to stick to somethi...
Manners asked 22/12, 2011 at 20:16

2

Solved

FunctionJava's List class has a snoc method that does append: snoc The description is as follows: Appends (snoc) the given element to this list to produce a new list. What does the word "snoc...
Noshow asked 6/10, 2011 at 12:32

1

Solved

I was reading the following question - How safe would it be to use functional-java to add closures to a Java production project? and I had been thinking of using the Functional Java project as well...
Alodee asked 20/4, 2009 at 3:34
1

© 2022 - 2024 — McMap. All rights reserved.