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, Serializable

public class CGFloat
extends 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(Object other)
           
 float floatValue()
           
 Object fromNative(Object o, com.sun.jna.FromNativeContext fromNativeContext)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 Class<?> nativeType()
           
 Object toNative()
           
 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 Number

longValue

public long longValue()
Specified by:
longValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

fromNative

public Object fromNative(Object o,
                         com.sun.jna.FromNativeContext fromNativeContext)
Specified by:
fromNative in interface com.sun.jna.NativeMapped

toNative

public Object toNative()
Specified by:
toNative in interface com.sun.jna.NativeMapped

nativeType

public Class<?> nativeType()
Specified by:
nativeType in interface com.sun.jna.NativeMapped


Copyright © 2012. All Rights Reserved.