JavaTM 2 Platform
Standard Ed. 5.0

java.beans.beancontext
Ŭ·¡½º BeanContextSupport.BCSIterator

java.lang.Object 
  »óÀ§¸¦ È®Àå java.beans.beancontext.BeanContextSupport.BCSIterator
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Iterator
Æ÷ÇԵǾî Àִ Ŭ·¡½º:
BeanContextSupport

protected static final class BeanContextSupport.BCSIterator
extends Object
implements Iterator

¹Ýº¹ÀÚ¸¦ ĸ½¶È­ÇØ, ¹«Á¶ÀÛÀÇ remove() ¸Þ¼­µå¸¦ ±¸ÇöÇÏ´Â protected final ¼­ºê Ŭ·¡½ºÀÔ´Ï´Ù.


¸Þ¼­µå °³¿ä
 boolean hasNext ()
          ¹Ýº¹ 󸮷Π¶ÇÇÑ ¿ä¼Ò°¡ ÀÖ´Â °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 Object next ()
          ¹Ýº¹ 󸮷Π´ÙÀ½ÀÇ ¿ä¼Ò¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 void remove ()
          ±âº»À¸·Î µÇ´Â Ä÷º¼ÇÀ¸·ÎºÎÅÍ, ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸¶Áö¸·¿¡ ¸®ÅÏµÈ ¿ä¼Ò¸¦ »èÁ¦ÇÕ´Ï´Ù (ÀÓÀÇÀÇ ¿ÀÆÛ·¹À̼Ç).
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¸Þ¼­µåÀÇ »ó¼¼

hasNext

public boolean hasNext()
ÀÎÅÍÆäÀ̽º Iterator ±â¼ú:
¹Ýº¹ 󸮷Π¶ÇÇÑ ¿ä¼Ò°¡ ÀÖ´Â °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù. Áï, next°¡ ¿¹¿Ü¸¦ Throw ÇÏÁö ¾Ê°í ¿ä¼Ò¸¦ µ¹·ÁÁÖ´Â °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Iterator ³»ÀÇ hasNext
¹Ýȯ°ª:
¹Ýº¹ÀÚ°¡ ¶ÇÇÑ ¿ä¼Ò¸¦ °¡Áö´Â °æ¿ì´Â true

next

public Object  next()
ÀÎÅÍÆäÀ̽º Iterator ±â¼ú:
¹Ýº¹ 󸮷Π´ÙÀ½ÀÇ ¿ä¼Ò¸¦ ¸®ÅÏÇÕ´Ï´Ù. Iterator.hasNext() ¸Þ¼­µå°¡ false¸¦ µ¹·ÁÁÙ ¶§±îÁö ÀÌ ¸Þ¼­µå¸¦ ¹Ýº¹ÇØ È£ÃâÇϸé, ±âº»À¸·Î µÇ´Â Ä÷º¼Ç³»ÀÇ °¢ ¿ä¼Ò°¡ ÇÑ ¹ø¸¸ ¸®Åϵ˴ϴ٠.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Iterator ³»ÀÇ next
¹Ýȯ°ª:
¹Ýº¹ 󸮷Π´ÙÀ½ÀÇ ¿ä¼Ò

remove

public void remove()
ÀÎÅÍÆäÀ̽º Iterator ±â¼ú:
±âº»À¸·Î µÇ´Â Ä÷º¼ÇÀ¸·ÎºÎÅÍ, ¹Ýº¹ÀÚ¿¡ ÀÇÇØ ¸¶Áö¸·¿¡ ¸®ÅÏµÈ ¿ä¼Ò¸¦ »èÁ¦ÇÕ´Ï´Ù (ÀÓÀÇÀÇ ¿ÀÆÛ·¹À̼Ç). ÀÌ ¸Þ¼­µå´Â next°¡ È£ÃâÇÒ °Í¿¡ 1ȸ ¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù . ¹Ýº¹ÀÚÀÇ µ¿ÀÛÀº ¹Ýº¹ 󸮰¡ ÀÌ ¸Þ¼­µåÀÇ È£ÃâÇØ ÀÌ¿Ü ¹æ¹ýÀ¸·Î ½ÇÇàµÇ°í ÀÖÀ» ¶§ ±âº»À¸·Î µÇ´Â Ä÷º¼ÇÀÌ º¯°æµÇ¾úÀ» °æ¿ì´Â º¸ÁõµÇÁö ¾Ê½À´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Iterator ³»ÀÇ remove

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.