<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koyachi</author_name>
  <author_url>https://blog.hatena.ne.jp/koyachi/</author_url>
  <blog_title>koyachiの日記</blog_title>
  <blog_url>https://koyachi.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>イテレータはオブジェクトインターフェースの一つで、nextメソッド等でオブジェクトが保持する次の要素を必要な時に取得することができるものです。リスト自体が巨大であったり、リストの生成に時間がかかる場合や、必要となるリストや要素についての情報がわからない場合に、必要量だけ取得できるのがイテレータの利点です。最小値と最大値を指定されたリストを生成し、イテレータで順にその値を取得するオブジェクトの実装について考えてみます。 my $it = upto(7, 11); $n = NEXTVAL( $it ); # $n == 7 push @a, NEXTVAL( $it ) for 1..3; # …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoyachi.hatenadiary.org%2Fentry%2F20060709%2F1152429612&quot; title=&quot;Iterator,Closure v.s. OOP - koyachiの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/41Fukj6rmaL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-07-09 16:20:12</published>
  <title>Iterator,Closure v.s. OOP</title>
  <type>rich</type>
  <url>https://koyachi.hatenadiary.org/entry/20060709/1152429612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
