Class ImmutablePdbRemark2Line

    • Method Detail

      • resolution

        public double resolution()
        Specified by:
        resolution in class PdbRemark2Line
        Returns:
        The value of the resolution attribute
      • withResolution

        public final ImmutablePdbRemark2Line withResolution​(double value)
        Copy the current immutable object by setting a value for the resolution attribute. A value strict bits equality used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for resolution
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutablePdbRemark2Line that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: resolution.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • of

        public static ImmutablePdbRemark2Line of​(double resolution)
        Construct a new immutable PdbRemark2Line instance.
        Parameters:
        resolution - The value for the resolution attribute
        Returns:
        An immutable PdbRemark2Line instance
      • copyOf

        public static ImmutablePdbRemark2Line copyOf​(PdbRemark2Line instance)
        Creates an immutable copy of a PdbRemark2Line value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable PdbRemark2Line instance