Class PSource.PSpecified

  • Enclosing class:
    PSource

    public static final class PSource.PSpecified
    extends PSource
    The explicit specification of the parameter P used in the source algorithm.
    • Field Detail

      • DEFAULT

        public static final PSource.PSpecified DEFAULT
        The instance of PSpecified with the default value byte[0] for P
    • Constructor Detail

      • PSpecified

        public PSpecified​(byte[] p)
        Creates a new instance of PSpecified with the specified parameter P.
        Parameters:
        p - the parameter P.
        Throws:
        NullPointerException - if p is null.
    • Method Detail

      • getValue

        public byte[] getValue()
        Returns a copy of the value of the parameter P.
        Returns:
        a copy of the value of the parameter P