Class CoreFoundation.CFTypeRef
java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
- Direct Known Subclasses:
CoreFoundation.CFAllocatorRef, CoreFoundation.CFArrayRef, CoreFoundation.CFBooleanRef, CoreFoundation.CFDataRef, CoreFoundation.CFDateFormatter, CoreFoundation.CFDictionaryRef, CoreFoundation.CFLocale, CoreFoundation.CFNumberRef, CoreFoundation.CFStringRef, DiskArbitration.DADiskRef, DiskArbitration.DASessionRef
- Enclosing interface:
CoreFoundation
Base class for all CoreFoundation objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongGets the type ID of this CF objectinthashCode()booleanisNull()booleanisTypeID(long typeID) Tests if this object has the specified type IDvoidrelease()Releases this object (decrements reference count)voidretain()Retains this object (increments reference count)segment()
-
Constructor Details
-
CFTypeRef
-
-
Method Details
-
segment
-
isNull
public boolean isNull() -
getTypeID
public long getTypeID()Gets the type ID of this CF object- Returns:
- The type ID
-
isTypeID
public boolean isTypeID(long typeID) Tests if this object has the specified type ID- Parameters:
typeID- The type ID to test against- Returns:
- True if the types match
-
retain
public void retain()Retains this object (increments reference count) -
release
public void release()Releases this object (decrements reference count) -
equals
-
hashCode
-