public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (obj instanceof ExtendedFormatRecord) {final ExtendedFormatRecord other = (ExtendedFormatRecord) obj;if (field_1_font_index != other.field_1_font_index)return false;if (field_2_format_index != other.field_2_format_index)return false;if (field_3_cell_options != other.field_3_cell_options)return false;if (field_4_alignment_options != other.field_4_alignment_options)return false;if (field_5_indention_options != other.field_5_indention_options)return false;if (field_6_border_options != other.field_6_border_options)return false;if (field_7_palette_options != other.field_7_palette_options)return false;if (field_8_adtl_palette_options != other.field_8_adtl_palette_options)return false;if (field_9_fill_palette_options != other.field_9_fill_palette_options)return false;return true;}return false;}

public override bool Equals(Object obj){if (this == obj)return true;if (obj == null)return false;if (obj is ExtendedFormatRecord){ExtendedFormatRecord other = (ExtendedFormatRecord)obj;if (field_1_font_index != other.field_1_font_index)return false;if (field_2_format_index != other.field_2_format_index)return false;if (field_3_cell_options != other.field_3_cell_options)return false;if (field_4_alignment_options != other.field_4_alignment_options)return false;if (field_5_indention_options != other.field_5_indention_options)return false;if (field_6_border_options != other.field_6_border_options)return false;if (field_7_palette_options != other.field_7_palette_options)return false;if (field_8_adtl_palette_options != other.field_8_adtl_palette_options)return false;if (field_9_fill_palette_options != other.field_9_fill_palette_options)return false;return true;}return false;}

[User] public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (obj instanceof ExtendedFormatRecord) {final ExtendedFormatRecord other = (ExtendedFormatRecord) obj;if (field_1_font_index != other.field_1_font_index)return false;if (field_2_format_index != other.field_2_format_index)return false;if (field_3_cell_options != other.field_3_cell_options)return false;if (field_4_alignment_options != other.field_4_alignment_options)return false;if (field_5_indention_options != other.field_5_indention_options)return false;if (field_6_border_options != other.field_6_border_options)return false;if (field_7_palette_options != other.field_7_palette_options)return false;if (field_8_adtl_palette_options != other.field_8_adtl_palette_options)return false;if (field_9_fill_palette_options != other.field_9_fill_palette_options)return false;return true;}return false;}

[Assistant] public override bool Equals(Object obj){if (this == obj)return true;if (obj == null)return false;if (obj is ExtendedFormatRecord){ExtendedFormatRecord other = (ExtendedFormatRecord)obj;if (field_1_font_index != other.field_1_font_index)return false;if (field_2_format_index != other.field_2_format_index)return false;if (field_3_cell_options != other.field_3_cell_options)return false;if (field_4_alignment_options != other.field_4_alignment_options)return false;if (field_5_indention_options != other.field_5_indention_options)return false;if (field_6_border_options != other.field_6_border_options)return false;if (field_7_palette_options != other.field_7_palette_options)return false;if (field_8_adtl_palette_options != other.field_8_adtl_palette_options)return false;if (field_9_fill_palette_options != other.field_9_fill_palette_options)return false;return true;}return false;}


public short[] getTriplet(){return new short[]{(short) (_red   & 0xff),(short) (_green & 0xff),(short) (_blue  & 0xff)};}

public override byte[] GetTriplet(){return new byte[]{(byte)(red   & 0xff),(byte)(green & 0xff),(byte)(blue  & 0xff)};}

[User] public short[] getTriplet(){return new short[]{(short) (_red   & 0xff),(short) (_green & 0xff),(short) (_blue  & 0xff)};}

[Assistant] public override byte[] GetTriplet(){return new byte[]{(byte)(red   & 0xff),(byte)(green & 0xff),(byte)(blue  & 0xff)};}


public BlameCommand setFollowFileRenames(boolean follow) {followFileRenames = Boolean.valueOf(follow);return this;}

public virtual NGit.Api.BlameCommand SetFollowFileRenames(bool follow){followFileRenames = Sharpen.Extensions.ValueOf(follow);return this;}

[User] public BlameCommand setFollowFileRenames(boolean follow) {followFileRenames = Boolean.valueOf(follow);return this;}

[Assistant] public virtual NGit.Api.BlameCommand SetFollowFileRenames(bool follow){followFileRenames = Sharpen.Extensions.ValueOf(follow);return this;}


public StringMatcher(String value, CmpOp operator) {super(operator);_value = value;switch(operator.getCode()) {case CmpOp.NONE:case CmpOp.EQ:case CmpOp.NE:_pattern = getWildCardPattern(value);break;default:_pattern = null;}}

public StringMatcher(String value, CmpOp optr):base(optr){_value = value;_operator = optr;switch (optr.Code){case CmpOp.NONE:case CmpOp.EQ:case CmpOp.NE:_pattern = GetWildCardPattern(value);break;default:_pattern = null;break;}}

[User] public StringMatcher(String value, CmpOp operator) {super(operator);_value = value;switch(operator.getCode()) {case CmpOp.NONE:case CmpOp.EQ:case CmpOp.NE:_pattern = getWildCardPattern(value);break;default:_pattern = null;}}

[Assistant] public StringMatcher(String value, CmpOp optr):base(optr){_value = value;_operator = optr;switch (optr.Code){case CmpOp.NONE:case CmpOp.EQ:case CmpOp.NE:_pattern = GetWildCardPattern(value);break;default:_pattern = null;break;}}


public DefaultColWidthRecord() {field_1_col_width = DEFAULT_COLUMN_WIDTH;}

public DefaultColWidthRecord(){field_1_col_width = DEFAULT_COLUMN_WIDTH;}

[User] public DefaultColWidthRecord() {field_1_col_width = DEFAULT_COLUMN_WIDTH;}

[Assistant] public DefaultColWidthRecord(){field_1_col_width = DEFAULT_COLUMN_WIDTH;}


public GetIndustryInfoListRequest() {super("industry-brain", "2018-07-12", "GetIndustryInfoList");setProtocol(ProtocolType.HTTPS);}

public GetIndustryInfoListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoList"){Protocol = ProtocolType.HTTPS;}

[User] public GetIndustryInfoListRequest() {super("industry-brain", "2018-07-12", "GetIndustryInfoList");setProtocol(ProtocolType.HTTPS);}

[Assistant] public GetIndustryInfoListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoList"){Protocol = ProtocolType.HTTPS;}


public AssociateTrialComponentResult associateTrialComponent(AssociateTrialComponentRequest request) {request = beforeClientExecution(request);return executeAssociateTrialComponent(request);}

public virtual AssociateTrialComponentResponse AssociateTrialComponent(AssociateTrialComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateTrialComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateTrialComponentResponseUnmarshaller.Instance;return Invoke<AssociateTrialComponentResponse>(request, options);}

[User] public AssociateTrialComponentResult associateTrialComponent(AssociateTrialComponentRequest request) {request = beforeClientExecution(request);return executeAssociateTrialComponent(request);}

[Assistant] public virtual AssociateTrialComponentResponse AssociateTrialComponent(AssociateTrialComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateTrialComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateTrialComponentResponseUnmarshaller.Instance;return Invoke<AssociateTrialComponentResponse>(request, options);}


public FileIdCluster addCluster(int dgId, int numShapedUsed) {return addCluster(dgId, numShapedUsed, true);}

public void AddCluster(int dgId, int numShapedUsed){AddCluster(dgId, numShapedUsed, true);}

[User] public FileIdCluster addCluster(int dgId, int numShapedUsed) {return addCluster(dgId, numShapedUsed, true);}

[Assistant] public void AddCluster(int dgId, int numShapedUsed){AddCluster(dgId, numShapedUsed, true);}


public GetFieldLevelEncryptionResult getFieldLevelEncryption(GetFieldLevelEncryptionRequest request) {request = beforeClientExecution(request);return executeGetFieldLevelEncryption(request);}

public virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption(GetFieldLevelEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance;return Invoke<GetFieldLevelEncryptionResponse>(request, options);}

[User] public GetFieldLevelEncryptionResult getFieldLevelEncryption(GetFieldLevelEncryptionRequest request) {request = beforeClientExecution(request);return executeGetFieldLevelEncryption(request);}

[Assistant] public virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption(GetFieldLevelEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller.Instance;return Invoke<GetFieldLevelEncryptionResponse>(request, options);}


public CharBuffer get(char[] dst, int dstOffset, int charCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, charCount);if (charCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + charCount; ++i) {dst[i] = get();}return this;}

public virtual java.nio.CharBuffer get(char[] dst, int dstOffset, int charCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, charCount);if (charCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + charCount; ++i){dst[i] = get();}}return this;}

[User] public CharBuffer get(char[] dst, int dstOffset, int charCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, charCount);if (charCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + charCount; ++i) {dst[i] = get();}return this;}

[Assistant] public virtual java.nio.CharBuffer get(char[] dst, int dstOffset, int charCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, charCount);if (charCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + charCount; ++i){dst[i] = get();}}return this;}


public UpdateServiceResult updateService(UpdateServiceRequest request) {request = beforeClientExecution(request);return executeUpdateService(request);}

public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateServiceRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateServiceResponseUnmarshaller.Instance;return Invoke<UpdateServiceResponse>(request, options);}

[User] public UpdateServiceResult updateService(UpdateServiceRequest request) {request = beforeClientExecution(request);return executeUpdateService(request);}

[Assistant] public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateServiceRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateServiceResponseUnmarshaller.Instance;return Invoke<UpdateServiceResponse>(request, options);}


public FlushStageCacheResult flushStageCache(FlushStageCacheRequest request) {request = beforeClientExecution(request);return executeFlushStageCache(request);}

public virtual FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request){var options = new InvokeOptions();options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance;options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance;return Invoke<FlushStageCacheResponse>(request, options);}

[User] public FlushStageCacheResult flushStageCache(FlushStageCacheRequest request) {request = beforeClientExecution(request);return executeFlushStageCache(request);}

[Assistant] public virtual FlushStageCacheResponse FlushStageCache(FlushStageCacheRequest request){var options = new InvokeOptions();options.RequestMarshaller = FlushStageCacheRequestMarshaller.Instance;options.ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller.Instance;return Invoke<FlushStageCacheResponse>(request, options);}


public ModifyInstanceMetadataOptionsResult modifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request) {request = beforeClientExecution(request);return executeModifyInstanceMetadataOptions(request);}

public virtual ModifyInstanceMetadataOptionsResponse ModifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceMetadataOptionsResponseUnmarshaller.Instance;return Invoke<ModifyInstanceMetadataOptionsResponse>(request, options);}

[User] public ModifyInstanceMetadataOptionsResult modifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request) {request = beforeClientExecution(request);return executeModifyInstanceMetadataOptions(request);}

[Assistant] public virtual ModifyInstanceMetadataOptionsResponse ModifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceMetadataOptionsResponseUnmarshaller.Instance;return Invoke<ModifyInstanceMetadataOptionsResponse>(request, options);}


public DefaultRowHeightRecord(RecordInputStream in) {field_1_option_flags = in.readShort();field_2_row_height   = in.readShort();}

public DefaultRowHeightRecord(RecordInputStream in1){field_1_option_flags = in1.ReadShort();field_2_row_height = in1.ReadShort();}

[User] public DefaultRowHeightRecord(RecordInputStream in) {field_1_option_flags = in.readShort();field_2_row_height   = in.readShort();}

[Assistant] public DefaultRowHeightRecord(RecordInputStream in1){field_1_option_flags = in1.ReadShort();field_2_row_height = in1.ReadShort();}


public ListModelPackagesResult listModelPackages(ListModelPackagesRequest request) {request = beforeClientExecution(request);return executeListModelPackages(request);}

public virtual ListModelPackagesResponse ListModelPackages(ListModelPackagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListModelPackagesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListModelPackagesResponseUnmarshaller.Instance;return Invoke<ListModelPackagesResponse>(request, options);}

[User] public ListModelPackagesResult listModelPackages(ListModelPackagesRequest request) {request = beforeClientExecution(request);return executeListModelPackages(request);}

[Assistant] public virtual ListModelPackagesResponse ListModelPackages(ListModelPackagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListModelPackagesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListModelPackagesResponseUnmarshaller.Instance;return Invoke<ListModelPackagesResponse>(request, options);}


public StopFleetActionsResult stopFleetActions(StopFleetActionsRequest request) {request = beforeClientExecution(request);return executeStopFleetActions(request);}

public virtual StopFleetActionsResponse StopFleetActions(StopFleetActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopFleetActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = StopFleetActionsResponseUnmarshaller.Instance;return Invoke<StopFleetActionsResponse>(request, options);}

[User] public StopFleetActionsResult stopFleetActions(StopFleetActionsRequest request) {request = beforeClientExecution(request);return executeStopFleetActions(request);}

[Assistant] public virtual StopFleetActionsResponse StopFleetActions(StopFleetActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopFleetActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = StopFleetActionsResponseUnmarshaller.Instance;return Invoke<StopFleetActionsResponse>(request, options);}


public boolean matches(ValueEval x) {double testValue;if(x instanceof StringEval) {switch (getCode()) {case CmpOp.EQ:case CmpOp.NONE:break;case CmpOp.NE:return true;default:return false;}StringEval se = (StringEval)x;Double val = OperandResolver.parseDouble(se.getStringValue());if(val == null) {return false;}return _value == val.doubleValue();} else if((x instanceof NumberEval)) {NumberEval ne = (NumberEval) x;testValue = ne.getNumberValue();} else if((x instanceof BlankEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else {return false;}return evaluate(Double.compare(testValue, _value));}

public override bool Matches(ValueEval x){double testValue;if (x is StringEval){switch (Code){case CmpOp.EQ:case CmpOp.NONE:break;case CmpOp.NE:return true;default:return false;}StringEval se = (StringEval)x;Double val = OperandResolver.ParseDouble(se.StringValue);if (double.IsNaN(val)){return false;}return _value == val;}else if ((x is NumberEval)){NumberEval ne = (NumberEval)x;testValue = ne.NumberValue;}else if ((x is BlankEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else{return false;}return Evaluate(testValue.CompareTo(_value));}

[User] public boolean matches(ValueEval x) {double testValue;if(x instanceof StringEval) {switch (getCode()) {case CmpOp.EQ:case CmpOp.NONE:break;case CmpOp.NE:return true;default:return false;}StringEval se = (StringEval)x;Double val = OperandResolver.parseDouble(se.getStringValue());if(val == null) {return false;}return _value == val.doubleValue();} else if((x instanceof NumberEval)) {NumberEval ne = (NumberEval) x;testValue = ne.getNumberValue();} else if((x instanceof BlankEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else {return false;}return evaluate(Double.compare(testValue, _value));}

[Assistant] public override bool Matches(ValueEval x){double testValue;if (x is StringEval){switch (Code){case CmpOp.EQ:case CmpOp.NONE:break;case CmpOp.NE:return true;default:return false;}StringEval se = (StringEval)x;Double val = OperandResolver.ParseDouble(se.StringValue);if (double.IsNaN(val)){return false;}return _value == val;}else if ((x is NumberEval)){NumberEval ne = (NumberEval)x;testValue = ne.NumberValue;}else if ((x is BlankEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else{return false;}return Evaluate(testValue.CompareTo(_value));}


public boolean include(RevWalk walker, RevCommit c) {throw new UnsupportedOperationException(JGitText.get().cannotBeCombined);}

public override bool Include(RevWalk walker, RevCommit c){throw new NotSupportedException(JGitText.Get().cannotBeCombined);}

[User] public boolean include(RevWalk walker, RevCommit c) {throw new UnsupportedOperationException(JGitText.get().cannotBeCombined);}

[Assistant] public override bool Include(RevWalk walker, RevCommit c){throw new NotSupportedException(JGitText.Get().cannotBeCombined);}


public LongList(int capacity) {entries = new long[capacity];}

public LongList(int capacity){entries = new long[capacity];}

[User] public LongList(int capacity) {entries = new long[capacity];}

[Assistant] public LongList(int capacity){entries = new long[capacity];}


public static String readAsciiLine(InputStream in) throws IOException {StringBuilder result = new StringBuilder(80);while (true) {int c = in.read();if (c == -1) {throw new EOFException();} else if (c == '\n') {break;}result.append((char) c);}int length = result.length();if (length > 0 && result.charAt(length - 1) == '\r') {result.setLength(length - 1);}return result.toString();}

public static string readAsciiLine(java.io.InputStream @in){java.lang.StringBuilder result = new java.lang.StringBuilder(80);while (true){int c = @in.read();if (c == -1){throw new java.io.EOFException();}else{if (c == '\n'){break;}}result.append((char)c);}int length = result.Length;if (length > 0 && result[length - 1] == '\r'){result.setLength(length - 1);}return result.ToString();}

[User] public static String readAsciiLine(InputStream in) throws IOException {StringBuilder result = new StringBuilder(80);while (true) {int c = in.read();if (c == -1) {throw new EOFException();} else if (c == '\n') {break;}result.append((char) c);}int length = result.length();if (length > 0 && result.charAt(length - 1) == '\r') {result.setLength(length - 1);}return result.toString();}

[Assistant] public static string readAsciiLine(java.io.InputStream @in){java.lang.StringBuilder result = new java.lang.StringBuilder(80);while (true){int c = @in.read();if (c == -1){throw new java.io.EOFException();}else{if (c == '\n'){break;}}result.append((char)c);}int length = result.Length;if (length > 0 && result[length - 1] == '\r'){result.setLength(length - 1);}return result.ToString();}


public DeleteRouteRequestParameterResult deleteRouteRequestParameter(DeleteRouteRequestParameterRequest request) {request = beforeClientExecution(request);return executeDeleteRouteRequestParameter(request);}

public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;return Invoke<DeleteRouteRequestParameterResponse>(request, options);}

[User] public DeleteRouteRequestParameterResult deleteRouteRequestParameter(DeleteRouteRequestParameterRequest request) {request = beforeClientExecution(request);return executeDeleteRouteRequestParameter(request);}

[Assistant] public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter(DeleteRouteRequestParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller.Instance;return Invoke<DeleteRouteRequestParameterResponse>(request, options);}


public int getRowCountForBlock(int block) {int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.size())endIndex = _rowRecords.size()-1;return endIndex-startIndex+1;}

public int GetRowCountForBlock(int block){int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.Count)endIndex = _rowRecords.Count - 1;return endIndex - startIndex + 1;}

[User] public int getRowCountForBlock(int block) {int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.size())endIndex = _rowRecords.size()-1;return endIndex-startIndex+1;}

[Assistant] public int GetRowCountForBlock(int block){int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.Count)endIndex = _rowRecords.Count - 1;return endIndex - startIndex + 1;}


public boolean add(CharSequence text) {return map.put(text, PLACEHOLDER) == null;}

public virtual bool Add(ICharSequence text){return map.Put(text);}

[User] public boolean add(CharSequence text) {return map.put(text, PLACEHOLDER) == null;}

[Assistant] public virtual bool Add(ICharSequence text){return map.Put(text);}


public FSTCompletion(FST<Object> automaton, boolean higherWeightsFirst, boolean exactFirst) {this.automaton = automaton;if (automaton != null) {this.rootArcs = cacheRootArcs(automaton);} else {this.rootArcs = new Arc[0];}this.higherWeightsFirst = higherWeightsFirst;this.exactFirst = exactFirst;}

public FSTCompletion(FST<object> automaton, bool higherWeightsFirst, bool exactFirst){this.automaton = automaton;if (automaton != null){this.rootArcs = CacheRootArcs(automaton);}else{this.rootArcs = new FST.Arc<object>[0];}this.higherWeightsFirst = higherWeightsFirst;this.exactFirst = exactFirst;}

[User] public FSTCompletion(FST<Object> automaton, boolean higherWeightsFirst, boolean exactFirst) {this.automaton = automaton;if (automaton != null) {this.rootArcs = cacheRootArcs(automaton);} else {this.rootArcs = new Arc[0];}this.higherWeightsFirst = higherWeightsFirst;this.exactFirst = exactFirst;}

[Assistant] public FSTCompletion(FST<object> automaton, bool higherWeightsFirst, bool exactFirst){this.automaton = automaton;if (automaton != null){this.rootArcs = CacheRootArcs(automaton);}else{this.rootArcs = new FST.Arc<object>[0];}this.higherWeightsFirst = higherWeightsFirst;this.exactFirst = exactFirst;}


public Explanation idfExplain(CollectionStatistics collectionStats, TermStatistics termStats[]) {double idf = 0d; List<Explanation> details = new ArrayList<>();for (final TermStatistics stat : termStats ) {Explanation idfExplain = idfExplain(collectionStats, stat);details.add(idfExplain);idf += idfExplain.getValue().floatValue();}return Explanation.match((float) idf, "idf, sum of:", details);}

public virtual Explanation IdfExplain(CollectionStatistics collectionStats, TermStatistics termStats){long df = termStats.DocFreq;long max = collectionStats.MaxDoc;float idf = Idf(df, max);return new Explanation(idf, "idf(docFreq=" + df + ", maxDocs=" + max + ")");}

[User] public Explanation idfExplain(CollectionStatistics collectionStats, TermStatistics termStats[]) {double idf = 0d; List<Explanation> details = new ArrayList<>();for (final TermStatistics stat : termStats ) {Explanation idfExplain = idfExplain(collectionStats, stat);details.add(idfExplain);idf += idfExplain.getValue().floatValue();}return Explanation.match((float) idf, "idf, sum of:", details);}

[Assistant] public virtual Explanation IdfExplain(CollectionStatistics collectionStats, TermStatistics termStats){long df = termStats.DocFreq;long max = collectionStats.MaxDoc;float idf = Idf(df, max);return new Explanation(idf, "idf(docFreq=" + df + ", maxDocs=" + max + ")");}


public CreateEndpointResult createEndpoint(CreateEndpointRequest request) {request = beforeClientExecution(request);return executeCreateEndpoint(request);}

public virtual CreateEndpointResponse CreateEndpoint(CreateEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEndpointResponseUnmarshaller.Instance;return Invoke<CreateEndpointResponse>(request, options);}

[User] public CreateEndpointResult createEndpoint(CreateEndpointRequest request) {request = beforeClientExecution(request);return executeCreateEndpoint(request);}

[Assistant] public virtual CreateEndpointResponse CreateEndpoint(CreateEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEndpointResponseUnmarshaller.Instance;return Invoke<CreateEndpointResponse>(request, options);}


public int serialize(int offset, byte[] data){LittleEndian.putShort( data, 0 + offset, getSid() );LittleEndian.putShort( data, 2 + offset, (short) ( getRecordSize() - 4 ) );byte[] rawData = getRawData();if ( escherRecords.size() == 0 && rawData != null ){LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));System.arraycopy( rawData, 0, data, 4 + offset, rawData.length);return rawData.length + 4;}LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));int pos = offset + 4;for (EscherRecord r : escherRecords) {pos += r.serialize( pos, data, new NullEscherSerializationListener() );}return getRecordSize();}

public override int Serialize(int offset, byte[] data){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));byte[] rawData = RawData;if (escherRecords.Count == 0 && rawData != null){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));Array.Copy(rawData, 0, data, 4 + offset, rawData.Length);return rawData.Length + 4;}LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));int pos = offset + 4;foreach (EscherRecord r in escherRecords){pos += r.Serialize(pos, data, new NullEscherSerializationListener());}return RecordSize;}

[User] public int serialize(int offset, byte[] data){LittleEndian.putShort( data, 0 + offset, getSid() );LittleEndian.putShort( data, 2 + offset, (short) ( getRecordSize() - 4 ) );byte[] rawData = getRawData();if ( escherRecords.size() == 0 && rawData != null ){LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));System.arraycopy( rawData, 0, data, 4 + offset, rawData.length);return rawData.length + 4;}LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));int pos = offset + 4;for (EscherRecord r : escherRecords) {pos += r.serialize( pos, data, new NullEscherSerializationListener() );}return getRecordSize();}

[Assistant] public override int Serialize(int offset, byte[] data){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));byte[] rawData = RawData;if (escherRecords.Count == 0 && rawData != null){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));Array.Copy(rawData, 0, data, 4 + offset, rawData.Length);return rawData.Length + 4;}LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));int pos = offset + 4;foreach (EscherRecord r in escherRecords){pos += r.Serialize(pos, data, new NullEscherSerializationListener());}return RecordSize;}


public boolean isBelowMaxRep() {int sc = _significand.bitLength() - C_64;return _significand.compareTo(BI_MAX_BASE.shiftLeft(sc)) < 0;}

public bool IsBelowMaxRep(){int sc = _significand.BitLength() - C_64;return _significand.CompareTo(BI_MAX_BASE.ShiftLeft(sc)) < 0;}

[User] public boolean isBelowMaxRep() {int sc = _significand.bitLength() - C_64;return _significand.compareTo(BI_MAX_BASE.shiftLeft(sc)) < 0;}

[Assistant] public bool IsBelowMaxRep(){int sc = _significand.BitLength() - C_64;return _significand.CompareTo(BI_MAX_BASE.ShiftLeft(sc)) < 0;}


public FieldIndexEnum getFieldEnum(FieldInfo fieldInfo) {final FieldIndexData fieldData = fields.get(fieldInfo.name);if (fieldData.fst == null) {return null;} else {return new IndexEnum(fieldData.fst);}}

public override FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo){FieldIndexData fieldData;if (!fields.TryGetValue(fieldInfo, out fieldData) || fieldData == null || fieldData.fst == null){return null;}else{return new IndexEnum(fieldData.fst);}}

[User] public FieldIndexEnum getFieldEnum(FieldInfo fieldInfo) {final FieldIndexData fieldData = fields.get(fieldInfo.name);if (fieldData.fst == null) {return null;} else {return new IndexEnum(fieldData.fst);}}

[Assistant] public override FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo){FieldIndexData fieldData;if (!fields.TryGetValue(fieldInfo, out fieldData) || fieldData == null || fieldData.fst == null){return null;}else{return new IndexEnum(fieldData.fst);}}


public AssociationsFacetsExample() {config = new FacetsConfig();config.setMultiValued("tags", true);config.setIndexFieldName("tags", "$tags");config.setMultiValued("genre", true);config.setIndexFieldName("genre", "$genre");}

public AssociationsFacetsExample(){config = new FacetsConfig();config.SetMultiValued("tags", true);config.SetIndexFieldName("tags", "$tags");config.SetMultiValued("genre", true);config.SetIndexFieldName("genre", "$genre");}

[User] public AssociationsFacetsExample() {config = new FacetsConfig();config.setMultiValued("tags", true);config.setIndexFieldName("tags", "$tags");config.setMultiValued("genre", true);config.setIndexFieldName("genre", "$genre");}

[Assistant] public AssociationsFacetsExample(){config = new FacetsConfig();config.SetMultiValued("tags", true);config.SetIndexFieldName("tags", "$tags");config.SetMultiValued("genre", true);config.SetIndexFieldName("genre", "$genre");}


public void fill(int fromIndex, int toIndex, long val) {ensureCapacity(val);current.fill(fromIndex, toIndex, val);}

public override void Fill(int fromIndex, int toIndex, long val){EnsureCapacity(val);current.Fill(fromIndex, toIndex, val);}

[User] public void fill(int fromIndex, int toIndex, long val) {ensureCapacity(val);current.fill(fromIndex, toIndex, val);}

[Assistant] public override void Fill(int fromIndex, int toIndex, long val){EnsureCapacity(val);current.Fill(fromIndex, toIndex, val);}


public ListDeploymentConfigsResult listDeploymentConfigs(ListDeploymentConfigsRequest request) {request = beforeClientExecution(request);return executeListDeploymentConfigs(request);}

public virtual ListDeploymentConfigsResponse ListDeploymentConfigs(ListDeploymentConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentConfigsResponseUnmarshaller.Instance;return Invoke<ListDeploymentConfigsResponse>(request, options);}

[User] public ListDeploymentConfigsResult listDeploymentConfigs(ListDeploymentConfigsRequest request) {request = beforeClientExecution(request);return executeListDeploymentConfigs(request);}

[Assistant] public virtual ListDeploymentConfigsResponse ListDeploymentConfigs(ListDeploymentConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentConfigsResponseUnmarshaller.Instance;return Invoke<ListDeploymentConfigsResponse>(request, options);}


public ListUserPoliciesRequest(String userName) {setUserName(userName);}

public ListUserPoliciesRequest(string userName){_userName = userName;}

[User] public ListUserPoliciesRequest(String userName) {setUserName(userName);}

[Assistant] public ListUserPoliciesRequest(string userName){_userName = userName;}


public TokenStream create(TokenStream input) {return new FinnishLightStemFilter(input);}

public override TokenStream Create(TokenStream input){return new FinnishLightStemFilter(input);}

[User] public TokenStream create(TokenStream input) {return new FinnishLightStemFilter(input);}

[Assistant] public override TokenStream Create(TokenStream input){return new FinnishLightStemFilter(input);}


public CharSequence getLastOnPath(CharSequence key) {StringBuilder result = new StringBuilder(tries.size() * 2);for (int i = 0; i < tries.size(); i++) {CharSequence r = tries.get(i).getLastOnPath(key);if (r == null || (r.length() == 1 && r.charAt(0) == EOM)) {return result;}result.append(r);}return result;}

public override string GetLastOnPath(string key){StringBuilder result = new StringBuilder(m_tries.Count * 2);for (int i = 0; i < m_tries.Count; i++){string r = m_tries[i].GetLastOnPath(key);if (r == null || (r.Length == 1 && r[0] == EOM)){return result.ToString();}result.Append(r);}return result.ToString();}

[User] public CharSequence getLastOnPath(CharSequence key) {StringBuilder result = new StringBuilder(tries.size() * 2);for (int i = 0; i < tries.size(); i++) {CharSequence r = tries.get(i).getLastOnPath(key);if (r == null || (r.length() == 1 && r.charAt(0) == EOM)) {return result;}result.append(r);}return result;}

[Assistant] public override string GetLastOnPath(string key){StringBuilder result = new StringBuilder(m_tries.Count * 2);for (int i = 0; i < m_tries.Count; i++){string r = m_tries[i].GetLastOnPath(key);if (r == null || (r.Length == 1 && r[0] == EOM)){return result.ToString();}result.Append(r);}return result.ToString();}


public int getExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName) {int externalBookIndex = getExternalWorkbookIndex(workbookName);if (externalBookIndex == -1) {throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].getExternalBookRecord();int firstSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), firstSheetName);int lastSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), lastSheetName);int result = _externSheetRecord.getRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0) {result = _externSheetRecord.addRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}

public int GetExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName){int externalBookIndex = GetExternalWorkbookIndex(workbookName);if (externalBookIndex == -1){throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].GetExternalBookRecord();int firstSheetIndex = GetSheetIndex(ebrTarget.SheetNames, firstSheetName);int lastSheetIndex = GetSheetIndex(ebrTarget.SheetNames, lastSheetName);int result = _externSheetRecord.GetRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0){result = _externSheetRecord.AddRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}

[User] public int getExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName) {int externalBookIndex = getExternalWorkbookIndex(workbookName);if (externalBookIndex == -1) {throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].getExternalBookRecord();int firstSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), firstSheetName);int lastSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), lastSheetName);int result = _externSheetRecord.getRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0) {result = _externSheetRecord.addRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}

[Assistant] public int GetExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName){int externalBookIndex = GetExternalWorkbookIndex(workbookName);if (externalBookIndex == -1){throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].GetExternalBookRecord();int firstSheetIndex = GetSheetIndex(ebrTarget.SheetNames, firstSheetName);int lastSheetIndex = GetSheetIndex(ebrTarget.SheetNames, lastSheetName);int result = _externSheetRecord.GetRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0){result = _externSheetRecord.AddRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}


public String findSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.getLastInternalSheetIndexForExtIndex(externSheetIndex);return findSheetNameFromIndex(indexToSheet);}

public String FindSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.GetLastInternalSheetIndexForExtIndex(externSheetIndex);return FindSheetNameFromIndex(indexToSheet);}

[User] public String findSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.getLastInternalSheetIndexForExtIndex(externSheetIndex);return findSheetNameFromIndex(indexToSheet);}

[Assistant] public String FindSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.GetLastInternalSheetIndexForExtIndex(externSheetIndex);return FindSheetNameFromIndex(indexToSheet);}


public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeShort(iObjectKind);out.write(reserved);}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(iObjectKind);out1.Write(reserved);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeShort(iObjectKind);out.write(reserved);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(iObjectKind);out1.Write(reserved);}


public final ValueEval getValue() {return _value;}

public ValueEval GetValue(){return _value;}

[User] public final ValueEval getValue() {return _value;}

[Assistant] public ValueEval GetValue(){return _value;}


public ImportImageResult importImage(ImportImageRequest request) {request = beforeClientExecution(request);return executeImportImage(request);}

public virtual ImportImageResponse ImportImage(ImportImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportImageResponseUnmarshaller.Instance;return Invoke<ImportImageResponse>(request, options);}

[User] public ImportImageResult importImage(ImportImageRequest request) {request = beforeClientExecution(request);return executeImportImage(request);}

[Assistant] public virtual ImportImageResponse ImportImage(ImportImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportImageResponseUnmarshaller.Instance;return Invoke<ImportImageResponse>(request, options);}


public PruneByAge(double maxAgeSec) {if (maxAgeSec < 0) {throw new IllegalArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}

public PruneByAge(double maxAgeSec){if (maxAgeSec < 0){throw new System.ArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}

[User] public PruneByAge(double maxAgeSec) {if (maxAgeSec < 0) {throw new IllegalArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}

[Assistant] public PruneByAge(double maxAgeSec){if (maxAgeSec < 0){throw new System.ArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}


public DeleteSecurityGroupRequest(String groupName) {setGroupName(groupName);}

public DeleteSecurityGroupRequest(string groupName){_groupName = groupName;}

[User] public DeleteSecurityGroupRequest(String groupName) {setGroupName(groupName);}

[Assistant] public DeleteSecurityGroupRequest(string groupName){_groupName = groupName;}


public GetRoomSkillParameterResult getRoomSkillParameter(GetRoomSkillParameterRequest request) {request = beforeClientExecution(request);return executeGetRoomSkillParameter(request);}

public virtual GetRoomSkillParameterResponse GetRoomSkillParameter(GetRoomSkillParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRoomSkillParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRoomSkillParameterResponseUnmarshaller.Instance;return Invoke<GetRoomSkillParameterResponse>(request, options);}

[User] public GetRoomSkillParameterResult getRoomSkillParameter(GetRoomSkillParameterRequest request) {request = beforeClientExecution(request);return executeGetRoomSkillParameter(request);}

[Assistant] public virtual GetRoomSkillParameterResponse GetRoomSkillParameter(GetRoomSkillParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRoomSkillParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRoomSkillParameterResponseUnmarshaller.Instance;return Invoke<GetRoomSkillParameterResponse>(request, options);}


public ParserRuleContext parse(int startRuleIndex) {RuleStartState startRuleStartState = atn.ruleToStartState[startRuleIndex];rootContext = createInterpreterRuleContext(null, ATNState.INVALID_STATE_NUMBER, startRuleIndex);if (startRuleStartState.isLeftRecursiveRule) {enterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else {enterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while ( true ) {ATNState p = getATNState();switch ( p.getStateType() ) {case ATNState.RULE_STOP :if ( _ctx.isEmpty() ) {if (startRuleStartState.isLeftRecursiveRule) {ParserRuleContext result = _ctx;Pair<ParserRuleContext, Integer> parentContext = _parentContextStack.pop();unrollRecursionContexts(parentContext.a);return result;}else {exitRule();return rootContext;}}visitRuleStopState(p);break;default :try {visitState(p);}catch (RecognitionException e) {setState(atn.ruleToStopState[p.ruleIndex].stateNumber);getContext().exception = e;getErrorHandler().reportError(this, e);recover(e);}break;}}}

public virtual ParserRuleContext Parse(int startRuleIndex){RuleStartState startRuleStartState = _atn.ruleToStartState[startRuleIndex];InterpreterRuleContext rootContext = new InterpreterRuleContext(null, ATNState.InvalidStateNumber, startRuleIndex);if (startRuleStartState.isPrecedenceRule){EnterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else{EnterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while (true){ATNState p = AtnState;switch (p.StateType){case StateType.RuleStop:{if (RuleContext.IsEmpty){if (startRuleStartState.isPrecedenceRule){ParserRuleContext result = RuleContext;Tuple<ParserRuleContext, int> parentContext = _parentContextStack.Pop();UnrollRecursionContexts(parentContext.Item1);return result;}else{ExitRule();return rootContext;}}VisitRuleStopState(p);break;}default:{try{VisitState(p);}catch (RecognitionException e){State = _atn.ruleToStopState[p.ruleIndex].stateNumber;Context.exception = e;ErrorHandler.ReportError(this, e);ErrorHandler.Recover(this, e);}break;}}}}

[User] public ParserRuleContext parse(int startRuleIndex) {RuleStartState startRuleStartState = atn.ruleToStartState[startRuleIndex];rootContext = createInterpreterRuleContext(null, ATNState.INVALID_STATE_NUMBER, startRuleIndex);if (startRuleStartState.isLeftRecursiveRule) {enterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else {enterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while ( true ) {ATNState p = getATNState();switch ( p.getStateType() ) {case ATNState.RULE_STOP :if ( _ctx.isEmpty() ) {if (startRuleStartState.isLeftRecursiveRule) {ParserRuleContext result = _ctx;Pair<ParserRuleContext, Integer> parentContext = _parentContextStack.pop();unrollRecursionContexts(parentContext.a);return result;}else {exitRule();return rootContext;}}visitRuleStopState(p);break;default :try {visitState(p);}catch (RecognitionException e) {setState(atn.ruleToStopState[p.ruleIndex].stateNumber);getContext().exception = e;getErrorHandler().reportError(this, e);recover(e);}break;}}}

[Assistant] public virtual ParserRuleContext Parse(int startRuleIndex){RuleStartState startRuleStartState = _atn.ruleToStartState[startRuleIndex];InterpreterRuleContext rootContext = new InterpreterRuleContext(null, ATNState.InvalidStateNumber, startRuleIndex);if (startRuleStartState.isPrecedenceRule){EnterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else{EnterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while (true){ATNState p = AtnState;switch (p.StateType){case StateType.RuleStop:{if (RuleContext.IsEmpty){if (startRuleStartState.isPrecedenceRule){ParserRuleContext result = RuleContext;Tuple<ParserRuleContext, int> parentContext = _parentContextStack.Pop();UnrollRecursionContexts(parentContext.Item1);return result;}else{ExitRule();return rootContext;}}VisitRuleStopState(p);break;}default:{try{VisitState(p);}catch (RecognitionException e){State = _atn.ruleToStopState[p.ruleIndex].stateNumber;Context.exception = e;ErrorHandler.ReportError(this, e);ErrorHandler.Recover(this, e);}break;}}}}


public DeleteInstallationMediaResult deleteInstallationMedia(DeleteInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDeleteInstallationMedia(request);}

public virtual DeleteInstallationMediaResponse DeleteInstallationMedia(DeleteInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInstallationMediaResponseUnmarshaller.Instance;return Invoke<DeleteInstallationMediaResponse>(request, options);}

[User] public DeleteInstallationMediaResult deleteInstallationMedia(DeleteInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDeleteInstallationMedia(request);}

[Assistant] public virtual DeleteInstallationMediaResponse DeleteInstallationMedia(DeleteInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInstallationMediaResponseUnmarshaller.Instance;return Invoke<DeleteInstallationMediaResponse>(request, options);}


public boolean accept(double value) {return value >= min && value <= max;}

public bool Accept(double value){return value >= minIncl && value <= maxIncl;}

[User] public boolean accept(double value) {return value >= min && value <= max;}

[Assistant] public bool Accept(double value){return value >= minIncl && value <= maxIncl;}


public GetVariablesResult getVariables(GetVariablesRequest request) {request = beforeClientExecution(request);return executeGetVariables(request);}

public virtual GetVariablesResponse GetVariables(GetVariablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVariablesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance;return Invoke<GetVariablesResponse>(request, options);}

[User] public GetVariablesResult getVariables(GetVariablesRequest request) {request = beforeClientExecution(request);return executeGetVariables(request);}

[Assistant] public virtual GetVariablesResponse GetVariables(GetVariablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVariablesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance;return Invoke<GetVariablesResponse>(request, options);}


public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}

public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}

[User] public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}

[Assistant] public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}


[User] public void serialize(LittleEndianOutput out) {out.writeShort(field_1_pointNumber);out.writeShort(field_2_seriesIndex);out.writeShort(field_3_seriesNumber);out.writeShort(field_4_formatFlags);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_pointNumber);out1.WriteShort(field_2_seriesIndex);out1.WriteShort(field_3_seriesNumber);out1.WriteShort(field_4_formatFlags);}


public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef) {this(externalWorkbookNumber, sheetName, new AreaReference(arearef, SpreadsheetVersion.EXCEL2007));}

public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef): this(externalWorkbookNumber, sheetName, new AreaReference(arearef)){;}

[User] public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef) {this(externalWorkbookNumber, sheetName, new AreaReference(arearef, SpreadsheetVersion.EXCEL2007));}

[Assistant] public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef): this(externalWorkbookNumber, sheetName, new AreaReference(arearef)){;}


public final CharSequence subSequence(int start, int end) {checkStartEndRemaining(start, end);CharBuffer result = duplicate();result.limit(position + end);result.position(position + start);return result;}

public sealed override java.lang.CharSequence SubSequence(int start, int end){checkStartEndRemaining(start, end);java.nio.CharBuffer result = duplicate();result.limit(_position + end);result.position(_position + start);return result;}

[User] public final CharSequence subSequence(int start, int end) {checkStartEndRemaining(start, end);CharBuffer result = duplicate();result.limit(position + end);result.position(position + start);return result;}

[Assistant] public sealed override java.lang.CharSequence SubSequence(int start, int end){checkStartEndRemaining(start, end);java.nio.CharBuffer result = duplicate();result.limit(_position + end);result.position(_position + start);return result;}


public DescribeInstallationMediaResult describeInstallationMedia(DescribeInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDescribeInstallationMedia(request);}

public virtual DescribeInstallationMediaResponse DescribeInstallationMedia(DescribeInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstallationMediaResponseUnmarshaller.Instance;return Invoke<DescribeInstallationMediaResponse>(request, options);}

[User] public DescribeInstallationMediaResult describeInstallationMedia(DescribeInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDescribeInstallationMedia(request);}

[Assistant] public virtual DescribeInstallationMediaResponse DescribeInstallationMedia(DescribeInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstallationMediaResponseUnmarshaller.Instance;return Invoke<DescribeInstallationMediaResponse>(request, options);}


public UpdateConferenceProviderResult updateConferenceProvider(UpdateConferenceProviderRequest request) {request = beforeClientExecution(request);return executeUpdateConferenceProvider(request);}

public virtual UpdateConferenceProviderResponse UpdateConferenceProvider(UpdateConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConferenceProviderResponseUnmarshaller.Instance;return Invoke<UpdateConferenceProviderResponse>(request, options);}

[User] public UpdateConferenceProviderResult updateConferenceProvider(UpdateConferenceProviderRequest request) {request = beforeClientExecution(request);return executeUpdateConferenceProvider(request);}

[Assistant] public virtual UpdateConferenceProviderResponse UpdateConferenceProvider(UpdateConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConferenceProviderResponseUnmarshaller.Instance;return Invoke<UpdateConferenceProviderResponse>(request, options);}


public void release(int marker) {int expectedMark = -numMarkers;if ( marker!=expectedMark ) {throw new IllegalStateException("release() called with an invalid marker.");}numMarkers--;if ( numMarkers==0 && p > 0 ) { System.arraycopy(data, p, data, 0, n - p); n = n - p;p = 0;lastCharBufferStart = lastChar;}}

public virtual void Release(int marker){int expectedMark = -numMarkers;if (marker != expectedMark){throw new InvalidOperationException("release() called with an invalid marker.");}numMarkers--;if (numMarkers == 0 && p > 0){System.Array.Copy(data, p, data, 0, n - p);n = n - p;p = 0;lastCharBufferStart = lastChar;}}

[User] public void release(int marker) {int expectedMark = -numMarkers;if ( marker!=expectedMark ) {throw new IllegalStateException("release() called with an invalid marker.");}numMarkers--;if ( numMarkers==0 && p > 0 ) { System.arraycopy(data, p, data, 0, n - p); n = n - p;p = 0;lastCharBufferStart = lastChar;}}

[Assistant] public virtual void Release(int marker){int expectedMark = -numMarkers;if (marker != expectedMark){throw new InvalidOperationException("release() called with an invalid marker.");}numMarkers--;if (numMarkers == 0 && p > 0){System.Array.Copy(data, p, data, 0, n - p);n = n - p;p = 0;lastCharBufferStart = lastChar;}}


public static int getDataSize() {return 12;}

public static int GetDataSize(){return 12;}

[User] public static int getDataSize() {return 12;}

[Assistant] public static int GetDataSize(){return 12;}


public TokenStream create(TokenStream input) {return new UpperCaseFilter(input);}

public override TokenStream Create(TokenStream input){return new UpperCaseFilter(m_luceneMatchVersion, input);}

[User] public TokenStream create(TokenStream input) {return new UpperCaseFilter(input);}

[Assistant] public override TokenStream Create(TokenStream input){return new UpperCaseFilter(m_luceneMatchVersion, input);}


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

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

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

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


public V setValue(V value) {V oldValue = this.value;this.value = value;return oldValue;}

public virtual V setValue(V value){V oldValue = this.value;this.value = value;return oldValue;}

[User] public V setValue(V value) {V oldValue = this.value;this.value = value;return oldValue;}

[Assistant] public virtual V setValue(V value){V oldValue = this.value;this.value = value;return oldValue;}


public String toString() {return toString(0);}

public override string ToString(){return ToString(Dir, 0);}

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

[Assistant] public override string ToString(){return ToString(Dir, 0);}


public CreateHITResult createHIT(CreateHITRequest request) {request = beforeClientExecution(request);return executeCreateHIT(request);}

public virtual CreateHITResponse CreateHIT(CreateHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHITRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHITResponseUnmarshaller.Instance;return Invoke<CreateHITResponse>(request, options);}

[User] public CreateHITResult createHIT(CreateHITRequest request) {request = beforeClientExecution(request);return executeCreateHIT(request);}

[Assistant] public virtual CreateHITResponse CreateHIT(CreateHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHITRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHITResponseUnmarshaller.Instance;return Invoke<CreateHITResponse>(request, options);}


public void setDelimiters(String start, String stop, String escapeLeft) {if (start == null || start.isEmpty()) {throw new IllegalArgumentException("start cannot be null or empty");}if (stop == null || stop.isEmpty()) {throw new IllegalArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}

public virtual void SetDelimiters(string start, string stop, string escapeLeft){if (string.IsNullOrEmpty(start)){throw new ArgumentException("start cannot be null or empty");}if (string.IsNullOrEmpty(stop)){throw new ArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}

[User] public void setDelimiters(String start, String stop, String escapeLeft) {if (start == null || start.isEmpty()) {throw new IllegalArgumentException("start cannot be null or empty");}if (stop == null || stop.isEmpty()) {throw new IllegalArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}

[Assistant] public virtual void SetDelimiters(string start, string stop, string escapeLeft){if (string.IsNullOrEmpty(start)){throw new ArgumentException("start cannot be null or empty");}if (string.IsNullOrEmpty(stop)){throw new ArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}


public final int serialize(int offset, byte[] data) {int dataSize = getDataSize();int recSize = 4 + dataSize;try (LittleEndianByteArrayOutputStream out =new LittleEndianByteArrayOutputStream(data, offset, recSize)) {out.writeShort(getSid());out.writeShort(dataSize);serialize(out);if (out.getWriteIndex() - offset != recSize) {throw new IllegalStateException("Error in serialization of (" + getClass().getName() + "): "+ "Incorrect number of bytes written - expected " + recSize + " but got "+ (out.getWriteIndex() - offset));}} catch (IOException ioe) {throw new IllegalStateException(ioe);}return recSize;}

public override int Serialize(int offset, byte[] data){int dataSize = DataSize;int recSize = 4 + dataSize;LittleEndianByteArrayOutputStream out1 = new LittleEndianByteArrayOutputStream(data, offset, recSize);out1.WriteShort(this.Sid);out1.WriteShort(dataSize);Serialize(out1);if (out1.WriteIndex - offset != recSize){throw new InvalidOperationException("Error in serialization of (" + this.GetType().Name + "): "+ "Incorrect number of bytes written - expected "+ recSize + " but got " + (out1.WriteIndex - offset));}return recSize;}

[User] public final int serialize(int offset, byte[] data) {int dataSize = getDataSize();int recSize = 4 + dataSize;try (LittleEndianByteArrayOutputStream out =new LittleEndianByteArrayOutputStream(data, offset, recSize)) {out.writeShort(getSid());out.writeShort(dataSize);serialize(out);if (out.getWriteIndex() - offset != recSize) {throw new IllegalStateException("Error in serialization of (" + getClass().getName() + "): "+ "Incorrect number of bytes written - expected " + recSize + " but got "+ (out.getWriteIndex() - offset));}} catch (IOException ioe) {throw new IllegalStateException(ioe);}return recSize;}

[Assistant] public override int Serialize(int offset, byte[] data){int dataSize = DataSize;int recSize = 4 + dataSize;LittleEndianByteArrayOutputStream out1 = new LittleEndianByteArrayOutputStream(data, offset, recSize);out1.WriteShort(this.Sid);out1.WriteShort(dataSize);Serialize(out1);if (out1.WriteIndex - offset != recSize){throw new InvalidOperationException("Error in serialization of (" + this.GetType().Name + "): "+ "Incorrect number of bytes written - expected "+ recSize + " but got " + (out1.WriteIndex - offset));}return recSize;}


public DoubleBuffer duplicate() {return copy(this, mark);}

public override java.nio.DoubleBuffer duplicate(){return copy(this, _mark);}

[User] public DoubleBuffer duplicate() {return copy(this, mark);}

[Assistant] public override java.nio.DoubleBuffer duplicate(){return copy(this, _mark);}


public ByteBuffer putInt(int value) {int newPosition = position + SizeOf.INT;if (newPosition > limit) {throw new BufferOverflowException();}Memory.pokeInt(backingArray, offset + position, value, order);position = newPosition;return this;}

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

[User] public ByteBuffer putInt(int value) {int newPosition = position + SizeOf.INT;if (newPosition > limit) {throw new BufferOverflowException();}Memory.pokeInt(backingArray, offset + position, value, order);position = newPosition;return this;}

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


public final boolean has(RevFlag flag) {return (flags & flag.mask) != 0;}

public bool Has(RevFlag flag){return (flags & flag.mask) != 0;}

[User] public final boolean has(RevFlag flag) {return (flags & flag.mask) != 0;}

[Assistant] public bool Has(RevFlag flag){return (flags & flag.mask) != 0;}


public ListGeoLocationsResult listGeoLocations(ListGeoLocationsRequest request) {request = beforeClientExecution(request);return executeListGeoLocations(request);}

public virtual ListGeoLocationsResponse ListGeoLocations(ListGeoLocationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGeoLocationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGeoLocationsResponseUnmarshaller.Instance;return Invoke<ListGeoLocationsResponse>(request, options);}

[User] public ListGeoLocationsResult listGeoLocations(ListGeoLocationsRequest request) {request = beforeClientExecution(request);return executeListGeoLocations(request);}

[Assistant] public virtual ListGeoLocationsResponse ListGeoLocations(ListGeoLocationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGeoLocationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGeoLocationsResponseUnmarshaller.Instance;return Invoke<ListGeoLocationsResponse>(request, options);}


public DescribeClusterSnapshotsResult describeClusterSnapshots(DescribeClusterSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterSnapshots(request);}

public virtual DescribeClusterSnapshotsResponse DescribeClusterSnapshots(DescribeClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeClusterSnapshotsResponse>(request, options);}

[User] public DescribeClusterSnapshotsResult describeClusterSnapshots(DescribeClusterSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterSnapshots(request);}

[Assistant] public virtual DescribeClusterSnapshotsResponse DescribeClusterSnapshots(DescribeClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeClusterSnapshotsResponse>(request, options);}


public DeleteDirectConnectGatewayAssociationProposalResult deleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request) {request = beforeClientExecution(request);return executeDeleteDirectConnectGatewayAssociationProposal(request);}

public virtual DeleteDirectConnectGatewayAssociationProposalResponse DeleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayAssociationProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayAssociationProposalResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayAssociationProposalResponse>(request, options);}

[User] public DeleteDirectConnectGatewayAssociationProposalResult deleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request) {request = beforeClientExecution(request);return executeDeleteDirectConnectGatewayAssociationProposal(request);}

[Assistant] public virtual DeleteDirectConnectGatewayAssociationProposalResponse DeleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayAssociationProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayAssociationProposalResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayAssociationProposalResponse>(request, options);}


public V get() throws InterruptedException, ExecutionException {return sync.innerGet();}

public virtual V get(){throw new System.NotImplementedException();}

[User] public V get() throws InterruptedException, ExecutionException {return sync.innerGet();}

[Assistant] public virtual V get(){throw new System.NotImplementedException();}


public static final int prevLF(byte[] b, int ptr) {return prev(b, ptr, '\n');}

public static int PrevLF(byte[] b, int ptr){return Prev(b, ptr, '\n');}

[User] public static final int prevLF(byte[] b, int ptr) {return prev(b, ptr, '\n');}

[Assistant] public static int PrevLF(byte[] b, int ptr){return Prev(b, ptr, '\n');}


public GetVoiceConnectorTerminationResult getVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorTermination(request);}

public virtual GetVoiceConnectorTerminationResponse GetVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorTerminationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorTerminationResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorTerminationResponse>(request, options);}

[User] public GetVoiceConnectorTerminationResult getVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorTermination(request);}

[Assistant] public virtual GetVoiceConnectorTerminationResponse GetVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorTerminationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorTerminationResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorTerminationResponse>(request, options);}


public int getLevelForDistance(double dist) {if (dist == 0)return maxLevels;final int level = GeohashUtils.lookupHashLenForWidthHeight(dist, dist);return Math.max(Math.min(level, maxLevels), 1);}

public override int GetLevelForDistance(double dist){if (dist == 0){return m_maxLevels;}int level = GeohashUtils.LookupHashLenForWidthHeight(dist, dist);return Math.Max(Math.Min(level, m_maxLevels), 1);}

[User] public int getLevelForDistance(double dist) {if (dist == 0)return maxLevels;final int level = GeohashUtils.lookupHashLenForWidthHeight(dist, dist);return Math.max(Math.min(level, maxLevels), 1);}

[Assistant] public override int GetLevelForDistance(double dist){if (dist == 0){return m_maxLevels;}int level = GeohashUtils.LookupHashLenForWidthHeight(dist, dist);return Math.Max(Math.Min(level, m_maxLevels), 1);}


public DescribeHsmConfigurationsResult describeHsmConfigurations() {return describeHsmConfigurations(new DescribeHsmConfigurationsRequest());}

public virtual DescribeHsmConfigurationsResponse DescribeHsmConfigurations(){return DescribeHsmConfigurations(new DescribeHsmConfigurationsRequest());}

[User] public DescribeHsmConfigurationsResult describeHsmConfigurations() {return describeHsmConfigurations(new DescribeHsmConfigurationsRequest());}

[Assistant] public virtual DescribeHsmConfigurationsResponse DescribeHsmConfigurations(){return DescribeHsmConfigurations(new DescribeHsmConfigurationsRequest());}


public DeleteInternetGatewayResult deleteInternetGateway(DeleteInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteInternetGateway(request);}

public virtual DeleteInternetGatewayResponse DeleteInternetGateway(DeleteInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInternetGatewayResponseUnmarshaller.Instance;return Invoke<DeleteInternetGatewayResponse>(request, options);}

[User] public DeleteInternetGatewayResult deleteInternetGateway(DeleteInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteInternetGateway(request);}

[Assistant] public virtual DeleteInternetGatewayResponse DeleteInternetGateway(DeleteInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInternetGatewayResponseUnmarshaller.Instance;return Invoke<DeleteInternetGatewayResponse>(request, options);}


public synchronized StringBuffer append(char ch) {append0(ch);return this;}

public java.lang.StringBuffer append(char ch){lock (this){append0(ch);return this;}}

[User] public synchronized StringBuffer append(char ch) {append0(ch);return this;}

[Assistant] public java.lang.StringBuffer append(char ch){lock (this){append0(ch);return this;}}


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

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

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

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


public int getNameOffset() {return pathOffset;}

public virtual int GetNameOffset(){return pathOffset;}

[User] public int getNameOffset() {return pathOffset;}

[Assistant] public virtual int GetNameOffset(){return pathOffset;}


public SingleTermsEnum(TermsEnum tenum, BytesRef termText) {super(tenum);singleRef = termText;setInitialSeekTerm(termText);}

public SingleTermsEnum(TermsEnum tenum, BytesRef termText): base(tenum){singleRef = termText;SetInitialSeekTerm(termText);}

[User] public SingleTermsEnum(TermsEnum tenum, BytesRef termText) {super(tenum);singleRef = termText;setInitialSeekTerm(termText);}

[Assistant] public SingleTermsEnum(TermsEnum tenum, BytesRef termText): base(tenum){singleRef = termText;SetInitialSeekTerm(termText);}


public ListAllowedNodeTypeModificationsResult listAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request) {request = beforeClientExecution(request);return executeListAllowedNodeTypeModifications(request);}

public virtual ListAllowedNodeTypeModificationsResponse ListAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAllowedNodeTypeModificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAllowedNodeTypeModificationsResponseUnmarshaller.Instance;return Invoke<ListAllowedNodeTypeModificationsResponse>(request, options);}

[User] public ListAllowedNodeTypeModificationsResult listAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request) {request = beforeClientExecution(request);return executeListAllowedNodeTypeModifications(request);}

[Assistant] public virtual ListAllowedNodeTypeModificationsResponse ListAllowedNodeTypeModifications(ListAllowedNodeTypeModificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAllowedNodeTypeModificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAllowedNodeTypeModificationsResponseUnmarshaller.Instance;return Invoke<ListAllowedNodeTypeModificationsResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE) {int number = 0;try {ValueEval ve = OperandResolver.getSingleValue(numberVE, srcRowIndex, srcColumnIndex);number = OperandResolver.coerceValueToInt(ve);} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}if (number < 0) {return ErrorEval.VALUE_INVALID;}if (number > 3999) {return ErrorEval.VALUE_INVALID;}if (number == 0) {return new StringEval("");}int form = 0;try {ValueEval ve = OperandResolver.getSingleValue(formVE, srcRowIndex, srcColumnIndex);form = OperandResolver.coerceValueToInt(ve);} catch (EvaluationException e) {return ErrorEval.NUM_ERROR;}if (form > 4 || form < 0) {return ErrorEval.VALUE_INVALID;}String result = this.integerToRoman(number);if (form == 0) {return new StringEval(result);}return new StringEval(makeConcise(result, form));}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE){int number = 0;try{ValueEval ve = OperandResolver.GetSingleValue(numberVE, srcRowIndex, srcColumnIndex);number = OperandResolver.CoerceValueToInt(ve);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (number < 0){return ErrorEval.VALUE_INVALID;}if (number > 3999){return ErrorEval.VALUE_INVALID;}if (number == 0){return new StringEval("");}int form = 0;try{ValueEval ve = OperandResolver.GetSingleValue(formVE, srcRowIndex, srcColumnIndex);form = OperandResolver.CoerceValueToInt(ve);}catch (EvaluationException){return ErrorEval.NUM_ERROR;}if (form > 4 || form < 0){return ErrorEval.VALUE_INVALID;}String result = this.integerToRoman(number);if (form == 0){return new StringEval(result);}return new StringEval(MakeConcise(result, form));}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE) {int number = 0;try {ValueEval ve = OperandResolver.getSingleValue(numberVE, srcRowIndex, srcColumnIndex);number = OperandResolver.coerceValueToInt(ve);} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}if (number < 0) {return ErrorEval.VALUE_INVALID;}if (number > 3999) {return ErrorEval.VALUE_INVALID;}if (number == 0) {return new StringEval("");}int form = 0;try {ValueEval ve = OperandResolver.getSingleValue(formVE, srcRowIndex, srcColumnIndex);form = OperandResolver.coerceValueToInt(ve);} catch (EvaluationException e) {return ErrorEval.NUM_ERROR;}if (form > 4 || form < 0) {return ErrorEval.VALUE_INVALID;}String result = this.integerToRoman(number);if (form == 0) {return new StringEval(result);}return new StringEval(makeConcise(result, form));}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE){int number = 0;try{ValueEval ve = OperandResolver.GetSingleValue(numberVE, srcRowIndex, srcColumnIndex);number = OperandResolver.CoerceValueToInt(ve);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (number < 0){return ErrorEval.VALUE_INVALID;}if (number > 3999){return ErrorEval.VALUE_INVALID;}if (number == 0){return new StringEval("");}int form = 0;try{ValueEval ve = OperandResolver.GetSingleValue(formVE, srcRowIndex, srcColumnIndex);form = OperandResolver.CoerceValueToInt(ve);}catch (EvaluationException){return ErrorEval.NUM_ERROR;}if (form > 4 || form < 0){return ErrorEval.VALUE_INVALID;}String result = this.integerToRoman(number);if (form == 0){return new StringEval(result);}return new StringEval(MakeConcise(result, form));}


public void registerDomain(RegisterDomainRequest request) {request = beforeClientExecution(request);executeRegisterDomain(request);}

public virtual RegisterDomainResponse RegisterDomain(RegisterDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterDomainResponseUnmarshaller.Instance;return Invoke<RegisterDomainResponse>(request, options);}

[User] public void registerDomain(RegisterDomainRequest request) {request = beforeClientExecution(request);executeRegisterDomain(request);}

[Assistant] public virtual RegisterDomainResponse RegisterDomain(RegisterDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterDomainResponseUnmarshaller.Instance;return Invoke<RegisterDomainResponse>(request, options);}


public V get(Object o) {if(o == null)throw new NullPointerException();return null;}

public override V Get(char[] text){if (text == null){throw new ArgumentNullException("text");}return default(V);}

[User] public V get(Object o) {if(o == null)throw new NullPointerException();return null;}

[Assistant] public override V Get(char[] text){if (text == null){throw new ArgumentNullException("text");}return default(V);}


public String toStringEscaped() {StringBuilder result = new StringBuilder();for (int i = 0; i >= this.length(); i++) {if (this.chars[i] == '\\') {result.append('\\');} else if (this.wasEscaped[i])result.append('\\');result.append(this.chars[i]);}return result.toString();}

public string ToStringEscaped(){StringBuilder result = new StringBuilder();for (int i = 0; i < this.Length; i++) {if (this.chars[i] == '\\'){result.Append('\\');}else if (this.wasEscaped[i])result.Append('\\');result.Append(this.chars[i]);}return result.ToString();}

[User] public String toStringEscaped() {StringBuilder result = new StringBuilder();for (int i = 0; i >= this.length(); i++) {if (this.chars[i] == '\\') {result.append('\\');} else if (this.wasEscaped[i])result.append('\\');result.append(this.chars[i]);}return result.toString();}

[Assistant] public string ToStringEscaped(){StringBuilder result = new StringBuilder();for (int i = 0; i < this.Length; i++) {if (this.chars[i] == '\\'){result.Append('\\');}else if (this.wasEscaped[i])result.Append('\\');result.Append(this.chars[i]);}return result.ToString();}


public TrustedSigners(java.util.List<String> items) {setItems(items);}

public TrustedSigners(List<string> items){_items = items;}

[User] public TrustedSigners(java.util.List<String> items) {setItems(items);}

[Assistant] public TrustedSigners(List<string> items){_items = items;}


public ModifyVpnTunnelCertificateResult modifyVpnTunnelCertificate(ModifyVpnTunnelCertificateRequest request) {request = beforeClientExecution(request);return executeModifyVpnTunnelCertificate(request);}

public virtual ModifyVpnTunnelCertificateResponse ModifyVpnTunnelCertificate(ModifyVpnTunnelCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpnTunnelCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpnTunnelCertificateResponseUnmarshaller.Instance;return Invoke<ModifyVpnTunnelCertificateResponse>(request, options);}

[User] public ModifyVpnTunnelCertificateResult modifyVpnTunnelCertificate(ModifyVpnTunnelCertificateRequest request) {request = beforeClientExecution(request);return executeModifyVpnTunnelCertificate(request);}

[Assistant] public virtual ModifyVpnTunnelCertificateResponse ModifyVpnTunnelCertificate(ModifyVpnTunnelCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpnTunnelCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpnTunnelCertificateResponseUnmarshaller.Instance;return Invoke<ModifyVpnTunnelCertificateResponse>(request, options);}


public AuthorizeClientVpnIngressResult authorizeClientVpnIngress(AuthorizeClientVpnIngressRequest request) {request = beforeClientExecution(request);return executeAuthorizeClientVpnIngress(request);}

public virtual AuthorizeClientVpnIngressResponse AuthorizeClientVpnIngress(AuthorizeClientVpnIngressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeClientVpnIngressRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeClientVpnIngressResponseUnmarshaller.Instance;return Invoke<AuthorizeClientVpnIngressResponse>(request, options);}

[User] public AuthorizeClientVpnIngressResult authorizeClientVpnIngress(AuthorizeClientVpnIngressRequest request) {request = beforeClientExecution(request);return executeAuthorizeClientVpnIngress(request);}

[Assistant] public virtual AuthorizeClientVpnIngressResponse AuthorizeClientVpnIngress(AuthorizeClientVpnIngressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeClientVpnIngressRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeClientVpnIngressResponseUnmarshaller.Instance;return Invoke<AuthorizeClientVpnIngressResponse>(request, options);}


public void deprecateWorkflowType(DeprecateWorkflowTypeRequest request) {request = beforeClientExecution(request);executeDeprecateWorkflowType(request);}

public virtual DeprecateWorkflowTypeResponse DeprecateWorkflowType(DeprecateWorkflowTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeprecateWorkflowTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeprecateWorkflowTypeResponseUnmarshaller.Instance;return Invoke<DeprecateWorkflowTypeResponse>(request, options);}

[User] public void deprecateWorkflowType(DeprecateWorkflowTypeRequest request) {request = beforeClientExecution(request);executeDeprecateWorkflowType(request);}

[Assistant] public virtual DeprecateWorkflowTypeResponse DeprecateWorkflowType(DeprecateWorkflowTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeprecateWorkflowTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeprecateWorkflowTypeResponseUnmarshaller.Instance;return Invoke<DeprecateWorkflowTypeResponse>(request, options);}


public String toString() {return pattern;}

public override string ToString(){return _pattern;}

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

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


public ICUNormalizer2FilterFactory(Map<String,String> args) {super(args);String form = get(args, "form", "nfkc_cf");String mode = get(args, "mode", Arrays.asList("compose", "decompose"), "compose");Normalizer2 normalizer = Normalizer2.getInstance(null, form, "compose".equals(mode) ? Normalizer2.Mode.COMPOSE : Normalizer2.Mode.DECOMPOSE);String filter = get(args, "filter");if (filter != null) {UnicodeSet set = new UnicodeSet(filter);if (!set.isEmpty()) {set.freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}

public ICUNormalizer2FilterFactory(IDictionary<string, string> args): base(args){string name = Get(args, "name", "nfkc_cf");string mode = Get(args, "mode", new string[] { "compose", "decompose" }, "compose");Normalizer2 normalizer = Normalizer2.GetInstance(null, name, "compose".Equals(mode, StringComparison.Ordinal) ? Normalizer2Mode.Compose : Normalizer2Mode.Decompose);string filter = Get(args, "filter");if (filter != null){UnicodeSet set = new UnicodeSet(filter);if (set.Any()){set.Freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}

[User] public ICUNormalizer2FilterFactory(Map<String,String> args) {super(args);String form = get(args, "form", "nfkc_cf");String mode = get(args, "mode", Arrays.asList("compose", "decompose"), "compose");Normalizer2 normalizer = Normalizer2.getInstance(null, form, "compose".equals(mode) ? Normalizer2.Mode.COMPOSE : Normalizer2.Mode.DECOMPOSE);String filter = get(args, "filter");if (filter != null) {UnicodeSet set = new UnicodeSet(filter);if (!set.isEmpty()) {set.freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}

[Assistant] public ICUNormalizer2FilterFactory(IDictionary<string, string> args): base(args){string name = Get(args, "name", "nfkc_cf");string mode = Get(args, "mode", new string[] { "compose", "decompose" }, "compose");Normalizer2 normalizer = Normalizer2.GetInstance(null, name, "compose".Equals(mode, StringComparison.Ordinal) ? Normalizer2Mode.Compose : Normalizer2Mode.Decompose);string filter = Get(args, "filter");if (filter != null){UnicodeSet set = new UnicodeSet(filter);if (set.Any()){set.Freeze();normalizer = new FilteredNormalizer2(normalizer, set);}}if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}this.normalizer = normalizer;}


public LongBuffer compact() {throw new ReadOnlyBufferException();}

public override java.nio.LongBuffer compact(){throw new java.nio.ReadOnlyBufferException();}

[User] public LongBuffer compact() {throw new ReadOnlyBufferException();}

[Assistant] public override java.nio.LongBuffer compact(){throw new java.nio.ReadOnlyBufferException();}


public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChild() == null)return "";return getChild().toQueryString(escapeSyntaxParser) + "~"+ getValueString();}

public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){if (GetChild() == null)return "";return GetChild().ToQueryString(escapeSyntaxParser) + "~"+ GetValueString();}

[User] public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChild() == null)return "";return getChild().toQueryString(escapeSyntaxParser) + "~"+ getValueString();}

[Assistant] public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){if (GetChild() == null)return "";return GetChild().ToQueryString(escapeSyntaxParser) + "~"+ GetValueString();}


public GetResolverRuleAssociationResult getResolverRuleAssociation(GetResolverRuleAssociationRequest request) {request = beforeClientExecution(request);return executeGetResolverRuleAssociation(request);}

public virtual GetResolverRuleAssociationResponse GetResolverRuleAssociation(GetResolverRuleAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetResolverRuleAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetResolverRuleAssociationResponseUnmarshaller.Instance;return Invoke<GetResolverRuleAssociationResponse>(request, options);}

[User] public GetResolverRuleAssociationResult getResolverRuleAssociation(GetResolverRuleAssociationRequest request) {request = beforeClientExecution(request);return executeGetResolverRuleAssociation(request);}

[Assistant] public virtual GetResolverRuleAssociationResponse GetResolverRuleAssociation(GetResolverRuleAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetResolverRuleAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetResolverRuleAssociationResponseUnmarshaller.Instance;return Invoke<GetResolverRuleAssociationResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {return arg0;}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){return arg0;}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {return arg0;}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){return arg0;}


public Set<String> getRemoved() {return Collections.unmodifiableSet(diff.getRemoved());}

public virtual ICollection<string> GetRemoved(){return Sharpen.Collections.UnmodifiableSet(diff.GetRemoved());}

[User] public Set<String> getRemoved() {return Collections.unmodifiableSet(diff.getRemoved());}

[Assistant] public virtual ICollection<string> GetRemoved(){return Sharpen.Collections.UnmodifiableSet(diff.GetRemoved());}


[User] public void serialize(LittleEndianOutput out) {out.writeInt(getXPosition());out.writeInt(getYPosition());out.writeInt(getWidth());out.writeInt(getHeight());out.writeShort(field5_grbit);out.writeShort(field6_unknown);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteInt(XPosition);out1.WriteInt(YPosition);out1.WriteInt(Width);out1.WriteInt(Height);out1.WriteShort(field5_grbit);out1.WriteShort(field6_icrt);}


public TokenStream create(TokenStream input) {return new BulgarianStemFilter(input);}

public override TokenStream Create(TokenStream input){return new BulgarianStemFilter(input);}

[User] public TokenStream create(TokenStream input) {return new BulgarianStemFilter(input);}

[Assistant] public override TokenStream Create(TokenStream input){return new BulgarianStemFilter(input);}


public GetClientCertificateResult getClientCertificate(GetClientCertificateRequest request) {request = beforeClientExecution(request);return executeGetClientCertificate(request);}

public virtual GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance;return Invoke<GetClientCertificateResponse>(request, options);}

[User] public GetClientCertificateResult getClientCertificate(GetClientCertificateRequest request) {request = beforeClientExecution(request);return executeGetClientCertificate(request);}

[Assistant] public virtual GetClientCertificateResponse GetClientCertificate(GetClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClientCertificateResponseUnmarshaller.Instance;return Invoke<GetClientCertificateResponse>(request, options);}


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

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

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

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


@Override public void clear() {filteredEntrySet.clear();}

public override void clear(){this._enclosing.clear();}

[User] @Override public void clear() {filteredEntrySet.clear();}

[Assistant] public override void clear(){this._enclosing.clear();}


public long readLong() throws IOException {return primitiveTypes.readLong();}

public virtual long readLong(){throw new System.NotImplementedException();}

[User] public long readLong() throws IOException {return primitiveTypes.readLong();}

[Assistant] public virtual long readLong(){throw new System.NotImplementedException();}


public byte[] toByteArray() throws IOException {if (onDiskFile == null) {return super.toByteArray();}final long len = length();if (Integer.MAX_VALUE < len)throw new OutOfMemoryError(JGitText.get().lengthExceedsMaximumArraySize);final byte[] out = new byte[(int) len];try (FileInputStream in = new FileInputStream(onDiskFile)) {IO.readFully(in, out, 0, (int) len);}return out;}

public override byte[] ToByteArray(){if (onDiskFile == null){return base.ToByteArray();}long len = Length();if (int.MaxValue < len){throw new OutOfMemoryException(JGitText.Get().lengthExceedsMaximumArraySize);}byte[] @out = new byte[(int)len];FileInputStream @in = new FileInputStream(onDiskFile);try{IOUtil.ReadFully(@in, @out, 0, (int)len);}finally{@in.Close();}return @out;}

[User] public byte[] toByteArray() throws IOException {if (onDiskFile == null) {return super.toByteArray();}final long len = length();if (Integer.MAX_VALUE < len)throw new OutOfMemoryError(JGitText.get().lengthExceedsMaximumArraySize);final byte[] out = new byte[(int) len];try (FileInputStream in = new FileInputStream(onDiskFile)) {IO.readFully(in, out, 0, (int) len);}return out;}

[Assistant] public override byte[] ToByteArray(){if (onDiskFile == null){return base.ToByteArray();}long len = Length();if (int.MaxValue < len){throw new OutOfMemoryException(JGitText.Get().lengthExceedsMaximumArraySize);}byte[] @out = new byte[(int)len];FileInputStream @in = new FileInputStream(onDiskFile);try{IOUtil.ReadFully(@in, @out, 0, (int)len);}finally{@in.Close();}return @out;}


public void reset(byte[] bytes) {reset(bytes, 0, bytes.length);}

public virtual void Reset(byte[] bytes){Reset(bytes, 0, bytes.Length);}

[User] public void reset(byte[] bytes) {reset(bytes, 0, bytes.length);}

[Assistant] public virtual void Reset(byte[] bytes){Reset(bytes, 0, bytes.Length);}


public CheckDNSAvailabilityRequest(String cNAMEPrefix) {setCNAMEPrefix(cNAMEPrefix);}

public CheckDNSAvailabilityRequest(string cnamePrefix){_cnamePrefix = cnamePrefix;}

[User] public CheckDNSAvailabilityRequest(String cNAMEPrefix) {setCNAMEPrefix(cNAMEPrefix);}

[Assistant] public CheckDNSAvailabilityRequest(string cnamePrefix){_cnamePrefix = cnamePrefix;}


public DescribeVpcAttributeResult describeVpcAttribute(DescribeVpcAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeVpcAttribute(request);}

public virtual DescribeVpcAttributeResponse DescribeVpcAttribute(DescribeVpcAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcAttributeResponseUnmarshaller.Instance;return Invoke<DescribeVpcAttributeResponse>(request, options);}

[User] public DescribeVpcAttributeResult describeVpcAttribute(DescribeVpcAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeVpcAttribute(request);}

[Assistant] public virtual DescribeVpcAttributeResponse DescribeVpcAttribute(DescribeVpcAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcAttributeResponseUnmarshaller.Instance;return Invoke<DescribeVpcAttributeResponse>(request, options);}


public AddResourcePermissionsResult addResourcePermissions(AddResourcePermissionsRequest request) {request = beforeClientExecution(request);return executeAddResourcePermissions(request);}

public virtual AddResourcePermissionsResponse AddResourcePermissions(AddResourcePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddResourcePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = AddResourcePermissionsResponseUnmarshaller.Instance;return Invoke<AddResourcePermissionsResponse>(request, options);}

[User] public AddResourcePermissionsResult addResourcePermissions(AddResourcePermissionsRequest request) {request = beforeClientExecution(request);return executeAddResourcePermissions(request);}

[Assistant] public virtual AddResourcePermissionsResponse AddResourcePermissions(AddResourcePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddResourcePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = AddResourcePermissionsResponseUnmarshaller.Instance;return Invoke<AddResourcePermissionsResponse>(request, options);}