Class YamChord

java.lang.Object
org.jjazz.yamjjazz.rhythm.api.YamChord

public class YamChord extends Object
A chord used in Yamaha styles plus its aliases.
  • Field Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getChordType

      public ChordType getChordType()
      The JJazz chord type equivalent to this YamChord.
      Returns:
      Can not be null.
    • get

      public static YamChord get(String n)
      Get a Yamaha chord from its name or one of its alias.
      Parameters:
      n -
      Returns:
      Null if not found.
    • getName

      public String getName()
    • toString

      public String toString()
      Overrides:
      toString in class Object