code: public static Optional<Entity> randomEntity(final EntityContainer container) {
  	return randomEntity0(container.streamEntities(), container.getEntityCount());
      }
docs: Gets a random entity from the container (if there is one).
  
  @param container
  Source container.
  @return Random entity (if found).