MCPcopy Create free account
hub / github.com/Z3Prover/z3 / get

Method get

src/api/java/ASTVector.java:43–47  ·  view source on GitHub ↗

Retrieves the i-th object in the vector. Remarks: May throw an IndexOutOfBoundsException when i is out of range. @param i Index @return An AST @throws Z3Exception

(int i)

Source from the content-addressed store, hash-verified

41 * @throws Z3Exception
42 **/
43 public AST get(int i)
44 {
45 return new AST(getContext(), Native.astVectorGet(getContext().nCtx(),
46 getNativeObject(), i));
47 }
48
49 public void set(int i, AST value)
50 {

Callers 13

getConsequencesMethod · 0.95
ToArrayMethod · 0.95
ToExprArrayMethod · 0.95
ToBoolExprArrayMethod · 0.95
ToBitVecExprArrayMethod · 0.95
ToArithExprExprArrayMethod · 0.95
ToArrayExprArrayMethod · 0.95
ToDatatypeExprArrayMethod · 0.95
ToFPExprArrayMethod · 0.95
ToFPRMExprArrayMethod · 0.95
ToIntExprArrayMethod · 0.95

Calls 3

getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected