Package Torello.Java

Class VarType<RET_DATA_STRUCTURE,​INSERT_TYPE>

  • Type Parameters:
    INSERT_TYPE - Currently, the only class using VarType is class FileNode. Within class FileNode, this Type-Parameter, 'INSERT_TYPE', is always assigned the value of class 'FileNode'
    RET_DATA_STRUCTURE - This Generic Type-Parameter provides a user the ability to specify any Method Return-Type needed / desired. In class FileNode, for instance, this Type-Parameter is often assigned to things such as: Stream<FileNode>, Iterator<FileNode> or even String[] - where each of the String's are actual File-Names as a String.

    If this class VarType where used elsewhere, outside of FileNode, then the Generic Type-Parameter 'RET_DATA_STRUCTURE' would allow a user to provide a means for his / her users to specify, exactly, any method's Return Type/Class.
    Direct Known Subclasses:
    RTC

    public class VarType<RET_DATA_STRUCTURE,​INSERT_TYPE>
    extends java.lang.Object
    Provides any method the ability to provide its users the ability to choose what kind of data structure should be used for returning the method's results. Currently, this class is used as a helper class for class FileNode
    See Also:
    FileNode


    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait