Class SliceIdentifier


public final class SliceIdentifier
extends java.lang.Object
A unique identifier of a Slice. All JavaClasses that are assigned to the same SliceIdentifier are considered to belong to the same Slice.
A SliceIdentifier consists of textual parts. Two SliceIdentifier are considered to be equal if and only if their parts are equal. The parts can also be referred to from Slices.namingSlices(String) via '$x' where 'x' is the number of the part.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  
    static SliceIdentifier ignore()  
    static SliceIdentifier of​(java.lang.String... parts)  
    static SliceIdentifier of​(java.util.List<java.lang.String> parts)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • hashCode

      public int hashCode()
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      toString in class java.lang.Object
    • of

      @PublicAPI(usage=ACCESS) public static SliceIdentifier of​(java.lang.String... parts)
    • of

      @PublicAPI(usage=ACCESS) public static SliceIdentifier of​(java.util.List<java.lang.String> parts)
    • ignore

      @PublicAPI(usage=ACCESS) public static SliceIdentifier ignore()