Class CommandTrack.TrackResults
- java.lang.Object
-
- net.minecraftforge.server.command.CommandTrack.TrackResults
-
- Enclosing class:
- CommandTrack
private static class CommandTrack.TrackResults extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TrackResults()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static <T> int
execute(CommandSource source, TimeTracker<T> tracker, java.util.function.Function<ForgeTimings<T>,ITextComponent> toString)
private static <T> java.util.List<ForgeTimings<T>>
getSortedTimings(TimeTracker<T> tracker)
Returns the time objects recorded by the time tracker sorted by average time
-
-
-
Method Detail
-
getSortedTimings
private static <T> java.util.List<ForgeTimings<T>> getSortedTimings(TimeTracker<T> tracker)
Returns the time objects recorded by the time tracker sorted by average time- Returns:
- A list of time objects
-
execute
private static <T> int execute(CommandSource source, TimeTracker<T> tracker, java.util.function.Function<ForgeTimings<T>,ITextComponent> toString) throws CommandException
- Throws:
CommandException
-
-