org.lsst.ccs.shell
Class CommandNamer.NamingInfo
java.lang.Object
org.lsst.ccs.shell.CommandNamer.NamingInfo
- Enclosing interface:
- CommandNamer
public static class CommandNamer.NamingInfo
- extends Object
Return value grouping structure for nameCommand().
I decided to return name and abbreviations together because in the default
algorithm they are generated simultaneously, and I think this approach is
better than having a stateful strategy.
commandName
public final String commandName
possibleAbbreviations
public final String[] possibleAbbreviations
CommandNamer.NamingInfo
public CommandNamer.NamingInfo(String commandName,
String[] possibleAbbreviations)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 LSST. All Rights Reserved.