Revize 2da8e5b7
Přidáno uživatelem Michal Linha před téměř 4 roky(ů)
src/main/java/vldc/aswi/model/table/Node.java | ||
---|---|---|
24 | 24 |
|
25 | 25 |
private boolean isFirstMax; |
26 | 26 |
|
27 |
private boolean isUsable; |
|
28 |
|
|
27 | 29 |
/** |
28 | 30 |
* Values of the nodes on a path the the node. |
29 | 31 |
*/ |
... | ... | |
33 | 35 |
* Creates a node. |
34 | 36 |
*/ |
35 | 37 |
public Node() { |
36 |
isFirstMin = true; |
|
37 |
isFirstMax = true; |
|
38 |
this.isFirstMin = true;
|
|
39 |
this.isFirstMax = true;
|
|
38 | 40 |
this.values = new ArrayList<>(); |
41 |
this.isUsable = true; |
|
39 | 42 |
} |
40 | 43 |
|
41 | 44 |
/** |
... | ... | |
43 | 46 |
* @param node node to be copied |
44 | 47 |
*/ |
45 | 48 |
public Node(Node node) { |
46 |
isFirstMin = true; |
|
47 |
isFirstMax = true; |
|
49 |
this.isFirstMin = true;
|
|
50 |
this.isFirstMax = true;
|
|
48 | 51 |
this.values = new ArrayList<>(node.values); |
52 |
this.isUsable = true; |
|
49 | 53 |
} |
50 | 54 |
|
51 | 55 |
/** |
... | ... | |
127 | 131 |
public void setFirstMax(boolean firstMax) { |
128 | 132 |
isFirstMax = firstMax; |
129 | 133 |
} |
134 |
|
|
135 |
public boolean isUsable() { |
|
136 |
return isUsable; |
|
137 |
} |
|
138 |
|
|
139 |
public void setUsable(boolean usable) { |
|
140 |
isUsable = usable; |
|
141 |
} |
|
130 | 142 |
} |
Také k dispozici: Unified diff
re #8113 re #7885 changed header column generation and row indentations; re #8154 nothing; no comments