SizeEstimator

SizeEstimator is…​FIXME

estimate Method

estimate(obj: AnyRef): Long (1)
// Internal
estimate(obj: AnyRef, visited: IdentityHashMap[AnyRef, AnyRef]): Long
  1. Uses estimate with an empty IdentityHashMap

estimate…​FIXME

Note

estimate is used when:

sampleArray Internal Method

sampleArray(
  array: AnyRef,
  state: SearchState,
  rand: Random,
  drawn: OpenHashSet[Int],
  length: Int): Long

sampleArray…​FIXME

Note
sampleArray is used when…​FIXME

visitSingleObject Internal Method

visitSingleObject(obj: AnyRef, state: SearchState): Unit

visitSingleObject…​FIXME

Note
visitSingleObject is used exclusively when SizeEstimator is requested to estimate.

results matching ""

    No results matching ""