[aXSL-commit] SF.net SVN: axsl:[2992] trunk/axsl/axsl-primitive/src /main/java/org/axsl/primitive/s
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-03-25 16:44:57
|
Revision: 2992
http://sourceforge.net/p/axsl/code/2992
Author: victormote
Date: 2026-03-25 16:44:55 +0000 (Wed, 25 Mar 2026)
Log Message:
-----------
Add method to append float/double values.
Modified Paths:
--------------
trunk/axsl/axsl-primitive/src/main/java/org/axsl/primitive/sequence/ByteSequenceMutable.java
Modified: trunk/axsl/axsl-primitive/src/main/java/org/axsl/primitive/sequence/ByteSequenceMutable.java
===================================================================
--- trunk/axsl/axsl-primitive/src/main/java/org/axsl/primitive/sequence/ByteSequenceMutable.java 2026-03-25 15:00:20 UTC (rev 2991)
+++ trunk/axsl/axsl-primitive/src/main/java/org/axsl/primitive/sequence/ByteSequenceMutable.java 2026-03-25 16:44:55 UTC (rev 2992)
@@ -128,6 +128,16 @@
ByteSequenceMutable append(long theLong);
/**
+ * Converts any floating-point type (float, double) to the ASCII bytes of its String representation, and appends
+ * them to this sequence.
+ * For example, the float -53.192 will be converted to the bytes 0x343138.
+ * @param theDouble The floating-point type to be converted and appended.
+ * @return A reference to this.
+ * @see #append(byte)
+ */
+ ByteSequenceMutable append(double theDouble);
+
+ /**
* Appends the content of an input stream.
* It is the responsibility of the calling code to manage the opening and closing of the stream and to position the
* stream where reading should begin.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|