Added contains to binary heap (#5235)
Added contains to binary heap (#5235)

* Added contains to binary heap

Contains() method runs in linear time and does not interfere with any other parts of the binary heap, so I believe it would be a useful addition to the collection. I have personally found a use for it in my own game.

* Fixed spacing issue

Zomby2D/libgdx,alex-dorokhov/libgdx,bladecoder/libgdx,bladecoder/libgdx,bladecoder/libgdx,Zomby2D/libgdx,cypherdare/libgdx,cypherdare/libgdx,MikkelTAndersen/libgdx,tommyettinger/libgdx,MikkelTAndersen/libgdx,MikkelTAndersen/libgdx,libgdx/libgdx,Zomby2D/libgdx,MikkelTAndersen/libgdx,libgdx/libgdx,tommyettinger/libgdx,stinsonga/libgdx,MikkelTAndersen/libgdx,alex-dorokhov/libgdx,NathanSweet/libgdx,alex-dorokhov/libgdx,bladecoder/libgdx,cypherdare/libgdx,MikkelTAndersen/libgdx,tommyettinger/libgdx,cypherdare/libgdx,Zomby2D/libgdx,stinsonga/libgdx,cypherdare/libgdx,libgdx/libgdx,alex-dorokhov/libgdx,libgdx/libgdx,tommyettinger/libgdx,stinsonga/libgdx,alex-dorokhov/libgdx,alex-dorokhov/libgdx,alex-dorokhov/libgdx,libgdx/libgdx,NathanSweet/libgdx,stinsonga/libgdx,NathanSweet/libgdx,Zomby2D/libgdx,bladecoder/libgdx,tommyettinger/libgdx,stinsonga/libgdx,MikkelTAndersen/libgdx,MikkelTAndersen/libgdx,alex-dorokhov/libgdx,NathanSweet/libgdx,NathanSweet/libgdx