Class NodeCharacterKey

  • All Implemented Interfaces:
    NodeCharacterProvider

    public class NodeCharacterKey
    extends java.lang.Object
    implements NodeCharacterProvider
    A lightweight object which simply wraps a Character and implements NodeCharacterProvider, which can be used as a key to locate a node having the same edge first character in a list of nodes using binary search.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Character character  
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeCharacterKey​(java.lang.Character character)  
    • Field Detail

      • character

        private final java.lang.Character character
    • Constructor Detail

      • NodeCharacterKey

        public NodeCharacterKey​(java.lang.Character character)