|
Akka/Scala example source code file (Message.java)
The Message.java Akka example source code/** * Copyright (C) 2013-2014 Typesafe Inc. <http://www.typesafe.com> */ package docs.io.japi; //#message public class Message { static public class Person { private final String first; private final String last; public Person(String first, String last) { this.first = first; this.last = last; } public String getFirst() { return first; } public String getLast() { return last; } } private final Person[] persons; private final double[] happinessCurve; public Message(Person[] persons, double[] happinessCurve) { this.persons = persons; this.happinessCurve = happinessCurve; } public Person[] getPersons() { return persons; } public double[] getHappinessCurve() { return happinessCurve; } } //#message Other Akka source code examplesHere is a short list of links related to this Akka Message.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.