INNER CODE UNIT · Java

clone

jolie/jolie · jolie/src/main/java/jolie/ExecutionThread.java:62

		public Scope clone() {
			return new Scope( id, new HashMap<>( faultMap ), new HashMap<>( compMap ) );
		}

		private Scope( String id, Map< String, Process > faultMap, Map< String, Process > compMap ) {
			super( id );
			this.faultMap = faultMap;
			this.compMap = compMap;
		}

		/**
		 * Constructor
		 *
		 * @param id the name identifier of the Scope instance to be created.
		 */
		public Scope( String id ) {
			this( id, new HashMap<>(), new HashMap<>() );
		}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…