Documentation
¶
Overview ¶
Package enumerable は、列挙可能なものに対してのユーティリティが配置されています。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Range ¶
type Range interface {
// Start は、開始点の値を返します.
Start() int
// End は、終了点の値を返します.
End() int
// Next は、次の値に進みます. 進むことが出来ない場合は false を返します.
Next() bool
// Current は、現在の値を返します.
Current() int
// Reset は、現在の値をリセットして開始点の値に戻します. 戻り値は (リセット直前の値, 処理で発生したエラー) です.
Reset() (int, error)
}
Range は、範囲を表すインターフェースです。
Click to show internal directories.
Click to hide internal directories.