Skip to content

Commit

Permalink
Add size() javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
thegatesdev committed Mar 10, 2023
1 parent 5cd6827 commit 7273bc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/github/thegatesdev/maple/data/DataArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ public DataArray name(String name) throws IllegalArgumentException {
return this;
}

/**
* @return The length of this array.
*/
public int size(){
return value.length;
}
Expand Down

0 comments on commit 7273bc2

Please sign in to comment.