org.omg.CORBA.Any.extract_octet()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.omg.CORBA.Any.extract_octet()方法的一些代码示例,展示了Any.extract_octet()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Any.extract_octet()方法的具体详情如下:
包路径:org.omg.CORBA.Any
类名称:Any
方法名:extract_octet

Any.extract_octet介绍

暂无

代码示例

代码示例来源:origin: org.jacorb/jacorb

public byte get_octet() throws TypeMismatch
{
 checkDestroyed ();
 org.omg.CORBA.Any any = getRepresentation();
 try
 {
   return any.extract_octet();
 }
 catch( org.omg.CORBA.BAD_OPERATION b )
 {
   throw new TypeMismatch();
 }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public byte get_octet()
  throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
      org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
  if (status == STATUS_DESTROYED) {
    throw wrapper.dynAnyDestroyed() ;
  }
  if (any.type().kind().value() != TCKind._tk_octet)
    throw new TypeMismatch();
  return any.extract_octet();
}

代码示例来源:origin: apache/cxf

break;
case TCKind._tk_octet:
  data = Byte.toString(any.extract_octet());
  break;
case TCKind._tk_short:

代码示例来源:origin: org.jacorb/jacorb

break;
case org.omg.CORBA.TCKind._tk_octet:
 sb.append( c.value.extract_octet() );
 break;
case org.omg.CORBA.TCKind._tk_char:

代码示例来源:origin: org.jacorb/jacorb

return new Character(any.extract_char());
case TCKind._tk_octet:
return new Byte(any.extract_octet());
case TCKind._tk_any:
return any.extract_any();

代码示例来源:origin: org.apache.yoko/yoko-core

value_ = new Byte(any.extract_octet());
break;

代码示例来源:origin: apache/cxf

break;
case TCKind._tk_octet:
  primitive.setValue(Byte.valueOf(a.extract_octet()));
  break;
case TCKind._tk_short:

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

return (extract_wchar() == otherAny.extract_wchar());
case TCKind._tk_octet:
  return (extract_octet() == otherAny.extract_octet());
case TCKind._tk_any:
  return extract_any().equal(otherAny.extract_any());

代码示例来源:origin: jboss/jboss-javaee-specs

return (extract_wchar() == otherAny.extract_wchar());
case TCKind._tk_octet :
  return (extract_octet() == otherAny.extract_octet());
case TCKind._tk_any :
  return extract_any().equal(otherAny.extract_any());

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

return (extract_wchar() == otherAny.extract_wchar());
case TCKind._tk_octet :
  return (extract_octet() == otherAny.extract_octet());
case TCKind._tk_any :
  return extract_any().equal(otherAny.extract_any());

代码示例来源:origin: org.jacorb/jacorb

( members[i].label.extract_octet() == (byte)0 ))

代码示例来源:origin: org.apache.yoko/yoko-core

buf[index] = any.extract_octet();
break;

代码示例来源:origin: org.jacorb/jacorb

return extract_octet() == other.extract_octet();

代码示例来源:origin: org.jacorb/jacorb

if (! discriminator_type.equivalent( label.type() ) &&
  ! ( label.type().kind().value() == TCKind._tk_octet &&
    label.extract_octet() == (byte)0

相关文章