2 * Copyright (C) 2006 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com.android.traceview;
19 public class ProfileNode {
21 private String mLabel;
22 private MethodData mMethodData;
23 private ProfileData[] mChildren;
24 private boolean mIsParent;
25 private boolean mIsRecursive;
27 public ProfileNode(String label, MethodData methodData,
28 ProfileData[] children, boolean isParent, boolean isRecursive) {
30 mMethodData = methodData;
33 mIsRecursive = isRecursive;
36 public String getLabel() {
40 public ProfileData[] getChildren() {
44 public boolean isParent() {
48 public boolean isRecursive() {