aeron-client/src/main/java/io/aeron/Subscription.java
public Image imageBySessionId(final int sessionId)
    {
        Image result = null;

        for (final Image image : images)
        {
            if (sessionId == image.sessionId())
            {
                result = image;
                break;
            }
        }

        return result;
    }
public Image imageBySessionId(final int sessionId)
    {
        Image result = null;

        for (final Image image : images)
        {
            if (sessionId == image.sessionId())
            {
                result = image;
                break;
            }
        }

        return result;
    }
public Image imageBySessionId ( final int sessionId ) { Image result = null ; for ( final Image image : images ) { if ( sessionId == image . sessionId ( ) ) { result = image ; break ; } } return result ; }
Return the {@link Image} associated with the given sessionId.

@param sessionId associated with the {@link Image}.
@return Image associated with the given sessionId or null if no Image exist.
Return the { @link Image } associated with the given sessionId .