Class Views<Input>

java.lang.Object
com.complexible.common.view.Views<Input>

public final class Views<Input> extends Object

Since:
2.2
Version:
2.2
Author:
Michael Grove
  • Method Details

    • empty

      public static <IView extends View<Input, ?>, Input> Views<Input> empty()
    • of

      public static <IView extends View<Input, ?>, Input> Views<Input> of(Set<IView> theViews)
    • as

      public <Input, Output> Output as(Input theConn, Class<Output> theView) throws View.ViewException
      Return the view of the provided object
      Parameters:
      theConn - the object
      theView - the new view of the object
      Returns:
      the object w/ a new view
      Throws:
      View.ViewException - if there was an exception viewing the object as the new type