Java 类org.omg.CORBA.AnySeqHolder 实例源码

项目:javify    文件:AbstractCdrInput.java   
/**
 * Read an array. In OMG specification is written that if the data does not
 * fit into the holder value field, that array must be resized. The
 * implementation follows this rule. If the holder value field contains null,
 * it is newly instantiated.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  holder.value = ensureArray(holder.value, offset, length);
  for (int i = offset; i < offset + length; i++)
    {
      holder.value[i] = read_any();
    }
}
项目:jvm-stm    文件:AbstractCdrInput.java   
/**
 * Read an array. In OMG specification is written that if the data does not
 * fit into the holder value field, that array must be resized. The
 * implementation follows this rule. If the holder value field contains null,
 * it is newly instantiated.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  holder.value = ensureArray(holder.value, offset, length);
  for (int i = offset; i < offset + length; i++)
    {
      holder.value[i] = read_any();
    }
}
项目:JamVM-PH    文件:AbstractCdrInput.java   
/**
 * Read an array. In OMG specification is written that if the data does not
 * fit into the holder value field, that array must be resized. The
 * implementation follows this rule. If the holder value field contains null,
 * it is newly instantiated.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  holder.value = ensureArray(holder.value, offset, length);
  for (int i = offset; i < offset + length; i++)
    {
      holder.value[i] = read_any();
    }
}
项目:classpath    文件:AbstractCdrInput.java   
/**
 * Read an array. In OMG specification is written that if the data does not
 * fit into the holder value field, that array must be resized. The
 * implementation follows this rule. If the holder value field contains null,
 * it is newly instantiated.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  holder.value = ensureArray(holder.value, offset, length);
  for (int i = offset; i < offset + length; i++)
    {
      holder.value[i] = read_any();
    }
}
项目:javify    文件:HeadlessInput.java   
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
项目:jvm-stm    文件:HeadlessInput.java   
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
项目:JamVM-PH    文件:HeadlessInput.java   
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
项目:classpath    文件:HeadlessInput.java   
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}