Quantcast
Channel: list
Browsing all 11 articles
Browse latest View live

Scala: Generating a sequence/list of all ASCII printable characters

Scala: Generating a sequence/list of all ASCII printable characters By Alvin Alexander. Last updated: February 7 2019 I ran into a couple of interesting things today when trying to generate random...

View Article



How to create an RxJava 2 Observable from a Java List

How to create an RxJava 2 Observable from a Java List By Alvin Alexander. Last updated: March 3 2019 As a brief note, here’s an example that shows how to create an RxJava 2 Observable from a Java List:

View Article

A large list of people’s given names, sorted for Java/Kotlin/Scala testing

A large list of people’s given names, sorted for Java/Kotlin/Scala testing By Alvin Alexander. Last updated: March 9 2019 If for some reason you ever need a list of people’s given names for testing...

View Article

Java: Examples of the Java list/array `subList` method (list subset)

Java: Examples of the Java list/array `subList` method (list subset) By Alvin Alexander. Last updated: June 27 2019 As a little note today, if you ever need to extract a subset of a Java list or...

View Article

Java: A Java list `tail` function (for ArrayList, LinkedList, etc.)

Java: A Java list `tail` function (for ArrayList, LinkedList, etc.) By Alvin Alexander. Last updated: July 14 2019 As a brief note today, I was working on a Java/Android application recently, and I...

View Article


A Scala method to write a list of strings to a file

A Scala method to write a list of strings to a file By Alvin Alexander. Last updated: July 6 2019 As a brief note today, here’s a Scala method that writes the strings in a list — more accurately, a...

View Article

A “Minority Report” Monte Carlo simulation in Scala

A “Minority Report” Monte Carlo simulation in Scala By Alvin Alexander. Last updated: August 13 2019 This article shares the source code for a Monte Carlo simulation that I wrote in Scala. It was...

View Article

How to drop the first matching element in a Scala sequence

How to drop the first matching element in a Scala sequence By Alvin Alexander. Last updated: August 21 2019 Summary: This blog post shows one way to drop/filter the first matching element from a Scala...

View Article


An example of a Flutter RadioListTile in a ListView

An example of a Flutter RadioListTile in a ListView By Alvin Alexander. Last updated: September 16 2019 Here’s a little example of a Flutter time preferences widget, something I’ll be using in the new...

View Article


A Dart function to return a random element from a list

A Dart function to return a random element from a list By Alvin Alexander. Last updated: September 23 2019 If you need to get a random element from a list in Dart, I can confirm this this...

View Article

Starting to write an immutable singly-linked list in Scala

Starting to write an immutable singly-linked list in ScalaalvinFebruary 25, 2020 - 3:10pmRead more about Starting to write an immutable singly-linked list in ScalaLog in to post commentsTable of...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images