Class PluggableRendererDemo.DirectionDisplayPredicate<V,​E>

  • All Implemented Interfaces:
    com.google.common.base.Predicate<Context<Graph<V,​E>,​E>>, java.util.function.Predicate<Context<Graph<V,​E>,​E>>
    Enclosing class:
    PluggableRendererDemo

    private static final class PluggableRendererDemo.DirectionDisplayPredicate<V,​E>
    extends java.lang.Object
    implements com.google.common.base.Predicate<Context<Graph<V,​E>,​E>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean show_d  
      protected boolean show_u  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply​(Context<Graph<V,​E>,​E> context)  
      void showDirected​(boolean b)  
      void showUndirected​(boolean b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Predicate

        equals, test
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • show_d

        protected boolean show_d
      • show_u

        protected boolean show_u
    • Constructor Detail

      • DirectionDisplayPredicate

        public DirectionDisplayPredicate​(boolean show_d,
                                         boolean show_u)
    • Method Detail

      • showDirected

        public void showDirected​(boolean b)
      • showUndirected

        public void showUndirected​(boolean b)
      • apply

        public boolean apply​(Context<Graph<V,​E>,​E> context)
        Specified by:
        apply in interface com.google.common.base.Predicate<V>