private HamtPMap < K , V > getChild ( int bit ) { return ( mask & bit ) != 0 ? children [ index ( bit ) ] : null ; }
Returns the child for the given bit which must have exactly one bit set . Returns null if there is no child for that bit .