Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/java-native-access/jna
/ isMac
Method
isMac
src/com/sun/jna/Platform.java:145–147 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
return
osType;
144
}
145
public
static
final
boolean isMac() {
146
return
osType == MAC;
147
}
148
public
static
final
boolean isAndroid() {
149
return
osType == ANDROID;
150
}
Callers
15
testDisposeHeavyweightForcer
Method · 0.95
testIsPressed
Method · 0.95
testWindowList
Method · 0.95
testOnScreenWindows
Method · 0.95
testCGRectMakeWithDictionaryRepresentation
Method · 0.95
testMainDisplayID
Method · 0.95
testGetActiveDisplayList
Method · 0.95
testDisplayProperties
Method · 0.95
Holder
Class · 0.95
KeyboardUtils
Class · 0.95
WinBase
Interface · 0.95
DragHandler
Class · 0.95
Calls
no outgoing calls
Tested by
15
testDisposeHeavyweightForcer
Method · 0.76
testIsPressed
Method · 0.76
testWindowList
Method · 0.76
testOnScreenWindows
Method · 0.76
testCGRectMakeWithDictionaryRepresentation
Method · 0.76
testMainDisplayID
Method · 0.76
testGetActiveDisplayList
Method · 0.76
testDisplayProperties
Method · 0.76
testLoadFrameworkLibrary
Method · 0.76
testLoadFrameworkLibraryAbsolute
Method · 0.76
testLoadFrameworkLibraryAbsoluteFull
Method · 0.76
testAvoidDuplicateLoads
Method · 0.76