Package org.djutils.immutablecollections
Class TestImmutableList
java.lang.Object
org.djutils.immutablecollections.TestImmutableList
public class TestImmutableList extends Object
Test immutable list.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Feb 26, 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields Modifier and Type Field Description (package private) intsumAccumulator for forEach test. -
Constructor Summary
Constructors Constructor Description TestImmutableList() -
Method Summary
Modifier and Type Method Description voidtestImmutableHashSet()Test the ImmutableHashMap class.voidtestImmutableList()Test the immutable list class.voidtestOf()test the of() methods.
-
Field Details
-
sum
int sumAccumulator for forEach test.
-
-
Constructor Details
-
TestImmutableList
public TestImmutableList()
-
-
Method Details
-
testImmutableList
public void testImmutableList()Test the immutable list class. -
testImmutableHashSet
public void testImmutableHashSet()Test the ImmutableHashMap class. -
testOf
public void testOf()test the of() methods.
-