org.rococoa.cocoa
Class CGFloat

java.lang.Object
  extended by java.lang.Number
      extended by 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
           
 
Constructor Summary
CGFloat()
           
CGFloat(double d)
           
 
Method Summary
 double doubleValue()
           
 boolean equals(java.lang.Object other)
           
 float floatValue()
           
 java.lang.Object fromNative(java.lang.Object o, com.sun.jna.FromNativeContext fromNativeContext)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 java.lang.Class<?> nativeType()
           
 java.lang.Object toNative()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
Constructor Detail

CGFloat

public CGFloat()

CGFloat

public CGFloat(double d)
Method Detail

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.