콘텐츠로 이동

Interface Enumeration

package java.util

public boolean hasMoreElements()

Returns:

  • 객체가 남아있다면 true 아니면 false.

Returns:

  • 다음 순서의 객체.

Throws:

  • NoSuchElementException - 더 이상 객체가 없을 때 발생.## 메서드 요약

  • boolean hasMoreElements () — Enumeration안에 남아있는 객체가 있는지 여부를 구한다.

  • Object nextElement () — Enumeration에서 다음 객체를 구한다.

public boolean hasMoreElements()

Returns:

  • 객체가 남아있다면 true 아니면 false.
public Object nextElement()

Returns:

  • 다음 순서의 객체.

Throws:

  • NoSuchElementException - 더 이상 객체가 없을 때 발생.

AromaSoft Corp. Proprietary and Confidential

(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com