public class DemoCommandsWithComplexArgs extends Object
| Constructor and Description |
|---|
DemoCommandsWithComplexArgs() |
| Modifier and Type | Method and Description |
|---|---|
int |
sumArray(int[] items) |
int |
sumList(List<Integer> items) |
int |
sumListOfList(List<List<Integer>> listOfList) |
String |
sumMap(Map<Integer,String> map) |
@Command(description="Sum content of Array") public int sumArray(int[] items)
@Command(description="Sum content of List") public int sumList(List<Integer> items)
@Command(description="Do something with a Map") public String sumMap(Map<Integer,String> map)
@Command(description="Sum List of Lists") public int sumListOfList(List<List<Integer>> listOfList)
Copyright © 2019 LSST. All rights reserved.