File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ A collection of Value Objects to save time by generalizing types and format vali
2525 * [ Nullable Uuid4] ( #nullable-uuid4 )
2626 * [ Date value-objects] ( #date-value-objects )
2727 * [ ISO Date] ( #iso-date )
28+ * [ Data Structures value-objects] ( #data-structures-value-objects )
29+ * [ ArrayList] ( #arraylist )
2830 * [ Security value-objects] ( #security-value-objects )
2931 * [ CVE] ( #cve )
3032 * [ Nullable CVE] ( #nullable-cve )
@@ -175,6 +177,21 @@ my_date = IsoDate('2023-08-15T04:55:12.076Z')
175177my_date.value() # returns -> '2023-08-15T04:55:12.076Z'
176178```
177179
180+ ## Data structures value-objects
181+
182+ ### ArrayList
183+
184+ ``` python
185+ from pyvalueobjects import ArrayList
186+ from pyvalueobjects import Int
187+
188+ # Creation
189+ my_int_array = ArrayList(Int)([39 ])
190+
191+ # Getting raw value
192+ my_int_array.value() # returns -> [39]
193+ ```
194+
178195## Security value-objects
179196
180197### CVE
You can’t perform that action at this time.
0 commit comments