Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 934 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 1,896 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 8,921 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 910 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 640 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 940 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 828 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 333 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 3,798 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 Lic... | 979 |
github-java-corpus | 2,012 | package controlP5;
import processing.core.PApplet;
/**
* The Slider2D allows to control a handle within a 2D area. This controller
* returns an arrayValue with the current xy position of its handle.
*
* @author andreas schlegel
*
* @example controllers/ControlP5slider2D
*
*/
public class Slider2D extends C... | 1,686 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 1,234 |
github-java-corpus | 2,012 | package controlP5;
/**
* Used by Chart, single chart data is stored here including value, (label) text, and color.
*/
public class ChartData {
protected float _myValue;
protected String _myText;
protected int _myColor;
public ChartData(float theValue) {
this(theValue, "");
}
public ChartData(float theValu... | 192 |
github-java-corpus | 2,012 | package controlP5;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
class ControllerLayoutElement implements Serializable, Cloneable {
private static final long serialVersionUID = -5006855922546529005L;
private transient ControllerInterface controller;
private Class<?> type;
priva... | 112 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 2,331 |
github-java-corpus | 2,012 | package controlP5;
class FrameCounter {
// a Label based frame counter with current and average frame counts.
}
| 24 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 431 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 10,598 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 6,459 |
github-java-corpus | 2,012 | package controlP5;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.logging.Logger;
impor... | 1,280 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 587 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 381 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 2,153 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 3,416 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 1,904 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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
... | 2,398 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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
... | 1,904 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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
... | 3,319 |
github-java-corpus | 2,012 | package controlP5;
/**
* controlP5 is a processing gui library.
*
* 2006-2011 by Andreas Schlegel
*
* 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 L... | 299 |
github-java-corpus | 2,012 | package controlP5;
import java.lang.reflect.Field;
/**
* the FieldChangedListener is used to observe changes of variables that are
* linked to a controller. The FieldChangedListener is for primarily for
* internal use.
*
* @see controlP5.Controller#listen(boolean)
*/
class FieldChangedListener {
private Fiel... | 637 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 421 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 623 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 650 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 1,226 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 728 |
github-java-corpus | 2,012 | /*
* Copyright (c) 2010 Automated Logic Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 312 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 599 |
github-java-corpus | 2,012 | /*
* Copyright 2012, FORMCEPT [http://www.formcept.com]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 5,607 |
github-java-corpus | 2,012 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not u... | 1,062 |
github-java-corpus | 2,012 | package org.bookie.test.service;
import java.util.List;
import junit.framework.TestCase;
import org.bookie.model.BookMark;
import org.bookie.service.BookieService;
import org.json.JSONException;
public class BookieServiceTest extends TestCase {
// from the bookie doc
private final static String bmarkList1 =
... | 820 |
github-java-corpus | 2,012 | package us.bmark.android.service;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.... | 664 |
github-java-corpus | 2,012 | package us.bmark.android.service;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import us.bmark.android.model.BookMark;
import us.bmark.android.service.NewBookmarkRequest.RequestSuccessListener;
import android.text.TextUtils;... | 559 |
github-java-corpus | 2,012 | package us.bmark.android.service;
import java.security.InvalidParameterException;
public class GetUserBookmarksRequest extends GetBookmarksRequest {
private String user;
public GetUserBookmarksRequest(String user) {
super();
if(user==null) {
throw new InvalidParameterException("Get User Bookmark requires ... | 109 |
github-java-corpus | 2,012 | package us.bmark.android.service;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.client.methods.HttpGet;
import org.json.JSONException;
import us.bmark.android.model.BookMark;
import us.bmark.android.model.SystemNewest;
public class GetBookmarksRequest extends AbstractBookieRequest<List<... | 330 |
github-java-corpus | 2,012 | package us.bmark.android.service;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.JSONException;
... | 352 |
github-java-corpus | 2,012 | package us.bmark.android.model;
import java.util.LinkedList;
import java.util.List;
/**
* Data object for single Bookmark
*/
public class BookMark {
public String url;
public String description;
public List<String> tags = new LinkedList<String>();
}
| 50 |
github-java-corpus | 2,012 | package us.bmark.android.model;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
public class SystemNewest extends Observable {
private static SystemNewest singleton; // TODO find something better
private List<BookMark> bmarks;
private SystemNewest() {
super();
bmarks = new Arr... | 151 |
github-java-corpus | 2,012 | package us.bmark.android;
public interface UserSettings {
public abstract String getUsername();
public abstract String getApiKey();
} | 23 |
github-java-corpus | 2,012 | package us.bmark.android;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class SettingsActivity extends PreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.settings);
}
}
| 52 |
github-java-corpus | 2,012 | package us.bmark.android;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class SharedPrefsBackedUserSettings implements UserSettings {
private static final String USER_PREFS_DEFAULT_USERNAME = "";
private static final String USER_PREFS_D... | 210 |
github-java-corpus | 2,012 | package us.bmark.android;
import java.util.ArrayList;
import java.util.Set;
import java.util.TreeSet;
import us.bmark.android.R.id;
import us.bmark.android.model.BookMark;
import us.bmark.android.service.BookieService;
import us.bmark.android.service.NewBookmarkRequest.RequestSuccessListener;
import android.app.Acti... | 1,669 |
github-java-corpus | 2,012 | package us.bmark.android;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import us.bmark.android.model.BookMark;
import us.bmark.android.model.SystemNewest;
import us.bmark.android.service.BookieService;
import android.app.ListActivity;
import android.conten... | 790 |
github-java-corpus | 2,012 | package knowevo.articlerank;
import java.util.ArrayList;
public class Article implements Comparable {
private int id;
private int[] edges;
private int[] backEdges;
private double rank;
public Article() {
id = -1;
}
public Article(int i, int[] ed) {
id =... | 390 |
github-java-corpus | 2,012 | package knowevo.articlerank;
import java.util.ArrayList;
import java.util.TreeMap;
import java.util.Arrays;
import java.util.Iterator;
import java.io.*;
public class Graph {
//private Article[] articles;
private TreeMap<Integer, Article> articles;
public Graph(Article[] ars) {
articles = ... | 677 |
github-java-corpus | 2,012 | package knowevo.articlerank;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Map;
import java.util.Iterator;
//import net.sf.javaml.cl... | 633 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.*;
import org.gephi.io.database.drivers.PostgreSQLDriv... | 892 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author gabrovski
*/
public class CategoryScoreMachine extends ScoreMachine {
@Override
pub... | 198 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
/**
*
* @author gabrovski
*/
public class Neighbor {
String name;
int depth;
public Neighbor(String n, int d) {
name = n;
depth = d;
}
}
| 74 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import knowevo.springbox.CategoryScoreMachine;
/**
*
* @author gabrovski
*/
public class VizsterRunner {
public static void getGraphFor(String name, int max_depth, St... | 183 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.render.*;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RoundRectangle2D;
import knowevo.myvizster.DecoratorItem;
import knowevo.myvizster.Vizster;
import edu.berkeley.guir.prefuse.VisualItem;
import edu.berkeley.gui... | 481 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import java.io.BufferedWriter;
import java.io.DataOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.Socket;
import knowevo.springbox.DBBuild... | 265 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.render.*;
import knowevo.myvizster.DecoratorItem;
import knowevo.myvizster.Vizster;
import edu.berkeley.guir.prefuse.AggregateItem;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.guir.prefuse.EdgeItem;
import edu.berkeley.guir.prefuse.N... | 931 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.ui.*;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlider;
import ... | 909 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.activity.ActionList;
import edu.berkeley.guir.prefuse.graph.Graph;
import edu.berkeley.guir.prefuse.grap... | 569 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.controls.*;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Iterator;
import knowevo.myvizster.Vizster;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.I... | 1,211 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.AffineTransform;
import knowevo.myvizster.ui.Legend;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.gu... | 524 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import knowevo.myvizster.controls.HighlightControl;
import knowevo.myvizster.controls.FocusRequester;
import knowevo.myvizster.controls.HighlightHoldControl;
import knowevo.myvizster.c... | 5,556 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.NodeItem;
import edu.berkeley.guir.prefuse.action.ActionSwitc... | 5,358 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.vizster;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import knowevo.springbox.CooccurenceScoreMachine;
import knowevo.springbox.ScoreMachine;
/**
*
* @author gabr... | 452 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.controls.*;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.guir.prefuse.event.ControlAdapter;
/**
... | 542 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt... | 3,037 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.util.*;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JToggleButton;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.action.VizsterXRayColorFunction;
/**
* Updates which attribute is visual... | 421 |
github-java-corpus | 2,012 | package knowevo.springbox.vizster;
import knowevo.myvizster.controls.*;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import ed... | 1,000 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
/**
*
* @author gabrovski
*/
public class Edge implements Comparable {
private Node first, second;
private float score;
private boolean directed;
public Edge(Node a, No... | 237 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
import java.sql.Connection;
import java.sql.SQLException;
/**
*
* @author gabrovski
*/
public abstract class ScoreMachine {
private DBBuilder db;
public void setDBB(DBBuilder d) {... | 111 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
/**
*
* @author gabrovski
*/
public class Node implements Comparable {
private String name;
private int id;
private int totalscore;
public Node(String n, int i) {
... | 186 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
import java.util.*;
/**
*
* @author gabrovski
*/
public class Graph {
private Map<String, Node> nodemap;
private List<Edge> edges;
public Graph() {
nodemap = ... | 538 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.gephibox;
import java.awt.Color;
import java.io.*;
import java.sql.*;
import java.util.*;
import knowevo.springbox.DBBuilder;
import knowevo.springbox.ScoreMachine;
import org.gephi.data.attrib... | 990 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.gephibox;
import java.io.File;
import java.io.IOException;
import org.gephi.graph.api.*;
import org.gephi.io.exporter.api.ExportController;
import org.gephi.io.exporter.preview.PNGExporter;
imp... | 634 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox.gephibox;
import java.io.*;
import java.net.*;
import java.security.*;
import knowevo.springbox.CategoryScoreMachine;
import knowevo.springbox.CooccurenceScoreMachine;
/**
*
* @author sasho... | 433 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo.springbox;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author gabrovski
*/
public class CooccurenceScoreMachine extends ScoreMachine {
@Override
public float getSco... | 236 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package knowevo;
import java.awt.Color;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.I... | 2,096 |
github-java-corpus | 2,012 | package knowevo.myvizster;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.sql.SQLException;
import java.util.Iterator;
im... | 6,053 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.guir.prefuse.event.ControlAdapter;
/**
* ZoomStepControl
*
* @versio... | 533 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import javax.swing.SwingUtilities;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.VisualIt... | 616 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.Cursor;
import java.awt.Toolkit;
import java.awt.event.MouseEvent;
import javax.swing.SwingUtilities;
import edu.berkeley.guir.prefuse.Display;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berke... | 590 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.EdgeItem;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefu... | 1,307 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.VisualItem;
... | 991 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Iterator;
import knowevo.myvizster.Vizster;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.gui... | 1,202 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.VisualItem;
import edu.berkeley.guir.prefuse.event.ControlAdapter;
/**
* MagnifyControl
*
* @vers... | 681 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.Component;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
/**
* FocusRequester
*
* @version 1.0
* @author <a href="http://jheer.org">Jeffrey Heer</a> prefuse(AT)jheer.org
*/
public class FocusRequester extends MouseAdapter {... | 115 |
github-java-corpus | 2,012 | package knowevo.myvizster.controls;
import java.awt.event.MouseEvent;
import java.util.TimerTask;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.FocusManager;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.VisualItem;
import edu.berkeley.guir.prefuse.ac... | 512 |
github-java-corpus | 2,012 | package knowevo.myvizster;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util... | 2,823 |
github-java-corpus | 2,012 | package knowevo.myvizster;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse.VisualItem;
import edu.berkeley.guir.prefuse.graph.Entity;
/**
* DecoratorItem
*
* @version 1.0
* @author <a href="http://jheer.org">Jeffrey Heer</a> prefuse(AT)jheer.org
*/
public class Decor... | 209 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import knowevo.myvizster.Vizster;
/**
*
* @version 1.0
* @author <a href="http://jheer.org">Jeffrey Heer</a> vizster(AT)jheer.org</a>
*/
public class StaticLayoutAction extends AbstractAction {
... | 167 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import java.sql.SQLException;
import javax.swing.AbstractAction;
import javax.swing.JOptionPane;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterDBLoader;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.pref... | 428 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.AbstractButton;
import knowevo.myvizster.Vizster;
/**
* ShowImagesAction
*
* @version 1.0
* @author <a href="http://jheer.org">Jeffrey Heer</a> prefuse(AT)jheer.org
*/
publi... | 189 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.ui.VizsterMenuBar;
/**
* Updates which color map is used in attribute comparison mode
*
* @version 1.0
* @author <a href="http://jheer.org... | 277 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import java.io.File;
import javax.swing.AbstractAction;
import javax.swing.JFileChooser;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.VizsterLib;
import edu.berkeley.guir.prefuse.ItemRegistry;
import edu.berkeley.guir.prefuse... | 355 |
github-java-corpus | 2,012 | package knowevo.myvizster.util;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import javax.swing.JOptionPane;
import org.apache.lucene.store.FSDirectory;
import knowevo.myvizster.Vizster;
import knowevo.myvizster.ui.ProfileLookupDialog;
/**
* Pr... | 273 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.