compare static method

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

Implementation

static int compare(String value1, String value2) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IHostNameStatics);

  try {
    return IHostNameStatics.fromRawPointer(activationFactory)
        .compare(value1, value2);
  } finally {
    free(activationFactory);
  }
}