cost

abstract fun cost(): Long

Get an estimate of the Scorer that would be returned by .get. This may be a costly operation, so it should only be called if necessary.

See also