Z3
Public Member Functions
ArraySort< D extends Sort, R extends Sort > Class Template Reference
+ Inheritance diagram for ArraySort< D extends Sort, R extends Sort >:

Public Member Functions

getDomain ()
 
getDomain (int idx)
 
getRange ()
 
- Public Member Functions inherited from Sort
boolean equals (Object o)
 
int hashCode ()
 
int getId ()
 
Z3_sort_kind getSortKind ()
 
Symbol getName ()
 
String toString ()
 
Sort translate (Context ctx)
 
- Public Member Functions inherited from AST
int compareTo (AST other)
 
Z3_ast_kind getASTKind ()
 
boolean isExpr ()
 
boolean isApp ()
 
boolean isVar ()
 
boolean isQuantifier ()
 
boolean isSort ()
 
boolean isFuncDecl ()
 
String getSExpr ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Z3Object
static long[] arrayToNative (Z3Object[] a)
 
static int arrayLength (Z3Object[] a)
 

Detailed Description

Array sorts.

Definition at line 24 of file ArraySort.java.

Member Function Documentation

◆ getDomain() [1/2]

D getDomain ( )
inline

The domain of the array sort.

Exceptions
Z3Exception
Z3Exceptionon error
Returns
a sort

Definition at line 32 of file ArraySort.java.

33  {
34  return (D) Sort.create(getContext(),
35  Native.getArraySortDomain(getContext().nCtx(), getNativeObject()));
36  }

◆ getDomain() [2/2]

D getDomain ( int  idx)
inline

The domain of a multi-dimensional array sort.

Exceptions
Z3Exception
Z3Exceptionon error
Returns
a sort

Definition at line 44 of file ArraySort.java.

45  {
46  return (D) Sort.create(getContext(),
47  Native.getArraySortDomainN(getContext().nCtx(), getNativeObject(), idx));
48  }

◆ getRange()

R getRange ( )
inline

The range of the array sort.

Exceptions
Z3Exception
Z3Exceptionon error
Returns
a sort

Definition at line 56 of file ArraySort.java.

57  {
58  return (R) Sort.create(getContext(),
59  Native.getArraySortRange(getContext().nCtx(), getNativeObject()));
60  }