org.omnaest.utils.strings
Class CharacterPathBuilder

java.lang.Object
  extended by org.omnaest.utils.strings.CharacterPathBuilder

public class CharacterPathBuilder
extends Object

Static builder for a CharacterPathBuilder.CharacterPath

Author:
Omnaest

Nested Class Summary
static class CharacterPathBuilder.CharacterPath
          A CharacterPathBuilder.CharacterPath represents a path of characters.
 
Constructor Summary
CharacterPathBuilder()
           
 
Method Summary
static CharacterPathBuilder.CharacterPath buildPath(List<String> stringList)
          Builds the CharacterPathBuilder.CharacterPath from a given List of Strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterPathBuilder

public CharacterPathBuilder()
Method Detail

buildPath

public static CharacterPathBuilder.CharacterPath buildPath(List<String> stringList)
Builds the CharacterPathBuilder.CharacterPath from a given List of Strings. If the given List of Strings has different multiple starting characters, the first returned CharacterPathBuilder.CharacterPath is a virtual root element and will have null as CharacterPathBuilder.CharacterPath.getCharacter().

Parameters:
stringList -
Returns:


Copyright © 2013. All Rights Reserved.