X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fjson%2Fsimple%2Fparser%2FContainerFactory.java;h=33f91cfe392f7987ebc68bc7bc32701dcb9ee063;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=0bb7baf2d554e404d670cfd01dc168eb6da7a282;hpb=9b66182c509351fe033d474734c1eb368418a0f4;p=jalview.git diff --git a/src/org/json/simple/parser/ContainerFactory.java b/src/org/json/simple/parser/ContainerFactory.java index 0bb7baf..33f91cf 100644 --- a/src/org/json/simple/parser/ContainerFactory.java +++ b/src/org/json/simple/parser/ContainerFactory.java @@ -6,18 +6,22 @@ import java.util.Map; /** * Container factory for creating containers for JSON object and JSON array. * - * @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory) + * @see org.json.simple.parser.JSONParser#parse(java.io.Reader, + * ContainerFactory) * * @author FangYidong */ -public interface ContainerFactory { - /** - * @return A Map instance to store JSON object, or null if you want to use org.json.simple.JSONObject. - */ - Map createObjectContainer(); - - /** - * @return A List instance to store JSON array, or null if you want to use org.json.simple.JSONArray. - */ - List creatArrayContainer(); +public interface ContainerFactory +{ + /** + * @return A Map instance to store JSON object, or null if you want to use + * org.json.simple.JSONObject. + */ + Map createObjectContainer(); + + /** + * @return A List instance to store JSON array, or null if you want to use + * org.json.simple.JSONArray. + */ + List creatArrayContainer(); }