001 // GraphLab Project: http://graphlab.sharif.edu 002 // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology 003 // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/ 004 005 package graphlab.platform.lang; 006 007 /** 008 * provides a "From String" for a given String, which means to create an object 009 * from it's toString string. 010 * 011 * This is GraphLab's standard way of loading objects from strings. 012 */ 013 public interface FromStringProvider<t> { 014 public t fromString(String toString); 015 }