compare static method

int compare(
  1. String value1,
  2. String value2
)

Implementation

static int compare(String value1, String value2) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IHostNameStatics);
  final object = IHostNameStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.compare(value1, value2);
  } finally {
    object.release();
  }
}