@Test public void Exists() { assertEquals("exists OPTIONAL { {s} {p} {o} {c} . }", Blocks.optional(Blocks.SPOC).exists().toString()); }
@Override public BooleanExpression exists() { return BooleanOperation.create(Ops.EXISTS, this); }
OptionalBlock implements ContainerBlock { @Override public BooleanExpression exists() { return BooleanOperation.create(Ops.EXISTS, this); } }
OptionalBlock implements ContainerBlock { @Override public BooleanExpression exists() { return BooleanOperation.create(Ops.EXISTS, this); } OptionalBlock(List<Block> blocks, Predicate... filters); }
OptionalBlock implements ContainerBlock { @Override public BooleanExpression exists() { return BooleanOperation.create(Ops.EXISTS, this); } OptionalBlock(List<Block> blocks, Predicate... filters); @Override Predicate not(); @SuppressWarnings("unchecked") @Override R accept(Visitor<R, C> v, C context); @Override Class<? extends Boolean> getType(); List<Block> getBlocks(); @Nullable Predicate getFilters(); @Override BooleanExpression exists(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); }
OptionalBlock implements ContainerBlock { @Override public BooleanExpression exists() { return BooleanOperation.create(Ops.EXISTS, this); } OptionalBlock(List<Block> blocks, Predicate... filters); @Override Predicate not(); @SuppressWarnings("unchecked") @Override R accept(Visitor<R, C> v, C context); @Override Class<? extends Boolean> getType(); List<Block> getBlocks(); @Nullable Predicate getFilters(); @Override BooleanExpression exists(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }