All posts by Kenji

Java: Difference Between ArrayList and Vector, and the Sample Code

Sorry, this entry is only available in 日本語.

Java には 動的配列 ArrayListVector があります。 (それに加えて LinkedList というのもあります。) いずれも Collection インターフェース、 List インターフェース を実装しており、 使い方はほとんど同じです。 歴史的には Vector のほうが ArrayList よりも先に作られました。

この記事では、 それら2つのクラスの違いと、それを検証するサンプルコードを紹介します。

Continue reading Java: Difference Between ArrayList and Vector, and the Sample Code

Mother’s Day Present in 2019: Good Cheese for Wine

Sorry, this entry is only available in 日本語.

2019年の母の日の贈り物は チーズのオリーブオイル漬けおつまみセット にしました!

Continue reading Mother’s Day Present in 2019: Good Cheese for Wine

Similarity among Binomial, Poisson and Normal Distributions

Binomial Distribution (textrm{Binomial}(m, p)) is similar to Normal and Poisson distributions.

Especially (n) is large, it can be approximated as a normal distribution, according to the central limit theorem.

Let’s see the similarity with graphics.

Continue reading Similarity among Binomial, Poisson and Normal Distributions