org.rococoa.cocoa
Class CGFloat
java.lang.Object
java.lang.Number
org.rococoa.cocoa.CGFloat
- All Implemented Interfaces:
- com.sun.jna.NativeMapped, java.io.Serializable
public class CGFloat
- extends java.lang.Number
- implements com.sun.jna.NativeMapped
CGFloat
- Author:
- Harald Kuhr, duncan
- See Also:
- Serialized Form
Field Summary |
static int |
SIZE
|
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SIZE
public static final int SIZE
CGFloat
public CGFloat()
CGFloat
public CGFloat(double d)
intValue
public int intValue()
- Specified by:
intValue
in class java.lang.Number
longValue
public long longValue()
- Specified by:
longValue
in class java.lang.Number
floatValue
public float floatValue()
- Specified by:
floatValue
in class java.lang.Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in class java.lang.Number
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
fromNative
public java.lang.Object fromNative(java.lang.Object o,
com.sun.jna.FromNativeContext fromNativeContext)
- Specified by:
fromNative
in interface com.sun.jna.NativeMapped
toNative
public java.lang.Object toNative()
- Specified by:
toNative
in interface com.sun.jna.NativeMapped
nativeType
public java.lang.Class<?> nativeType()
- Specified by:
nativeType
in interface com.sun.jna.NativeMapped
Copyright © 2009. All Rights Reserved.