Class Predicate

java.lang.Object
org.stellar.sdk.Predicate
Direct Known Subclasses:
Predicate.AbsBefore, Predicate.And, Predicate.Not, Predicate.Or, Predicate.RelBefore, Predicate.Unconditional

public abstract class Predicate extends Object
Base class for predicates.
  • Constructor Details

    • Predicate

      public Predicate()
  • Method Details

    • fromXdr

      public static Predicate fromXdr(ClaimPredicate xdr)
      Generates Predicate object from a given XDR object.
      Parameters:
      xdr - XDR object
      Returns:
      Predicate object
    • equals

      public abstract boolean equals(Object object)
      Overrides:
      equals in class Object
    • toXdr

      public abstract ClaimPredicate toXdr()
      Generates XDR object from a given Predicate object.
      Returns:
      XDR object