
The Leap Ahead Daycare is shown Tuesday, May 23, 2023, in Spanish Fork, Utah. Tobias and another passenger exited the bus through the side door and Fullard exited through the front door, firing his gun again, the transit system said. As Tobias crawled toward the back of the bus, where the two other passengers on board had moved, Fullard fired his gun again from the aisle of the bus. Both men fired their guns “in rapid succession,” although it is unclear who shot first, company spokesperson Brandon Hunter told CNN by phone Saturday.įullard was struck in the arm and Tobias was struck in the abdomen, according to the transit system.ĭramatic video of the encounter shows Fullard stopping the bus and pushing open the shattered driver barrier, as he stands up with his gun still drawn. After about a two-minute exchange, Tobias pulled out a gun and pointed it at Fullard, the transit system said.Īt this time, Fullard also pulled out a firearm, the transit system said. The driver, David Fullard, told Tobias he would have to wait until the next approved stop. This example is being shown just for learning purposes, no one would normally decide to use any of these methods considering that we can use take or drop instead.3 people killed and 5 wounded in shooting at motorcycle rally in Red River, New Mexico We have to remember that Kotlin collections indexes start from zero, that’s why we check for index 4 in the boundaries. We have implemented both take and drop by checking that the index is below or above 4.

`should take first five elements`() ĪssertThat(filtered).containsExactly(10, 7, 3, 33) For example, we’re taking the first five elements in our test below. The first method we’re going to look at is take, we can use this method when we need to take just the first n elements. Photo by John Cameron on Unsplash Kotlin take()
