Class Paths<T,​A>

  • Type Parameters:
    T - the type of object that each path refers to
    A - the type of the source object used to calculate the path maps

    final class Paths<T,​A>
    extends java.lang.Object
    A pair of path maps.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.util.List<T>> allPaths  
      (package private) static Paths<?,​?> NONE  
      private A[] sourceList  
    • Constructor Summary

      Constructors 
      Constructor Description
      Paths​(A[] sourceList, java.util.Map<java.lang.String,​java.util.List<T>> allPaths)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.util.Map<java.lang.String,​java.util.List<T>> getAllPaths()  
      (package private) A[] getSourceList​(A[] defVal)  
      (package private) static <T,​A>
      Paths<T,​A>
      none()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sourceList

        private final A[] sourceList
      • allPaths

        private final java.util.Map<java.lang.String,​java.util.List<T>> allPaths
      • NONE

        static final Paths<?,​?> NONE
    • Constructor Detail

      • Paths

        Paths​(A[] sourceList,
              java.util.Map<java.lang.String,​java.util.List<T>> allPaths)
    • Method Detail

      • getAllPaths

        java.util.Map<java.lang.String,​java.util.List<T>> getAllPaths()
      • getSourceList

        A[] getSourceList​(A[] defVal)
      • none

        static <T,​A> Paths<T,​A> none()