MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / count

Method count

code/algs4/Particle.java:105–107  ·  view source on GitHub ↗

Returns the number of collisions involving this particle with vertical walls, horizontal walls, or other particles. This is equal to the number of calls to #bounceOff, #bounceOffVerticalWall, and #bounceOffHorizontalWall. @return the number of collisions involving this parti

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected