Package org.djutils.immutablecollections
Class TestImmutableList
java.lang.Object
org.djutils.immutablecollections.TestImmutableList
Test immutable list.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the ImmutableHashMap class.void
Test the immutable list class.void
testOf()
test the of() methods.
-
Field Details
-
sum
int sumAccumulator for forEach test.
-
-
Constructor Details
-
TestImmutableList
public TestImmutableList()
-
-
Method Details
-
testImmutableList
@Test public void testImmutableList()Test the immutable list class. -
testImmutableHashSet
@Test public void testImmutableHashSet()Test the ImmutableHashMap class. -
testOf
@Test public void testOf()test the of() methods.
-