このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XEnumeration
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: コンテナ ::

interface XEnumeration
Description
供給するs functionality to enumerate the contents of a コンテナ.

An 反対する that 器具/実施するs the XEnumeration interface 生成するs a 一連の elements, one at a time. 連続する calls to the XEnumeration::nextElement method return 連続する elements of the series.

For example (Java), to print all elements of a vector aVect:

 for ( XEnumeration xEnum = aVect.elements() ; 
 xEnum.hasMoreElements() ; ) 
 {
 System.out.println( xEnum.nextElement() );
 }
 

If the 反対する changed, the 行為 of the enumeration is not 明示するd. This is not a remote interface.


Methods' 要約
hasMoreElements 実験(する)s whether this enumeration 含む/封じ込めるs more elements.  
nextElement  
Methods' 詳細(に述べる)s
hasMoreElements
boolean
hasMoreElements();

Description
実験(する)s whether this enumeration 含む/封じ込めるs more elements.
nextElement
any
nextElement()
raises( NoSuchElementException,
::com::sun::星/主役にする::lang::WrappedTargetException );

Returns
the next element of this enumeration.
Throws
NoSuchElementException if no more elements 存在する.
Throws
com::sun::星/主役にする::lang::WrappedTargetException If the 実施 has 内部の 推論する/理由s for exceptions, then 包む these in a ::com::sun::星/主役にする::lang::WrappedTargetException exception.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.