Behavioral.Interpreter.Album.getName()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
/*
2
 * @author  : Jagepard <[email protected]>
3
 * @license https://mit-license.org/ MIT
4
 */
5
6
package Behavioral.Interpreter;
7
8
public class Album implements AlbumInterface {
9
    private final String name;
10
    private final String author;
11
12
    public Album(String author, String name) {
13
        this.name   = name;
14
        this.author = author;
15
    }
16
17
    @Override
18
    public String getName() {
19
        return this.name;
20
    }
21
22
    @Override
23
    public String getAuthor() {
24
        return this.author;
25
    }
26
}
27