Those are female, or complete flowers. Can't tell without seeing directly inside the flower, but you do have a fruit that has formed, so if it keeps on developing, then you had pollination happen, which means your tree is self-pollinating.
Male flowers are much smaller, and are in a spray or panicle that hangs down from the tree's stem. They're pretty and fragrant too. So IF that fruit you have there withers up and falls off, it's possible your tree is female. You'd need to grow another tree, a male to ensure pollination.