Skip to content

Tag: functional-programming

zip function for Java

Is there some standard API or established third party library (I am thinking commons or Guava) that provides in Java the equivalent of zip or map vector function in languages like Ruby or Clojure? So the signature (for two collections) would be: where Pair would also be presumably defined in that library. I k…