Package org.fusesource.ide.commons.util

Examples of org.fusesource.ide.commons.util.FunctionLong


          }
        };
        column = addColumnFunction(bounds, column, function, "Trace Timestamp");
      }
      if (showRelativeTime) {
        final Function1 function = new FunctionLong() {
          @Override
          public Long apply(Object element) {
            IMessage message = Exchanges.asMessage(element);
            if (message != null) {
              return message.getRelativeTime();
            }
            return null;
          }
        };
        column = addColumnFunction(bounds, column, function, "Relative Time (ms)");
      }
      if (showElapsedTime) {
        final Function1 function = new FunctionLong() {
          @Override
          public Long apply(Object element) {
            IMessage message = Exchanges.asMessage(element);
            if (message != null) {
              return message.getElapsedTime();
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.util.FunctionLong

Copyright © 2018 www.massapicom. 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.