Objective-C to Android

hello everybody i’m sorry for this message.
Can you help me with basic objective-c trouble?

Need write this code in Java (Android), but im do not understand much objective-c

the code:
unsigned char hash[CC_SHA256_DIGEST_LENGTH];
NSString requesterPasscode = CC_SHA256(requesterIdentifierData.bytes, (unsigned int)requesterIdentifierData.length, hash) ?
[NSString stringWithFormat:@"%04u", CFSwapInt16BigToHost(
(uint16_t *)([NSData dataWithBytes:hash length:CC_SHA256_DIGEST_LENGTH].bytes + CC_SHA256_DIGEST_LENGTH - 2)) % 10000] : nil;
NSParameterAssert(requesterPasscode != nil);