Class Predicate.Or

java.lang.Object
org.stellar.sdk.Predicate
org.stellar.sdk.Predicate.Or
Enclosing class:
Predicate

public static class Predicate.Or extends Predicate
Represents a logical OR of two predicates.
  • Constructor Details

    • Or

      public Or(Predicate left, Predicate right)
      Creates a new Or instance.
      Parameters:
      left - The left predicate.
      right - The right predicate.
  • Method Details

    • toXdr

      public ClaimPredicate toXdr()
      Description copied from class: Predicate
      Generates XDR object from a given Predicate object.
      Specified by:
      toXdr in class Predicate
      Returns:
      XDR object
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class Predicate
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getLeft

      public Predicate getLeft()
      The left predicate.
    • getRight

      public Predicate getRight()
      The right predicate.