Class Expected

  • All Implemented Interfaces:

    
    public class Expected<V extends Object, E extends Object>
    
                        

    A wrapper class for success or failure results.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class Expected.Success

      Represents a successful value.

      public final class Expected.Failure

      Represents a failure value.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

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

    • Method Detail