コード例 #1
0
ファイル: LeftHeapNode.java プロジェクト: PaLy/alg-vis
 @Override
 public void restoreState(Hashtable<?, ?> state) {
   super.restoreState(state);
   final Object rank = state.get(hash + "rank");
   if (rank != null) {
     this.rank = (Integer) HashtableStoreSupport.restore(rank);
   }
   final Object doubleArrow = state.get(hash + "doubleArrow");
   if (doubleArrow != null) {
     this.doubleArrow = (Boolean) HashtableStoreSupport.restore(doubleArrow);
   }
   final Object dashedRightLine = state.get(hash + "dashedRightLine");
   if (dashedRightLine != null) {
     this.dashedRightLine = (Boolean) HashtableStoreSupport.restore(dashedRightLine);
   }
   final Object dashedLeftLine = state.get(hash + "dashedLeftLine");
   if (dashedLeftLine != null) {
     this.dashedLeftLine = (Boolean) HashtableStoreSupport.restore(dashedLeftLine);
   }
 }