2016-10-05から1日間の記事一覧
Guavaのcom.google.common.collect.ImmutableSetの利用サンプルです。 ImmutableSetは不変(Immutable)なSetです。 ImmutableSetへのadd等の変更操作を行うとUnsupportedOperationExceptionがスローされます。 以下のAPIなどを利用してImmutableSetを生成し…
Guavaのcom.google.common.collect.ImmutableSetの利用サンプルです。 ImmutableSetは不変(Immutable)なSetです。 ImmutableSetへのadd等の変更操作を行うとUnsupportedOperationExceptionがスローされます。 以下のAPIなどを利用してImmutableSetを生成し…