Examples of level()


Examples of com.cloudhopper.commons.util.annotation.MetaField.level()

                    // save the field name
                    info.fieldName = f.getName();
                    // save the field class
                    info.fieldClass = f.getType();
                    // save the level
                    info.level = metaField.level();

                    // is there an annotated name? if not we'll default to the field name
                    info.name = preFieldName + (!metaField.name().equals("") && !ignoreAnnotatedName ? metaField.name() : f.getName()) + postFieldName;

                    // default the recursive pre field names
View Full Code Here

Examples of com.ketayao.ketacustom.log.Log.level()

            }
           
            if (defaultLogMessageObject.isWritten()) { // 判断是否写入log
              // 覆盖,直接写入日志
              if (log.override()) {
                logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
              } else {
                // 不覆盖,参考方法的日志等级是否大于等于最终的日志等级
                if (!log.override() && log.level().compareTo(lastLogLevel) >= 0 ) {
                  logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
                }
View Full Code Here

Examples of com.ketayao.ketacustom.log.Log.level()

              // 覆盖,直接写入日志
              if (log.override()) {
                logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
              } else {
                // 不覆盖,参考方法的日志等级是否大于等于最终的日志等级
                if (!log.override() && log.level().compareTo(lastLogLevel) >= 0 ) {
                  logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
                }
              }
            }           
          } catch (Exception e) {
View Full Code Here

Examples of com.ketayao.ketacustom.log.Log.level()

              if (log.override()) {
                logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
              } else {
                // 不覆盖,参考方法的日志等级是否大于等于最终的日志等级
                if (!log.override() && log.level().compareTo(lastLogLevel) >= 0 ) {
                  logAPI.log(log.message(), defaultLogMessageObject.getObjects(), log.level());
                }
              }
            }           
          } catch (Exception e) {
            LOGGER.error(Exceptions.getStackTraceAsString(e));
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.base.ClassId.level()

           
            while (count == 0 && classCheck != null)
            {
              for (ClassId cid : _classesToTeach)
              {
                if (cid.level() != classCheck.level())
                {
                  continue;
                }
               
                if (SkillTreeTable.getInstance().getAvailableSkills(player, cid).length == 0)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.base.ClassId.level()

    {
      ClassId classId = ClassId.getClassIdByOrdinal(player.getActiveClass());
     
      if (classId.getParent() != null)
      {
        while (classId.level() == 0)
        { // go to root
          classId = classId.getParent();
        }
      }
     
View Full Code Here

Examples of com.linkedin.data.element.DataElement.level()

    StringBuilder s = new StringBuilder();
    DataIterator it = Builder.create(element, order).dataIterator();
    DataElement current;
    while ((current = it.next()) != null)
    {
      int level = current.level();
      s.append(spaces, 0, level);
      if (usePath)
      {
        s.append("path=").append(current.pathAsString());
      }
View Full Code Here

Examples of com.linkedin.data.element.DataElement.level()

    DataIterator i = Builder.create(o, null, order).dataIterator();

    DataElement e = i.next();
    if (order == IterationOrder.PRE_ORDER)
    {
      assertEquals(e.level(), 0, "preorder traversal of " + input + " started with level " + e.level());
    }
    else
    {
      assertEquals(e.level(), 2, "postorder traversal of " + input + " started with level " + e.level());
    }
View Full Code Here

Examples of com.linkedin.data.element.DataElement.level()

    DataIterator i = Builder.create(o, null, order).dataIterator();

    DataElement e = i.next();
    if (order == IterationOrder.PRE_ORDER)
    {
      assertEquals(e.level(), 0, "preorder traversal of " + input + " started with level " + e.level());
    }
    else
    {
      assertEquals(e.level(), 2, "postorder traversal of " + input + " started with level " + e.level());
    }
View Full Code Here

Examples of com.linkedin.data.element.DataElement.level()

    {
      assertEquals(e.level(), 0, "preorder traversal of " + input + " started with level " + e.level());
    }
    else
    {
      assertEquals(e.level(), 2, "postorder traversal of " + input + " started with level " + e.level());
    }
  }

  public void benchmarkImmutable(int count, final IterationOrder order)
  {
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.