Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class AdvancedSongNode

    java.lang.Object
      AdvancedSongNode

    public class AdvancedSongNode

extends Object

A linked list node containing a Phrase. Written entirely from scratch or modified existing code written by Barbara Ericson and Mark Gudzial

Author:
  Dawn Finney

Constructor Summary
`AdvancedSongNode()` Default Constructor
`AdvancedSongNode(jm.music.data.Phrase phase)` Constructor that takes in some Phrase

Method Summary
`AdvancedSongNode` | `copy()` Method to return a copy of this node
`AdvancedSongNode` | `getNext()` Method to return next
`jm.music.data.Phrase` | `getPhrase()` Method to return phrase returns phrase
`void` | `setNext(AdvancedSongNode next)` Method to set the next node
`void` | `setPhrase(jm.music.data.Phrase phrase)` Method to set the data of the node

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AdvancedSongNode

    public AdvancedSongNode()

  Default Constructor

### AdvancedSongNode

    public AdvancedSongNode(jm.music.data.Phrase phase)

  Constructor that takes in some Phrase

  Parameters:
    `phase` - Phrase data

Method Detail

### getPhrase

    public jm.music.data.Phrase getPhrase()

  Method to return phrase returns phrase

### setPhrase

    public void setPhrase(jm.music.data.Phrase phrase)

  Method to set the data of the node

  Parameters:
    `phrase` - the phrase for this node

### getNext

    public AdvancedSongNode getNext()

  Method to return next

  Returns:
    next the next node

### setNext

    public void setNext(AdvancedSongNode next)

  Method to set the next node

  Parameters:
    `next` - the next node

### copy

    public AdvancedSongNode copy()

  Method to return a copy of this node

  Returns:
    another AdvancedSongNode with the same notes

Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD