Package com.tinkerpop.blueprints.util

Examples of com.tinkerpop.blueprints.util.VerticesFromEdgesIterable


            return new MultiIterable<Edge>(Arrays.asList(this.getInEdges(labels), this.getOutEdges(labels)));
        }
    }

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new VerticesFromEdgesIterable(this, direction, labels);
    }
View Full Code Here


            return new MultiIterable<Edge>(Arrays.asList(this.getInEdges(labels), this.getOutEdges(labels)));
        }
    }

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new VerticesFromEdgesIterable(this, direction, labels);
    }
View Full Code Here

            return new MultiIterable<Edge>(Arrays.asList(this.getInEdges(labels), this.getOutEdges(labels)));
        }
    }

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new VerticesFromEdgesIterable(this, direction, labels);
    }
View Full Code Here

            return new MultiIterable<Edge>(Arrays.asList(this.getInEdges(labels), this.getOutEdges(labels)));
        }
    }

    public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
        return new VerticesFromEdgesIterable(this, direction, labels);
    }
View Full Code Here

  @Override
  public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
    if (direction == Direction.BOTH) {
      List<Iterable<Vertex>> list = new ArrayList<Iterable<Vertex>>();
      list.add(new VerticesFromEdgesIterable(this, Direction.IN, labels));
      list.add(new VerticesFromEdgesIterable(this, Direction.OUT, labels));
      return new MultiIterable<Vertex>(list);
    } else {
      return new VerticesFromEdgesIterable(this, direction, labels);
    }
  }
View Full Code Here

  @Override
  public Iterable<Vertex> getVertices(final Direction direction, final String... labels) {
    if (direction == Direction.BOTH) {
      List<Iterable<Vertex>> list = new ArrayList<Iterable<Vertex>>();
      list.add(new VerticesFromEdgesIterable(this, Direction.IN, labels));
      list.add(new VerticesFromEdgesIterable(this, Direction.OUT, labels));
      return new MultiIterable<Vertex>(list);
    } else {
      return new VerticesFromEdgesIterable(this, direction, labels);
    }
  }
View Full Code Here

TOP

Related Classes of com.tinkerpop.blueprints.util.VerticesFromEdgesIterable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.