Skip to content

Commit 26ae7df

Browse files
committed
Added concat method
1 parent 26e02a6 commit 26ae7df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/org/javawebstack/abstractdata/AbstractArray.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,11 @@ public boolean equals(Object obj) {
359359

360360
return true;
361361
}
362+
363+
public AbstractArray concat(AbstractArray array) {
364+
for (AbstractElement element : array)
365+
add(element);
366+
367+
return this;
368+
}
362369
}

0 commit comments

Comments
 (0)