Interface DataPath.Segment

All Known Implementing Classes:
DataPath.Index, DataPath.Key
Enclosing class:
DataPath

public static sealed interface DataPath.Segment permits DataPath.Key, DataPath.Index
Represents a singular conceptual step within a hierarchical data structure.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • isIndex

      boolean isIndex()
      Returns:
      True if this segment targets a list position, false if it targets a map key.