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

项目:javify    文件:_BindingIteratorImplBase.java   
/**
 * The obsolete invocation using server request. Implemented for
 * compatibility reasons, but is it more effectinve to use
 * {@link #_invoke}.
 *
 * @param request a server request.
 */
public void invoke(ServerRequest request)
{
  // "destroy" has a void return type, the two other methods - boolean.
  Streamable result =
    request.operation().equals("destroy") ? null : new BooleanHolder();
  gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result);
}
项目:javify    文件:gnuDynAny.java   
/** {@inheritDoc} */
public boolean get_boolean() throws TypeMismatch
{
  try
    {
      return ((BooleanHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:javify    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((BooleanHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:javify    文件:gnuAny.java   
/** {@inheritDoc} */
public boolean extract_boolean()
                        throws BAD_OPERATION
{
  check(TCKind._tk_boolean);
  return ((BooleanHolder) has).value;
}
项目:jvm-stm    文件:_BindingIteratorImplBase.java   
/**
 * The obsolete invocation using server request. Implemented for
 * compatibility reasons, but is it more effectinve to use
 * {@link #_invoke}.
 *
 * @param request a server request.
 */
public void invoke(ServerRequest request)
{
  // "destroy" has a void return type, the two other methods - boolean.
  Streamable result =
    request.operation().equals("destroy") ? null : new BooleanHolder();
  gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result);
}
项目:jvm-stm    文件:gnuDynAny.java   
/** {@inheritDoc} */
public boolean get_boolean() throws TypeMismatch
{
  try
    {
      return ((BooleanHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:jvm-stm    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((BooleanHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:jvm-stm    文件:gnuAny.java   
/** {@inheritDoc} */
public boolean extract_boolean()
                        throws BAD_OPERATION
{
  check(TCKind._tk_boolean);
  return ((BooleanHolder) has).value;
}
项目:Desktop    文件:JhromeTabbedPaneUI.java   
private int animate(int value, int target, double animFactor, BooleanHolder animNeeded) {
    int newValue = animate(value, target, animFactor);
    if (newValue != value) {
        animNeeded.value = true;
    }
    return newValue;
}
项目:Desktop    文件:JhromeTabbedPaneUI.java   
private int animateShrinkingOnly(int value, int target, double animFactor, BooleanHolder animNeeded) {
    int newValue = value < target ? target : animate(value, target, animFactor);
    if (newValue != value) {
        animNeeded.value = true;
    }
    return newValue;
}
项目:JamVM-PH    文件:_BindingIteratorImplBase.java   
/**
 * The obsolete invocation using server request. Implemented for
 * compatibility reasons, but is it more effectinve to use
 * {@link #_invoke}.
 *
 * @param request a server request.
 */
public void invoke(ServerRequest request)
{
  // "destroy" has a void return type, the two other methods - boolean.
  Streamable result =
    request.operation().equals("destroy") ? null : new BooleanHolder();
  gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result);
}
项目:JamVM-PH    文件:gnuDynAny.java   
/** {@inheritDoc} */
public boolean get_boolean() throws TypeMismatch
{
  try
    {
      return ((BooleanHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:JamVM-PH    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((BooleanHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:JamVM-PH    文件:gnuAny.java   
/** {@inheritDoc} */
public boolean extract_boolean()
                        throws BAD_OPERATION
{
  check(TCKind._tk_boolean);
  return ((BooleanHolder) has).value;
}
项目:classpath    文件:_BindingIteratorImplBase.java   
/**
 * The obsolete invocation using server request. Implemented for
 * compatibility reasons, but is it more effectinve to use
 * {@link #_invoke}.
 *
 * @param request a server request.
 */
public void invoke(ServerRequest request)
{
  // "destroy" has a void return type, the two other methods - boolean.
  Streamable result =
    request.operation().equals("destroy") ? null : new BooleanHolder();
  gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result);
}
项目:classpath    文件:gnuDynAny.java   
/** {@inheritDoc} */
public boolean get_boolean() throws TypeMismatch
{
  try
    {
      return ((BooleanHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
项目:classpath    文件:gnuDynAny.java   
/** {@inheritDoc} */
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((BooleanHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
项目:classpath    文件:gnuAny.java   
/** {@inheritDoc} */
public boolean extract_boolean()
                        throws BAD_OPERATION
{
  check(TCKind._tk_boolean);
  return ((BooleanHolder) has).value;
}