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
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
293
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
1,341
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
977
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
1,189
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms ...
937
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
2,635
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
787
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
11,354
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
518
github-java-corpus
2,012
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
274
github-java-corpus
2,012
package org.jboss.forge.scaffold.spring.metawidget.inspector.propertystyle; import java.awt.Color; import java.util.Calendar; import java.util.Date; import org.jboss.forge.scaffold.spring.metawidget.inspector.propertystyle.NestedMockAnnotation; import org.jboss.forge.scaffold.spring.metawidget.inspector.propertystyle...
435
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2012 Matt Bertolini * * 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 (at...
1,286
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
484
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
1,073
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
504
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
2,065
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
227
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
476
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2012 Matt Bertolini * * 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 (at...
552
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
614
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
228
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
500
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
381
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
660
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
2,601
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
848
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
288
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
3,856
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
212
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
646
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
371
github-java-corpus
2,012
package com.mattbertolini.hermes; public enum SelectEnum { MALE, FEMALE }
24
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
425
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
1,153
github-java-corpus
2,012
/* * Hermes - GWT Server-side I18N Library * Copyright (C) 2011 Matt Bertolini * * 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 (at...
274
github-java-corpus
2,012
/* * Fichero: myBean.java * Autor: César Maeso Domgínguez (cesar.maeso@gmail.com) * * Éste programa es software libre: usted tiene derecho a redistribuirlo y/o modificarlo bajo los * términos de la Licencia EUPL European Public License publicada por el organismo IDABC de la * Comisión Europea, en su versión 1.0....
503
github-java-corpus
2,012
/* * Fichero: IsoCountry.java * Autor: César Maeso Domínguez (cesar.maeso@gmail.com) * * Éste programa es software libre: usted tiene derecho a redistribuirlo y/o modificarlo bajo los * términos de la Licencia EUPL European Public License publicada por el organismo IDABC de la * Comisión Europea, en su versión ...
443
github-java-corpus
2,012
/* * Fichero: myBean.java * Autor: César Maeso Domgínguez (cesar.maeso@gmail.com) * * Éste programa es software libre: usted tiene derecho a redistribuirlo y/o modificarlo bajo los * términos de la Licencia EUPL European Public License publicada por el organismo IDABC de la * Comisión Europea, en su versión 1.0....
638
github-java-corpus
2,012
/* * Fichero: Cities.java * Autor: César Maeso Domgínguez (cesar.maeso@gmail.com) * * Éste programa es software libre: usted tiene derecho a redistribuirlo y/o modificarlo bajo los * términos de la Licencia EUPL European Public License publicada por el organismo IDABC de la * Comisión Europea, en su versión 1.0....
444
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
1,359
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
1,901
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
446
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
207
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
1,041
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
1,384
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
816
github-java-corpus
2,012
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
1,252
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.HashMap; import java.util.Map; import com.massivecraft.factions.Faction; import com.massivecraft.factions.Factions; public class FactionAccountHolder implements AccountHolder { private final Faction owner; /** * Default ctor. */ public FactionAc...
458
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.command.CommandExecutor; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; public class Gringotts extends JavaPlugin { ...
418
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; /** * Handlers for player and console commands. * * @author jast * */...
1,630
github-java-corpus
2,012
package org.gestern.gringotts; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.Driver; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashSet; import java.util.Set; import java.util.logging.Logger...
3,557
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import com.massivecraft.factions.Faction; import com.massivecraft.factions.Factions; public class AccountHolderFactory { @SuppressWarnings("unused") private final Logger log = Bukkit.getLog...
536
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.Chest; import org.bukkit.block.Sign; import org.bukkit.inventory.DoubleChestInvent...
1,700
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.HashMap; import java.util.Map; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; public class PlayerAccountHolder implements AccountHolder { public final OfflinePlayer accountHolder; public PlayerAccountHolder(Map<String,Object> serialized) { ...
523
github-java-corpus
2,012
package org.gestern.gringotts; public class GringottsStorageException extends RuntimeException { private static final long serialVersionUID = -7762154730712697492L; public GringottsStorageException() { super(); } public GringottsStorageException(String message, Throwable cause) { super(message, cause); } ...
103
github-java-corpus
2,012
package org.gestern.gringotts; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.material.MaterialData; class Util { private final Configuration config = Configuration.config; /** * Attempts to add g...
938
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.Set; import java.util.logging.Logger; import org.bukkit.Bukkit; /** * Manages accounts. * * @author jast * */ public class Accounting { private final Logger log = Bukkit.getServer().getLogger(); private final DAO dao = DAO.getDao(); /** * Ge...
565
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.plugin.Plugin; /** * Manages optional plugin dependencies. * * @author jast * */ public class Dependency { private static Dependency dependency; private final Logger log = Bukkit.getLogger(); pu...
354
github-java-corpus
2,012
package org.gestern.gringotts; /** * An account holder. * Can be a player or another type of entity able to partiticapte in the economy, for instance a faction. * * To function correctly within Gringotts, implementors must provide a working equals and hashCode method. * * @author jast * */ public interfa...
228
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; public class Account { @SuppressWarnings("unused") private final Logger log = Bukkit.getLogger(); private final DAO dao = DAO.getDao(); public fi...
1,695
github-java-corpus
2,012
package org.gestern.gringotts; import org.bukkit.Material; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.inventory.ItemStack; import org.bukkit.material.MaterialData; /** * Singleton for global configuration information. * Values are initialized when the plugin is enabled. * * @autho...
597
github-java-corpus
2,012
package org.gestern.gringotts; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.Sign; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener;...
832
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.sql.Con...
7,046
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import java.lang.annotation.Retention; import java.lang.annotation.Target; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.ElementType; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface DBColumnAnnotation { public boolean ID() d...
81
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import org.bukkit.Bukkit; import org.bukkit.entity.Player; /** * * @author Zmod */ @DBTableAnnotation(Name = "minecraftplayer", PrimaryKey = "object_id") public class DBMinecraftPlayer extends DataObject { @DBColumnAnnotation(NotNull = true, IndexType = "UNIQUE") private...
216
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import java.lang.annotation.Retention; import java.lang.annotation.Target; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.ElementType; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface DBTableAnnotation { public String Name(); ...
70
github-java-corpus
2,012
package net.geshstuff.jDBLayer; @DBTableAnnotation(Name = "testtable") public class DBTestTable extends DataObject { @DBColumnAnnotation() private String Name; @DBColumnAnnotation() private int Level; public String getName() { return Name; } public void setName(String name) { Name = name; } ...
111
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import java.util.ArrayList; import java.util.logging.Logger; import net.geshstuff.TestPlugin.TestPlugin; import org.bukkit.Location; import net.geshstuff.TestPlugin.JoshNPC; import org.bukkit.World; /** * * @author Zmod */ @DBTableAnnotation(Name = "joshnpc", PrimaryKey = "object...
741
github-java-corpus
2,012
package net.geshstuff.jDBLayer; import java.util.ArrayList; import java.util.HashMap; import java.util.logging.Logger; import net.geshstuff.TestPlugin.TestPlugin; import org.bukkit.Location; import net.geshstuff.TestPlugin.JoshNPC; import org.bukkit.World; /** * * @author Zmod */ @DBTableAnnotation(Name = "impo...
618
github-java-corpus
2,012
package net.geshstuff.jDBLayer; public class DataObject { public DataObject() { Object_ID = java.util.UUID.randomUUID().toString(); } @DBColumnAnnotation(ID = true) private String Object_ID; public String getObjectID() { return Object_ID; } public void setObjectID(String id) { Object_ID = id; } }
81
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; import net.geshstuff.jDBLayer.DBMinecraftPlayer; import net.geshstuff.jDBLayer.SQLManager; import net.minecraft.server.EntityPlayer; import ...
2,893
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.UUID; import java.util.logging.Logger; import org.bukkit.plugin.Plugin; import org.getspout.spoutapi.gui.Color; import org....
4,213
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.lang.annotation.Annotation; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.sql.ResultSet; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import...
3,163
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.Random; import java.util.logging.Logger; import net.geshstuff.jDBLayer.DBJoshNPC; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.Chest; import org.bukkit.inventory.It...
2,535
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import net.geshstuff.jDBLayer.DBJoshNPC; import org.bukkit.Location; import org.bukkit.block.Block; import com.topcat.npclib.nms.NPCEntity; public class ScoutNPC extends JoshNPC { public ScoutNPC(NPCEntity npcEntity, DBJoshNPC dbnpc) { super(npcEntity, dbnpc); // TODO Auto-ge...
93
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.ArrayList; import java.util.Iterator; import java.util.logging.Logger; import net.geshstuff.jDBLayer.DBImportantLocation; import net.geshstuff.jDBLayer.DBJoshNPC; import net.geshstuff.jDBLayer.SQLManager; import org.bukkit.Location; import org.bukkit.Material; impor...
2,980
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.logging.Logger; import org.bukkit.plugin.Plugin; import org.getspout.spoutapi.gui.ContainerType; import org.getspout.spoutapi.gui.GenericButton; import org.getspout.spoutapi.gui.GenericListWidget; import org.getspout.spoutapi.gui.GenericPopup; import org.getspout.spo...
602
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.ArrayList; import java.util.Iterator; import org.bukkit.Location; import org.bukkit.block.Block; public class JoshPath extends Thread { public ArrayList<Location> pathLocations = new ArrayList<Location>(); public Iterator<Location> pathIterator; private Location ...
1,135
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.ArrayList; import java.util.Iterator; import java.util.logging.Logger; import net.geshstuff.jDBLayer.DBImportantLocation; import net.geshstuff.jDBLayer.DBJoshNPC; import net.geshstuff.jDBLayer.SQLManager; import org.bukkit.Bukkit; import org.bukkit.Location; import ...
3,841
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import org.bukkit.block.Block; import com.topcat.npclib.pathing.NPCPath; import com.topcat.npclib.pathing.PathReturn; public class CoalMinerNPCPathReturn implements PathReturn { public CoalMinerNPC coalMiner = null; public Block theCoal = null; public CoalMinerNPCPathReturn(CoalM...
131
github-java-corpus
2,012
package net.geshstuff.TestPlugin; import java.util.logging.Logger; import net.geshstuff.jDBLayer.DBJoshNPC; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.block.Chest; import org.bukkit.inventory.ItemStack; import org.bukkit...
440
github-java-corpus
2,012
package com.topcat.npclib.nms; import org.bukkit.entity.Entity; import org.bukkit.event.entity.EntityTargetEvent; public class NpcEntityTargetEvent extends EntityTargetEvent { private static final long serialVersionUID = -8103432985035183865L; public static enum NpcTargetReason { CLOSEST_PLAYER, NPC_RIGHTCLIC...
146
github-java-corpus
2,012
package com.topcat.npclib.nms; import java.util.HashMap; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import net.minecraft.server.MinecraftServer; import net.minecraft.server.NetworkListenThread; import net.minecraft.server.PropertyManager; import net.minecraft.server.Server...
569
github-java-corpus
2,012
package com.topcat.npclib.nms; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; /** * * @author martin */ public class NullSocket extends Socket { @Override public InputStream getInputStream() { byte[] b...
96
github-java-corpus
2,012
package com.topcat.npclib.nms; import java.lang.reflect.Field; import net.minecraft.server.NetHandler; import net.minecraft.server.NetworkManager; import net.minecraft.server.Packet; /** * * @author martin */ public class NPCNetworkManager extends NetworkManager { public NPCNetworkManager() { super(new NullSo...
196
github-java-corpus
2,012
package com.topcat.npclib.nms; import net.minecraft.server.EntityPlayer; import net.minecraft.server.NetServerHandler; import net.minecraft.server.Packet; import net.minecraft.server.Packet101CloseWindow; import net.minecraft.server.Packet102WindowClick; import net.minecraft.server.Packet106Transaction; import net.min...
646
github-java-corpus
2,012
package com.topcat.npclib.nms; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.logging.Level; import java.util.logging.Logger; import net.minecraft.server.AxisAlignedBB; import net.minecraft.server.Entity; import net.minecraft.server.EntityPlayer; import net.m...
711
github-java-corpus
2,012
package com.topcat.npclib.nms; import net.minecraft.server.Entity; import net.minecraft.server.EntityHuman; import net.minecraft.server.EntityPlayer; import net.minecraft.server.ItemInWorldManager; import net.minecraft.server.WorldServer; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.entity.Entit...
587
github-java-corpus
2,012
package com.topcat.npclib.pathing; public interface PathReturn { public void run(NPCPath path); }
24
github-java-corpus
2,012
package com.topcat.npclib.pathing; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import net.minecraft.server.AxisAlignedBB; import org.bukkit.Chunk; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.craftbukkit.CraftWorld; public class Node { // Holds...
352
github-java-corpus
2,012
package com.topcat.npclib.pathing; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.logging.Logger; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; ...
1,392
github-java-corpus
2,012
package com.topcat.npclib.pathing; import java.util.ArrayList; import org.bukkit.Location; public class NPCPath { private ArrayList<Node> path; private NPCPathFinder pathFinder; private Location end; public String pathID = "DEFAULT-PATH"; public NPCPath(NPCPathFinder npcPathFinder, ArrayList<Node> path, Locat...
148
github-java-corpus
2,012
package com.topcat.npclib; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.uti...
2,577
github-java-corpus
2,012
package com.topcat.npclib.entity; import net.minecraft.server.EntityPlayer; import net.minecraft.server.Packet18ArmAnimation; import net.minecraft.server.WorldServer; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.entity.H...
838
github-java-corpus
2,012
package com.topcat.npclib.entity; import java.util.ArrayList; import java.util.Iterator; import java.util.logging.Logger; import net.minecraft.server.Entity; import org.bukkit.Bukkit; import org.bukkit.Location; import com.topcat.npclib.NPCManager; import com.topcat.npclib.pathing.NPCPath; import com.topcat.npclib....
1,060
github-java-corpus
2,012
import javax.swing.JApplet; public class AppletTest extends JApplet { public void init() { System.out.println("hmm"); } }
37
github-java-corpus
2,012
/* * Copyright (c) 2012 Sean Porter <glitchkey@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
1,712
github-java-corpus
2,012
/* * Copyright (c) 2012 Sean Porter <glitchkey@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
319
github-java-corpus
2,012
/* * Copyright (c) 2012 Sean Porter <glitchkey@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
1,190
github-java-corpus
2,012
/* * Copyright (c) 2012 Sean Porter <glitchkey@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
1,431