@Test public void testDoubleTypeNode() throws IOException { double value = 1.23456; assertEquals(Double.toString(value), new DoubleTypeNode(testBinaryReaderBuilder.putQWord(Double.doubleToLongBits(value)).build(), chunkHeader, parent, -1).getValue()); }
public DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedLong unsignedLong = binaryReader.readQWord(); value = Double.longBitsToDouble(unsignedLong.longValue()); }
DoubleTypeNode extends VariantTypeNode { public DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedLong unsignedLong = binaryReader.readQWord(); value = Double.longBitsToDouble(unsignedLong.longValue()); } }
DoubleTypeNode extends VariantTypeNode { public DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedLong unsignedLong = binaryReader.readQWord(); value = Double.longBitsToDouble(unsignedLong.longValue()); } DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); }
DoubleTypeNode extends VariantTypeNode { public DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedLong unsignedLong = binaryReader.readQWord(); value = Double.longBitsToDouble(unsignedLong.longValue()); } DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue(); }
DoubleTypeNode extends VariantTypeNode { public DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedLong unsignedLong = binaryReader.readQWord(); value = Double.longBitsToDouble(unsignedLong.longValue()); } DoubleTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue();  }