BrightSide Workbench Full Report + Source Code
org.turro.elephant.impl.context.ContextAdapter Class Reference

Public Member Functions

 ContextAdapter (TreeSet< ElContext > context)
 
TreeSet< ElContextgetVisible ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file ContextAdapter.java.

Constructor & Destructor Documentation

◆ ContextAdapter()

org.turro.elephant.impl.context.ContextAdapter.ContextAdapter ( TreeSet< ElContext context)

Definition at line 32 of file ContextAdapter.java.

32  {
33  this.contexts = context;
34  }

Member Function Documentation

◆ getVisible()

TreeSet<ElContext> org.turro.elephant.impl.context.ContextAdapter.getVisible ( )

Definition at line 36 of file ContextAdapter.java.

36  {
37  return contexts.stream().filter((ctx) -> (ctx.canDisplay())).collect(Collectors.toCollection(TreeSet::new));
38  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: