Java Doc for RowIterator.java in  » Database-DBMS » axion » org » axiondb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » axion » org.axiondb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.axiondb.RowIterator

All known Subclasses:   org.axiondb.engine.rowiterators.DelegatingRowIterator,  org.axiondb.engine.rowiterators.EmptyRowIterator,  org.axiondb.engine.rowiterators.SingleRowIterator,  org.axiondb.engine.rowiterators.ChainedRowIterator,  org.axiondb.engine.rowiterators.BaseRowIterator,
RowIterator
public interface RowIterator (Code)
A bidirectional iterator over a collection of Row s.
version:
   $Revision: 1.12 $ $Date: 2005/04/22 02:28:53 $
author:
   Rodney Waldhoff
author:
   Ahimanikya Satapathy




Method Summary
 voidadd(Row row)
     Add a Row at the current position in my underlying collection, or throw UnsupportedOperationException .
 Rowcurrent()
     Returns the last Row returned by me (by RowIterator.next , RowIterator.previous , RowIterator.first , RowIterator.last , etc.).
 intcurrentIndex()
     Returns the index of the RowIterator.current row, if any.
 Rowfirst()
     Returns the first Row in the list, positioning the cursor to just before the first Row in the list.
 booleanhasCurrent()
     Returns true if I have a current Row .
 booleanhasNext()
     Returns true if I have more Row s when traversing the list in the forward direction.
 booleanhasPrevious()
     Returns true if I have more Row s when traversing the list in the reverse direction.
 booleanisEmpty()
     Returns true if there are no rows to report with this iterator.
 Rowlast()
     Returns the last Row in the list, positioning the cursor to just after the last Row in the list.
 Rownext()
     Returns the next Row in the list, or throws java.util.NoSuchElementException if no next Row exists.
 intnext(int count)
     Sets the current iterator position to currentIndex() + count; this will not set the current row, peekPrevious() may be used to return the current row.
 intnextIndex()
     Returns the index of the RowIterator.next row, if any, or the number of elements is the iterator if we've reached the end.
 RowpeekNext()
     Return the value that would be returned by a call to RowIterator.next , if any, but don't update my position.
 RowpeekPrevious()
     Return the value that would be returned by a call to RowIterator.previous , if any, but don't update my position.
 Rowprevious()
     Returns the previous Row in the list, or throws java.util.NoSuchElementException if no next Row exists.
 intprevious(int count)
     Sets the current iterator position to currentIndex() - count; this will not set the current row, peekNext() may be used to return the current row.
 intpreviousIndex()
     Returns the index of the RowIterator.previous row, if any, or -1 if we're add the beginning of the list.
 voidremove()
     Set the Row at the current position in my underlying collection, or throw UnsupportedOperationException .
 voidreset()
     Re-initialize this RowIterator to its initial state (positioned just before the first Row in the list).
 voidset(Row row)
     Set the Row at the current position in my underlying collection, or throw UnsupportedOperationException .
 intsize()
    



Method Detail
add
void add(Row row) throws UnsupportedOperationException, AxionException(Code)
Add a Row at the current position in my underlying collection, or throw UnsupportedOperationException . (Optional operation.)



current
Row current() throws NoSuchElementException(Code)
Returns the last Row returned by me (by RowIterator.next , RowIterator.previous , RowIterator.first , RowIterator.last , etc.).
throws:
  NoSuchElementException - when no Rowhas yet been returned



currentIndex
int currentIndex() throws NoSuchElementException(Code)
Returns the index of the RowIterator.current row, if any.
throws:
  NoSuchElementException - when no Rowhas yet been returned



first
Row first() throws NoSuchElementException, AxionException(Code)
Returns the first Row in the list, positioning the cursor to just before the first Row in the list. (In other words, after first is called both RowIterator.next and RowIterator.current will return the first row in the list.)
throws:
  NoSuchElementException - when there is no first Row
throws:
  AxionException - when a problem occurs accessing the Row



hasCurrent
boolean hasCurrent()(Code)
Returns true if I have a current Row . (In other words, returns true iff RowIterator.current would return a Row rather than throwing an exception.)



hasNext
boolean hasNext()(Code)
Returns true if I have more Row s when traversing the list in the forward direction. (In other words, returns true iff RowIterator.next would return a Row rather than throwing an exception.)



hasPrevious
boolean hasPrevious()(Code)
Returns true if I have more Row s when traversing the list in the reverse direction. (In other words, returns true iff RowIterator.previous would return a Row rather than throwing an exception.)



isEmpty
boolean isEmpty()(Code)
Returns true if there are no rows to report with this iterator.



last
Row last() throws NoSuchElementException, AxionException(Code)
Returns the last Row in the list, positioning the cursor to just after the last Row in the list. (In other words, after last is called both RowIterator.previous and RowIterator.current will return the last row in the list.)
throws:
  NoSuchElementException - when there is no last Row
throws:
  AxionException - when a problem occurs accessing the Row



next
Row next() throws NoSuchElementException, AxionException(Code)
Returns the next Row in the list, or throws java.util.NoSuchElementException if no next Row exists.
throws:
  NoSuchElementException - when there is no next Row
throws:
  AxionException - when a problem occurs accessing the Row



next
int next(int count) throws AxionException(Code)
Sets the current iterator position to currentIndex() + count; this will not set the current row, peekPrevious() may be used to return the current row. This will provide random access e.g one can postion the cursor before the desired row and then call next().



nextIndex
int nextIndex()(Code)
Returns the index of the RowIterator.next row, if any, or the number of elements is the iterator if we've reached the end.



peekNext
Row peekNext() throws NoSuchElementException, AxionException(Code)
Return the value that would be returned by a call to RowIterator.next , if any, but don't update my position.
throws:
  NoSuchElementException - when there is no next Row
throws:
  AxionException - when a problem occurs accessing the Row



peekPrevious
Row peekPrevious() throws NoSuchElementException, AxionException(Code)
Return the value that would be returned by a call to RowIterator.previous , if any, but don't update my position.
throws:
  NoSuchElementException - when there is no previous Row
throws:
  AxionException - when a problem occurs accessing the Row



previous
Row previous() throws NoSuchElementException, AxionException(Code)
Returns the previous Row in the list, or throws java.util.NoSuchElementException if no next Row exists.
throws:
  NoSuchElementException - when there is no next Row
throws:
  AxionException - when a problem occurs accessing the Row



previous
int previous(int count) throws AxionException(Code)
Sets the current iterator position to currentIndex() - count; this will not set the current row, peekNext() may be used to return the current row. This will provide random access e.g one can postion the cursor after the desired row and then call previous().



previousIndex
int previousIndex()(Code)
Returns the index of the RowIterator.previous row, if any, or -1 if we're add the beginning of the list.



remove
void remove() throws UnsupportedOperationException, AxionException(Code)
Set the Row at the current position in my underlying collection, or throw UnsupportedOperationException . (Optional operation.)



reset
void reset() throws AxionException(Code)
Re-initialize this RowIterator to its initial state (positioned just before the first Row in the list).



set
void set(Row row) throws UnsupportedOperationException, AxionException(Code)
Set the Row at the current position in my underlying collection, or throw UnsupportedOperationException . (Optional operation.)



size
int size() throws AxionException(Code)
Retunrs the current size of the underlaying row collection



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.