Commit [r281] Maximize Restore History

Partially refitted interfaces for serialization

hajdam 2014-03-06

1 2 3 .. 9 > >> (Page 1 of 9)
added /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialHandler.java
added /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/sequence/XBSerialSequence.java
added /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBTSerialOutputTokenHandler.java
added /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/basic/XBTSerialProviderHandler.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCRevManager.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/declaration/XBCParamDecl.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXHDoc.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXDesc.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialMethod.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/remote/XBRXName.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/remote/XBRXStri.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCGroupRev.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/block/declaration/XBBlockDecl.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCItemInfo.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCXFileManager.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/type/XBNat.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/block/declaration/XBDBlockDecl.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCGroupCons.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCXPaneManager.java
changed /trunk/src/Java/modules/XBVisualLib/src/org/xbup/lib/xbvisual/picture/XBBufferedImage.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/ubnumber/type/UBIntBig.java
changed /trunk/src/Java/modules/XBVisualLib/src/org/xbup/lib/xbvisual/picture/XBWritableRaster.java
changed /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXPlugin.java
copied /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialSequenceItem.java -> /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/sequence/XBSerialSequenceIList.java
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialHandler.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/sequence/XBSerialSequence.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBTSerialOutputTokenHandler.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/basic/XBTSerialProviderHandler.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCRevManager.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/declaration/XBCParamDecl.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXHDoc.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXDesc.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialMethod.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/remote/XBRXName.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/remote/XBRXStri.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCGroupRev.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/block/declaration/XBBlockDecl.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCItemInfo.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCXFileManager.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/type/XBNat.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/block/declaration/XBDBlockDecl.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCGroupCons.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/manager/XBCXPaneManager.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBVisualLib/src/org/xbup/lib/xbvisual/picture/XBBufferedImage.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/ubnumber/type/UBIntBig.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBVisualLib/src/org/xbup/lib/xbvisual/picture/XBWritableRaster.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/catalog/base/XBCXPlugin.java Diff Switch to side-by-side view
Loading...
/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialSequenceItem.java to /trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/sequence/XBSerialSequenceIList.java
--- a/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/XBSerialSequenceItem.java
+++ b/trunk/src/Java/modules/XBLib/src/org/xbup/lib/xb/serial/sequence/XBSerialSequenceIList.java
@@ -14,37 +14,42 @@
  * You should have received a copy of the GNU Lesser General Public License
  * along this application.  If not, see <http://www.gnu.org/licenses/>.
  */
-package org.xbup.lib.xb.serial;
+package org.xbup.lib.xb.serial.sequence;
+
+import org.xbup.lib.xb.serial.XBSerializable;
+import org.xbup.lib.xb.ubnumber.UBENatural;
 
 /**
- * XBUP level 1 serialization sequence.
+ * XBUP level 1 serialization interface for potentionally infinite list.
  *
- * @version 0.1 wr23.0 2014/02/07
+ * @version 0.1 wr23.0 2014/03/03
  * @author XBUP Project (http://xbup.org)
  */
-public class XBSerialSequenceItem {
+public interface XBSerialSequenceIList {
 
-    private XBSerialSequenceOp sequenceOp;
-    private XBTSerializable item;
+    /**
+     * Set size of the list.
+     *
+     * @param count
+     */
+    public void setSize(UBENatural count);
 
-    public XBSerialSequenceItem(XBSerialSequenceOp sequenceOp, XBTSerializable item) {
-        this.sequenceOp = sequenceOp;
-        this.item = item;
-    }
+    /**
+     * Returns size of the list.
+     *
+     * @return size of list
+     */
+    public UBENatural getSize();
 
-    public XBSerialSequenceOp getSequenceOp() {
-        return sequenceOp;
-    }
+    /**
+     * Reset position of the list order.
+     */
+    public void reset();
 
-    public void setSequenceOp(XBSerialSequenceOp sequenceOp) {
-        this.sequenceOp = sequenceOp;
-    }
-
-    public XBTSerializable getItem() {
-        return item;
-    }
-
-    public void setItem(XBTSerializable item) {
-        this.item = item;
-    }
+    /**
+     * Get next item from the list.
+     *
+     * @return next item
+     */
+    public XBSerializable next();
 }
1 2 3 .. 9 > >> (Page 1 of 9)