This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package omdb.client; | |
/** | |
* Created by Ivano Pagano on 09/02/16. | |
* | |
* Espone i valori presenti nella risposta json delle API | |
*/ | |
public interface OpenMovie { | |
public String title(); | |
public String year(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fj.* | |
import fj.data.* | |
import static LiftingMiaClasse.* | |
class UsaClasse { | |
//ho importato staticamente i metodi di lifting a funzione per una sintassi piu' scorrevole | |
public static void usa() { | |
Validation<String, Risultato> risultato = faiQuesto() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Joiner { | |
public static void main(String[] args) { | |
System.out.println(String.join("\n", Arrays.asList(args))); | |
System.out.println(String.join("\n", testArgs())); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package it.pagoda5b; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** | |
* Hello world! | |
* | |
*/ | |
public class App { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.iainhull.akka | |
import scala.concurrent.duration._ | |
import akka.actor._ | |
import akka.event.Logging | |
import akka.pattern.ask | |
import akka.util.Timeout | |
import akka.persistence.{PersistentView, AtLeastOnceDelivery, PersistentActor} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scalax.io._ | |
import scalax.file._ | |
import scalax.file.defaultfs._ | |
import scalax.file.LinkOption.NoFollowLinks | |
import scalax.file.PathMatcher.IsDirectory | |
object Counts { | |
type Counter = Map[String, Int] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package patmat | |
/* | |
* This file should be used to generate an easy visualization of huffman trees implemented | |
* during the course of the Coursera "Principles of Functional Programming" class, held by prof.M.Odersky. | |
* | |
* It's intended as an aid to the students. | |
* Take notice that you need to have access to the course material, so it's almost useless for any other purpose. | |
* | |
* To correctly compile you need to have the patmat.Huffman object visible in your class-path. |
NewerOlder