Top Description Inners Constructors Methods
com.beust.jcommander

public Class FuzzyMap

extends Object
Class Inheritance
Imports
com.beust.jcommander.internal.Maps, java.util.Map

Helper class to perform fuzzy key look ups: looking up case insensitive or abbreviated keys.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static <V> V
findAbbreviatedValue(Map<? extends FuzzyMap.IKey, V> map, FuzzyMap.IKey name, boolean caseSensitive)

public static <V> V
findInMap(Map<? extends FuzzyMap.IKey, V> map, FuzzyMap.IKey name, boolean caseSensitive, boolean allowAbbreviations)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FuzzyMapback to summary
public FuzzyMap()

Method Detail

findAbbreviatedValueback to summary
private static <V> V findAbbreviatedValue(Map<? extends FuzzyMap.IKey, V> map, FuzzyMap.IKey name, boolean caseSensitive)
findInMapback to summary
public static <V> V findInMap(Map<? extends FuzzyMap.IKey, V> map, FuzzyMap.IKey name, boolean caseSensitive, boolean allowAbbreviations)
com.beust.jcommander back to summary

pack-priv Interface FuzzyMap.IKey

Known Direct Implementers
com.beust.jcommander.JCommander.ProgramName, com.beust.jcommander.StringKey

Method Summary

Modifier and TypeMethod and Description
public String

Method Detail

getNameback to summary
public String getName()