Enum Pseudorotation

java.lang.Object
java.lang.Enum<Pseudorotation>
pl.poznan.put.rna.Pseudorotation
All Implemented Interfaces:
Serializable, Comparable<Pseudorotation>, java.lang.constant.Constable, Range

public enum Pseudorotation extends Enum<Pseudorotation> implements Range
A range of pseudorotation values with their descriptions.
  • Enum Constant Details

  • Method Details

    • values

      public static Pseudorotation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Pseudorotation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getProvider

      public static RangeProvider getProvider()
      Returns:
      An instance of provider which will return a pseudorotation range for a provided angle value.
    • displayName

      public String displayName()
      Specified by:
      displayName in interface Range
      Returns:
      The name of this torsion angle range.
    • begin

      public Angle begin()
      Specified by:
      begin in interface Range
      Returns:
      The beginning value of the range.
    • end

      public Angle end()
      Specified by:
      end in interface Range
      Returns:
      The ending value of the range.
    • compare

      public RangeDifference compare(Range other)
      Description copied from interface: Range
      Compares with another range object.
      Specified by:
      compare in interface Range
      Parameters:
      other - The other range object.
      Returns:
      An enumerated value showing how much does these two ranges really differ.