Uses of Interface
org.harctoolbox.girr.Named
-
Uses of Named in org.harctoolbox.girr
Modifier and TypeClassDescriptionfinal class
This class models the command in Girr.final class
A CommandSet is a set of Commands with unique names.final class
This class describes a remote in Girr.Modifier and TypeMethodDescriptionstatic <T extends Named>
voidNamed.populateMap
(Map<String, T> map, Collection<T> collection) Populate the map as first argument with the elements contained in the Collection in the second argument.Named.toList
(T thing) Generate a Map<String, T> map containing one element, the argument.Named.toMap
(Collection<T> collection) Create a Map<String, T> and populate with the elements of the second argument.Named.toMap
(T thing) Generate a Map<String, T> map containing one element, the argument.Modifier and TypeMethodDescriptionint
int
Modifier and TypeMethodDescriptionvoid
CommandSet.sort
(Comparator<? super Named> comparator) Sort the commands according to the Comparator given as argument.void
Remote.sort
(Comparator<? super Named> comparator) Apply the sort function to all contained CommandSets.void
RemoteSet.sort
(Comparator<? super Named> comparator, boolean recurse) void
Remote.sortCommands
(Comparator<? super Named> comparator)