public BytesRef getPayload() {if (payloadLength == 0) {return null;} else {return payload;}}

public BytesRef getPayload ( ) { if ( payloadLength == 0 ) { return null ; } else { return payload ; } }
public override BytesRef GetPayload(){if (payloadLength == 0){return null;}else{return payload;}}
