Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2004-2015 triAGENS GmbH, Cologne, Germany Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright holder is triAGENS GmbH, Cologne, Germany

Author(s):
a-brandt
Copyright 2015, triAGENS GmbH, Cologne, Germany
package com.arangodb.entity;

Author(s):
a-brandt
public class ShortestPathEntity<V, E> extends BaseEntity {

End vertex handle.
	private String vertex;

path distance
	private Long distance;

start vertex handle
	private String startVertex;

List of paths.
	private List<PathEntity<V, E>> paths;
	public String getVertex() {
		return ;
	}
	public void setVertex(String vertex) {
		this. = vertex;
	}

Retuns the distance

Returns:
the distance
	public Long getDistance() {
		return ;
	}
	public void setDistance(Long distance) {
		this. = distance;
	}

Returns the document handle of the start vertex

Returns:
the document handle of the start vertex
	public String getStartVertex() {
		return ;
	}
	public void setStartVertex(String startVertex) {
		this. = startVertex;
	}

Returns the path list

Returns:
list of PathEntity objects
	public List<PathEntity<V, E>> getPaths() {
		return ;
	}
	public void setPaths(List<PathEntity<V, E>> paths) {
		this. = paths;
	}
New to GrepCode? Check out our FAQ X