repo_name
stringlengths
7
70
file_path
stringlengths
9
215
context
list
import_statement
stringlengths
47
10.3k
token_num
int64
643
100k
cropped_code
stringlengths
62
180k
all_code
stringlengths
62
224k
next_line
stringlengths
9
1.07k
gold_snippet_index
int64
0
117
created_at
stringlengths
25
25
level
stringclasses
9 values
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/renderer/xy/XYAreaRenderer2Test.java
[ { "identifier": "JFreeChart", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/JFreeChart.java", "snippet": "public class JFreeChart implements Drawable, TitleChangeListener,\r\n PlotChangeListener, Serializable, Cloneable {\r\n\r\n /** For serialization. */\r\n private static final lo...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.junit.Assert.fail; import java.awt.Rectangle; import org.jfree.chart.JFreeChart; import org.jfree.chart.LegendItem; import org.jfree.chart.TestUtilities; import org.jfree...
94,369
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
XYSeries s1 = new XYSeries("Series 1", true, false);
6
2023-12-24 12:36:47+00:00
128k
A1anSong/jd_unidbg
unidbg-ios/src/main/java/com/github/unidbg/ios/ARM64SyscallHandler.java
[ { "identifier": "AbstractEmulator", "path": "unidbg-api/src/main/java/com/github/unidbg/AbstractEmulator.java", "snippet": "public abstract class AbstractEmulator<T extends NewFileIO> implements Emulator<T>, MemoryWriteListener {\n\n private static final Log log = LogFactory.getLog(AbstractEmulator.c...
import com.github.unidbg.AbstractEmulator; import com.github.unidbg.Emulator; import com.github.unidbg.LongJumpException; import com.github.unidbg.StopEmulatorException; import com.github.unidbg.Svc; import com.github.unidbg.arm.ARM; import com.github.unidbg.arm.ARMEmulator; import com.github.unidbg.arm.Arm64Svc; impor...
57,649
package com.github.unidbg.ios; public class ARM64SyscallHandler extends DarwinSyscallHandler { private static final Log log = LogFactory.getLog(ARM64SyscallHandler.class); private final SvcMemory svcMemory; protected ARM64SyscallHandler(SvcMemory svcMemory) { super(); this.svcMemory ...
package com.github.unidbg.ios; public class ARM64SyscallHandler extends DarwinSyscallHandler { private static final Log log = LogFactory.getLog(ARM64SyscallHandler.class); private final SvcMemory svcMemory; protected ARM64SyscallHandler(SvcMemory svcMemory) { super(); this.svcMemory ...
Cpsr.getArm64(backend).setCarry(false);
8
2023-10-17 06:13:28+00:00
128k
DrMango14/Create-Design-n-Decor
src/main/java/com/mangomilk/design_decor/registry/MmbBlocks.java
[ { "identifier": "DecorBuilderTransformer", "path": "src/main/java/com/mangomilk/design_decor/base/DecorBuilderTransformer.java", "snippet": "public class DecorBuilderTransformer {\n\n public static <B extends Block> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> connected(\n Suppl...
import com.mangomilk.design_decor.base.DecorBuilderTransformer; import com.mangomilk.design_decor.base.MmbSpriteShifts; import com.mangomilk.design_decor.blocks.*; import com.mangomilk.design_decor.blocks.SignBlock; import com.mangomilk.design_decor.blocks.chain.LargeChain; import com.mangomilk.design_decor.blocks.chai...
74,902
.forAllStatesExcept(BlockStateGen.mapToAir(p), CastIronBoilerStructure.FACING)) .lang("Large Cast Iron Boiler") .register(); public static final BlockEntry<BoilerBlock> CAPITALISM_BOILER = REGISTRATE.block("capitalism_boiler", BoilerBlock::new) .initialPrope...
package com.mangomilk.design_decor.registry; @SuppressWarnings({"unused", "removal"}) @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class MmbBlocks { //LAMPS public static final BlockEntry<LampBlock> BRASS_LAMP = REGISTRATE.block("brass_lamp", LampBlock::new) .initialProp...
public static final BlockEntry<SignBlock> MOYAI_SIGN = REGISTRATE.block("moyai_sign", SignBlock::new)
2
2023-10-14 21:51:49+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Rapier.java
[ { "identifier": "Assets", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Assets.java", "snippet": "public class Assets {\n\n\tpublic static class Effects {\n\t\tpublic static final String EFFECTS = \"effects/effects.png\";\n\t\tpublic static final String FIREBALL = \"effec...
import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.ui.AttackIndicator; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.watabou.noosa.audio.Sample; import com.wa...
88,716
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
image = ItemSpriteSheet.RAPIER;
10
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/BarChart3DTest.java
[ { "identifier": "ValueAxis", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/axis/ValueAxis.java", "snippet": "public abstract class ValueAxis extends Axis\r\n implements Cloneable, PublicCloneable, Serializable {\r\n\r\n /** For serialization. */\r\n private static final long serialV...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import org.jfree.chart.axis.ValueAxis; import org.jfr...
97,894
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
CategoryDataset newData = DatasetUtilities.createCategoryDataset("S",
12
2023-12-24 12:36:47+00:00
128k
DrMango14/Create-Design-n-Decor
src/main/java/com/mangomilk/design_decor/registry/MmbBlocks.java
[ { "identifier": "DecorBuilderTransformer", "path": "src/main/java/com/mangomilk/design_decor/base/DecorBuilderTransformer.java", "snippet": "public class DecorBuilderTransformer {\n\n public static <B extends Block> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> connected(\n Suppl...
import com.mangomilk.design_decor.base.DecorBuilderTransformer; import com.mangomilk.design_decor.base.MmbSpriteShifts; import com.mangomilk.design_decor.blocks.*; import com.mangomilk.design_decor.blocks.SignBlock; import com.mangomilk.design_decor.blocks.chain.LargeChain; import com.mangomilk.design_decor.blocks.chai...
74,200
REGISTRATE.block("industrial_gear_large", IndustrialGearBlock::large) .initialProperties(SharedProperties::softMetal) .properties(p -> p.color(MaterialColor.COLOR_GRAY)) .properties(p -> p.sound(SoundType.NETHERITE_BLOCK)) .prop...
package com.mangomilk.design_decor.registry; @SuppressWarnings({"unused", "removal"}) @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class MmbBlocks { //LAMPS public static final BlockEntry<LampBlock> BRASS_LAMP = REGISTRATE.block("brass_lamp", LampBlock::new) .initialProp...
public static final BlockEntry<GoldBoilerStructure> GOLD_BOILER_STRUCTURAL = REGISTRATE.block("gold_boiler_structure", GoldBoilerStructure::new)
42
2023-10-14 21:51:49+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/MagicalFireRoom.java
[ { "identifier": "Dungeon", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java", "snippet": "public class Dungeon {\n\n\t//enum of items which have limited spawns, records how many have spawned\n\t//could all be their own separate numbers, but this allows iterating, much ni...
import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Blizzard; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Blob; im...
84,478
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
Blob.seed(level.pointToCell(firePos), 1, EternalFire.class, level);
4
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/renderer/xy/XYStepAreaRendererTest.java
[ { "identifier": "JFreeChart", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/JFreeChart.java", "snippet": "public class JFreeChart implements Drawable, TitleChangeListener,\r\n PlotChangeListener, Serializable, Cloneable {\r\n\r\n /** For serialization. */\r\n private static final lo...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.junit.Assert.fail; import org.jfree.chart.JFreeChart; import org.jfree.chart.TestUtilities; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.plot.XYPlot; im...
80,695
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
new NumberAxis("X"), new NumberAxis("Y"),
2
2023-12-24 12:36:47+00:00
128k
DrMango14/Create-Design-n-Decor
src/main/java/com/mangomilk/design_decor/registry/MmbBlocks.java
[ { "identifier": "DecorBuilderTransformer", "path": "src/main/java/com/mangomilk/design_decor/base/DecorBuilderTransformer.java", "snippet": "public class DecorBuilderTransformer {\n\n public static <B extends Block> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> connected(\n Suppl...
import com.mangomilk.design_decor.base.DecorBuilderTransformer; import com.mangomilk.design_decor.base.MmbSpriteShifts; import com.mangomilk.design_decor.blocks.*; import com.mangomilk.design_decor.blocks.SignBlock; import com.mangomilk.design_decor.blocks.chain.LargeChain; import com.mangomilk.design_decor.blocks.chai...
71,327
package com.mangomilk.design_decor.registry; @SuppressWarnings({"unused", "removal"}) @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class MmbBlocks { //LAMPS
package com.mangomilk.design_decor.registry; @SuppressWarnings({"unused", "removal"}) @ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class MmbBlocks { //LAMPS
public static final BlockEntry<LampBlock> BRASS_LAMP = REGISTRATE.block("brass_lamp", LampBlock::new)
51
2023-10-14 21:51:49+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/CursingTrap.java
[ { "identifier": "Assets", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Assets.java", "snippet": "public class Assets {\n\n\tpublic static class Effects {\n\t\tpublic static final String EFFECTS = \"effects/effects.png\";\n\t\tpublic static final String FIREBALL = \"effec...
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MagesStaff; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.MissileWeapon; import com.shattered...
76,820
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
KindOfWeapon weapon = hero.belongings.weapon();
8
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/source/org/jfree/chart/annotations/XYTextAnnotation.java
[ { "identifier": "HashUtilities", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/HashUtilities.java", "snippet": "public class HashUtilities {\r\n \r\n /**\r\n * Returns a hash code for a <code>Paint</code> instance. If \r\n * <code>p</code> is <code>null</code>, this method returns...
import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Paint; import java.awt.Shape; import java.awt.Stroke; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import...
77,360
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
ParamChecks.nullNotPermitted(text, "text");
7
2023-12-24 12:36:47+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfRage.java
[ { "identifier": "Assets", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Assets.java", "snippet": "public class Assets {\n\n\tpublic static class Effects {\n\t\tpublic static final String EFFECTS = \"effects/effects.png\";\n\t\tpublic static final String FIREBALL = \"effec...
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.watabou.noosa.audio.Sample; import com.shatteredpixel.shatteredpixeldungeon.Assets; import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon...
66,066
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
Buff.prolong(mob, Amok.class, 5f);
4
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/swt/org/jfree/experimental/chart/swt/ChartComposite.java
[ { "identifier": "ChartMouseEvent", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/ChartMouseEvent.java", "snippet": "public class ChartMouseEvent extends EventObject implements Serializable {\r\n\r\n /** For serialization. */\r\n private static final long serialVersionUID = -682393837314562...
import org.jfree.chart.entity.ChartEntity; import org.jfree.chart.entity.EntityCollection; import org.jfree.chart.event.ChartChangeEvent; import org.jfree.chart.event.ChartChangeListener; import org.jfree.chart.event.ChartProgressEvent; import org.jfree.chart.event.ChartProgressListener; import org.jfree.chart.plot.Plo...
60,104
* @param x the x value (in screen coordinates). * @param y the y value (in screen coordinates). */ public void zoomOutBoth(double x, double y) { zoomOutDomain(x, y); zoomOutRange(x, y); } /** * Increases the length of the domain axis, centered about the given * co...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
public void addChartMouseListener(ChartMouseListener listener) {
1
2023-12-24 12:36:47+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/CrystalSpire.java
[ { "identifier": "Assets", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Assets.java", "snippet": "public class Assets {\n\n\tpublic static class Effects {\n\t\tpublic static final String EFFECTS = \"effects/effects.png\";\n\t\tpublic static final String FIREBALL = \"effec...
import com.shatteredpixel.shatteredpixeldungeon.Assets; import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Amok; import com.shatte...
88,247
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
GameScene.updateMap(i);
24
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/swt/org/jfree/experimental/chart/swt/demo/SWTPieChartDemo1.java
[ { "identifier": "ChartFactory", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/ChartFactory.java", "snippet": "public abstract class ChartFactory {\r\n\r\n /** The chart theme. */\r\n private static ChartTheme currentTheme = new StandardChartTheme(\"JFree\");\r\n\r\n /**\r\n * Return...
import java.awt.Font; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.PiePlot; import org.jfree.data.general.DefaultPieD...
85,017
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
JFreeChart chart = ChartFactory.createPieChart(
0
2023-12-24 12:36:47+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Rankings.java
[ { "identifier": "Actor", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/Actor.java", "snippet": "public abstract class Actor implements Bundlable {\n\t\n\tpublic static final float TICK\t= 1f;\n\n\tprivate float time;\n\n\tprivate int id = 0;\n\n\t//default priority values f...
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Belongings; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actor...
91,670
Statistics.totalQuestScore = 0; for (int i : Statistics.questScores){ if (i > 0) Statistics.totalQuestScore += i; } Statistics.winMultiplier = 1f; if (Statistics.gameWon) Statistics.winMultiplier += 1f; if (Statistics.ascended) Statistics.winMultiplier += 0.5f; //pre v1.3.0 run...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
Notes.reset();
12
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/renderer/xy/YIntervalRendererTest.java
[ { "identifier": "JFreeChart", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/JFreeChart.java", "snippet": "public class JFreeChart implements Drawable, TitleChangeListener,\r\n PlotChangeListener, Serializable, Cloneable {\r\n\r\n /** For serialization. */\r\n private static final lo...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import org.jfree.chart.JFreeChart; import org.jfree.chart.LegendItem; import org.jfree.chart.TestUtilities; import org.jfree.chart.annotations.XYTextAnnotation; import org.jfree.chart.axis...
92,025
"{0} {1}")); assertTrue(r1.equals(r2)); r1.setLegendItemToolTipGenerator(new StandardXYSeriesLabelGenerator()); assertFalse(r1.equals(r2)); r2.setLegendItemToolTipGenerator(new StandardXYSeriesLabelGenerator()); assertTrue(r1.equals(r2)); r1.setLegendIte...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
LegendItem li = r.getLegendItem(1, 2);
1
2023-12-24 12:36:47+00:00
128k
Hoto-Mocha/Re-ARranged-Pixel-Dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/MirrorImage.java
[ { "identifier": "Dungeon", "path": "core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java", "snippet": "public class Dungeon {\n\n\t//enum of items which have limited spawns, records how many have spawned\n\t//could all be their own separate numbers, but this allows iterating, much ni...
import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.CorrosiveGas; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Toxi...
83,319
armTier = hero.tier(); ((MirrorSprite)sprite).updateArmor( armTier ); } return super.act(); } private static final String HEROID = "hero_id"; @Override public void storeInBundle( Bundle bundle ) { super.storeInBundle( bundle ); bundle.put( HEROID, heroID ); } @Override public void restoreF...
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2023 Evan Debenham * * 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 vers...
immunities.add( ToxicGas.class );
4
2023-11-27 05:56:58+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/renderer/xy/XYAreaRenderer2Test.java
[ { "identifier": "JFreeChart", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/JFreeChart.java", "snippet": "public class JFreeChart implements Drawable, TitleChangeListener,\r\n PlotChangeListener, Serializable, Cloneable {\r\n\r\n /** For serialization. */\r\n private static final lo...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.junit.Assert.fail; import java.awt.Rectangle; import org.jfree.chart.JFreeChart; import org.jfree.chart.LegendItem; import org.jfree.chart.TestUtilities; import org.jfree...
94,545
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
new NumberAxis("X"), new NumberAxis("Y"),
3
2023-12-24 12:36:47+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/swt/org/jfree/experimental/chart/swt/ChartComposite.java
[ { "identifier": "ChartMouseEvent", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/ChartMouseEvent.java", "snippet": "public class ChartMouseEvent extends EventObject implements Serializable {\r\n\r\n /** For serialization. */\r\n private static final long serialVersionUID = -682393837314562...
import org.jfree.chart.entity.ChartEntity; import org.jfree.chart.entity.EntityCollection; import org.jfree.chart.event.ChartChangeEvent; import org.jfree.chart.event.ChartChangeListener; import org.jfree.chart.event.ChartProgressEvent; import org.jfree.chart.event.ChartProgressListener; import org.jfree.chart.plot.Plo...
59,454
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
private JFreeChart chart;
4
2023-12-24 12:36:47+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/tests/org/jfree/chart/renderer/category/IntervalBarRendererTest.java
[ { "identifier": "JFreeChart", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/JFreeChart.java", "snippet": "public class JFreeChart implements Drawable, TitleChangeListener,\r\n PlotChangeListener, Serializable, Cloneable {\r\n\r\n /** For serialization. */\r\n private static final lo...
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import org.jfree.chart.JFreeChart; import org.jfree.chart.TestUtilities; import org.jfree.chart.axis.Categor...
84,557
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
new CategoryAxis("Category"), new NumberAxis("Value"),
3
2023-12-24 12:36:47+00:00
128k
Man2Dev/N-Queen
lib/jfreechart-1.0.19/source/org/jfree/chart/annotations/XYDataImageAnnotation.java
[ { "identifier": "AxisLocation", "path": "lib/jfreechart-1.0.19/source/org/jfree/chart/axis/AxisLocation.java", "snippet": "public final class AxisLocation implements Serializable {\r\n\r\n /** For serialization. */\r\n private static final long serialVersionUID = -3276922179323563410L;\r\n\r\n ...
import java.awt.Graphics2D; import java.awt.Image; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import org.jfree.chart.axis.AxisLocation; import org.jfree.chart.axis.ValueAxis; import org.jfree.chart.plot.Plot; import org.jfr...
79,271
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
AxisLocation xAxisLocation = plot.getDomainAxisLocation();
0
2023-12-24 12:36:47+00:00
128k