public void writeProtectWorkbook( String password, String username ) {FileSharingRecord frec = getFileSharing();WriteAccessRecord waccess = getWriteAccess(); getWriteProtect();frec.setReadOnly((short)1);frec.setPassword((short)CryptoFunctions.createXorVerifier1(password));frec.setUsername(username);waccess.setUsername(username);}

public void WriteProtectWorkbook(String password, String username){FileSharingRecord frec = FileSharing;WriteAccessRecord waccess = WriteAccess;frec.ReadOnly=((short)1);frec.Password=(FileSharingRecord.HashPassword(password));frec.Username=(username);waccess.Username=(username);}

[User] public void writeProtectWorkbook( String password, String username ) {FileSharingRecord frec = getFileSharing();WriteAccessRecord waccess = getWriteAccess(); getWriteProtect();frec.setReadOnly((short)1);frec.setPassword((short)CryptoFunctions.createXorVerifier1(password));frec.setUsername(username);waccess.setUsername(username);}

[Assistant] public void WriteProtectWorkbook(String password, String username){FileSharingRecord frec = FileSharing;WriteAccessRecord waccess = WriteAccess;frec.ReadOnly=((short)1);frec.Password=(FileSharingRecord.HashPassword(password));frec.Username=(username);waccess.Username=(username);}


public Process exec(String command, int timeout)throws TransportException {String ssh = SystemReader.getInstance().getenv("GIT_SSH"); boolean putty = ssh.toLowerCase(Locale.ROOT).contains("plink"); List<String> args = new ArrayList<>();args.add(ssh);if (putty&& !ssh.toLowerCase(Locale.ROOT).contains("tortoiseplink")) args.add("-batch"); if (0 < getURI().getPort()) {args.add(putty ? "-P" : "-p"); args.add(String.valueOf(getURI().getPort()));}if (getURI().getUser() != null)args.add(getURI().getUser() + "@" + getURI().getHost()); elseargs.add(getURI().getHost());args.add(command);ProcessBuilder pb = createProcess(args);try {return pb.start();} catch (IOException err) {throw new TransportException(err.getMessage(), err);}}

public virtual SystemProcess Exec(string command, int timeout){string ssh = SystemReader.GetInstance().Getenv("GIT_SSH");bool putty = ssh.ToLower().Contains("plink");IList<string> args = new AList<string>();args.AddItem(ssh);if (putty && !ssh.ToLower().Contains("tortoiseplink")){args.AddItem("-batch");}if (0 < this._enclosing.GetURI().GetPort()){args.AddItem(putty ? "-P" : "-p");args.AddItem(this._enclosing.GetURI().GetPort().ToString());}if (this._enclosing.GetURI().GetUser() != null){args.AddItem(this._enclosing.GetURI().GetUser() + "@" + this._enclosing.GetURI().GetHost());}else{args.AddItem(this._enclosing.GetURI().GetHost());}args.AddItem(command);ProcessStartInfo pb = new ProcessStartInfo();pb.SetCommand(args);if (this._enclosing.local.Directory != null){pb.EnvironmentVariables.Put(Constants.GIT_DIR_KEY, this._enclosing.local.Directory.GetPath());}try{return pb.Start();}catch (IOException err){throw new TransportException(err.Message, err);}}

[User] public Process exec(String command, int timeout)throws TransportException {String ssh = SystemReader.getInstance().getenv("GIT_SSH"); boolean putty = ssh.toLowerCase(Locale.ROOT).contains("plink"); List<String> args = new ArrayList<>();args.add(ssh);if (putty&& !ssh.toLowerCase(Locale.ROOT).contains("tortoiseplink")) args.add("-batch"); if (0 < getURI().getPort()) {args.add(putty ? "-P" : "-p"); args.add(String.valueOf(getURI().getPort()));}if (getURI().getUser() != null)args.add(getURI().getUser() + "@" + getURI().getHost()); elseargs.add(getURI().getHost());args.add(command);ProcessBuilder pb = createProcess(args);try {return pb.start();} catch (IOException err) {throw new TransportException(err.getMessage(), err);}}

[Assistant] public virtual SystemProcess Exec(string command, int timeout){string ssh = SystemReader.GetInstance().Getenv("GIT_SSH");bool putty = ssh.ToLower().Contains("plink");IList<string> args = new AList<string>();args.AddItem(ssh);if (putty && !ssh.ToLower().Contains("tortoiseplink")){args.AddItem("-batch");}if (0 < this._enclosing.GetURI().GetPort()){args.AddItem(putty ? "-P" : "-p");args.AddItem(this._enclosing.GetURI().GetPort().ToString());}if (this._enclosing.GetURI().GetUser() != null){args.AddItem(this._enclosing.GetURI().GetUser() + "@" + this._enclosing.GetURI().GetHost());}else{args.AddItem(this._enclosing.GetURI().GetHost());}args.AddItem(command);ProcessStartInfo pb = new ProcessStartInfo();pb.SetCommand(args);if (this._enclosing.local.Directory != null){pb.EnvironmentVariables.Put(Constants.GIT_DIR_KEY, this._enclosing.local.Directory.GetPath());}try{return pb.Start();}catch (IOException err){throw new TransportException(err.Message, err);}}


public void serialize(LittleEndianOutput out) {out.write(recordData);}

public override void Serialize(ILittleEndianOutput out1){out1.Write(recordData);}

[User] public void serialize(LittleEndianOutput out) {out.write(recordData);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.Write(recordData);}


public UpdateFleetCapacityResult updateFleetCapacity(UpdateFleetCapacityRequest request) {request = beforeClientExecution(request);return executeUpdateFleetCapacity(request);}

public virtual UpdateFleetCapacityResponse UpdateFleetCapacity(UpdateFleetCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFleetCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFleetCapacityResponseUnmarshaller.Instance;return Invoke<UpdateFleetCapacityResponse>(request, options);}

[User] public UpdateFleetCapacityResult updateFleetCapacity(UpdateFleetCapacityRequest request) {request = beforeClientExecution(request);return executeUpdateFleetCapacity(request);}

[Assistant] public virtual UpdateFleetCapacityResponse UpdateFleetCapacity(UpdateFleetCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFleetCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFleetCapacityResponseUnmarshaller.Instance;return Invoke<UpdateFleetCapacityResponse>(request, options);}


public CreateDirectConnectGatewayAssociationResult createDirectConnectGatewayAssociation(CreateDirectConnectGatewayAssociationRequest request) {request = beforeClientExecution(request);return executeCreateDirectConnectGatewayAssociation(request);}

public virtual CreateDirectConnectGatewayAssociationResponse CreateDirectConnectGatewayAssociation(CreateDirectConnectGatewayAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDirectConnectGatewayAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDirectConnectGatewayAssociationResponseUnmarshaller.Instance;return Invoke<CreateDirectConnectGatewayAssociationResponse>(request, options);}

[User] public CreateDirectConnectGatewayAssociationResult createDirectConnectGatewayAssociation(CreateDirectConnectGatewayAssociationRequest request) {request = beforeClientExecution(request);return executeCreateDirectConnectGatewayAssociation(request);}

[Assistant] public virtual CreateDirectConnectGatewayAssociationResponse CreateDirectConnectGatewayAssociation(CreateDirectConnectGatewayAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDirectConnectGatewayAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDirectConnectGatewayAssociationResponseUnmarshaller.Instance;return Invoke<CreateDirectConnectGatewayAssociationResponse>(request, options);}


public TokenStream create(TokenStream input) {if (words == null) {return input;} else {final TokenStream filter = new KeepWordFilter(input, words);return filter;}}

public override TokenStream Create(TokenStream input){if (words == null){return input;}else{#pragma warning disable 612, 618TokenStream filter = new KeepWordFilter(m_luceneMatchVersion, enablePositionIncrements, input, words);#pragma warning restore 612, 618return filter;}}

[User] public TokenStream create(TokenStream input) {if (words == null) {return input;} else {final TokenStream filter = new KeepWordFilter(input, words);return filter;}}

[Assistant] public override TokenStream Create(TokenStream input){if (words == null){return input;}else{#pragma warning disable 612, 618TokenStream filter = new KeepWordFilter(m_luceneMatchVersion, enablePositionIncrements, input, words);#pragma warning restore 612, 618return filter;}}


public final int getEndA() {return endA;}

[User] public final int getEndA() {return endA;}

[Assistant] public int GetEndA(){return endA;}


public String getStrictHostKeyChecking() {return strictHostKeyChecking;}

public virtual string GetStrictHostKeyChecking(){return strictHostKeyChecking;}

[User] public String getStrictHostKeyChecking() {return strictHostKeyChecking;}

[Assistant] public virtual string GetStrictHostKeyChecking(){return strictHostKeyChecking;}


public Lift(boolean changeSkip) {this.changeSkip = changeSkip;}

public Lift(bool changeSkip){this.changeSkip = changeSkip;}

[User] public Lift(boolean changeSkip) {this.changeSkip = changeSkip;}

[Assistant] public Lift(bool changeSkip){this.changeSkip = changeSkip;}


public void serialize(LittleEndianOutput out) {out.writeShort(field_1_precision);}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_precision);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(field_1_precision);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_precision);}


public GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request) {request = beforeClientExecution(request);return executeGetAuthorizer(request);}

public virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;return Invoke<GetAuthorizerResponse>(request, options);}

[User] public GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request) {request = beforeClientExecution(request);return executeGetAuthorizer(request);}

[Assistant] public virtual GetAuthorizerResponse GetAuthorizer(GetAuthorizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAuthorizerRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAuthorizerResponseUnmarshaller.Instance;return Invoke<GetAuthorizerResponse>(request, options);}


public StringCharacterIterator(String value, int start, int end, int location) {string = value;if (start < 0 || end > string.length() || start > end|| location < start || location > end) {throw new IllegalArgumentException();}this.start = start;this.end = end;offset = location;}

public StringCharacterIterator(string value, int start, int end, int location){@string = value;if (start < 0 || end > @string.Length || start > end || location < start || location> end){throw new System.ArgumentException();}this.start = start;this.end = end;offset = location;}

[User] public StringCharacterIterator(String value, int start, int end, int location) {string = value;if (start < 0 || end > string.length() || start > end|| location < start || location > end) {throw new IllegalArgumentException();}this.start = start;this.end = end;offset = location;}

[Assistant] public StringCharacterIterator(string value, int start, int end, int location){@string = value;if (start < 0 || end > @string.Length || start > end || location < start || location> end){throw new System.ArgumentException();}this.start = start;this.end = end;offset = location;}


public String toString() {StringBuilder buf = new StringBuilder();buf.append("ObjectToPack[");buf.append(Constants.typeString(getType()));buf.append(" ");buf.append(name());if (wantWrite())buf.append(" wantWrite");if (isReuseAsIs())buf.append(" reuseAsIs");if (isDoNotDelta())buf.append(" doNotDelta");if (isEdge())buf.append(" edge");if (getDeltaDepth() > 0)buf.append(" depth=").append(getDeltaDepth());if (isDeltaRepresentation()) {if (getDeltaBase() != null)buf.append(" base=inpack:").append(getDeltaBase().name());elsebuf.append(" base=edge:").append(getDeltaBaseId().name());}if (isWritten())buf.append(" offset=").append(getOffset());buf.append("]");return buf.toString();}

public override string ToString(){StringBuilder buf = new StringBuilder();buf.Append("ObjectToPack[");buf.Append(Constants.TypeString(GetType()));buf.Append(" ");buf.Append(Name);if (WantWrite()){buf.Append(" wantWrite");}if (IsReuseAsIs()){buf.Append(" reuseAsIs");}if (IsDoNotDelta()){buf.Append(" doNotDelta");}if (IsEdge()){buf.Append(" edge");}if (GetDeltaDepth() > 0){buf.Append(" depth=" + GetDeltaDepth());}if (IsDeltaRepresentation()){if (GetDeltaBase() != null){buf.Append(" base=inpack:" + GetDeltaBase().Name);}else{buf.Append(" base=edge:" + GetDeltaBaseId().Name);}}if (IsWritten()){buf.Append(" offset=" + GetOffset());}buf.Append("]");return buf.ToString();}

[User] public String toString() {StringBuilder buf = new StringBuilder();buf.append("ObjectToPack[");buf.append(Constants.typeString(getType()));buf.append(" ");buf.append(name());if (wantWrite())buf.append(" wantWrite");if (isReuseAsIs())buf.append(" reuseAsIs");if (isDoNotDelta())buf.append(" doNotDelta");if (isEdge())buf.append(" edge");if (getDeltaDepth() > 0)buf.append(" depth=").append(getDeltaDepth());if (isDeltaRepresentation()) {if (getDeltaBase() != null)buf.append(" base=inpack:").append(getDeltaBase().name());elsebuf.append(" base=edge:").append(getDeltaBaseId().name());}if (isWritten())buf.append(" offset=").append(getOffset());buf.append("]");return buf.toString();}

[Assistant] public override string ToString(){StringBuilder buf = new StringBuilder();buf.Append("ObjectToPack[");buf.Append(Constants.TypeString(GetType()));buf.Append(" ");buf.Append(Name);if (WantWrite()){buf.Append(" wantWrite");}if (IsReuseAsIs()){buf.Append(" reuseAsIs");}if (IsDoNotDelta()){buf.Append(" doNotDelta");}if (IsEdge()){buf.Append(" edge");}if (GetDeltaDepth() > 0){buf.Append(" depth=" + GetDeltaDepth());}if (IsDeltaRepresentation()){if (GetDeltaBase() != null){buf.Append(" base=inpack:" + GetDeltaBase().Name);}else{buf.Append(" base=edge:" + GetDeltaBaseId().Name);}}if (IsWritten()){buf.Append(" offset=" + GetOffset());}buf.Append("]");return buf.ToString();}


public override string ToString(){return "1";}

[User] public String toString() {return "1";}

[Assistant] public override string ToString(){return "1";}


public final void readFully(byte[] dst, int offset, int byteCount) throws IOException {Streams.readFully(in, dst, offset, byteCount);}

public virtual void readFully(byte[] dst, int offset, int byteCount){throw new System.NotImplementedException();}

[User] public final void readFully(byte[] dst, int offset, int byteCount) throws IOException {Streams.readFully(in, dst, offset, byteCount);}

[Assistant] public virtual void readFully(byte[] dst, int offset, int byteCount){throw new System.NotImplementedException();}


public GetMailboxDetailsResult getMailboxDetails(GetMailboxDetailsRequest request) {request = beforeClientExecution(request);return executeGetMailboxDetails(request);}

public virtual GetMailboxDetailsResponse GetMailboxDetails(GetMailboxDetailsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMailboxDetailsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMailboxDetailsResponseUnmarshaller.Instance;return Invoke<GetMailboxDetailsResponse>(request, options);}

[User] public GetMailboxDetailsResult getMailboxDetails(GetMailboxDetailsRequest request) {request = beforeClientExecution(request);return executeGetMailboxDetails(request);}

[Assistant] public virtual GetMailboxDetailsResponse GetMailboxDetails(GetMailboxDetailsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMailboxDetailsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMailboxDetailsResponseUnmarshaller.Instance;return Invoke<GetMailboxDetailsResponse>(request, options);}


public CharBuffer append(CharSequence csq) {if (csq != null) {return put(csq.toString());}return put("null");}

public virtual java.nio.CharBuffer append(java.lang.CharSequence csq){if (csq != null){return put(csq.ToString());}return put("null");}

[User] public CharBuffer append(CharSequence csq) {if (csq != null) {return put(csq.toString());}return put("null");}

[Assistant] public virtual java.nio.CharBuffer append(java.lang.CharSequence csq){if (csq != null){return put(csq.ToString());}return put("null");}


public RegisterFaceRequest() {super("LinkFace", "2018-07-20", "RegisterFace");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

public RegisterFaceRequest(): base("LinkFace", "2018-07-20", "RegisterFace"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}

[User] public RegisterFaceRequest() {super("LinkFace", "2018-07-20", "RegisterFace");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

[Assistant] public RegisterFaceRequest(): base("LinkFace", "2018-07-20", "RegisterFace"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}


public static void checkValue(double result) throws EvaluationException {if (Double.isNaN(result) || Double.isInfinite(result)) {throw new EvaluationException(ErrorEval.NUM_ERROR);}}

public static void CheckValue(double result){if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}}

[User] public static void checkValue(double result) throws EvaluationException {if (Double.isNaN(result) || Double.isInfinite(result)) {throw new EvaluationException(ErrorEval.NUM_ERROR);}}

[Assistant] public static void CheckValue(double result){if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}}


public PutInvitationConfigurationResult putInvitationConfiguration(PutInvitationConfigurationRequest request) {request = beforeClientExecution(request);return executePutInvitationConfiguration(request);}

public virtual PutInvitationConfigurationResponse PutInvitationConfiguration(PutInvitationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInvitationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInvitationConfigurationResponseUnmarshaller.Instance;return Invoke<PutInvitationConfigurationResponse>(request, options);}

[User] public PutInvitationConfigurationResult putInvitationConfiguration(PutInvitationConfigurationRequest request) {request = beforeClientExecution(request);return executePutInvitationConfiguration(request);}

[Assistant] public virtual PutInvitationConfigurationResponse PutInvitationConfiguration(PutInvitationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInvitationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInvitationConfigurationResponseUnmarshaller.Instance;return Invoke<PutInvitationConfigurationResponse>(request, options);}


public QueryNode process(QueryNode queryTree) throws QueryNodeException {Operator op = getQueryConfigHandler().get(ConfigurationKeys.DEFAULT_OPERATOR);if (op == null) {throw new IllegalArgumentException("StandardQueryConfigHandler.ConfigurationKeys.DEFAULT_OPERATOR should be set on the QueryConfigHandler");}this.usingAnd = StandardQueryConfigHandler.Operator.AND == op;return super.process(queryTree);}

public override IQueryNode Process(IQueryNode queryTree){Operator? op = GetQueryConfigHandler().Get(ConfigurationKeys.DEFAULT_OPERATOR);if (op == null){throw new ArgumentException("StandardQueryConfigHandler.ConfigurationKeys.DEFAULT_OPERATOR should be set on the QueryConfigHandler");}this.usingAnd = Operator.AND == op;return base.Process(queryTree);}

[User] public QueryNode process(QueryNode queryTree) throws QueryNodeException {Operator op = getQueryConfigHandler().get(ConfigurationKeys.DEFAULT_OPERATOR);if (op == null) {throw new IllegalArgumentException("StandardQueryConfigHandler.ConfigurationKeys.DEFAULT_OPERATOR should be set on the QueryConfigHandler");}this.usingAnd = StandardQueryConfigHandler.Operator.AND == op;return super.process(queryTree);}

[Assistant] public override IQueryNode Process(IQueryNode queryTree){Operator? op = GetQueryConfigHandler().Get(ConfigurationKeys.DEFAULT_OPERATOR);if (op == null){throw new ArgumentException("StandardQueryConfigHandler.ConfigurationKeys.DEFAULT_OPERATOR should be set on the QueryConfigHandler");}this.usingAnd = Operator.AND == op;return base.Process(queryTree);}


public void add(BytesRef utf8, int bucket) throws IOException {if (bucket < 0 || bucket >= buckets) {throw new IllegalArgumentException("Bucket outside of the allowed range [0, " + buckets + "): " + bucket);}scratch.grow(utf8.length + 10);scratch.clear();scratch.append((byte) bucket);scratch.append(utf8);sorter.add(scratch.get());}

public virtual void Add(BytesRef utf8, int bucket){if (bucket < 0 || bucket >= buckets){throw new ArgumentException("Bucket outside of the allowed range [0, " + buckets + "): " + bucket);}if (scratch.Bytes.Length < utf8.Length + 1){scratch.Grow(utf8.Length + 10);}scratch.Length = 1;scratch.Bytes[0] = (byte)bucket;scratch.Append(utf8);sorter.Add(scratch);}

[User] public void add(BytesRef utf8, int bucket) throws IOException {if (bucket < 0 || bucket >= buckets) {throw new IllegalArgumentException("Bucket outside of the allowed range [0, " + buckets + "): " + bucket);}scratch.grow(utf8.length + 10);scratch.clear();scratch.append((byte) bucket);scratch.append(utf8);sorter.add(scratch.get());}

[Assistant] public virtual void Add(BytesRef utf8, int bucket){if (bucket < 0 || bucket >= buckets){throw new ArgumentException("Bucket outside of the allowed range [0, " + buckets + "): " + bucket);}if (scratch.Bytes.Length < utf8.Length + 1){scratch.Grow(utf8.Length + 10);}scratch.Length = 1;scratch.Bytes[0] = (byte)bucket;scratch.Append(utf8);sorter.Add(scratch);}


public DescribeWorkspaceBundlesResult describeWorkspaceBundles() {return describeWorkspaceBundles(new DescribeWorkspaceBundlesRequest());}

public virtual DescribeWorkspaceBundlesResponse DescribeWorkspaceBundles(){var request = new DescribeWorkspaceBundlesRequest();return DescribeWorkspaceBundles(request);}

[User] public DescribeWorkspaceBundlesResult describeWorkspaceBundles() {return describeWorkspaceBundles(new DescribeWorkspaceBundlesRequest());}

[Assistant] public virtual DescribeWorkspaceBundlesResponse DescribeWorkspaceBundles(){var request = new DescribeWorkspaceBundlesRequest();return DescribeWorkspaceBundles(request);}


public static String decode(String s) {return decode(s, false, Charsets.UTF_8);}

public static string decode(string s){return decode(s, false, java.nio.charset.Charsets.UTF_8);}

[User] public static String decode(String s) {return decode(s, false, Charsets.UTF_8);}

[Assistant] public static string decode(string s){return decode(s, false, java.nio.charset.Charsets.UTF_8);}


public void setExpire(Date expire) {this.expire = expire;expireAgeMillis = -1;}

public virtual void SetExpire(DateTime expire){this.expire = expire;expireAgeMillis = -1;}

[User] public void setExpire(Date expire) {this.expire = expire;expireAgeMillis = -1;}

[Assistant] public virtual void SetExpire(DateTime expire){this.expire = expire;expireAgeMillis = -1;}


public int DecRef() {assert count > 0: Thread.currentThread().getName() + ": RefCount is 0 pre-decrement for file \"" + fileName + "\"";return --count;}

public int DecRef(){Debug.Assert(count > 0, Thread.CurrentThread.Name + ": RefCount is 0 pre-decrement for file \"" + fileName + "\"");return --count;}

[User] public int DecRef() {assert count > 0: Thread.currentThread().getName() + ": RefCount is 0 pre-decrement for file \"" + fileName + "\"";return --count;}

[Assistant] public int DecRef(){Debug.Assert(count > 0, Thread.CurrentThread.Name + ": RefCount is 0 pre-decrement for file \"" + fileName + "\"");return --count;}


public List<WeightedFragInfo> getWeightedFragInfoList( List<WeightedFragInfo> src ) {return src;}

public override IList<WeightedFragInfo> GetWeightedFragInfoList(IList<WeightedFragInfo> src){return src;}

[User] public List<WeightedFragInfo> getWeightedFragInfoList( List<WeightedFragInfo> src ) {return src;}

[Assistant] public override IList<WeightedFragInfo> GetWeightedFragInfoList(IList<WeightedFragInfo> src){return src;}


public CreateInstancesFromSnapshotResult createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateInstancesFromSnapshot(request);}

public virtual CreateInstancesFromSnapshotResponse CreateInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesFromSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesFromSnapshotResponseUnmarshaller.Instance;return Invoke<CreateInstancesFromSnapshotResponse>(request, options);}

[User] public CreateInstancesFromSnapshotResult createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateInstancesFromSnapshot(request);}

[Assistant] public virtual CreateInstancesFromSnapshotResponse CreateInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesFromSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesFromSnapshotResponseUnmarshaller.Instance;return Invoke<CreateInstancesFromSnapshotResponse>(request, options);}


public Comparator<? super E> comparator() {return backingMap.comparator();}

public virtual java.util.Comparator<E> comparator(){return backingMap.comparator();}

[User] public Comparator<? super E> comparator() {return backingMap.comparator();}

[Assistant] public virtual java.util.Comparator<E> comparator(){return backingMap.comparator();}


public boolean isValueSecure() {return valueSecure;}

public virtual bool IsValueSecure(){return valueSecure;}

[User] public boolean isValueSecure() {return valueSecure;}

[Assistant] public virtual bool IsValueSecure(){return valueSecure;}


public static short[] grow(short[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Short.BYTES));} elsereturn array;}

public static short[] Grow(short[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){short[] newArray = new short[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT16)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}

[User] public static short[] grow(short[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Short.BYTES));} elsereturn array;}

[Assistant] public static short[] Grow(short[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){short[] newArray = new short[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT16)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}


public ObjectId idFor(int type, byte[] data) {return idFor(type, data, 0, data.length);}

public override ObjectId IdFor(int type, byte[] data){return Delegate().IdFor(type, data);}

[User] public ObjectId idFor(int type, byte[] data) {return idFor(type, data, 0, data.length);}

[Assistant] public override ObjectId IdFor(int type, byte[] data){return Delegate().IdFor(type, data);}


public CreateDomainNameResult createDomainName(CreateDomainNameRequest request) {request = beforeClientExecution(request);return executeCreateDomainName(request);}

public virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;return Invoke<CreateDomainNameResponse>(request, options);}

[User] public CreateDomainNameResult createDomainName(CreateDomainNameRequest request) {request = beforeClientExecution(request);return executeCreateDomainName(request);}

[Assistant] public virtual CreateDomainNameResponse CreateDomainName(CreateDomainNameRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDomainNameRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDomainNameResponseUnmarshaller.Instance;return Invoke<CreateDomainNameResponse>(request, options);}


public DeleteAddressBookResult deleteAddressBook(DeleteAddressBookRequest request) {request = beforeClientExecution(request);return executeDeleteAddressBook(request);}

public virtual DeleteAddressBookResponse DeleteAddressBook(DeleteAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAddressBookResponseUnmarshaller.Instance;return Invoke<DeleteAddressBookResponse>(request, options);}

[User] public DeleteAddressBookResult deleteAddressBook(DeleteAddressBookRequest request) {request = beforeClientExecution(request);return executeDeleteAddressBook(request);}

[Assistant] public virtual DeleteAddressBookResponse DeleteAddressBook(DeleteAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAddressBookResponseUnmarshaller.Instance;return Invoke<DeleteAddressBookResponse>(request, options);}


public void addToolPack(UDFFinder toopack){AggregatingUDFFinder udfs = (AggregatingUDFFinder)_udfFinder;udfs.add(toopack);}

public void AddToolPack(UDFFinder toopack){AggregatingUDFFinder udfs = (AggregatingUDFFinder)_udfFinder;udfs.Add(toopack);}

[User] public void addToolPack(UDFFinder toopack){AggregatingUDFFinder udfs = (AggregatingUDFFinder)_udfFinder;udfs.add(toopack);}

[Assistant] public void AddToolPack(UDFFinder toopack){AggregatingUDFFinder udfs = (AggregatingUDFFinder)_udfFinder;udfs.Add(toopack);}


public SearchUsersResult searchUsers(SearchUsersRequest request) {request = beforeClientExecution(request);return executeSearchUsers(request);}

public virtual SearchUsersResponse SearchUsers(SearchUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchUsersResponseUnmarshaller.Instance;return Invoke<SearchUsersResponse>(request, options);}

[User] public SearchUsersResult searchUsers(SearchUsersRequest request) {request = beforeClientExecution(request);return executeSearchUsers(request);}

[Assistant] public virtual SearchUsersResponse SearchUsers(SearchUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchUsersResponseUnmarshaller.Instance;return Invoke<SearchUsersResponse>(request, options);}


public String getAccessKeySecret() {return privateKeySecret;}

public string GetAccessKeySecret(){return privateKeySecret;}

[User] public String getAccessKeySecret() {return privateKeySecret;}

[Assistant] public string GetAccessKeySecret(){return privateKeySecret;}


public void setValueAt(int index, E value) {if (mGarbage) {gc();}mValues[index] = value;}

public virtual void setValueAt(int index, E value){if (mGarbage){gc();}mValues[index] = value;}

[User] public void setValueAt(int index, E value) {if (mGarbage) {gc();}mValues[index] = value;}

[Assistant] public virtual void setValueAt(int index, E value){if (mGarbage){gc();}mValues[index] = value;}


public RefErrorPtg() {field_1_reserved = 0;}

public RefErrorPtg(){field_1_reserved = 0;}

[User] public RefErrorPtg() {field_1_reserved = 0;}

[Assistant] public RefErrorPtg(){field_1_reserved = 0;}


public boolean getFlagByBit(int bitmask) {return ((flags & bitmask) != 0);}

public bool GetFlagByBit(int bitmask){return ((flags & bitmask) != 0);}

[User] public boolean getFlagByBit(int bitmask) {return ((flags & bitmask) != 0);}

[Assistant] public bool GetFlagByBit(int bitmask){return ((flags & bitmask) != 0);}


public UpdateAccountSendingEnabledResult updateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request) {request = beforeClientExecution(request);return executeUpdateAccountSendingEnabled(request);}

public virtual UpdateAccountSendingEnabledResponse UpdateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAccountSendingEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAccountSendingEnabledResponseUnmarshaller.Instance;return Invoke<UpdateAccountSendingEnabledResponse>(request, options);}

[User] public UpdateAccountSendingEnabledResult updateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request) {request = beforeClientExecution(request);return executeUpdateAccountSendingEnabled(request);}

[Assistant] public virtual UpdateAccountSendingEnabledResponse UpdateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAccountSendingEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAccountSendingEnabledResponseUnmarshaller.Instance;return Invoke<UpdateAccountSendingEnabledResponse>(request, options);}


public AppCookieStickinessPolicy(String policyName, String cookieName) {setPolicyName(policyName);setCookieName(cookieName);}

public AppCookieStickinessPolicy(string policyName, string cookieName){_policyName = policyName;_cookieName = cookieName;}

[User] public AppCookieStickinessPolicy(String policyName, String cookieName) {setPolicyName(policyName);setCookieName(cookieName);}

[Assistant] public AppCookieStickinessPolicy(string policyName, string cookieName){_policyName = policyName;_cookieName = cookieName;}


public GetAccountBalanceResult getAccountBalance(GetAccountBalanceRequest request) {request = beforeClientExecution(request);return executeGetAccountBalance(request);}

public virtual GetAccountBalanceResponse GetAccountBalance(GetAccountBalanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAccountBalanceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAccountBalanceResponseUnmarshaller.Instance;return Invoke<GetAccountBalanceResponse>(request, options);}

[User] public GetAccountBalanceResult getAccountBalance(GetAccountBalanceRequest request) {request = beforeClientExecution(request);return executeGetAccountBalance(request);}

[Assistant] public virtual GetAccountBalanceResponse GetAccountBalance(GetAccountBalanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAccountBalanceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAccountBalanceResponseUnmarshaller.Instance;return Invoke<GetAccountBalanceResponse>(request, options);}


public DescribeConversionTasksResult describeConversionTasks(DescribeConversionTasksRequest request) {request = beforeClientExecution(request);return executeDescribeConversionTasks(request);}

public virtual DescribeConversionTasksResponse DescribeConversionTasks(DescribeConversionTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConversionTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConversionTasksResponseUnmarshaller.Instance;return Invoke<DescribeConversionTasksResponse>(request, options);}

[User] public DescribeConversionTasksResult describeConversionTasks(DescribeConversionTasksRequest request) {request = beforeClientExecution(request);return executeDescribeConversionTasks(request);}

[Assistant] public virtual DescribeConversionTasksResponse DescribeConversionTasks(DescribeConversionTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConversionTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConversionTasksResponseUnmarshaller.Instance;return Invoke<DescribeConversionTasksResponse>(request, options);}


public DescribeImagesResult describeImages() {return describeImages(new DescribeImagesRequest());}

public virtual DescribeImagesResponse DescribeImages(){return DescribeImages(new DescribeImagesRequest());}

[User] public DescribeImagesResult describeImages() {return describeImages(new DescribeImagesRequest());}

[Assistant] public virtual DescribeImagesResponse DescribeImages(){return DescribeImages(new DescribeImagesRequest());}


public override void Close(){delegate1.Close();}

[User] public void close() {_closed = true;}

[Assistant] public override void Close(){delegate1.Close();}


public ListSignalingChannelsResult listSignalingChannels(ListSignalingChannelsRequest request) {request = beforeClientExecution(request);return executeListSignalingChannels(request);}

public virtual ListSignalingChannelsResponse ListSignalingChannels(ListSignalingChannelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSignalingChannelsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSignalingChannelsResponseUnmarshaller.Instance;return Invoke<ListSignalingChannelsResponse>(request, options);}

[User] public ListSignalingChannelsResult listSignalingChannels(ListSignalingChannelsRequest request) {request = beforeClientExecution(request);return executeListSignalingChannels(request);}

[Assistant] public virtual ListSignalingChannelsResponse ListSignalingChannels(ListSignalingChannelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSignalingChannelsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSignalingChannelsResponseUnmarshaller.Instance;return Invoke<ListSignalingChannelsResponse>(request, options);}


public MergeFacesRequest() {super("CloudPhoto", "2017-07-11", "MergeFaces", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

public MergeFacesRequest(): base("CloudPhoto", "2017-07-11", "MergeFaces", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}

[User] public MergeFacesRequest() {super("CloudPhoto", "2017-07-11", "MergeFaces", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

[Assistant] public MergeFacesRequest(): base("CloudPhoto", "2017-07-11", "MergeFaces", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}


public DetectTextResult detectText(DetectTextRequest request) {request = beforeClientExecution(request);return executeDetectText(request);}

public virtual DetectTextResponse DetectText(DetectTextRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectTextRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectTextResponseUnmarshaller.Instance;return Invoke<DetectTextResponse>(request, options);}

[User] public DetectTextResult detectText(DetectTextRequest request) {request = beforeClientExecution(request);return executeDetectText(request);}

[Assistant] public virtual DetectTextResponse DetectText(DetectTextRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectTextRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectTextResponseUnmarshaller.Instance;return Invoke<DetectTextResponse>(request, options);}


public DoubleBuffer get(double[] dst) {return get(dst, 0, dst.length);}

public virtual java.nio.DoubleBuffer get(double[] dst){return get(dst, 0, dst.Length);}

[User] public DoubleBuffer get(double[] dst) {return get(dst, 0, dst.length);}

[Assistant] public virtual java.nio.DoubleBuffer get(double[] dst){return get(dst, 0, dst.Length);}


public long getCreationTime() {return decodeTS(P_CTIME);}

public virtual long GetCreationTime(){return DecodeTS(P_CTIME);}

[User] public long getCreationTime() {return decodeTS(P_CTIME);}

[Assistant] public virtual long GetCreationTime(){return DecodeTS(P_CTIME);}


public TreeFilter clone() {return new Binary(a.clone(), b.clone());}

public override TreeFilter Clone(){return new AndTreeFilter.Binary(a.Clone(), b.Clone());}

[User] public TreeFilter clone() {return new Binary(a.clone(), b.clone());}

[Assistant] public override TreeFilter Clone(){return new AndTreeFilter.Binary(a.Clone(), b.Clone());}


public ByteBuffer putChar(char value) {int newPosition = position + SizeOf.CHAR;if (newPosition > limit) {throw new BufferOverflowException();}Memory.pokeShort(backingArray, offset + position, (short) value, order);position = newPosition;return this;}

public override java.nio.ByteBuffer putChar(char value){int newPosition = _position + libcore.io.SizeOf.CHAR;if (newPosition > _limit){throw new java.nio.BufferOverflowException();}libcore.io.Memory.pokeShort(backingArray, offset + _position, (short)value, _order);_position = newPosition;return this;}

[User] public ByteBuffer putChar(char value) {int newPosition = position + SizeOf.CHAR;if (newPosition > limit) {throw new BufferOverflowException();}Memory.pokeShort(backingArray, offset + position, (short) value, order);position = newPosition;return this;}

[Assistant] public override java.nio.ByteBuffer putChar(char value){int newPosition = _position + libcore.io.SizeOf.CHAR;if (newPosition > _limit){throw new java.nio.BufferOverflowException();}libcore.io.Memory.pokeShort(backingArray, offset + _position, (short)value, _order);_position = newPosition;return this;}


public String toString() {return String.format("Rect [(%d,%d)-(%d,%d): %dx%d]", x, y, x + w, y + h, w, h);}

public override string ToString(){java.lang.StringBuilder sb = new java.lang.StringBuilder(32);sb.append("Rect(");sb.append(left);sb.append(", ");sb.append(top);sb.append(" - ");sb.append(right);sb.append(", ");sb.append(bottom);sb.append(")");return sb.ToString();}

[User] public String toString() {return String.format("Rect [(%d,%d)-(%d,%d): %dx%d]", x, y, x + w, y + h, w, h);}

[Assistant] public override string ToString(){java.lang.StringBuilder sb = new java.lang.StringBuilder(32);sb.append("Rect(");sb.append(left);sb.append(", ");sb.append(top);sb.append(" - ");sb.append(right);sb.append(", ");sb.append(bottom);sb.append(")");return sb.ToString();}


public static LongBuffer wrap(long[] array) {return wrap(array, 0, array.length);}

public static java.nio.LongBuffer wrap(long[] array_1){return wrap(array_1, 0, array_1.Length);}

[User] public static LongBuffer wrap(long[] array) {return wrap(array, 0, array.length);}

[Assistant] public static java.nio.LongBuffer wrap(long[] array_1){return wrap(array_1, 0, array_1.Length);}


public CharsRef clone() {return new CharsRef(chars, offset, length);}

public object Clone(){return new CharsRef(chars, Offset, Length);}

[User] public CharsRef clone() {return new CharsRef(chars, offset, length);}

[Assistant] public object Clone(){return new CharsRef(chars, Offset, Length);}


public SpanNearClauseFactory(IndexReader reader, String fieldName, BasicQueryFactory qf) {this.reader = reader;this.fieldName = fieldName;this.weightBySpanQuery = new HashMap<>();this.qf = qf;}

public SpanNearClauseFactory(IndexReader reader, string fieldName, BasicQueryFactory qf) {this.reader = reader;this.fieldName = fieldName;this.weightBySpanQuery = new JCG.Dictionary<SpanQuery, float>();this.qf = qf;}

[User] public SpanNearClauseFactory(IndexReader reader, String fieldName, BasicQueryFactory qf) {this.reader = reader;this.fieldName = fieldName;this.weightBySpanQuery = new HashMap<>();this.qf = qf;}

[Assistant] public SpanNearClauseFactory(IndexReader reader, string fieldName, BasicQueryFactory qf) {this.reader = reader;this.fieldName = fieldName;this.weightBySpanQuery = new JCG.Dictionary<SpanQuery, float>();this.qf = qf;}


public BeginRecord clone() {return copy();}

public override Object Clone(){BeginRecord br = new BeginRecord();return br;}

[User] public BeginRecord clone() {return copy();}

[Assistant] public override Object Clone(){BeginRecord br = new BeginRecord();return br;}


[User] public int start() {return start(0);}

[Assistant] public int start(){return start(0);}


public DescribeGameSessionQueuesResult describeGameSessionQueues(DescribeGameSessionQueuesRequest request) {request = beforeClientExecution(request);return executeDescribeGameSessionQueues(request);}

public virtual DescribeGameSessionQueuesResponse DescribeGameSessionQueues(DescribeGameSessionQueuesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeGameSessionQueuesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeGameSessionQueuesResponseUnmarshaller.Instance;return Invoke<DescribeGameSessionQueuesResponse>(request, options);}

[User] public DescribeGameSessionQueuesResult describeGameSessionQueues(DescribeGameSessionQueuesRequest request) {request = beforeClientExecution(request);return executeDescribeGameSessionQueues(request);}

[Assistant] public virtual DescribeGameSessionQueuesResponse DescribeGameSessionQueues(DescribeGameSessionQueuesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeGameSessionQueuesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeGameSessionQueuesResponseUnmarshaller.Instance;return Invoke<DescribeGameSessionQueuesResponse>(request, options);}


public SubmitAttachmentStateChangesResult submitAttachmentStateChanges(SubmitAttachmentStateChangesRequest request) {request = beforeClientExecution(request);return executeSubmitAttachmentStateChanges(request);}

public virtual SubmitAttachmentStateChangesResponse SubmitAttachmentStateChanges(SubmitAttachmentStateChangesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SubmitAttachmentStateChangesRequestMarshaller.Instance;options.ResponseUnmarshaller = SubmitAttachmentStateChangesResponseUnmarshaller.Instance;return Invoke<SubmitAttachmentStateChangesResponse>(request, options);}

[User] public SubmitAttachmentStateChangesResult submitAttachmentStateChanges(SubmitAttachmentStateChangesRequest request) {request = beforeClientExecution(request);return executeSubmitAttachmentStateChanges(request);}

[Assistant] public virtual SubmitAttachmentStateChangesResponse SubmitAttachmentStateChanges(SubmitAttachmentStateChangesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SubmitAttachmentStateChangesRequestMarshaller.Instance;options.ResponseUnmarshaller = SubmitAttachmentStateChangesResponseUnmarshaller.Instance;return Invoke<SubmitAttachmentStateChangesResponse>(request, options);}


public UnicodeString getString(int id ){return field_3_strings.get( id );}

public UnicodeString GetString(int id){return (UnicodeString)field_3_strings[id];}

[User] public UnicodeString getString(int id ){return field_3_strings.get( id );}

[Assistant] public UnicodeString GetString(int id){return (UnicodeString)field_3_strings[id];}


public BigInteger getSignificand() {return _significand;}

public BigInteger GetSignificand(){return _significand;}

[User] public BigInteger getSignificand() {return _significand;}

[Assistant] public BigInteger GetSignificand(){return _significand;}


public void join( AbstractEscherHolderRecord record ){rawDataContainer.concatenate(record.getRawData());}

public void Join(AbstractEscherHolderRecord record){rawDataContainer.Concatenate(record.RawData);}

[User] public void join( AbstractEscherHolderRecord record ){rawDataContainer.concatenate(record.getRawData());}

[Assistant] public void Join(AbstractEscherHolderRecord record){rawDataContainer.Concatenate(record.RawData);}


public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} elsereturn array;}

public static byte[] Grow(byte[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){byte[] newArray = new byte[Oversize(minSize, 1)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}

[User] public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} elsereturn array;}

[Assistant] public static byte[] Grow(byte[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){byte[] newArray = new byte[Oversize(minSize, 1)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}


public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;FlushInfo other = (FlushInfo) obj;if (estimatedSegmentSize != other.estimatedSegmentSize)return false;if (numDocs != other.numDocs)return false;return true;}

public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}FlushInfo other = (FlushInfo)obj;if (EstimatedSegmentSize != other.EstimatedSegmentSize){return false;}if (NumDocs != other.NumDocs){return false;}return true;}

[User] public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;FlushInfo other = (FlushInfo) obj;if (estimatedSegmentSize != other.estimatedSegmentSize)return false;if (numDocs != other.numDocs)return false;return true;}

[Assistant] public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}FlushInfo other = (FlushInfo)obj;if (EstimatedSegmentSize != other.EstimatedSegmentSize){return false;}if (NumDocs != other.NumDocs){return false;}return true;}


public void copyRawTo(int[] b, int o) {b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;}

public virtual void CopyRawTo(int[] b, int o){b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;}

[User] public void copyRawTo(int[] b, int o) {b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;}

[Assistant] public virtual void CopyRawTo(int[] b, int o){b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;}


public ReadPipelineResult readPipeline(ReadPipelineRequest request) {request = beforeClientExecution(request);return executeReadPipeline(request);}

public virtual ReadPipelineResponse ReadPipeline(ReadPipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReadPipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = ReadPipelineResponseUnmarshaller.Instance;return Invoke<ReadPipelineResponse>(request, options);}

[User] public ReadPipelineResult readPipeline(ReadPipelineRequest request) {request = beforeClientExecution(request);return executeReadPipeline(request);}

[Assistant] public virtual ReadPipelineResponse ReadPipeline(ReadPipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReadPipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = ReadPipelineResponseUnmarshaller.Instance;return Invoke<ReadPipelineResponse>(request, options);}


public BoostQueryNode(QueryNode query, float value) {if (query == null) {throw new QueryNodeError(new MessageImpl(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;setLeaf(false);allocate();add(query);}

public BoostQueryNode(IQueryNode query, float value){if (query == null){throw new QueryNodeError(new Message(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;IsLeaf = false;Allocate();Add(query);}

[User] public BoostQueryNode(QueryNode query, float value) {if (query == null) {throw new QueryNodeError(new MessageImpl(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;setLeaf(false);allocate();add(query);}

[Assistant] public BoostQueryNode(IQueryNode query, float value){if (query == null){throw new QueryNodeError(new Message(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;IsLeaf = false;Allocate();Add(query);}


public void setFallbackAlgorithm(DiffAlgorithm alg) {fallback = alg;}

public virtual void SetFallbackAlgorithm(DiffAlgorithm alg){fallback = alg;}

[User] public void setFallbackAlgorithm(DiffAlgorithm alg) {fallback = alg;}

[Assistant] public virtual void SetFallbackAlgorithm(DiffAlgorithm alg){fallback = alg;}


public void add(Transition t) {find(t.min).starts.add(t);find(1+t.max).ends.add(t);}

public void Add(Transition t){Find(t.min).starts.Add(t);Find(1 + t.max).ends.Add(t);}

[User] public void add(Transition t) {find(t.min).starts.add(t);find(1+t.max).ends.add(t);}

[Assistant] public void Add(Transition t){Find(t.min).starts.Add(t);Find(1 + t.max).ends.Add(t);}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FEATURE FORMULA ERRORS]\n");buffer.append("  checkCalculationErrors    = ");buffer.append("  checkEmptyCellRef         = ");buffer.append("  checkNumbersAsText        = ");buffer.append("  checkInconsistentRanges   = ");buffer.append("  checkInconsistentFormulas = ");buffer.append("  checkDateTimeFormats      = ");buffer.append("  checkUnprotectedFormulas  = ");buffer.append("  performDataValidation     = ");buffer.append(" [/FEATURE FORMULA ERRORS]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FEATURE FORMULA ERRORS]\n");buffer.Append("  checkCalculationErrors    = ");buffer.Append("  checkEmptyCellRef         = ");buffer.Append("  checkNumbersAsText        = ");buffer.Append("  checkInconsistentRanges   = ");buffer.Append("  checkInconsistentFormulas = ");buffer.Append("  checkDateTimeFormats      = ");buffer.Append("  checkUnprotectedFormulas  = ");buffer.Append("  performDataValidation     = ");buffer.Append(" [/FEATURE FORMULA ERRORS]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FEATURE FORMULA ERRORS]\n");buffer.append("  checkCalculationErrors    = ");buffer.append("  checkEmptyCellRef         = ");buffer.append("  checkNumbersAsText        = ");buffer.append("  checkInconsistentRanges   = ");buffer.append("  checkInconsistentFormulas = ");buffer.append("  checkDateTimeFormats      = ");buffer.append("  checkUnprotectedFormulas  = ");buffer.append("  performDataValidation     = ");buffer.append(" [/FEATURE FORMULA ERRORS]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FEATURE FORMULA ERRORS]\n");buffer.Append("  checkCalculationErrors    = ");buffer.Append("  checkEmptyCellRef         = ");buffer.Append("  checkNumbersAsText        = ");buffer.Append("  checkInconsistentRanges   = ");buffer.Append("  checkInconsistentFormulas = ");buffer.Append("  checkDateTimeFormats      = ");buffer.Append("  checkUnprotectedFormulas  = ");buffer.Append("  performDataValidation     = ");buffer.Append(" [/FEATURE FORMULA ERRORS]\n");return buffer.ToString();}


public void execute(Lexer lexer) {lexer.setType(type);}

public virtual void Execute(Lexer lexer){lexer.Type = type;}

[User] public void execute(Lexer lexer) {lexer.setType(type);}

[Assistant] public virtual void Execute(Lexer lexer){lexer.Type = type;}


public UpgradePublishedSchemaResult upgradePublishedSchema(UpgradePublishedSchemaRequest request) {request = beforeClientExecution(request);return executeUpgradePublishedSchema(request);}

public virtual UpgradePublishedSchemaResponse UpgradePublishedSchema(UpgradePublishedSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance;return Invoke<UpgradePublishedSchemaResponse>(request, options);}

[User] public UpgradePublishedSchemaResult upgradePublishedSchema(UpgradePublishedSchemaRequest request) {request = beforeClientExecution(request);return executeUpgradePublishedSchema(request);}

[Assistant] public virtual UpgradePublishedSchemaResponse UpgradePublishedSchema(UpgradePublishedSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance;return Invoke<UpgradePublishedSchemaResponse>(request, options);}


public int readRecordSID() {readPlain(buffer, 0, LittleEndianConsts.SHORT_SIZE);int sid = LittleEndian.getUShort(buffer, 0);shouldSkipEncryptionOnCurrentRecord = isNeverEncryptedRecord(sid);return sid;}

public int ReadRecordSID(){int sid = _le.ReadUShort();_rc4.SkipTwoBytes();_rc4.StartRecord(sid);return sid;}

[User] public int readRecordSID() {readPlain(buffer, 0, LittleEndianConsts.SHORT_SIZE);int sid = LittleEndian.getUShort(buffer, 0);shouldSkipEncryptionOnCurrentRecord = isNeverEncryptedRecord(sid);return sid;}

[Assistant] public int ReadRecordSID(){int sid = _le.ReadUShort();_rc4.SkipTwoBytes();_rc4.StartRecord(sid);return sid;}


public CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateImageBuilderStreamingURL(request);}

public virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateImageBuilderStreamingURLResponse>(request, options);}

[User] public CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateImageBuilderStreamingURL(request);}

[Assistant] public virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateImageBuilderStreamingURLResponse>(request, options);}


public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier) {_bookName = bookName;_sheetIdentifier = sheetIdentifier;}

public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier){_bookName = bookName;_sheetIdentifier = sheetIdentifier;}

[User] public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier) {_bookName = bookName;_sheetIdentifier = sheetIdentifier;}

[Assistant] public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier){_bookName = bookName;_sheetIdentifier = sheetIdentifier;}


public boolean equals( Object o ) {return o instanceof PortugueseStemmer;}

public override bool Equals(object o){return o is PortugueseStemmer;}

[User] public boolean equals( Object o ) {return o instanceof PortugueseStemmer;}

[Assistant] public override bool Equals(object o){return o is PortugueseStemmer;}


public PasswordRecord clone() {return copy();}

public override Object Clone(){return new PasswordRecord(field_1_password);}

[User] public PasswordRecord clone() {return copy();}

[Assistant] public override Object Clone(){return new PasswordRecord(field_1_password);}


public DescribeTableRequest(String tableName) {setTableName(tableName);}

public DescribeTableRequest(string tableName){_tableName = tableName;}

[User] public DescribeTableRequest(String tableName) {setTableName(tableName);}

[Assistant] public DescribeTableRequest(string tableName){_tableName = tableName;}


public ModifyCacheParameterGroupResult modifyCacheParameterGroup(ModifyCacheParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyCacheParameterGroup(request);}

public virtual ModifyCacheParameterGroupResponse ModifyCacheParameterGroup(ModifyCacheParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyCacheParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyCacheParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyCacheParameterGroupResponse>(request, options);}

[User] public ModifyCacheParameterGroupResult modifyCacheParameterGroup(ModifyCacheParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyCacheParameterGroup(request);}

[Assistant] public virtual ModifyCacheParameterGroupResponse ModifyCacheParameterGroup(ModifyCacheParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyCacheParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyCacheParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyCacheParameterGroupResponse>(request, options);}


public E set(int location, E object) {ListIterator<E> it = listIterator(location);if (!it.hasNext()) {throw new IndexOutOfBoundsException();}E result = it.next();it.set(object);return result;}

public override E set(int location, E @object){java.util.ListIterator<E> it = listIterator(location);if (!it.hasNext()){throw new System.IndexOutOfRangeException();}E result = it.next();it.set(@object);return result;}

[User] public E set(int location, E object) {ListIterator<E> it = listIterator(location);if (!it.hasNext()) {throw new IndexOutOfBoundsException();}E result = it.next();it.set(object);return result;}

[Assistant] public override E set(int location, E @object){java.util.ListIterator<E> it = listIterator(location);if (!it.hasNext()){throw new System.IndexOutOfRangeException();}E result = it.next();it.set(@object);return result;}


public String toFormulaString() {return NumberToTextConverter.toText(field_1_value);}

public override String ToFormulaString(){return NumberToTextConverter.ToText(Value);}

[User] public String toFormulaString() {return NumberToTextConverter.toText(field_1_value);}

[Assistant] public override String ToFormulaString(){return NumberToTextConverter.ToText(Value);}


public ListBootstrapActionsResult listBootstrapActions(ListBootstrapActionsRequest request) {request = beforeClientExecution(request);return executeListBootstrapActions(request);}

public virtual ListBootstrapActionsResponse ListBootstrapActions(ListBootstrapActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBootstrapActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBootstrapActionsResponseUnmarshaller.Instance;return Invoke<ListBootstrapActionsResponse>(request, options);}

[User] public ListBootstrapActionsResult listBootstrapActions(ListBootstrapActionsRequest request) {request = beforeClientExecution(request);return executeListBootstrapActions(request);}

[Assistant] public virtual ListBootstrapActionsResponse ListBootstrapActions(ListBootstrapActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBootstrapActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBootstrapActionsResponseUnmarshaller.Instance;return Invoke<ListBootstrapActionsResponse>(request, options);}


public void serialize(LittleEndianOutput out) {out.writeShort(_wStyle);out.writeShort(_cLine);out.writeShort(_dxMin);StringUtil.writeUnicodeString(out, _str);if(_unused != null) {out.writeByte(_unused);}}

public void Serialize(ILittleEndianOutput out1) {out1.WriteShort(_wStyle);out1.WriteShort(_cLine);out1.WriteShort(_dxMin);StringUtil.WriteUnicodeString(out1, _str);out1.WriteByte(_unused);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(_wStyle);out.writeShort(_cLine);out.writeShort(_dxMin);StringUtil.writeUnicodeString(out, _str);if(_unused != null) {out.writeByte(_unused);}}

[Assistant] public void Serialize(ILittleEndianOutput out1) {out1.WriteShort(_wStyle);out1.WriteShort(_cLine);out1.WriteShort(_dxMin);StringUtil.WriteUnicodeString(out1, _str);out1.WriteByte(_unused);}


public SynonymFilter(TokenStream input, SynonymMap synonyms, boolean ignoreCase) {super(input);this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.fst;if (fst == null) {throw new IllegalArgumentException("fst must be non-null");}this.fstReader = fst.getBytesReader();rollBufferSize = 1+synonyms.maxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for(int pos=0;pos<rollBufferSize;pos++) {futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<>();}

public SynonymFilter(TokenStream input, SynonymMap synonyms, bool ignoreCase): base(input){termAtt = AddAttribute<ICharTermAttribute>();posIncrAtt = AddAttribute<IPositionIncrementAttribute>();posLenAtt = AddAttribute<IPositionLengthAttribute>();typeAtt = AddAttribute<ITypeAttribute>();offsetAtt = AddAttribute<IOffsetAttribute>();this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.Fst;if (fst == null){throw new System.ArgumentException("fst must be non-null");}this.fstReader = fst.GetBytesReader();rollBufferSize = 1 + synonyms.MaxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for (int pos = 0; pos < rollBufferSize; pos++){futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<BytesRef>();}

[User] public SynonymFilter(TokenStream input, SynonymMap synonyms, boolean ignoreCase) {super(input);this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.fst;if (fst == null) {throw new IllegalArgumentException("fst must be non-null");}this.fstReader = fst.getBytesReader();rollBufferSize = 1+synonyms.maxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for(int pos=0;pos<rollBufferSize;pos++) {futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<>();}

[Assistant] public SynonymFilter(TokenStream input, SynonymMap synonyms, bool ignoreCase): base(input){termAtt = AddAttribute<ICharTermAttribute>();posIncrAtt = AddAttribute<IPositionIncrementAttribute>();posLenAtt = AddAttribute<IPositionLengthAttribute>();typeAtt = AddAttribute<ITypeAttribute>();offsetAtt = AddAttribute<IOffsetAttribute>();this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.Fst;if (fst == null){throw new System.ArgumentException("fst must be non-null");}this.fstReader = fst.GetBytesReader();rollBufferSize = 1 + synonyms.MaxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for (int pos = 0; pos < rollBufferSize; pos++){futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<BytesRef>();}


public CreateApiResult createApi(CreateApiRequest request) {request = beforeClientExecution(request);return executeCreateApi(request);}

public virtual CreateApiResponse CreateApi(CreateApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApiRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;return Invoke<CreateApiResponse>(request, options);}

[User] public CreateApiResult createApi(CreateApiRequest request) {request = beforeClientExecution(request);return executeCreateApi(request);}

[Assistant] public virtual CreateApiResponse CreateApi(CreateApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApiRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;return Invoke<CreateApiResponse>(request, options);}


public IndexOutput createOutput(String name, IOContext context) throws IOException {ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect) {return delegate.createOutput(name, context);} else {return new NativeUnixIndexOutput(getDirectory().resolve(name), name, mergeBufferSize);}}

public IndexOutput createOutput(string name, IOContext context) throws IOException{ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect){return @delegate.createOutput(name, context);}else{ensureCanWrite(name);return new NativeUnixIndexOutput(new File(Directory, name), mergeBufferSize);}}

[User] public IndexOutput createOutput(String name, IOContext context) throws IOException {ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect) {return delegate.createOutput(name, context);} else {return new NativeUnixIndexOutput(getDirectory().resolve(name), name, mergeBufferSize);}}

[Assistant] public IndexOutput createOutput(string name, IOContext context) throws IOException{ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect){return @delegate.createOutput(name, context);}else{ensureCanWrite(name);return new NativeUnixIndexOutput(new File(Directory, name), mergeBufferSize);}}


public void drawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"drawArc not supported");}

public void DrawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawArc not supported");}

[User] public void drawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"drawArc not supported");}

[Assistant] public void DrawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawArc not supported");}


public UpdateUserSettingsResult updateUserSettings(UpdateUserSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateUserSettings(request);}

public virtual UpdateUserSettingsResponse UpdateUserSettings(UpdateUserSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserSettingsResponseUnmarshaller.Instance;return Invoke<UpdateUserSettingsResponse>(request, options);}

[User] public UpdateUserSettingsResult updateUserSettings(UpdateUserSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateUserSettings(request);}

[Assistant] public virtual UpdateUserSettingsResponse UpdateUserSettings(UpdateUserSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserSettingsResponseUnmarshaller.Instance;return Invoke<UpdateUserSettingsResponse>(request, options);}


public DeleteDiskSnapshotResult deleteDiskSnapshot(DeleteDiskSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteDiskSnapshot(request);}

public virtual DeleteDiskSnapshotResponse DeleteDiskSnapshot(DeleteDiskSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDiskSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDiskSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteDiskSnapshotResponse>(request, options);}

[User] public DeleteDiskSnapshotResult deleteDiskSnapshot(DeleteDiskSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteDiskSnapshot(request);}

[Assistant] public virtual DeleteDiskSnapshotResponse DeleteDiskSnapshot(DeleteDiskSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDiskSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDiskSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteDiskSnapshotResponse>(request, options);}


public ColumnInfoRecord() {setColumnWidth(2275);_options = 2;_xfIndex = 0x0f;field_6_reserved = 2; }

public ColumnInfoRecord(){this.ColumnWidth = 2275;_options = 2;_xf_index = 0x0f;field_6_reserved = 2; }

[User] public ColumnInfoRecord() {setColumnWidth(2275);_options = 2;_xfIndex = 0x0f;field_6_reserved = 2; }

[Assistant] public ColumnInfoRecord(){this.ColumnWidth = 2275;_options = 2;_xf_index = 0x0f;field_6_reserved = 2; }


public final long getLong(int index) {checkIndex(index, SizeOf.LONG);return Memory.peekLong(backingArray, offset + index, order);}

public sealed override long getLong(int index){checkIndex(index, libcore.io.SizeOf.LONG);return libcore.io.Memory.peekLong(backingArray, offset + index, _order);}

[User] public final long getLong(int index) {checkIndex(index, SizeOf.LONG);return Memory.peekLong(backingArray, offset + index, order);}

[Assistant] public sealed override long getLong(int index){checkIndex(index, libcore.io.SizeOf.LONG);return libcore.io.Memory.peekLong(backingArray, offset + index, _order);}


public DeleteKnownHostKeysResult deleteKnownHostKeys(DeleteKnownHostKeysRequest request) {request = beforeClientExecution(request);return executeDeleteKnownHostKeys(request);}

public virtual DeleteKnownHostKeysResponse DeleteKnownHostKeys(DeleteKnownHostKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteKnownHostKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteKnownHostKeysResponseUnmarshaller.Instance;return Invoke<DeleteKnownHostKeysResponse>(request, options);}

[User] public DeleteKnownHostKeysResult deleteKnownHostKeys(DeleteKnownHostKeysRequest request) {request = beforeClientExecution(request);return executeDeleteKnownHostKeys(request);}

[Assistant] public virtual DeleteKnownHostKeysResponse DeleteKnownHostKeys(DeleteKnownHostKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteKnownHostKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteKnownHostKeysResponseUnmarshaller.Instance;return Invoke<DeleteKnownHostKeysResponse>(request, options);}


public DeleteSigningCertificateRequest(String certificateId) {setCertificateId(certificateId);}

public DeleteSigningCertificateRequest(string certificateId){_certificateId = certificateId;}

[User] public DeleteSigningCertificateRequest(String certificateId) {setCertificateId(certificateId);}

[Assistant] public DeleteSigningCertificateRequest(string certificateId){_certificateId = certificateId;}


public StopProcessingJobResult stopProcessingJob(StopProcessingJobRequest request) {request = beforeClientExecution(request);return executeStopProcessingJob(request);}

public virtual StopProcessingJobResponse StopProcessingJob(StopProcessingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopProcessingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopProcessingJobResponseUnmarshaller.Instance;return Invoke<StopProcessingJobResponse>(request, options);}

[User] public StopProcessingJobResult stopProcessingJob(StopProcessingJobRequest request) {request = beforeClientExecution(request);return executeStopProcessingJob(request);}

[Assistant] public virtual StopProcessingJobResponse StopProcessingJob(StopProcessingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopProcessingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopProcessingJobResponseUnmarshaller.Instance;return Invoke<StopProcessingJobResponse>(request, options);}


public TermsEnum getTermsEnum(Terms terms) throws IOException {switch(type) {case NONE:return TermsEnum.EMPTY;case ALL:return terms.iterator();case SINGLE:return new SingleTermsEnum(terms.iterator(), term);case NORMAL:return terms.intersect(this, null);default:throw new RuntimeException("unhandled case");}}

public virtual TermsEnum GetTermsEnum(Terms terms){switch (Type){case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NONE:return TermsEnum.EMPTY;case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.ALL:return terms.GetIterator(null);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.SINGLE:return new SingleTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.PREFIX:return new PrefixTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NORMAL:return terms.Intersect(this, null);default:throw new Exception("unhandled case");}}

[User] public TermsEnum getTermsEnum(Terms terms) throws IOException {switch(type) {case NONE:return TermsEnum.EMPTY;case ALL:return terms.iterator();case SINGLE:return new SingleTermsEnum(terms.iterator(), term);case NORMAL:return terms.intersect(this, null);default:throw new RuntimeException("unhandled case");}}

[Assistant] public virtual TermsEnum GetTermsEnum(Terms terms){switch (Type){case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NONE:return TermsEnum.EMPTY;case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.ALL:return terms.GetIterator(null);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.SINGLE:return new SingleTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.PREFIX:return new PrefixTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NORMAL:return terms.Intersect(this, null);default:throw new Exception("unhandled case");}}


public void grow() {costs = ArrayUtil.grow(costs, 1+count);lastRightID = ArrayUtil.grow(lastRightID, 1+count);backPos = ArrayUtil.grow(backPos, 1+count);backWordPos = ArrayUtil.grow(backWordPos, 1+count);backIndex = ArrayUtil.grow(backIndex, 1+count);backID = ArrayUtil.grow(backID, 1+count);final Type[] newBackType = new Type[backID.length];System.arraycopy(backType, 0, newBackType, 0, backType.length);backType = newBackType;}

public void Grow(){costs = ArrayUtil.Grow(costs, 1 + count);lastRightID = ArrayUtil.Grow(lastRightID, 1 + count);backPos = ArrayUtil.Grow(backPos, 1 + count);backIndex = ArrayUtil.Grow(backIndex, 1 + count);backID = ArrayUtil.Grow(backID, 1 + count);JapaneseTokenizerType[] newBackType = new JapaneseTokenizerType[backID.Length];System.Array.Copy(backType, 0, newBackType, 0, backType.Length);backType = newBackType;}

[User] public void grow() {costs = ArrayUtil.grow(costs, 1+count);lastRightID = ArrayUtil.grow(lastRightID, 1+count);backPos = ArrayUtil.grow(backPos, 1+count);backWordPos = ArrayUtil.grow(backWordPos, 1+count);backIndex = ArrayUtil.grow(backIndex, 1+count);backID = ArrayUtil.grow(backID, 1+count);final Type[] newBackType = new Type[backID.length];System.arraycopy(backType, 0, newBackType, 0, backType.length);backType = newBackType;}

[Assistant] public void Grow(){costs = ArrayUtil.Grow(costs, 1 + count);lastRightID = ArrayUtil.Grow(lastRightID, 1 + count);backPos = ArrayUtil.Grow(backPos, 1 + count);backIndex = ArrayUtil.Grow(backIndex, 1 + count);backID = ArrayUtil.Grow(backID, 1 + count);JapaneseTokenizerType[] newBackType = new JapaneseTokenizerType[backID.Length];System.Array.Copy(backType, 0, newBackType, 0, backType.Length);backType = newBackType;}


public int get(final int index){if (index >= _limit){throw new IndexOutOfBoundsException(index + " not accessible in a list of length " + _limit);}return _array[ index ];}

public int Get(int index){if (index >= _limit){throw new IndexOutOfRangeException(index + " not accessible in a list of length " + _limit);}return _array[index];}

[User] public int get(final int index){if (index >= _limit){throw new IndexOutOfBoundsException(index + " not accessible in a list of length " + _limit);}return _array[ index ];}

[Assistant] public int Get(int index){if (index >= _limit){throw new IndexOutOfRangeException(index + " not accessible in a list of length " + _limit);}return _array[index];}


public LongBuffer slice() {return new ReadWriteLongArrayBuffer(remaining(), backingArray, offset + position);}

public override java.nio.LongBuffer slice(){return new java.nio.ReadWriteLongArrayBuffer(remaining(), backingArray, offset +_position);}

[User] public LongBuffer slice() {return new ReadWriteLongArrayBuffer(remaining(), backingArray, offset + position);}

[Assistant] public override java.nio.LongBuffer slice(){return new java.nio.ReadWriteLongArrayBuffer(remaining(), backingArray, offset +_position);}


public ListProblemsResult listProblems(ListProblemsRequest request) {request = beforeClientExecution(request);return executeListProblems(request);}

public virtual ListProblemsResponse ListProblems(ListProblemsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProblemsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProblemsResponseUnmarshaller.Instance;return Invoke<ListProblemsResponse>(request, options);}

[User] public ListProblemsResult listProblems(ListProblemsRequest request) {request = beforeClientExecution(request);return executeListProblems(request);}

[Assistant] public virtual ListProblemsResponse ListProblems(ListProblemsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProblemsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProblemsResponseUnmarshaller.Instance;return Invoke<ListProblemsResponse>(request, options);}


public static double pmt(double r, double n, double p, double f, boolean t) {double retval = 0;if (r == 0) {retval = -1*(f+p)/n;}else {double r1 = r + 1;retval = ( f + p * Math.pow(r1, n) ) * r/((t ? r1 : 1) * (1 - Math.pow(r1, n)));}return retval;}

public static double pmt(double r, double n, double p, double f, bool t){double retval = 0;if (r == 0){retval = -1 * (f + p) / n;}else{double r1 = r + 1;retval = (f + p * Math.Pow(r1, n)) * r/((t ? r1 : 1) * (1 - Math.Pow(r1, n)));}return retval;}

[User] public static double pmt(double r, double n, double p, double f, boolean t) {double retval = 0;if (r == 0) {retval = -1*(f+p)/n;}else {double r1 = r + 1;retval = ( f + p * Math.pow(r1, n) ) * r/((t ? r1 : 1) * (1 - Math.pow(r1, n)));}return retval;}

[Assistant] public static double pmt(double r, double n, double p, double f, bool t){double retval = 0;if (r == 0){retval = -1 * (f + p) / n;}else{double r1 = r + 1;retval = (f + p * Math.Pow(r1, n)) * r/((t ? r1 : 1) * (1 - Math.Pow(r1, n)));}return retval;}


public PrintGridlinesRecord clone() {return copy();}

public override Object Clone(){PrintGridlinesRecord rec = new PrintGridlinesRecord();rec.field_1_print_gridlines = field_1_print_gridlines;return rec;}

[User] public PrintGridlinesRecord clone() {return copy();}

[Assistant] public override Object Clone(){PrintGridlinesRecord rec = new PrintGridlinesRecord();rec.field_1_print_gridlines = field_1_print_gridlines;return rec;}


public HSSFCellStyle getColumnStyle(int column) {short styleIndex = _sheet.getXFIndexForColAt((short) column);if (styleIndex == 0xf) {return null;}ExtendedFormatRecord xf = _book.getExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, _book);}

public NPOI.SS.UserModel.ICellStyle GetColumnStyle(int column){short styleIndex = _sheet.GetXFIndexForColAt((short)column);if (styleIndex == 0xf){return null;}ExtendedFormatRecord xf = book.GetExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, book);}

[User] public HSSFCellStyle getColumnStyle(int column) {short styleIndex = _sheet.getXFIndexForColAt((short) column);if (styleIndex == 0xf) {return null;}ExtendedFormatRecord xf = _book.getExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, _book);}

[Assistant] public NPOI.SS.UserModel.ICellStyle GetColumnStyle(int column){short styleIndex = _sheet.GetXFIndexForColAt((short)column);if (styleIndex == 0xf){return null;}ExtendedFormatRecord xf = book.GetExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, book);}


public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf){Query q = makeLuceneQueryFieldNoBoost(fieldName, qf);if (isWeighted()) {q = new BoostQuery(q, getWeight()); }return q;}

public virtual Search.Query MakeLuceneQueryField(string fieldName, BasicQueryFactory qf){Search.Query q = MakeLuceneQueryFieldNoBoost(fieldName, qf);if (IsWeighted){q.Boost=(Weight * q.Boost); }return q;}

[User] public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf){Query q = makeLuceneQueryFieldNoBoost(fieldName, qf);if (isWeighted()) {q = new BoostQuery(q, getWeight()); }return q;}

[Assistant] public virtual Search.Query MakeLuceneQueryField(string fieldName, BasicQueryFactory qf){Search.Query q = MakeLuceneQueryFieldNoBoost(fieldName, qf);if (IsWeighted){q.Boost=(Weight * q.Boost); }return q;}


public double getPrecisionAt(int n) {if (n<1 || n>MAX_POINTS) {throw new IllegalArgumentException("n="+n+" - but it must be in [1,"+MAX_POINTS+"] range!");}if (n>numPoints) {return (numPoints * pAt[(int)numPoints])/n;}return pAt[n];}

public virtual double GetPrecisionAt(int n){if (n < 1 || n > MAX_POINTS){throw new ArgumentException("n=" + n + " - but it must be in [1," + MAX_POINTS + "] range!");}if (n > numPoints){return (numPoints * pAt[(int)numPoints]) / n;}return pAt[n];}

[User] public double getPrecisionAt(int n) {if (n<1 || n>MAX_POINTS) {throw new IllegalArgumentException("n="+n+" - but it must be in [1,"+MAX_POINTS+"] range!");}if (n>numPoints) {return (numPoints * pAt[(int)numPoints])/n;}return pAt[n];}

[Assistant] public virtual double GetPrecisionAt(int n){if (n < 1 || n > MAX_POINTS){throw new ArgumentException("n=" + n + " - but it must be in [1," + MAX_POINTS + "] range!");}if (n > numPoints){return (numPoints * pAt[(int)numPoints]) / n;}return pAt[n];}


public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily){_dbParameterGroupFamily = dbParameterGroupFamily;}

[User] public DescribeEngineDefaultParametersRequest(String dBParameterGroupFamily) {setDBParameterGroupFamily(dBParameterGroupFamily);}

[Assistant] public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily){_dbParameterGroupFamily = dbParameterGroupFamily;}


public DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request) {request = beforeClientExecution(request);return executeDeleteClientCertificate(request);}

public virtual DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance;return Invoke<DeleteClientCertificateResponse>(request, options);}

[User] public DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request) {request = beforeClientExecution(request);return executeDeleteClientCertificate(request);}

[Assistant] public virtual DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance;return Invoke<DeleteClientCertificateResponse>(request, options);}


public int compareTo(CharBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;char thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

public virtual int compareTo(java.nio.CharBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;char thisByte;char otherByte;while (compareRemaining > 0){thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte){return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[User] public int compareTo(CharBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;char thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[Assistant] public virtual int compareTo(java.nio.CharBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;char thisByte;char otherByte;while (compareRemaining > 0){thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte){return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}


public byte readByte(){return _in.readByte();}

public int ReadByte(){return _in.ReadByte();}

[User] public byte readByte(){return _in.readByte();}

[Assistant] public int ReadByte(){return _in.ReadByte();}


public SendBounceResult sendBounce(SendBounceRequest request) {request = beforeClientExecution(request);return executeSendBounce(request);}

public virtual SendBounceResponse SendBounce(SendBounceRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendBounceRequestMarshaller.Instance;options.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance;return Invoke<SendBounceResponse>(request, options);}

[User] public SendBounceResult sendBounce(SendBounceRequest request) {request = beforeClientExecution(request);return executeSendBounce(request);}

[Assistant] public virtual SendBounceResponse SendBounce(SendBounceRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendBounceRequestMarshaller.Instance;options.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance;return Invoke<SendBounceResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {double dn;try {ValueEval ve1 = OperandResolver.getSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.coerceValueToDouble(ve1);} catch (EvaluationException e1) {return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1) { return ErrorEval.NUM_ERROR;}double result;try {double[] ds = ValueCollector.collectValues(arg0);int N = ds.length;if (N == 0 || N > 8191) {return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d) {result = StatsLib.kthSmallest(ds, 1);} else if (Double.compare(n, N) == 0) {result = StatsLib.kthLargest(ds, 1);} else {int k = (int) n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.checkValue(result);} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(result);}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){double dn;try{ValueEval ve1 = OperandResolver.GetSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.CoerceValueToDouble(ve1);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1){ return ErrorEval.NUM_ERROR;}double result;try{double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0);int N = ds.Length;if (N == 0 || N > 8191){return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d){result = StatsLib.kthSmallest(ds, 1);}else if (n == N){result = StatsLib.kthLargest(ds, 1);}else{int k = (int)n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {double dn;try {ValueEval ve1 = OperandResolver.getSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.coerceValueToDouble(ve1);} catch (EvaluationException e1) {return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1) { return ErrorEval.NUM_ERROR;}double result;try {double[] ds = ValueCollector.collectValues(arg0);int N = ds.length;if (N == 0 || N > 8191) {return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d) {result = StatsLib.kthSmallest(ds, 1);} else if (Double.compare(n, N) == 0) {result = StatsLib.kthLargest(ds, 1);} else {int k = (int) n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.checkValue(result);} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(result);}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){double dn;try{ValueEval ve1 = OperandResolver.GetSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.CoerceValueToDouble(ve1);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1){ return ErrorEval.NUM_ERROR;}double result;try{double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0);int N = ds.Length;if (N == 0 || N > 8191){return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d){result = StatsLib.kthSmallest(ds, 1);}else if (n == N){result = StatsLib.kthLargest(ds, 1);}else{int k = (int)n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}


public int getIndexOfFormattingRun(int index) {FormatRun r = _string.getFormatRun(index);return r.getCharacterPos();}

public int GetIndexOfFormattingRun(int index){UnicodeString.FormatRun r = _string.GetFormatRun(index);return r.CharacterPos;}

[User] public int getIndexOfFormattingRun(int index) {FormatRun r = _string.getFormatRun(index);return r.getCharacterPos();}

[Assistant] public int GetIndexOfFormattingRun(int index){UnicodeString.FormatRun r = _string.GetFormatRun(index);return r.CharacterPos;}


public void getEntryObjectId(MutableObjectId out) {out.fromRaw(idBuffer(), idOffset());}

public virtual void GetEntryObjectId(MutableObjectId @out){@out.FromRaw(IdBuffer, IdOffset);}

[User] public void getEntryObjectId(MutableObjectId out) {out.fromRaw(idBuffer(), idOffset());}

[Assistant] public virtual void GetEntryObjectId(MutableObjectId @out){@out.FromRaw(IdBuffer, IdOffset);}


public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} elsereturn array;}

public static float[] Grow(float[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){float[] newArray = new float[Oversize(minSize, RamUsageEstimator.NUM_BYTES_SINGLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}

[User] public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} elsereturn array;}

[Assistant] public static float[] Grow(float[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){float[] newArray = new float[Oversize(minSize, RamUsageEstimator.NUM_BYTES_SINGLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}


public boolean get(String name, boolean dflt) {boolean vals[] = (boolean[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Boolean.valueOf(sval).booleanValue();}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToBooleanArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}

public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}

[User] public boolean get(String name, boolean dflt) {boolean vals[] = (boolean[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Boolean.valueOf(sval).booleanValue();}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToBooleanArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}

[Assistant] public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}