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 SummaryFields Modifier and Type Field Description (package private) intsumAccumulator for forEach test.
- 
Constructor SummaryConstructors Constructor Description TestImmutableList()
- 
Method SummaryModifier and Type Method Description voidtestImmutableHashSet()Test the ImmutableHashMap class.voidtestImmutableList()Test the immutable list class.voidtestOf()test the of() methods.
- 
Field Details- 
sumint sumAccumulator for forEach test.
 
- 
- 
Constructor Details- 
TestImmutableListpublic TestImmutableList()
 
- 
- 
Method Details- 
testImmutableListpublic void testImmutableList()Test the immutable list class.
- 
testImmutableHashSetpublic void testImmutableHashSet()Test the ImmutableHashMap class.
- 
testOfpublic void testOf()test the of() methods.
 
-