| Iterator :: Util. Iterator :: Uny Perl Package´Â Iterator Ŭ·¡½º¿¡ Çʼö À¯Æ¿¸®Æ¼¸¦ Æ÷ÇÔÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Iterator :: Util. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Eric J. Roode
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~roode/
Iterator :: Util. ű×
Iterator :: Util. ¼³¸í
Iterator :: Util Perl Package´Â Iterator Ŭ·¡½º¿¡ Çʼö À¯Æ¿¸®Æ¼°¡ µé¾î ÀÖ½À´Ï´Ù. Iterator :: Util Perl ÆÐÅ°Áö¿¡´Â Iterator Ŭ·¡½º¿¡ Çʼö À¯Æ¿¸®Æ¼°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù .Synopsis »ç¿ë Iterator :: Util; # º¯È¯ ½ÃÄö½º $ iterator = IMAP {º¯È¯ ÄÚµå} $ some_other_iterator; # ÇÊÅ͸µ ½ÃÄö½º $ ITerator = IGREP {Á¶°Ç ÄÚµå} $ some_other_iterator; # °ªÀÇ ¹üÀ§ (»ê¼ú ¼ø¼) $ iter = irange ($ start, $ end, $ Áõ°¡); $ iter = irange ($ start, $ end); $ iter = irange ($ start); # ÀÓÀÇÀÇ ¸ñ·ÏÀ» ¹Ýº¹ÇÕ´Ï´Ù $ iter = iList (Ç׸ñ, Ç׸ñ, ...); $ iter = ILIST (@Items); # Reference by Reference¿¡ ÀÇÇØ # ¹è¿À» ¹Ýº¹ÇÕ´Ï´Ù = iArray (@Array); # iterator¿¡¼ ´ëºÎºÐÀÇ $ Num Ç׸ñ¿¡¼ ¹Ýȯ $ iter = ihead ($ num, $ some_iter_iterator); @values = ihead ($ num, $ some_other_iterator); # ¿©·¯ °³ÀÇ ¹Ýº¹ÀÚ¸¦ ÇϳªÀÇ $ ITER = IAPPEND ($ IT1, $ IT2, $ IT3, ...)¿¡ Ãß°¡ÇϽʽÿÀ. # @ iter = ipairwise {code} $ iter_a, $ iter_bÀÇ ½Ö¿¡ ÇÔ¼ö¸¦ Àû¿ëÇϽʽÿÀ. # iteratorÀÇ Ã¹ ¹ø° $ num °ªÀ» °Ç³Ê ¶Ý´Ï´Ù $ iter = iskip ($ num, $ some_iterator); # Á¶°ÇÀÌ ÃæÁ· µÉ ¶§±îÁö $ iter = iskip_until {code} $ some_other_iterator; # ¸Þ½¬ ¹Ýº¹ÀÚ ÇÔ²² $ iter = imesh ($ iter, $ iter, ...); $ iter = izip ($ iter, $ iter, ...); # $ iter = iuniq ($ another_iterator)¿¡ ¹Ýº¹ÀÚÀÇ °¢ °ªÀ» ¹ÝȯÇÕ´Ï´Ù.ÀÌ ¸ðµâÀº iterator °´Ã¼¸¦ ¸¸µé°í Á¶ÀÛÇÏ´Â ¸¹Àº À¯¿ëÇÑ ÇÔ¼ö¸¦ ±¸ÇöÇÕ´Ï´Ù. "Iterator"´Â "´ÙÀ½ °ª"À» »ý¼ºÇÏ´Â ÄÚµå ºí·ÏÀ¸·Î Ç¥½ÃµÇ´Â °´Ã¼ÀÔ´Ï´Ù. ½ÃÄö½ºÀÇ ¼ø¼·Î, ÀϹÝÀûÀ¸·Î Æó¼â·Î ±¸ÇöµÈ´Ù. Iterator °´Ã¼ »ç¿ë¿¡ ´ëÇÑ ÀÚ½À¼¸¦ Æ÷ÇÔÇÏ¿© ÀÚ¼¼ÇÑ ³»¿ëÀº Iterator ¼³¸í¼¸¦ ÂüÁ¶ÇϽʽÿÀ. ¿ä±¸ »çÇ× : ¡¤ Perl.
Iterator :: Util. °ü·Ã ¼ÒÇÁÆ®¿þ¾î