diff --git a/ReadMe.md b/ReadMe.md
index f674fd1b..eb844a10 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -30,7 +30,7 @@ Get the library from Maven Central.
Gradle:
```
-api 'org.magicwerk.brownies:brownies-collections:0.9.20'
+api 'org.magicwerk.brownies:brownies-collections:0.9.21'
```
Maven:
@@ -39,6 +39,6 @@ Maven:
Test | Run at | Duration | Status |
---|---|---|---|
testAsMap | 20.08.2022 01:23:39 | 0.029s | |
testCloneCopyCrop | 14.10.2022 14:20:29 | 0.024s | |
testExtends | 07.12.2017 00:45:14 | 0.029s | |
testInvalidate | 18.08.2015 01:56:07 | 0.076s | |
testKey2List | 18.08.2015 01:56:07 | 0.022s |
Run at: 20.08.2022 01:23:39, Duration: 0.029s
Step | Output | Status |
---|---|---|
1 | [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=2, extId=extId2, text=text2], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [1, 2, 3, 4] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [MapEntry [key=1, value=Ticket [id=1, extId=extId1, text=text1]], MapEntry [key=2, value=Ticket [id=2, extId=extId2, text=text2]], MapEntry [key=3, value=Ticket [id=3, extId=extId3, text=text3]], MapEntry [key=4, value=Ticket [id=4, extId=extId4, text=text4]]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=2, extId=extId2, text=text2], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [extId4, extId2, extId3, extId1] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [MapEntry [key=extId4, value=Ticket [id=4, extId=extId4, text=text4]], MapEntry [key=extId2, value=Ticket [id=2, extId=extId2, text=text2]], MapEntry [key=extId3, value=Ticket [id=3, extId=extId3, text=text3]], MapEntry [key=extId1, value=Ticket [id=1, extId=extId1, text=text1]]] | OK |
Run at: 14.10.2022 14:20:29, Duration: 0.024s
Step | Output | Status |
---|---|---|
1 | Orig: [1, 2, 3, 4] - Clone: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Clone (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Clone (changed): [1, 2, 3, 4, 5] - Copy: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Copy (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Copy (changed): [1, 2, 3, 4, 5] - Crop: [] Orig (changed): [1, 2, 3, 4, 5] Crop (unchanged): [] Orig (unchanged): [1, 2, 3, 4] Crop (changed): [5] Orig: [1, 2, 3, 4] - Clone: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Clone (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Clone (changed): [1, 2, 3, 4, 5] - Copy: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Copy (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Copy (changed): [1, 2, 3, 4, 5] - Crop: [] Orig (changed): [1, 2, 3, 4, 5] Crop (unchanged): [] Orig (unchanged): [1, 2, 3, 4] Crop (changed): [5] | OK |
Trace class: org.magicwerk.brownies.collections.Key2ListTest$TicketList
Trace method: /.*/
Run at: 07.12.2017 00:45:14, Duration: 0.029s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Key2ListTest$TicketList | { } | OK | ||||||||||
2 | add |
|
| OK | |||||||||
3 | clone |
|
| OK | |||||||||
4 | copy |
|
| OK | |||||||||
5 | crop |
|
| OK |
Trace class: org.magicwerk.brownies.collections.Key2List
Trace method: /.*/
Run at: 18.08.2015 01:56:07, Duration: 0.076s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | add |
|
| OK | |||||||||
2 | add |
|
| OK | |||||||||
3 | add |
|
| OK | |||||||||
4 | add |
|
| OK | |||||||||
5 | getByKey1 |
|
| OK | |||||||||
6 | invalidate |
|
| OK | |||||||||
7 | getByKey1 |
|
| OK | |||||||||
8 | getByKey1 |
|
| OK | |||||||||
9 | invalidateKey1 |
|
| OK | |||||||||
10 | getByKey1 |
|
| OK | |||||||||
11 | getByKey2 |
|
| OK | |||||||||
12 | invalidateKey2 |
|
| OK | |||||||||
13 | getByKey2 |
|
| OK | |||||||||
14 | add |
|
| OK | |||||||||
15 | add |
|
| OK | |||||||||
16 | add |
|
| OK | |||||||||
17 | add |
|
| OK | |||||||||
18 | getByKey1 |
|
| OK | |||||||||
19 | invalidate |
|
| OK | |||||||||
20 | getByKey1 |
|
| OK | |||||||||
21 | getByKey1 |
|
| OK | |||||||||
22 | invalidateKey1 |
|
| OK | |||||||||
23 | getByKey1 |
|
| OK | |||||||||
24 | getByKey2 |
|
| OK | |||||||||
25 | invalidateKey2 |
|
| OK | |||||||||
26 | getByKey2 |
|
| OK |
Trace class: org.magicwerk.brownies.collections.Key2List
Trace method: /.+/
Run at: 18.08.2015 01:56:07, Duration: 0.022s
Step | Description | Parameters | Result | Error | Status | ||||
---|---|---|---|---|---|---|---|---|---|
1 | add |
| true | OK | |||||
2 | add |
| true | OK | |||||
3 | add |
| true | OK | |||||
4 | add |
| true | OK | |||||
5 | getByKey1 |
| Ticket [id=1, extId=ExtId1, text=Ticket1] | OK | |||||
6 | getByKey2 |
| Ticket [id=3, extId=ExtId3, text=Ticket3] | OK | |||||
7 | add |
| org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: 1 | OK | |||||
8 | add |
| org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: ExtId3 | OK | |||||
9 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null key not allowed | OK | |||||
10 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null element not allowed | OK | |||||
11 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: element not allowed | OK | |||||
12 | removeByKey1 |
| Ticket [id=1, extId=ExtId1, text=Ticket1] | OK |
Test | Run at | Duration | Status |
---|---|---|---|
testAsMap | 20.08.2022 01:23:39 | 0.029s | |
testCloneCopyCrop | 14.10.2022 14:20:29 | 0.024s | |
testExtends | 07.12.2017 00:45:14 | 0.029s | |
testInvalidate | 18.08.2015 01:56:07 | 0.076s | |
testKey2List | 18.08.2015 01:56:07 | 0.022s | |
testRemoveAllByKey1 | 26.05.2023 14:11:17 | 0.007s |
Run at: 20.08.2022 01:23:39, Duration: 0.029s
Step | Output | Status |
---|---|---|
1 | [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=2, extId=extId2, text=text2], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [1, 2, 3, 4] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [MapEntry [key=1, value=Ticket [id=1, extId=extId1, text=text1]], MapEntry [key=2, value=Ticket [id=2, extId=extId2, text=text2]], MapEntry [key=3, value=Ticket [id=3, extId=extId3, text=text3]], MapEntry [key=4, value=Ticket [id=4, extId=extId4, text=text4]]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=2, extId=extId2, text=text2], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [extId4, extId2, extId3, extId1] [Ticket [id=1, extId=extId1, text=text1], Ticket [id=3, extId=extId3, text=text3], Ticket [id=4, extId=extId4, text=text4], Ticket [id=2, extId=extId2, text=text2]] [MapEntry [key=extId4, value=Ticket [id=4, extId=extId4, text=text4]], MapEntry [key=extId2, value=Ticket [id=2, extId=extId2, text=text2]], MapEntry [key=extId3, value=Ticket [id=3, extId=extId3, text=text3]], MapEntry [key=extId1, value=Ticket [id=1, extId=extId1, text=text1]]] | OK |
Run at: 14.10.2022 14:20:29, Duration: 0.024s
Step | Output | Status |
---|---|---|
1 | Orig: [1, 2, 3, 4] - Clone: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Clone (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Clone (changed): [1, 2, 3, 4, 5] - Copy: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Copy (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Copy (changed): [1, 2, 3, 4, 5] - Crop: [] Orig (changed): [1, 2, 3, 4, 5] Crop (unchanged): [] Orig (unchanged): [1, 2, 3, 4] Crop (changed): [5] Orig: [1, 2, 3, 4] - Clone: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Clone (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Clone (changed): [1, 2, 3, 4, 5] - Copy: [1, 2, 3, 4] Orig (changed): [1, 2, 3, 4, 5] Copy (unchanged): [1, 2, 3, 4] Orig (unchanged): [1, 2, 3, 4] Copy (changed): [1, 2, 3, 4, 5] - Crop: [] Orig (changed): [1, 2, 3, 4, 5] Crop (unchanged): [] Orig (unchanged): [1, 2, 3, 4] Crop (changed): [5] | OK |
Trace class: org.magicwerk.brownies.collections.Key2ListTest$TicketList
Trace method: /.*/
Run at: 07.12.2017 00:45:14, Duration: 0.029s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Key2ListTest$TicketList | { } | OK | ||||||||||
2 | add |
|
| OK | |||||||||
3 | clone |
|
| OK | |||||||||
4 | copy |
|
| OK | |||||||||
5 | crop |
|
| OK |
Trace class: org.magicwerk.brownies.collections.Key2List
Trace method: /.*/
Run at: 18.08.2015 01:56:07, Duration: 0.076s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | add |
|
| OK | |||||||||
2 | add |
|
| OK | |||||||||
3 | add |
|
| OK | |||||||||
4 | add |
|
| OK | |||||||||
5 | getByKey1 |
|
| OK | |||||||||
6 | invalidate |
|
| OK | |||||||||
7 | getByKey1 |
|
| OK | |||||||||
8 | getByKey1 |
|
| OK | |||||||||
9 | invalidateKey1 |
|
| OK | |||||||||
10 | getByKey1 |
|
| OK | |||||||||
11 | getByKey2 |
|
| OK | |||||||||
12 | invalidateKey2 |
|
| OK | |||||||||
13 | getByKey2 |
|
| OK | |||||||||
14 | add |
|
| OK | |||||||||
15 | add |
|
| OK | |||||||||
16 | add |
|
| OK | |||||||||
17 | add |
|
| OK | |||||||||
18 | getByKey1 |
|
| OK | |||||||||
19 | invalidate |
|
| OK | |||||||||
20 | getByKey1 |
|
| OK | |||||||||
21 | getByKey1 |
|
| OK | |||||||||
22 | invalidateKey1 |
|
| OK | |||||||||
23 | getByKey1 |
|
| OK | |||||||||
24 | getByKey2 |
|
| OK | |||||||||
25 | invalidateKey2 |
|
| OK | |||||||||
26 | getByKey2 |
|
| OK |
Trace class: org.magicwerk.brownies.collections.Key2List
Trace method: /.+/
Run at: 18.08.2015 01:56:07, Duration: 0.022s
Step | Description | Parameters | Result | Error | Status | ||||
---|---|---|---|---|---|---|---|---|---|
1 | add |
| true | OK | |||||
2 | add |
| true | OK | |||||
3 | add |
| true | OK | |||||
4 | add |
| true | OK | |||||
5 | getByKey1 |
| Ticket [id=1, extId=ExtId1, text=Ticket1] | OK | |||||
6 | getByKey2 |
| Ticket [id=3, extId=ExtId3, text=Ticket3] | OK | |||||
7 | add |
| org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: 1 | OK | |||||
8 | add |
| org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: ExtId3 | OK | |||||
9 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null key not allowed | OK | |||||
10 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null element not allowed | OK | |||||
11 | add |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: element not allowed | OK | |||||
12 | removeByKey1 |
| Ticket [id=1, extId=ExtId1, text=Ticket1] | OK |
Trace class: org.magicwerk.brownies.collections.Key2List
Trace method: removeAllByKey1
Run at: 26.05.2023 14:11:17, Duration: 0.007s
Step | Description | Parameters | Result | Error | Status |
---|---|---|---|---|---|
1 | removeAllByKey1 | "A" | { [A, B1], [A, B2] } | OK |
Test | Run at | Duration | Status |
---|---|---|---|
testAsPrimaryKey | 10.01.2015 11:30:19 | 0.033s | |
testAsSet | 10.01.2015 11:30:20 | 0.003s | |
testAsSetWithNoNulls | 10.01.2015 11:30:20 | 0.002s | |
testAsSortedCollection | 08.10.2013 01:32:55 | 0.004s | |
testAsSortedCollectionByComparable | 08.10.2013 01:32:55 | 0.002s | |
testAsSortedCollectionWithNull | 08.10.2013 01:32:55 | 0.001s | |
testAsSortedSet | 05.12.2014 17:44:47 | 0.002s | |
testAsSortedSetWithDuplicates | 08.10.2013 01:32:56 | 0.002s | |
testAsSortedSetWithNulls | 08.10.2013 01:32:56 | 0.002s | |
testAsSortedSetWithNullsFirst | 08.10.2013 01:32:56 | 0.002s | |
testAsUniqueKey | 10.01.2015 11:30:24 | 0.002s | |
testClone | 10.01.2015 11:30:25 | 0.002s | |
testCopy | 10.01.2015 11:30:25 | 0.002s | |
testCrop | 10.01.2015 11:30:26 | 0.002s | |
testElemCount | 22.01.2022 01:10:24 | 0.062s | |
testEquals | 15.12.2022 17:17:17 | 0.001s | |
testIterator | 05.01.2019 14:21:22 | 0.029s | |
testKey | 10.01.2015 18:10:57 | 0.018s | |
testNew | 08.10.2013 01:32:58 | 0.000s | |
testPut | 11.09.2015 23:58:22 | 0.070s | |
testRemove | 10.01.2015 11:30:28 | 0.001s |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:19, Duration: 0.033s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
5 | add | null | org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null element not allowed | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:20, Duration: 0.003s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | a (0) |
| OK | |||
2 | add | b (1) |
| OK | |||
3 | add | a (2) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: a (2) | OK | |||
4 | add | null |
| OK | |||
5 | add | null | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: null | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:20, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | a (0) |
| OK | |||
2 | add | b (1) |
| OK | |||
3 | add | a (2) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: a (2) | OK | |||
4 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.004s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null | java.lang.NullPointerException | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.001s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 05.12.2014 17:44:47, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | null |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) |
| OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | null |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) |
| OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:24, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | null |
| OK | |||
3 | add | a (1) |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: clone
Run at: 10.01.2015 11:30:25, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | clone |
|
| OK | |||||||
2 | clone |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: copy
Run at: 10.01.2015 11:30:25, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | copy |
|
| OK | |||||||
2 | copy |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: crop
Run at: 10.01.2015 11:30:26, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | crop |
|
| OK | |||||||
2 | crop |
|
| OK |
Run at: 22.01.2022 01:10:24, Duration: 0.062s
Step | Output | Status |
---|---|---|
1 | withElemCount(false): [aa (3), b (2), d (0), d (1)] withElemCount(true): [b (2), d (0), d (0), aa (3)] countedElems: {aa (3)=1, b (2)=1, d (0)=2} removed(d): [b (2), d (0), aa (3)] removed(d): [b (2), aa (3)] removed(d): [b (2), aa (3)] | OK |
Run at: 15.12.2022 17:17:17, Duration: 0.001s
Step | Output | Status |
---|---|---|
1 | equals([a, b], [a, b]): true equals([a, b], [b, a]): true equals([a], [a, a]): false equals([a, a, b], [a, b, b]): false equals([a, b], [a, b]): true equals([a, b], [b, a]): true equals([a], [a, a]): false equals([a, a, b], [a, b, b]): false | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: iterator
Run at: 05.01.2019 14:21:22, Duration: 0.029s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | iterator |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: /.+/
Run at: 10.01.2015 18:10:57, Duration: 0.018s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | getAll |
|
| OK | |||||||||
2 | getCount |
|
| OK | |||||||||
3 | getDistinct |
|
| OK | |||||||||
4 | getAll |
|
| OK | |||||||||
5 | getCount |
|
| OK | |||||||||
6 | remove |
|
| OK | |||||||||
7 | removeAll |
|
| OK | |||||||||
8 | getAll |
|
| OK | |||||||||
9 | getCount |
|
| OK | |||||||||
10 | remove |
|
| OK | |||||||||
11 | removeAll |
|
| OK | |||||||||
12 | remove |
|
| OK | |||||||||
13 | removeAll |
|
| OK | |||||||||
14 | remove |
|
| OK | |||||||||
15 | removeAll |
|
| OK | |||||||||
16 | add |
|
| OK | |||||||||
17 | removeAll |
|
| OK | |||||||||
18 | -- Sort -- | OK | |||||||||||
19 | getAll |
|
| OK | |||||||||
20 | getCount |
|
| OK | |||||||||
21 | getDistinct |
|
| OK | |||||||||
22 | getAll |
|
| OK | |||||||||
23 | getCount |
|
| OK | |||||||||
24 | remove |
|
| OK | |||||||||
25 | removeAll |
|
| OK | |||||||||
26 | getAll |
|
| OK | |||||||||
27 | getCount |
|
| OK | |||||||||
28 | remove |
|
| OK | |||||||||
29 | removeAll |
|
| OK | |||||||||
30 | remove |
|
| OK | |||||||||
31 | removeAll |
|
| OK | |||||||||
32 | add |
|
| OK | |||||||||
33 | removeAll |
|
| OK | |||||||||
34 | -- Null -- | OK | |||||||||||
35 | getAll |
|
| OK | |||||||||
36 | getCount |
|
| OK | |||||||||
37 | remove |
|
| OK | |||||||||
38 | removeAll |
|
| OK | |||||||||
39 | -- NullSort -- | OK | |||||||||||
40 | getAll |
|
| OK | |||||||||
41 | getCount |
|
| OK | |||||||||
42 | remove |
|
| OK | |||||||||
43 | removeAll |
|
| OK |
Trace class: org.magicwerk.brownies.collections.BagCollection$Builder
Trace method: build
Run at: 08.10.2013 01:32:58, Duration: 0.000s
Step | Description | Parameters | Result | Error | Status |
---|
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: put
Run at: 11.09.2015 23:58:22, Duration: 0.070s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | put (sorted, no duplicates) |
|
| OK | |||||||||
2 | put (sorted, no duplicates) |
|
| OK | |||||||||
3 | put (sorted, duplicates) |
|
| OK | |||||||||
4 | put (sorted, duplicates) |
|
| OK | |||||||||
5 | put (not sorted, no duplicates) |
|
| OK | |||||||||
6 | put (not sorted, no duplicates) |
|
| OK | |||||||||
7 | put (not sorted, duplicates) |
|
| OK | |||||||||
8 | put (not sorted, duplicates) |
|
| OK | |||||||||
9 | put (not sorted, duplicates) |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: element not allowed | OK | |||||||||
10 | put (not sorted, duplicates) |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: remove
Run at: 10.01.2015 11:30:28, Duration: 0.001s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | remove |
|
| OK | |||||||||
2 | remove |
|
| OK |
Test | Run at | Duration | Status |
---|---|---|---|
testAsPrimaryKey | 10.01.2015 11:30:19 | 0.033s | |
testAsSet | 10.01.2015 11:30:20 | 0.003s | |
testAsSetWithNoNulls | 10.01.2015 11:30:20 | 0.002s | |
testAsSortedCollection | 08.10.2013 01:32:55 | 0.004s | |
testAsSortedCollectionByComparable | 08.10.2013 01:32:55 | 0.002s | |
testAsSortedCollectionWithNull | 08.10.2013 01:32:55 | 0.001s | |
testAsSortedSet | 05.12.2014 17:44:47 | 0.002s | |
testAsSortedSetWithDuplicates | 08.10.2013 01:32:56 | 0.002s | |
testAsSortedSetWithNulls | 08.10.2013 01:32:56 | 0.002s | |
testAsSortedSetWithNullsFirst | 08.10.2013 01:32:56 | 0.002s | |
testAsUniqueKey | 10.01.2015 11:30:24 | 0.002s | |
testClone | 10.01.2015 11:30:25 | 0.002s | |
testCopy | 10.01.2015 11:30:25 | 0.002s | |
testCrop | 10.01.2015 11:30:26 | 0.002s | |
testElemCount | 22.01.2022 01:10:24 | 0.062s | |
testEquals | 15.12.2022 17:17:17 | 0.001s | |
testIterator | 05.01.2019 14:21:22 | 0.029s | |
testKey | 28.05.2023 23:44:47 | 0.059s | |
testNew | 08.10.2013 01:32:58 | 0.000s | |
testPut | 11.09.2015 23:58:22 | 0.070s | |
testRemove | 10.01.2015 11:30:28 | 0.001s |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:19, Duration: 0.033s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
5 | add | null | org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: null element not allowed | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:20, Duration: 0.003s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | a (0) |
| OK | |||
2 | add | b (1) |
| OK | |||
3 | add | a (2) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: a (2) | OK | |||
4 | add | null |
| OK | |||
5 | add | null | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: null | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:20, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | a (0) |
| OK | |||
2 | add | b (1) |
| OK | |||
3 | add | a (2) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: a (2) | OK | |||
4 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.004s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null | java.lang.NullPointerException | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:55, Duration: 0.001s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 05.12.2014 17:44:47, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | b (2) |
| OK | |||
4 | add | b (3) |
| OK | |||
5 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | null |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) |
| OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 08.10.2013 01:32:56, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | a (1) |
| OK | |||
3 | add | null |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) |
| OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: add
Run at: 10.01.2015 11:30:24, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||
---|---|---|---|---|---|---|---|
1 | add | c (0) |
| OK | |||
2 | add | null |
| OK | |||
3 | add | a (1) |
| OK | |||
4 | add | b (2) |
| OK | |||
5 | add | b (3) | org.magicwerk.brownies.collections.exceptions.DuplicateKeyException: Constraint violation: duplicate key not allowed: b (3) | OK | |||
6 | add | null |
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: clone
Run at: 10.01.2015 11:30:25, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | clone |
|
| OK | |||||||
2 | clone |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: copy
Run at: 10.01.2015 11:30:25, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | copy |
|
| OK | |||||||
2 | copy |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: crop
Run at: 10.01.2015 11:30:26, Duration: 0.002s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | crop |
|
| OK | |||||||
2 | crop |
|
| OK |
Run at: 22.01.2022 01:10:24, Duration: 0.062s
Step | Output | Status |
---|---|---|
1 | withElemCount(false): [aa (3), b (2), d (0), d (1)] withElemCount(true): [b (2), d (0), d (0), aa (3)] countedElems: {aa (3)=1, b (2)=1, d (0)=2} removed(d): [b (2), d (0), aa (3)] removed(d): [b (2), aa (3)] removed(d): [b (2), aa (3)] | OK |
Run at: 15.12.2022 17:17:17, Duration: 0.001s
Step | Output | Status |
---|---|---|
1 | equals([a, b], [a, b]): true equals([a, b], [b, a]): true equals([a], [a, a]): false equals([a, a, b], [a, b, b]): false equals([a, b], [a, b]): true equals([a, b], [b, a]): true equals([a], [a, a]): false equals([a, a, b], [a, b, b]): false | OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: iterator
Run at: 05.01.2019 14:21:22, Duration: 0.029s
Step | Description | Parameters | Result | Error | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | iterator |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: /.+/
Run at: 28.05.2023 23:44:47, Duration: 0.059s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | getAll |
|
| OK | |||||||||
2 | getCount |
|
| OK | |||||||||
3 | getDistinct |
|
| OK | |||||||||
4 | getAll |
|
| OK | |||||||||
5 | getCount |
|
| OK | |||||||||
6 | remove |
|
| OK | |||||||||
7 | removeAll |
|
| OK | |||||||||
8 | getAll |
|
| OK | |||||||||
9 | getCount |
|
| OK | |||||||||
10 | remove |
|
| OK | |||||||||
11 | removeAll |
|
| OK | |||||||||
12 | remove |
|
| OK | |||||||||
13 | removeAll |
|
| OK | |||||||||
14 | remove |
|
| OK | |||||||||
15 | removeAll |
|
| OK | |||||||||
16 | add |
|
| OK | |||||||||
17 | removeAll |
|
| OK | |||||||||
18 | add |
|
| OK | |||||||||
19 | getCount |
|
| OK | |||||||||
20 | add |
|
| OK | |||||||||
21 | getCount |
|
| OK | |||||||||
22 | -- Sort -- | OK | |||||||||||
23 | getAll |
|
| OK | |||||||||
24 | getCount |
|
| OK | |||||||||
25 | getDistinct |
|
| OK | |||||||||
26 | getAll |
|
| OK | |||||||||
27 | getCount |
|
| OK | |||||||||
28 | remove |
|
| OK | |||||||||
29 | removeAll |
|
| OK | |||||||||
30 | getAll |
|
| OK | |||||||||
31 | getCount |
|
| OK | |||||||||
32 | remove |
|
| OK | |||||||||
33 | removeAll |
|
| OK | |||||||||
34 | remove |
|
| OK | |||||||||
35 | removeAll |
|
| OK | |||||||||
36 | add |
|
| OK | |||||||||
37 | removeAll |
|
| OK | |||||||||
38 | -- Null -- | OK | |||||||||||
39 | getAll |
|
| OK | |||||||||
40 | getCount |
|
| OK | |||||||||
41 | remove |
|
| OK | |||||||||
42 | removeAll |
|
| OK | |||||||||
43 | -- NullSort -- | OK | |||||||||||
44 | getAll |
|
| OK | |||||||||
45 | getCount |
|
| OK | |||||||||
46 | remove |
|
| OK | |||||||||
47 | removeAll |
|
| OK |
Trace class: org.magicwerk.brownies.collections.BagCollection$Builder
Trace method: build
Run at: 08.10.2013 01:32:58, Duration: 0.000s
Step | Description | Parameters | Result | Error | Status |
---|
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: put
Run at: 11.09.2015 23:58:22, Duration: 0.070s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | put (sorted, no duplicates) |
|
| OK | |||||||||
2 | put (sorted, no duplicates) |
|
| OK | |||||||||
3 | put (sorted, duplicates) |
|
| OK | |||||||||
4 | put (sorted, duplicates) |
|
| OK | |||||||||
5 | put (not sorted, no duplicates) |
|
| OK | |||||||||
6 | put (not sorted, no duplicates) |
|
| OK | |||||||||
7 | put (not sorted, duplicates) |
|
| OK | |||||||||
8 | put (not sorted, duplicates) |
|
| OK | |||||||||
9 | put (not sorted, duplicates) |
| org.magicwerk.brownies.collections.exceptions.KeyException: Constraint violation: element not allowed | OK | |||||||||
10 | put (not sorted, duplicates) |
|
| OK |
Trace class: org.magicwerk.brownies.collections.KeyCollection
Trace method: remove
Run at: 10.01.2015 11:30:28, Duration: 0.001s
Step | Description | Parameters | Result | Error | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | remove |
|
| OK | |||||||||
2 | remove |
|
| OK |