Skip to content

Commit fd3577e

Browse files
Update Main.java
1 parent d5e18f1 commit fd3577e

File tree

1 file changed

+4
-2
lines changed
  • Sample Open Source Implementations/head

1 file changed

+4
-2
lines changed

Sample Open Source Implementations/head/Main.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ public Class<? extends Random> applicableFor()
7070
//This will insert an comment Another way to add variable except Map<String, Object> $ is used to obtain value from variable
7171

7272
Serializer.PROTOCOL_REGISTRY.setActivityForAll(true); //Enabling all protocols
73-
System.out.println(Serializer.LoadFrom(f)); //Loading from file
74-
System.out.println(Serializer.LoadVariablesFrom(f)); //Loading variables from file
73+
Scope<Object> scope = Serializer.LoadFrom(f); //Loading scope with variables and values from file!
74+
75+
System.out.println(scope.toVarMap());
76+
System.out.println(scope.toValList());
7577
}
7678

7779
}

0 commit comments

Comments
 (0)