⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testpeople.java

📁 这是一个matlab的java实现。里面有许多内容。请大家慢慢捉摸。
💻 JAVA
字号:
/* Copyright (C) 2003 Univ. of Massachusetts Amherst, Computer Science Dept.   This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).   http://www.cs.umass.edu/~mccallum/mallet   This software is provided under the terms of the Common Public License,   version 1.0, as published by http://www.opensource.org.  For further   information, see the file `LICENSE' included with this distribution. *//**    Create list of persons *   @author Ron Bekkerman <A HREF="mailto:ronb@cs.umass.edu">ronb@cs.umass.edu</A>*/package edu.umass.cs.mallet.projects.dex.types.tests;import edu.umass.cs.mallet.base.types.Alphabet;import edu.umass.cs.mallet.base.types.AugmentableFeatureVector;import edu.umass.cs.mallet.projects.dex.types.*;import java.util.*;import java.io.*;public class TestPeople implements Serializable {	public static void main (String[] args) {		People people = new People ();		Person aron = new Person ("Aron Culotta", "culotta", "cs.umass.edu");		Person steve = new Person ("Steve Hart", "shart", "cs.umass.edu");		Person joe = new Person ("Joe Schmo", "joe", "anywhere.com");		Person jon = new Person ("Jon Gon", "joe", "anywhere.com");		Person aron2 = new Person ("Aron Culotta", "culotta", "cs.umass.edu");		Person aron3 = new Person ("Aron Culotta", "culotta", "cs.umass.edu");		System.err.println ("MAP: " + people.getMap());		people.addPerson (aron);		System.err.println ("MAP: " + people.getMap());		people.addPerson (steve);		System.err.println ("MAP: " + people.getMap());		people.addPerson (joe);		System.err.println ("MAP: " + people.getMap());		people.addPerson (aron2);		System.err.println ("MAP: " + people.getMap());		people.addPerson (jon);		System.err.println ("MAP: " + people.getMap());		people.addPerson (aron3);		System.err.println ("MAP: " + people.getMap());	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -