|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.rupCalc.TreeBranch
public class TreeBranch
Title: TreeBranch.java
Description: This refers to a branch of a tree
Copyright: Copyright (c) 2002
Company:
| Constructor Summary | |
|---|---|
TreeBranch(int subSectionId)
|
|
| Method Summary | |
|---|---|
void |
addAdjacentSubSection(int subSectionId)
Add adjacent sub section (if it does not exist already) |
int |
getAdjacentSubSection(int index)
Get the adjancet subsection at the specified index |
ArrayList<Integer> |
getAdjacentSubSectionsList()
Get a list of all adjacent subsections |
int |
getNumAdjacentSubsections()
Get number of adjacent subsections to this section |
int |
getSubSectionId()
Get sub-section id |
boolean |
isAdjacentSubSection(int subSectionId)
Is the specified sub section adjacent to this sub section? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeBranch(int subSectionId)
| Method Detail |
|---|
public int getSubSectionId()
public int getNumAdjacentSubsections()
public int getAdjacentSubSection(int index)
index -
public ArrayList<Integer> getAdjacentSubSectionsList()
public void addAdjacentSubSection(int subSectionId)
subSectionName - public boolean isAdjacentSubSection(int subSectionId)
subSectionName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||