Java Code Examples for org.omg.CORBA.AnySeqHolder

The following are top voted examples for showing how to use org.omg.CORBA.AnySeqHolder. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: javify   File: AbstractCdrInput.java   View source code 5 votes vote down vote up
/**
 * 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();
    }
}
 
Example 2
Project: jvm-stm   File: AbstractCdrInput.java   View source code 5 votes vote down vote up
/**
 * 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();
    }
}
 
Example 3
Project: JamVM-PH   File: AbstractCdrInput.java   View source code 5 votes vote down vote up
/**
 * 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();
    }
}
 
Example 4
Project: classpath   File: AbstractCdrInput.java   View source code 5 votes vote down vote up
/**
 * 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();
    }
}
 
Example 5
Project: javify   File: HeadlessInput.java   View source code 4 votes vote down vote up
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
 
Example 6
Project: jvm-stm   File: HeadlessInput.java   View source code 4 votes vote down vote up
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
 
Example 7
Project: JamVM-PH   File: HeadlessInput.java   View source code 4 votes vote down vote up
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}
 
Example 8
Project: classpath   File: HeadlessInput.java   View source code 4 votes vote down vote up
/**
 * Delegates functionality to the underlying stream.
 */
public void read_any_array(AnySeqHolder holder, int offset, int length)
{
  stream.read_any_array(holder, offset, length);
}