diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-11-17 20:04:03 -0500 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-11-17 20:04:03 -0500 |
| commit | c6086a8752fa86ee4fb238a5c7b0ccff388a2233 (patch) | |
| tree | 34ef1ebced4d2be48e627f814eb6cd9022cc2356 /src/test/java/bjc/TestUtils.java | |
| parent | 41e2c9e80b18620aaa9a23f759064bf058ad980e (diff) | |
Add static function for constructing IMap more easily
Added a static function 'of' to IMap to allow you to more easily create
a map from a list of key-value pairs. However, misuse of this method can
result in getting ClassCastExceptions at some later point, because it
has to use Object var-args + an unsafe generic cast.
So, be careful, I suppose; and please make sure your argument types are
correct.
Diffstat (limited to 'src/test/java/bjc/TestUtils.java')
0 files changed, 0 insertions, 0 deletions
