Interface ConstSubShapeId
- All Superinterfaces:
Comparable<ConstJoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
SubShapeId
Read-only access to a
SubShapeId. (native type: const SubShapeID)-
Method Summary
Modifier and TypeMethodDescriptionbooleancontentEquals(ConstSubShapeId otherId) Test for equality with the specified ID.intgetValue()Return the bit pattern of the ID.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, va
-
Method Details
-
contentEquals
Test for equality with the specified ID. The current ID is unaffected.- Parameters:
otherId- the ID to compare with (not null, unaffected)- Returns:
- true if equivalent, otherwise false
-
getValue
int getValue()Return the bit pattern of the ID. The ID is unaffected.- Returns:
- the raw bit pattern
-