Examples of IUnionValue


Examples of com.fineqt.fpb.lib.api.IUnionValue

    @Override
    protected boolean postDecodeItem(DecodeContext cxt, IBitBuffer input, DecodeParameters paras,
        DecodeResult parentResult, DecodeResult itemResult, PListItemExt itemMeta) {
      if (itemResult.getValue() != null ) {
        IUnionValue listItem = (IUnionValue)itemResult.getValue();
        IValue variant = listItem.getPresentVariant();
        //遇到LastOption后停止列表余下项目的解码
        if (variant != null && variant.getType().getID() == LAST_OPTION) {
          return false;
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.