Class Predicate.And

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

public static class Predicate.And extends Predicate
Represents a logical AND of two predicates.
  • Constructor Details

    • And

      public And(Predicate left, Predicate right)
      Creates a new And 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.