Class Results<DATA,​ERROR>


  • public class Results<DATA,​ERROR>
    extends java.lang.Object
    Author:
    Tony Vaagenes
    • Constructor Summary

      Constructors 
      Constructor Description
      Results​(java.util.List<DATA> data, java.util.List<ERROR> errors)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<DATA> data()  
      java.util.List<ERROR> errors()  
      boolean hasErrors()  
      • Methods inherited from class java.lang.Object

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

      • Results

        public Results​(java.util.List<DATA> data,
                       java.util.List<ERROR> errors)
    • Method Detail

      • hasErrors

        public boolean hasErrors()
      • data

        public java.util.List<DATA> data()
      • errors

        public java.util.List<ERROR> errors()