Class PluggableRendererDemo.DirectionDisplayPredicate<V,E>

java.lang.Object
edu.uci.ics.jung.samples.PluggableRendererDemo.DirectionDisplayPredicate<V,E>
All Implemented Interfaces:
com.google.common.base.Predicate<Context<Graph<V,E>,E>>, Predicate<Context<Graph<V,E>,E>>
Enclosing class:
PluggableRendererDemo

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

    • show_d

      protected boolean show_d
    • show_u

      protected boolean show_u
  • Constructor Details

    • DirectionDisplayPredicate

      public DirectionDisplayPredicate(boolean show_d, boolean show_u)
  • Method Details

    • 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>