Upon the trial of any cause in which any counterclaim or other demand is set up on the part of the State against any person making claim against the State, the court shall, without the intervention of a jury, hear and determine the claim or demand both for and against the State and claimant; and if upon the whole case it finds that the claimant is indebted to the State, it shall render judgment to that effect.
HRS § 661-2
See cross references in preceding section.