add public function arrowType() and num()
Merge pull request #87 from younghz/master

add public function arrowType() and num()