Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E28B765F0 for ; Sat, 11 Jun 2011 16:59:17 +0000 (UTC) Received: (qmail 89159 invoked by uid 500); 11 Jun 2011 16:59:17 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 89103 invoked by uid 500); 11 Jun 2011 16:59:17 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 89096 invoked by uid 99); 11 Jun 2011 16:59:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 16:59:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 16:59:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9FB3F2388A3C; Sat, 11 Jun 2011 16:58:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1134693 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java Date: Sat, 11 Jun 2011 16:58:56 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110611165856.9FB3F2388A3C@eris.apache.org> Author: simonetripodi Date: Sat Jun 11 16:58:56 2011 New Revision: 1134693 URL: http://svn.apache.org/viewvc?rev=1134693&view=rev Log: fixed Vertex,Edge Generics types Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java?rev=1134693&r1=1134692&r2=1134693&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java Sat Jun 11 16:58:56 2011 @@ -24,42 +24,42 @@ import org.apache.commons.graph.exceptio /** * The {@code MutableGraph} is a graph that supports the addition and removal of {@link Vertex} and {@link Edge}s. */ -public interface MutableGraph - extends Graph +public interface MutableGraph + extends Graph { /** * Adds a feature to the Vertex attribute of the MutableGraph object */ - void addVertex(Vertex v) + void addVertex(V v) throws GraphException; /** * Description of the Method */ - void removeVertex(Vertex v) + void removeVertex(V v) throws GraphException; /** * Adds a feature to the Edge attribute of the MutableGraph object */ - void addEdge(Edge e) + void addEdge(E e) throws GraphException; /** * Description of the Method */ - void removeEdge(Edge e) + void removeEdge(E e) throws GraphException; /** * Description of the Method */ - void connect(Edge e, Vertex v) + void connect(E e, V v) throws GraphException; /** * Description of the Method */ - void disconnect(Edge e, Vertex v) + void disconnect(E e, V v) throws GraphException; }