Class Predicate.Not

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

public static class Predicate.Not extends Predicate
Represents a logical NOT of a predicate.
  • Constructor Details

    • Not

      public Not(Predicate inner)
      Creates a new Not instance.
      Parameters:
      inner - The inner predicate to negate.
  • 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
    • getInner

      public Predicate getInner()
      The inner predicate to negate.