UniqMap implementation.

Authored by ezyang on Mar 19 2017, 5:24 PM.