code: public List<String> split()
      {
          if ( isRoot() ) {
              return Collections.EMPTY_LIST;
          }
          String path = pathName;
          if ( pathName.startsWith( "/" ) ) {
              path = pathName.substring( 1 );
          }
          return Arrays.asList( path.split( "/" ) );
      }
docs: Split this path : "a/b/c" --> "a", "b", "c".
  
  @return a list of segments for this path (empty list for root path)