Always include default factory
This commit is contained in:
		
							parent
							
								
									5c4ce8e3af
								
							
						
					
					
						commit
						d8b5a76fb0
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -13,4 +13,8 @@ public interface DirectedGraphFactory<V, A> { | |||
|    * @return der {@code DirectedGraph}, der von dieses Fabrik erzeugt wird. | ||||
|    */ | ||||
|   DirectedGraph<V, A> createDirectedGraph(); | ||||
| 
 | ||||
|   static <V, A> DirectedGraphFactory<V, A> defaultFactory() { | ||||
|     return DirectedGraphImpl::new; | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Reference in a new issue