Are there any special terms for self-contained and non-self-contained utility modules? Like "factory" classes create objects without having to specify the exact class of the object that will be created, such kind of terms.
Example in Java:
self-contained: (I refer to) a class that contains only utility methods, and "all" of the imported modules at the top of the class are JDK modules (mostly prefixed by"java") and depend on no other external libraries, such as
import java.util.ArrayList;
import java.io.File;
import java.nio.ByteBuffer;
import java.lang.reflect.Array;
import org.w3c.dom.views
import com.sun.org.apache.xml.internal.security.c14n.Canonicalizer;
etc.
non-self-contained: Not a standalone module as described above. It depends on any one or more non-jdk external modules.
Aucun commentaire:
Enregistrer un commentaire