Add beta to map

This commit is contained in:
LeoDog896 2021-04-09 12:50:05 -04:00
parent 45cc41c99e
commit e4c3345da7

View File

@ -225,6 +225,7 @@ public abstract class Argument<T> {
*
* @return A new ArgumentMap that can get this complex object type.
*/
@Beta
public <O> ArgumentMap<T, O> map(ArgumentMapper<T, O> mapper) {
return new ArgumentMap<>(this, mapper);
}