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

Method timeToHitVerticalWall

code/algs4/Particle.java:144–148  ·  view source on GitHub ↗

Returns the amount of time for this particle to collide with a vertical wall, assuming no interening collisions. @return the amount of time for this particle to collide with a vertical wall, assuming no interening collisions; Double.POSITIVE_INFINITY if the particle will not

()

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