Java Platform, Standard Edition 7 API Specificatio
10(已有0人评分)我要评分
- 版 本:
- 4.0
- 类 型:
- 参考
- 下载量:
- 76
- 大 小:
- 41.7 MB
- 时 间:
- 2016-08-09
- 语 言:
- 中文,英文
扫二维码下载到手机
纠错举报我站仅对该软件提供链接服务,该软件内容来自于第三方上传分享,版权问题均与我站无关。如果该软件触犯了您的权利,请点此版权申诉。
+ 展开全部 应用介绍
★★★★★ THE BEST JDK 7 Documentation FOR IPAD ★★★★★
★Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in todays demanding embedded environments.
★Java offers the rich user interface, performance, versatility, portability, and security that today’s applications require.
★★★★★This document is the API specification for the Java™ Platform, Standard Edition.★★★★★
=====================================
【for example】
subList
public ListE subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. (If fromIndex and toIndex are equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list.
This method eliminates the need for explicit range
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
removeRange
protected void removeRange(int fromIndex,
int toIndex)
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive. Shifts any succeeding elements to the left (reduces their index). This call shortens the list by (toIndex - fromIndex) elements. (If toIndex==fromIndex, this operation has no effect.)
This method is called by the clear operation on this list and its subLists. Overriding this method to take advantage of the internals of the list implementation can substantially improve the performance of the clear operation on this list and its subLists.
This implementation gets a list iterator positioned before fromIndex, and repeatedly calls ListIterator.next followed by ListIterator.remove until the entire range has been removed. Note if ListIterator.remove requires linear time, this implementation requires quadratic time.
Parameters
fromIndex - index of first element to be removed
toIndex - index after last element to be removed
★Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in todays demanding embedded environments.
★Java offers the rich user interface, performance, versatility, portability, and security that today’s applications require.
★★★★★This document is the API specification for the Java™ Platform, Standard Edition.★★★★★
=====================================
【for example】
subList
public ListE subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. (If fromIndex and toIndex are equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list.
This method eliminates the need for explicit range
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
removeRange
protected void removeRange(int fromIndex,
int toIndex)
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive. Shifts any succeeding elements to the left (reduces their index). This call shortens the list by (toIndex - fromIndex) elements. (If toIndex==fromIndex, this operation has no effect.)
This method is called by the clear operation on this list and its subLists. Overriding this method to take advantage of the internals of the list implementation can substantially improve the performance of the clear operation on this list and its subLists.
This implementation gets a list iterator positioned before fromIndex, and repeatedly calls ListIterator.next followed by ListIterator.remove until the entire range has been removed. Note if ListIterator.remove requires linear time, this implementation requires quadratic time.
Parameters
fromIndex - index of first element to be removed
toIndex - index after last element to be removed
应用截图
你可能还会喜欢
发表评论共有 0 条软件评论
- 本软件还没有玩家发表评论,快来抢占沙发吧:)