∧_∧
   (  ・∀・)      <     No shitty threads please
(      )   | | |
____(__)_)______________
:::::::(:::::::):::::)::::::::::::
:::::::|::|: |:::::::::::::::::::::
:::::::(:::::::::::: ):::::::::::::
:::::::(: .A.)::::::   <     I just waxed this place
::::::::::V ̄V
               ::⊂⌒ヽ         (⌒⊃   ∩⌒ヽ∩      /⌒⌒ー/⌒ヽ
  \ \ /⌒ヽ  / /    | .|^ω^)|     ( 、__ ( ^ω^)
 ⊂二二( ^ω^)ニニ二⊃   ヽ   ノ      |  | |  `i  | |
    \ \∩/  /      ( ヽノ        |  | ⊂二_ノノ
     (  (::)(::)  )       ノ>ノ           | l |
      ヽ_,*、_ノ      レレ          し'ノ
⊂⌒ヽ         (⌒⊃   ∩⌒ヽ∩      /⌒⌒ー/⌒ヽ
  \ \ /⌒ヽ  / /    | .|^ω^)|     ( 、__ ( ^ω^)
 ⊂二二( ^ω^)ニニ二⊃   ヽ   ノ      |  | |  `i  | |
    \ \∩/  /      ( ヽノ        |  | ⊂二_ノノ
     (  (::)(::)  )       ノ>ノ           | l |
      ヽ_,*、_ノ      レレ          し'ノ
Misanthropic fascist.
Thanks for your post, >>12! Wow, it really means a lot to this thread. I hope you continue to contribute such worthwhile posts!
  ヽ(・ω・)/
 \( \ノ  デドー 
this guy doesn't look too sad
                 . _,gg瘟躍醴醴醴醴雛醴醴醴醴雛醴醴齟g..
               ...,j醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴齟g,,,、
            _,,,g醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴齟. .
           、j[醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴ggj,...
       ....j醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴飄j、
       瀘醴醴醴醴醴醴醴醴覇囀囀夢夢囀鬻嚶嚶覇醴醴醴醴醴醴醴醴齔
     ...g醴醴醴醴醴醴醴閇^`                  . `` '゚゚『鷦醴醴醴醴醴髟
     漕醴醴醴醴醴鬱゚~                               ゙゚『醴醴醴醴蠶,
     灑醴醴醴醴鬱゚゙ .                                  `『醴醴醴醴$
     醴醴醴醴醴ケ..                                    .゙'..: 『醴醴醴歡
     層醴醴醴歡                                        . .(濁醴醴歡
     醴醴醴醴]['.                                        : `:゙{[醴醴¶
     層醴醴蠶[l'         .、,,.._____、            ____. ';゙(}醴醴†
     濁醴醴鏖《'         'f『゚゚゚゚゚゚゚゚゚゚゚゚閂昃'!!       . -忌『『『『門愬タ!i'゙(i層躑
     ..f[醴醴醴』'       _.          ...`:゚'.:     (Jl}~゚       .'.^'゚(li、.'僧歉
     . ‘體醴醴廴,。r、':'`‘「.... _,gg豐齟籬gjljl;ilド   .:゙l:','。;i,g豐醯踰gz.(.(.( i.j|]「
     . ;tqi_゚゚¶醴†`      } ii填閇゚゚゙゚゚゚゚゚『『摂'''^' .   .::、'ヌ}們゚゙゚゚門門轡埣l゙(|遁
     . ゙}}' ゙マl'. ¶$.       ` .  . !!!!!!!!!!!''''^ .. .     . il。゙(`゙゙'゚''''''?ヘ'''''`` ''、ii濬
     、 !) .:..jg_゚[Ii;. .                  _,     . `?)j、         . ._,(,(:ア
       ′、(|『゜.'゚li' .       丶、.,,.,.,_v!゚` .      '''?テliuv- ..、...、r!i゚(.(0i
         .,゚''' -. '               .、.;,(jIj.....__,....,xs,iiu_,..,,I詬i;。.、....、... .(i゙(I
         ``               _._,(ii.lI}l゚(゙'ヲ増嚇jg]獅嬲叛l゚(}}IIID,;';゙;iiIi;ii゙(|
             、           ::.ミ浴?゚(. .     ``'゚タ'゚''''゚''''.!''.(lI泪||I}i.[(l}}Il゙(}
           一' .           :゙(}l}シ.、;;、....、,,__.,uu,。,,,,,ggggj_j,(I}'゚(勿l.[(','i}ソI.
                     . .   ' .(.(.(.()l瘟尸゚゙゚゙゙゙゚゙゙゙゚゚゙゚゚゚゚゚゚゚層鬱浴)).'';ミi.(,(l;ミ.  
               . .     . . ::、.、..:.(,(:、''゙゚『咐':'・!・    f負鄂、.:'.(.(>.(,(3i゙(}|I' 
               '、..  .、:.、'.:、'.'.'.、.(`' .       : : : : ー;;,(,(i','i.(.(.(.(.(lIIIIIiIIIl゚
                 、...、'.:.'.、.'.、.'.、::、.      . `'゙(!!i'ill}ヌミ(i゙'''.、::.(.(iI|}}I||肝
                 .゙'.:.'.:i.(.(.(.(i:.:.、'..        ````````  .:゙:;,(jI回回|g.
               ...g、'.':゙(i.(.(.(.(.(.(,(.(、...              .、.:.(jI翩翩謳醴g。
               瀘$ ;.゙'.'` :.(.(.(.(i゚(Il}i:ii;。;: . ...、.、:::;、.:.。;i,(jjjII屈讃醴醴醴醴gg__,. 
             .:.g醴蠶g...、...:゙(i.(.('゙(i> ''゚(!!!)llIi:lIIIj翁朋腸認碯醴醴醴醴醴醴醴醢ggj,.,.
       .,,,jgg醴醴醴醴蠶g;;.、.'::゙':''.'ミ.(.(.(.(.(,(iji.iii,ii浴朋器謳醴醴醴醴醴醴醴醴醴醴雛|Ibi、
 .:,,jag醴醴醴醴醴醴醴醴醴gg_ . `.' (.(.(.(IIII||瓰蘊槻醴醴醴醴醴醴醴醴醴醴醴雛部}l゚(' .
 !}}|讃嬲醴醴醴醴醴醴醴醴醴魎g,,.    ``:゚ヌ惚謳醴醴醴醴醴醴醴醴醴醴靈雛部ケ''`
 .'.^'゚(}照讃嬲醴醴醴醴醴醴醴醴醴籃j,.,,,,,g繪醴醴醴醴醴醴醴醴醴醴靈雛嫋笏i゚'.'
     '‘('゚(}}}}|讃讃讃雛讚嬲醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴靈嬲韜抓l゚(゙'゜ 
/**
 * Deletes a leaf with one child
 * @param target (integer equivalent to delete) 
 */
public void deleteSingleChild(Integer target) {
	Leaf current = root;
	boolean stop = false;
	
	/*
	 * Terminating conditions:
	 *     target has been found, or we have reached absolute bottom of the tree
	 */
	while ( ! stop && ( current.getRight() != null || current.getLeft() != null) ) {
		/*
		 * Compare to target value
		 *******************************/
		if ( current.getLeft() != null ) {
			// The target value is inside the left child
			//--------------------------------------------
			if ( ((Integer)current.getLeft().getValue()).compareTo(target) == 0 ) {
				
				// The left child's single child is on its left
				if ( current.getLeft().getRight() == null ) {
					current.setLeft(current.getLeft().getLeft());
				}
				
				// The left child's single child is on its right
				else {
					current.setLeft(current.getLeft().getRight());
				}
				
				stop = true;
			}
		}
		
		else if ( current.getRight() != null ) {
			// The target value is inside the right child
			//---------------------------------------------
			if (  ( (Integer) current.getRight().getValue() ).compareTo(target) == 0  ) {
				
				// The right child's single child is on its left
				if ( current.getRight().getRight() == null ) {
					current.setRight(current.getRight().getLeft());
				}
				
				// The right child's single child is on its right
				else {
					current.setRight(current.getRight().getRight());
				}
				
				stop = true;
			}
		}
		
		/*
		 * Relocate current
		 *************************/
		// Move to left
		//---------------
		else if (  target.compareTo( (Integer) current.getValue() ) < 0  ) {
			current = current.getLeft();
		}
		
		// Move to right
		//---------------
		else {
			current = current.getRight();
		}
		
	} //end while
	
	
} //end deleteSingleChild
::::::::::     ☆                   ::::::::::::::::::::::::::::::::::::::::::::
:::::::  ☆                           :::::::::::::::::::::::::::
::::::        ☆                       ::::::::::::::::::::
:::::     ☆                            :::::::::::::
              ( ・・・ )
::::       ☆             o               ::::
::::::      、 ,              ゚               ::
::::::       ★ ☆            ∧_∧         :::::::::
::::::      ´ `   ☆         ( ::小;;:)       ::::::::::::::::
:::::::                     /⌒:澤;;ヽ     ::::::::::::::::::::::::
::::::::::                    / / ::;;;;;;:::| |   :::::::::::::::::::::::::::::::
:::             ニニニニニ と./ゝ_;;ノヽつニニニニニニニ