Package lineage2.commons.text

Examples of lineage2.commons.text.StrTable.addTitle()


        table.set(index, "Uses, playble", playable + "(" + String.format("%2.2f", (uses > 0) ? (playable * 100.) / uses : 0) + "%)");
        table.set(index, "Uses, overtime", overtime + "(" + String.format("%2.2f", (uses > 0) ? (overtime * 100.) / uses : 0) + "%)");
        table.set(index, "Iter., avg", (uses > 0) ? itrs / uses : 0);
        table.set(index, "Time, avg (ms)", String.format("%1.3f", (uses > 0) ? (double) time / uses : 0.));
      }
      table.addTitle("Uses, total / playable  : " + totalUses + " / " + totalPlayable);
      table.addTitle("Uses, total time / avg (ms) : " + totalTime + " / " + String.format("%1.3f", totalUses > 0 ? (double) totalTime / totalUses : 0));
    }
    finally
    {
      lock.unlock();
View Full Code Here


        table.set(index, "Uses, overtime", overtime + "(" + String.format("%2.2f", (uses > 0) ? (overtime * 100.) / uses : 0) + "%)");
        table.set(index, "Iter., avg", (uses > 0) ? itrs / uses : 0);
        table.set(index, "Time, avg (ms)", String.format("%1.3f", (uses > 0) ? (double) time / uses : 0.));
      }
      table.addTitle("Uses, total / playable  : " + totalUses + " / " + totalPlayable);
      table.addTitle("Uses, total time / avg (ms) : " + totalTime + " / " + String.format("%1.3f", totalUses > 0 ? (double) totalTime / totalUses : 0));
    }
    finally
    {
      lock.unlock();
    }
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.