Examples of intValue()


Examples of ro.redeul.google.go.util.GoNumber.intValue()

                case BitAnd:
                    return GoTypes.constant(GoTypeConstant.Kind.Integer, leftValue.and(rightValue));
                case BitClear:
                    return GoTypes.constant(GoTypeConstant.Kind.Integer, leftValue.andNot(rightValue));
                case ShiftLeft:
                    return GoTypes.constant(GoTypeConstant.Kind.Integer, leftValue.shiftLeft(rightValue.intValue()));
                case ShiftRight:
                    return GoTypes.constant(GoTypeConstant.Kind.Integer, leftValue.shiftRight(rightValue.intValue()));
                default:
                    return GoType.Unknown;
            }
View Full Code Here

Examples of se.llbit.nbt.AnyTag.intValue()

      request.add(".Data.LevelName");
      request.add(".Data.GameType");
      Map<String, AnyTag> result = NamedTag.quickParse(in, request);

      AnyTag dim = result.get(".Data.Player.Dimension");
      playerDimension = dim.intValue();

      AnyTag version = result.get(".Data.version");
      if (logWarnings && version.intValue() != NBT_VERSION) {
        logger.warn("The world format for the world " + levelName +
            " is not supported by Chunky.\n" +
View Full Code Here

Examples of soc.qase.com.packet.Sequence.intValue()

  private void processIncomingDataPacket(byte[] incomingData)
  {
    Packet packet = null;
    Sequence sequenceOne = new Sequence(incomingData);

    if(sequenceOne.intValue() == 0x7fffffff && sequenceOne.isReliable())
    {
      packet = new ConnectionlessPacket(incomingData);
      processConnectionlessPacket((ConnectionlessPacket)packet);
    }
    else
View Full Code Here

Examples of ugh.dl.RomanNumeral.intValue()

    if (this.paginationType.equals(PAGINATION_ARABIC) || this.paginationType.equals(PAGINATION_ARABIC_BRACKET)) {
      paginationBaseValue = Integer.parseInt(this.paginationStartValue);
    } else if (this.paginationType.equals(PAGINATION_ROMAN) || this.paginationType.equals(PAGINATION_ROMAN_BRACKET)) {
      RomanNumeral r = new RomanNumeral();
      r.setValue(this.paginationStartValue);
      paginationBaseValue = r.intValue();
    }

    return paginationBaseValue;

  }
View Full Code Here

Examples of uk.co.caprica.vlcj.binding.internal.libvlc_event_e.intValue()

    private void registerEventListener() {
        Logger.debug("registerEventListener()");
        callback = new EventCallback();
        libvlc_event_e lastKnownEvent = lastKnownEvent();
        for(libvlc_event_e event : libvlc_event_e.values()) {
            if(event.intValue() >= libvlc_event_e.libvlc_MediaPlayerMediaChanged.intValue() && event.intValue() <= lastKnownEvent.intValue()) {
                Logger.debug("event={}", event);
                int result = libvlc.libvlc_event_attach(mediaPlayerEventManager, event.intValue(), callback, null);
                Logger.debug("result={}", result);
            }
        }
View Full Code Here

Examples of uk.co.caprica.vlcj.binding.internal.libvlc_playback_mode_e.intValue()

                break;

            default:
                throw new IllegalArgumentException("Invalid mode " + mode);
        }
        libvlc.libvlc_media_list_player_set_playback_mode(mediaListPlayerInstance, playbackMode.intValue());
    }

    @Override
    public String mrl(libvlc_media_t mediaInstance) {
        Logger.debug("mrl(mediaInstance={})", mediaInstance);
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.