Mercurial > hg > Members > tatsuki > bench > jungle-core
view src/main/java/jungle/core/graph/EdgeList.java @ 8:abed5bd92fcb
commit
author | shoshi <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 03 Jul 2012 18:59:28 +0900 |
parents | src/main/java/jungle/core/graph/Vertexes.java@07b26b4b21e0 |
children |
line wrap: on
line source
package jungle.core.graph; import java.util.Collection; public interface EdgeList extends Iterable<Vertex> { public int getLength(); public Vertex at(int _i); public Collection<Vertex> asVertexCollection(); public void appendVertex(Vertex _vertex); public void appendVertexAt(Vertex _vertex,int _index); public void appendVertexCollection(Collection<Vertex> _collection); public boolean removeFirst(Vertex _vertex); public boolean removeFirst(Collection<Vertex> _collection); public Vertex remove(int _index); public Vertex replace(Vertex _vertex,int _index); public boolean replaceFirst(Vertex _vertex,Vertex _newVertex); public boolean compareAndSwap(int _index,Vertex _vertex,Vertex _newVertex); public boolean contains(Vertex _vertex); public String getName(); }