vanadium / issues

Vanadium issue tracker
1 stars 1 forks source link

Vanadium Java Options class removal proposal #929

Open AsturaPhoenix opened 9 years ago

AsturaPhoenix commented 9 years ago

The io.v.v23.Options class is more or less a Map except it has a moderately typesafe getter (equivalent to and actually a few characters longer than (type)options.get(key) (with a moderately nicer-formatted RuntimeException rather than a ClassCastException, which arguably is more appropriately typed).

asMap providing a snapshot is a nice feature but is trivial w.r.t. ImmutableMap.copyOf and there is no inverse operation.

Are there further plans for this type in the future?

asimshankar commented 8 years ago

CC @sjamesr and @spetrovic77