Examples of Sign


Examples of Ocarina2D.Objects.Sign

       
        // Shield
        Shield shield = new Shield();
        starterLevel.addActor(shield);
       
        Sign sign = new Sign() {{
          position.setX(355);
          position.setY(405);
        }};
        starterLevel.addActor(sign);
       
View Full Code Here

Examples of cfdict.model.Sign

    private void purgeUnmodifiedSign() {
       
        LinkedList<Sign> newDic = new LinkedList<Sign>();
        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {
            Sign sign = it.next();
            if (sign.getLastModif() > Long.parseLong(conf.getTimestamp())) {
                newDic.add(sign);
            }
        }
       
        this.dic = newDic;
View Full Code Here

Examples of cfdict.model.Sign

    private void sign() throws IOException {


        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {

            Sign sign = it.next();

            content = "UPDATE " + conf.getSinoTable()
                    + " SET " + conf.getSinoTableTraditionalName() + " = '" + sign.getTraditionnel() + "', "
                    + conf.getSinoTableSimplifiedName() + " = '" + sign.getSimple() + "', "
                    + conf.getSinoTablePinyinName() + " = '" + sign.getPinyin() + "'"
                    + " WHERE " + conf.getSinoTableIdName() + " = '" + sign.getId() + "'"
                    + "; \r\n";
            bw.write(content.toCharArray());


            if (file.length() > Integer.parseInt(conf.getMaxFileSize()) * 1048576) {
View Full Code Here

Examples of cfdict.model.Sign

    }

    private void deleteTrad() throws IOException {
        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {
            Sign sign = it.next();



            content = "'" + sign.getId() + "'";
            bw.write(content.toCharArray());



View Full Code Here

Examples of cfdict.model.Sign

    }

    private void trad() throws IOException {
        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {
            Sign sign = it.next();

            for (Iterator<String> it2 = sign.getTraductions().iterator(); it2.hasNext();) {
                String trad = it2.next();

                content = "('" + sign.getId() + "',"
                        + "'" + trad.replace("'", "\\'") + "'"
                        + ")";

                if (it2.hasNext()) {
                    content += ",";
View Full Code Here

Examples of cfdict.model.Sign

    private void sign() throws IOException {


        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {

            Sign sign = it.next();
            content = "('" + sign.getId() + "',"
                    + "'" + sign.getTraditionnel() + "', "
                    + "'" + sign.getSimple() + "', "
                    + "'" + sign.getPinyin() + "'"
                    + ")";

            bw.write(content.toCharArray());

            if (it.hasNext()) {
View Full Code Here

Examples of cfdict.model.Sign

    }

    private void trad() throws IOException {
        for (Iterator<Sign> it = dic.iterator(); it.hasNext();) {
            Sign sign = it.next();

            for (Iterator<String> it2 = sign.getTraductions().iterator(); it2.hasNext();) {
                String trad = it2.next();

                content = "('" + sign.getId() + "',"
                        + "'" + trad.replace("'", "\\'") + "'"
                        + ")";

                if (it2.hasNext()) {
                    content += ",";
View Full Code Here

Examples of cfdict.model.Sign

            case "dic":
                dic = new LinkedList<Sign>();
                inDic = true;
                break;
            case "word":
                sign = new Sign();
                inWord = true;
                break;
            case "translations":
                translations = new LinkedList<String>();
                inTransPart = true;
View Full Code Here

Examples of com.ancientprogramming.fixedformat4j.annotation.Sign

   * @return the parsed object
   */
  public T parse(String value, FormatInstructions instructions) {
    T result = null;
    if (value != null) {
      Sign signing = instructions.getFixedFormatNumberData().getSigning();
      String rawString = signing.remove(value, instructions);
      result = asObject(rawString, instructions);
    }
    return result;
  }
View Full Code Here

Examples of games.stendhal.client.entity.Sign

   * gets the ActionType for the requested action
   *
   * @return ActionType
   */
  private ActionType getActionType() {
    Sign sign = (Sign) entity;
    if (sign == null) {
      // The user switched maps, but we still need a reasonable return
      // value
      return ActionType.LOOK;
    }
   
    String action = sign.getAction();
    if (action == null) {
      return ActionType.LOOK;
    }

    try {
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.