Class Results


  • public final class Results
    extends java.lang.Object
    This class stores the result of every solved problem to make a match while testing possible. So, do NOT take a look down below if you want to solve the problems by your own.
    Since:
    14.08.2516 10:08:19
    Author:
    Nico Danneberg
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String pkg
      Just the text for the package of the problem classes.
      private static java.util.Hashtable<java.lang.String,​java.lang.String> results
      the memory for the results of the problems.
    • Constructor Summary

      Constructors 
      Constructor Description
      Results()  
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String get​(java.lang.String problem)
      Tries to get the solution of a given problem.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pkg

        private static final java.lang.String pkg
        Just the text for the package of the problem classes.
      • results

        private static final java.util.Hashtable<java.lang.String,​java.lang.String> results
        the memory for the results of the problems.
    • Constructor Detail

      • Results

        public Results()
    • Method Detail

      • get

        public static final java.lang.String get​(java.lang.String problem)
        Tries to get the solution of a given problem.
        Parameters:
        problem - the class name of the wanted problem
        Returns:
        the solution of the given problem or null, if the problem is not known
        See Also:
        Hashtable.get(Object)