Class TokenRestriction.SliceRestriction

    • Method Detail

      • hasContains

        public boolean hasContains()
        Description copied from interface: Restrictions
        Checks if any of the underlying restrictions is a CONTAINS / CONTAINS KEY restriction.
        Returns:
        true if any of the underlying restrictions is CONTAINS, false otherwise
      • hasSlice

        public boolean hasSlice()
        Description copied from interface: Restrictions
        Checks if any of the underlying restrictions is a slice.
        Specified by:
        hasSlice in interface Restrictions
        Overrides:
        hasSlice in class TokenRestriction
        Returns:
        true if any of the underlying restrictions is a slice, false otherwise
      • hasBound

        public boolean hasBound​(Bound b)
      • addFunctionsTo

        public void addFunctionsTo​(java.util.List<Function> functions)
        Description copied from interface: Restriction
        Adds all functions (native and user-defined) used by any component of the restriction to the specified list.
        Parameters:
        functions - the list to add to
      • isInclusive

        public boolean isInclusive​(Bound b)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object