[[
take
]]
Xtal Unofficial Wiki
現在位置:
Xtal Unofficial Wiki
»
Xtal Reference
»
Iterator
»
take
文書の表示
以前のリビジョン
最近の変更
サイトマップ
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== take ====== <code cpp> </code> <code cpp> // times type : Int // return type : Iterator Iterator::take : method(times); </code> ===== Description ===== //times//回イテレートするイテレータを返します。 ===== Example ===== 基本的な使い方 ==== C++ ==== ==== Xtal ==== <code cpp> (0..9).take(5){ it.p; } </code> ==== Output ==== <code> 0 1 2 3 4 </code>
reference/iterator/take.txt · 最終更新: 2011/07/16 10:37 by sukai
文書の表示
以前のリビジョン
文書の先頭へ