Class BindingBase

    • Field Summary

      • Fields inherited from interface org.apache.jena.sparql.engine.binding.Binding

        noParent
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(Var var)
      Test whether a name is bound to some object
      boolean equals​(java.lang.Object other)  
      void forEach​(java.util.function.BiConsumer<Var,​Node> action)
      Operate on each entry.
      void format1​(java.lang.StringBuffer sbuff)  
      Node get​(Var var)
      Return the object bound to a name, or null
      int hashCode()  
      static int hashCode​(Binding bind)  
      boolean isEmpty()
      Is this an empty binding? No variables.
      int size()
      Number of (var, value) pairs.
      java.lang.String toString()  
      java.lang.String toString1()  
      java.util.Iterator<Var> vars()
      Iterate over all variables of this binding.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • vars

        public final java.util.Iterator<Var> vars()
        Description copied from interface: Binding
        Iterate over all variables of this binding.
        Specified by:
        vars in interface Binding
      • forEach

        public void forEach​(java.util.function.BiConsumer<Var,​Node> action)
        Operate on each entry.
        Specified by:
        forEach in interface Binding
      • size

        public final int size()
        Description copied from interface: Binding
        Number of (var, value) pairs.
        Specified by:
        size in interface Binding
      • isEmpty

        public boolean isEmpty()
        Description copied from interface: Binding
        Is this an empty binding? No variables.
        Specified by:
        isEmpty in interface Binding
      • contains

        public final boolean contains​(Var var)
        Test whether a name is bound to some object
        Specified by:
        contains in interface Binding
      • get

        public final Node get​(Var var)
        Return the object bound to a name, or null
        Specified by:
        get in interface Binding
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • format1

        public void format1​(java.lang.StringBuffer sbuff)
      • toString1

        public java.lang.String toString1()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Binding
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Specified by:
        equals in interface Binding
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public static int hashCode​(Binding bind)