Code example for Collection

Methods: isEmptyremove

0
			ticking.add( span );
		} 
	} 
	 
	private synchronized void stop( BasicSpan span ){
		ticking.remove( span );
		if( ticking.isEmpty() ){
			timer.stop();
		} 
	} 
	 
	private synchronized void tick(){ 
		long now = System.nanoTime();
		for( BasicSpan span : ticking.toArray( new BasicSpan[ ticking.size() ] ) ){
			span.tick( now );
		} 
	} 
	 
	private class BasicSpan implements Span { 
		private SpanCallback callback;
Stop searching for code, let great code find you!  Add Codota to your java IDE