Package com_github_leetcode
Class NestedInteger
- java.lang.Object
-
- com_github_leetcode.NestedInteger
-
public class NestedInteger extends Object
-
-
Constructor Summary
Constructors Constructor Description NestedInteger()NestedInteger(Integer integer)NestedInteger(List<NestedInteger> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(NestedInteger nestedInteger)IntegergetInteger()List<NestedInteger>getList()booleanisInteger()
-
-
-
Constructor Detail
-
NestedInteger
public NestedInteger()
-
NestedInteger
public NestedInteger(List<NestedInteger> list)
-
NestedInteger
public NestedInteger(Integer integer)
-
-
Method Detail
-
isInteger
public boolean isInteger()
-
getInteger
public Integer getInteger()
-
getList
public List<NestedInteger> getList()
-
add
public void add(NestedInteger nestedInteger)
-
-