Author: ruschein
Date: 2010-11-23 13:35:28 -0800 (Tue, 23 Nov 2010)
New Revision: 22997
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
Log:
Added support for Long as a column type.
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
===================================================================
---
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2010-11-23 20:25:12 UTC (rev 22996)
+++
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2010-11-23 21:35:28 UTC (rev 22997)
@@ -1,13 +1,6 @@
/*
- Copyright (c) 2008, The Cytoscape Consortium (www.cytoscape.org)
+ Copyright (c) 2008, 2010, The Cytoscape Consortium (www.cytoscape.org)
- The Cytoscape Consortium is:
- - Institute for Systems Biology
- - University of California San Diego
- - Memorial Sloan-Kettering Cancer Center
- - Institut Pasteur
- - Agilent Technologies
-
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
@@ -31,10 +24,10 @@
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- */
-
+*/
package org.cytoscape.model.internal;
+
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -49,11 +42,8 @@
import org.cytoscape.model.events.ColumnDeletedEvent;
import org.cytoscape.model.events.RowSetMicroListener;
-/**
- *
- */
-public class CyTableImpl implements CyTable {
+public class CyTableImpl implements CyTable {
private final Map<String, Map<Object, Object>> attributes;
private final Map<Object, CyRow> rows;
@@ -395,6 +385,8 @@
return;
else if (o instanceof Double)
return;
+ else if (o instanceof Long)
+ return;
else if (o instanceof List) {
List l = (List) o;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.