AsyncImage.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:javify 作者:
/**
 * Returns the real image source, if already present. Otherwise, this
 * returns <code>null</code>.
 *
 * @return the real image source, or <code>null</code> if not present
 */
private ImageProducer getRealSource()
{
  synchronized (AsyncImage.this)
    {
      ImageProducer source = realSource;
      if (source == null)
        {
          Image ri = realImage;
          if (ri != null)
            {
              realSource = source = ri.getSource();
            }
        }
      return source;
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号