public boolean isModeDifferent(int rawMode) {int modeDiff = getEntryRawMode() ^ rawMode;if (modeDiff == 0)return false;if (getOptions().getSymLinks() == SymLinks.FALSE)if (FileMode.SYMLINK.equals(rawMode))return false;if (!state.options.isFileMode())modeDiff &= ~FileMode.EXECUTABLE_FILE.getBits();return modeDiff != 0;}

public virtual bool IsModeDifferent(int rawMode){int modeDiff = EntryRawMode ^ rawMode;if (modeDiff == 0){return false;}if (FileMode.SYMLINK.Equals(rawMode)){return false;}if (!state.options.IsFileMode()){modeDiff &= ~FileMode.EXECUTABLE_FILE.GetBits();}return modeDiff != 0;}
