Class DFFields.Predicates

  • Enclosing class:
    DFFields

    public static final class DFFields.Predicates
    extends java.lang.Object
    Predicates related to DFFields.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.common.base.Predicate<DFField> belongTo​(DFDataTree.Vertex vertex)
      Returns predicate returning true when the input field belongs to the entity of the given vertex.
      static com.google.common.base.Predicate<DFField> belongTo​(DFEntity ent)
      Returns predicate returning true when the input field belongs to the entity.
      static com.google.common.base.Predicate<DFField> belongTo​(DFResultSet.VertexState vs)
      Returns predicate returning true when the input field belongs to the entity of the given vertex state.
      • Methods inherited from class java.lang.Object

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

      • belongTo

        public static com.google.common.base.Predicate<DFField> belongTo​(DFResultSet.VertexState vs)
        Returns predicate returning true when the input field belongs to the entity of the given vertex state.
        Parameters:
        vs - vertex state of interest
        Returns:
        the predicate
      • belongTo

        public static com.google.common.base.Predicate<DFField> belongTo​(DFDataTree.Vertex vertex)
        Returns predicate returning true when the input field belongs to the entity of the given vertex.
        Parameters:
        vertex - vertex of interest
        Returns:
        the predicate
      • belongTo

        public static com.google.common.base.Predicate<DFField> belongTo​(DFEntity ent)
        Returns predicate returning true when the input field belongs to the entity.
        Parameters:
        ent - entity of interest
        Returns:
        the predicate