findByUid

Find an object with uid from a collection and returns it. Returns null if the object can`t be find.

Return

The objects from the collection with the given uid.

Parameters

objects

A collection of objects with uid.

uid

The uid of the object to extract.