当前位置: 首页>>代码示例>>Java>>正文


Java NumberOutput.outputInt方法代码示例

本文整理汇总了Java中org.codehaus.jackson.io.NumberOutput.outputInt方法的典型用法代码示例。如果您正苦于以下问题:Java NumberOutput.outputInt方法的具体用法?Java NumberOutput.outputInt怎么用?Java NumberOutput.outputInt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.codehaus.jackson.io.NumberOutput的用法示例。


在下文中一共展示了NumberOutput.outputInt方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: _writeQuotedInt

import org.codehaus.jackson.io.NumberOutput; //导入方法依赖的package包/类
private final void _writeQuotedInt(int paramInt)
  throws IOException
{
  if (13 + this._outputTail >= this._outputEnd)
    _flushBuffer();
  char[] arrayOfChar1 = this._outputBuffer;
  int i = this._outputTail;
  this._outputTail = (i + 1);
  arrayOfChar1[i] = '"';
  this._outputTail = NumberOutput.outputInt(paramInt, this._outputBuffer, this._outputTail);
  char[] arrayOfChar2 = this._outputBuffer;
  int j = this._outputTail;
  this._outputTail = (j + 1);
  arrayOfChar2[j] = '"';
}
 
开发者ID:zhangjianying,项目名称:12306-android-Decompile,代码行数:16,代码来源:WriterBasedGenerator.java

示例2: writeNumber

import org.codehaus.jackson.io.NumberOutput; //导入方法依赖的package包/类
public void writeNumber(int paramInt)
  throws IOException, JsonGenerationException
{
  _verifyValueWrite("write number");
  if (11 + this._outputTail >= this._outputEnd)
    _flushBuffer();
  if (this._cfgNumbersAsStrings)
  {
    _writeQuotedInt(paramInt);
    return;
  }
  this._outputTail = NumberOutput.outputInt(paramInt, this._outputBuffer, this._outputTail);
}
 
开发者ID:zhangjianying,项目名称:12306-android-Decompile,代码行数:14,代码来源:WriterBasedGenerator.java

示例3: _writeQuotedInt

import org.codehaus.jackson.io.NumberOutput; //导入方法依赖的package包/类
private final void _writeQuotedInt(int paramInt)
  throws IOException
{
  if (13 + this._outputTail >= this._outputEnd)
    _flushBuffer();
  byte[] arrayOfByte1 = this._outputBuffer;
  int i = this._outputTail;
  this._outputTail = (i + 1);
  arrayOfByte1[i] = 34;
  this._outputTail = NumberOutput.outputInt(paramInt, this._outputBuffer, this._outputTail);
  byte[] arrayOfByte2 = this._outputBuffer;
  int j = this._outputTail;
  this._outputTail = (j + 1);
  arrayOfByte2[j] = 34;
}
 
开发者ID:zhangjianying,项目名称:12306-android-Decompile,代码行数:16,代码来源:Utf8Generator.java

示例4: _writeQuotedInt

import org.codehaus.jackson.io.NumberOutput; //导入方法依赖的package包/类
private final void _writeQuotedInt(int paramInt)
{
  if (13 + this._outputTail >= this._outputEnd)
    _flushBuffer();
  char[] arrayOfChar1 = this._outputBuffer;
  int i = this._outputTail;
  this._outputTail = (i + 1);
  arrayOfChar1[i] = '"';
  this._outputTail = NumberOutput.outputInt(paramInt, this._outputBuffer, this._outputTail);
  char[] arrayOfChar2 = this._outputBuffer;
  int j = this._outputTail;
  this._outputTail = (j + 1);
  arrayOfChar2[j] = '"';
}
 
开发者ID:isnuryusuf,项目名称:ingress-indonesia-dev,代码行数:15,代码来源:WriterBasedGenerator.java

示例5: writeNumber

import org.codehaus.jackson.io.NumberOutput; //导入方法依赖的package包/类
public final void writeNumber(int paramInt)
{
  _verifyValueWrite("write number");
  if (this._cfgNumbersAsStrings)
  {
    _writeQuotedInt(paramInt);
    return;
  }
  if (11 + this._outputTail >= this._outputEnd)
    _flushBuffer();
  this._outputTail = NumberOutput.outputInt(paramInt, this._outputBuffer, this._outputTail);
}
 
开发者ID:isnuryusuf,项目名称:ingress-indonesia-dev,代码行数:13,代码来源:WriterBasedGenerator.java


注:本文中的org.codehaus.jackson.io.NumberOutput.outputInt方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。