A Co Antrim man allegedly struck a rival over the head with a vacuum cleaner and tried to bite his finger off, the High Court heard.