Skip to content

Instantly share code, notes, and snippets.

@cberez
cberez / enrich_scala_lists_in_java.java
Created August 18, 2017 09:31
How to: enrich / contat scala immutable lists from Java
package test;
import scala.collection.mutable.ListBuffer;
import scala.collection.immutable.List;
public class Demo {
public static void main(String[] args) {
List immutable = new List();
ListBuffer mutable = new ListBuffer();
ListBuffer mutable2 = new ListBuffer();

Keybase proof

I hereby claim:

  • I am cberez on github.
  • I am cberez (https://keybase.io/cberez) on keybase.
  • I have a public key ASArjGR7Ay1e6KsKHA7SMaD9ag9AcKr3BY1RsTVA7hC7zgo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 16ZEtJkYgwwQEk6NeYbKvA17MjwRS3DgUk https://explorer.blockstack.org/address/16ZEtJkYgwwQEk6NeYbKvA17MjwRS3DgUk