Package org.apache.calcite.util
Class ChunkListTest
- java.lang.Object
-
- org.apache.calcite.util.ChunkListTest
-
public class ChunkListTest extends java.lang.Object
Unit and performance test forChunkList
.
-
-
Constructor Summary
Constructors Constructor Description ChunkListTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkListClear(int n)
(package private) void
checkRandom(java.util.Random random, org.apache.calcite.util.ChunkList<java.lang.Integer> list, java.util.List<java.lang.Integer> list2, int iterationCount)
void
testChunkList()
Unit test forChunkList
.void
testClear()
Clears lists of various sizes.void
testIterator()
Removing via an iterator.void
testPerformance()
void
testRandom()
Unit test forChunkList
that applies random operations.
-
-
-
Method Detail
-
testChunkList
public void testChunkList()
Unit test forChunkList
.
-
testClear
public void testClear()
Clears lists of various sizes.
-
checkListClear
private void checkListClear(int n)
-
testIterator
public void testIterator()
Removing via an iterator.
-
testRandom
public void testRandom()
Unit test forChunkList
that applies random operations.
-
checkRandom
void checkRandom(java.util.Random random, org.apache.calcite.util.ChunkList<java.lang.Integer> list, java.util.List<java.lang.Integer> list2, int iterationCount)
-
testPerformance
public void testPerformance()
-
-