Package com_github_leetcode
Class NestedInteger
java.lang.Object
com_github_leetcode.NestedInteger
public class NestedInteger
extends java.lang.Object
-
Constructor Summary
ConstructorDescriptionNestedInteger
(java.lang.Integer integer) NestedInteger
(java.util.List<NestedInteger> list) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NestedInteger nestedInteger) java.lang.Integer
java.util.List
<NestedInteger> getList()
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NestedInteger
public NestedInteger() -
NestedInteger
-
NestedInteger
public NestedInteger(java.lang.Integer integer)
-
-
Method Details
-
isInteger
public boolean isInteger() -
getInteger
public java.lang.Integer getInteger() -
getList
-
add
-