|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ext.mediamanager.ebml.Element
net.sf.ext.mediamanager.ebml.BinaryElement
net.sf.ext.mediamanager.ebml.FloatElement
public class FloatElement
Title: JEBML
Description: Java Classes to Read EBML Elements
Copyright: Copyright (c) 2002-2004 John Cannon
Company:
Field Summary |
---|
Fields inherited from class net.sf.ext.mediamanager.ebml.Element |
---|
data, dataRead, parent, size, type, typeInfo |
Constructor Summary | |
---|---|
FloatElement(byte[] type)
|
Method Summary | |
---|---|
double |
getValue()
Get the float value of this element |
void |
setValue(double value)
Set the float value of this element |
Methods inherited from class net.sf.ext.mediamanager.ebml.BinaryElement |
---|
codedSizeLength, getData, getMinByteSize, getMinByteSizeUnsigned, getMinSizeLength, getSize, getType, makeEbmlCode, makeEbmlCodedSize, packInt, packIntUnsigned, setData, setMinSizeLength, setSize, setType, toByteArray |
Methods inherited from class net.sf.ext.mediamanager.ebml.Element |
---|
EBMLCodedSizeLength, EBMLSignedCodedSizeLength, equals, equals, getElementType, getParent, readData, setElementType, setParent, skipData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatElement(byte[] type)
Method Detail |
---|
public void setValue(double value)
value
- Float value to set
java.lang.ArithmeticException
- if the float value is larger than Double.MAX_VALUEpublic double getValue()
java.lang.ArithmeticException
- for 80-bit or 10-byte floats. AFAIK Java doesn't support them
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |