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
/* * ==================================================================== * * 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...
888
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...
619
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...
678
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...
523
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 ...
492
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 ...
1,020
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 ...
593
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...
940
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 ...
1,036
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...
798
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...
800
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 ...
652
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 ...
475
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...
746
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...
625
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 ...
535
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 ...
663
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...
840
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...
1,575
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...
615
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 ...
1,017
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 ...
839
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 ...
1,316
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 ...
1,346
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.core; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; /** * * @author Rafal */ public class PropertiesReader { public static final String PROPERTI...
174
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.core; import java.io.File; import java.io.IOException; import java.util.*; /** * * @author Rafal */ public class StatisticsReaderImpl implements StatisticsReader { private Properties...
551
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.core; import java.io.IOException; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * * @author Rafal */ public interface StatisticsReader { public static final St...
120
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.core; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * * @author Rafal */ public class DataStructure { private String fileName; private String fileTyp...
206
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics; import filesstatistics.charts.ChartFrame; import filesstatistics.core.DataStructure; import filesstatistics.core.PropertiesReader; import filesstatistics.core.StatisticsReader; import filesstati...
1,908
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.charts; /** * * @author n */ import java.awt.Dimension; import java.util.Map; import org.jfree.chart.ChartPanel; import org.jfree.ui.ApplicationFrame; /** * A simple demonstration applicatio...
181
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package filesstatistics.charts; import filesstatistics.core.DataStructure; import filesstatistics.core.StatisticsReader; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java...
641
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
9,002
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
1,352
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
410
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
2,538
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
698
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
1,669
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
4,592
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
1,285
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
928
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
5,594
github-java-corpus
2,012
/* * Copyright (C) 2007 The Android Open Source Project * * 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 app...
8,627
github-java-corpus
2,012
package com.mozillaonline.providers.downloads; import android.app.Notification; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; interface SystemFacade { /** * @see System#currentTimeMillis() */ public long currentTimeMillis(); /** * @return ...
364
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
2,063
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
4,221
github-java-corpus
2,012
package com.mozillaonline.providers.downloads; import android.app.Notification; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; import android.net.ConnectivityManager; import android.net.NetworkInfo; ...
708
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
5,455
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
6,921
github-java-corpus
2,012
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
2,649
github-java-corpus
2,012
package com.mozillaonline.downloadprovider; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.view.Vie...
585
github-java-corpus
2,012
/* * Copyright (C) 2006 The Android Open Source Project * * 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 app...
1,778
github-java-corpus
2,012
package test.airport.screen; import test.airport.context.Art; import test.airport.context.MyInput; import test.airport.context.R; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.math.Vector2; public class StartScreen extends GameScreen { MyInput input; Vector2 posStart...
514
github-java-corpus
2,012
package test.airport.screen; import test.airport.gamecore.GameCore; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Game; public interface Screen { /** Called when the screen should render itself. * @param delta The time in seconds since the last render. */ public void render (float delta);...
214
github-java-corpus
2,012
package test.airport.screen; import test.airport.context.AdvanceMultiplexer; import test.airport.gamecore.GameCore; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Matrix4; public abstract class GameScreen implements Screen { protected static ...
274
github-java-corpus
2,012
package test.airport.screen; import test.airport.context.Art; import test.airport.context.MyInput; import test.airport.context.R; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.GL11; import com.badlogic.gdx.math.Vector2; public class PlayScreen extends GameScreen...
613
github-java-corpus
2,012
package test.airport.desktop; import com.badlogic.gdx.backends.jogl.JoglApplication; public class DesktopStarter { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub new JoglApplication(new ATCGame(), "test", 800, 600, false); } }
75
github-java-corpus
2,012
package test.airport.desktop; import test.airport.context.Art; import test.airport.context.MyInput; import test.airport.context.R; import test.airport.gamecore.GameCore; import test.airport.screen.StartScreen; public class ATCGame extends GameCore{ MyInput input; @Override protected void onGameCreate() { input ...
192
github-java-corpus
2,012
package test.airport.gamecore; import test.airport.context.AdvanceMultiplexer; import test.airport.screen.Screen; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; public abstract class GameCore implements ApplicationListener{ protected Screen screen; ...
626
github-java-corpus
2,012
package test.airport.context; public final class R { public static final class input{ public static final int MyInput = 0; } }
31
github-java-corpus
2,012
package test.airport.context; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.InputProcessor; public class AdvanceMultiplexer extends InputMultiplexer{ public InputProcessor getInputProcessor(int i){ return this.getProcessors().get(i); } }
52
github-java-corpus
2,012
package test.airport.context; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.g2d.TextureRegion; public class Art { public static TextureAtlas uiAtlas; public static TextureAtlas gameAtlas; public static TextureRegion startRegion; public static Te...
183
github-java-corpus
2,012
package test.airport.context; import com.badlogic.gdx.InputProcessor; public class MyInput implements InputProcessor{ static int X; static int Y; static int xUp; static int yUp; static int xDown; static int yDown; public boolean justUp; public boolean isDragging; public boolean justDown; public M...
594
github-java-corpus
2,012
package test.easyWay; import java.util.List; import test.eUtils.MyInput; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Vector2; public class AirPlane { Vector2 pos; Vector2 size; PathTracker trace; MyInput input; public AirPlane(Texture texture,MyInput input){ size = new Vector2(...
316
github-java-corpus
2,012
package test.easyWay; import java.util.ArrayList; import java.util.List; import test.eUtils.MyInput; import test.eUtils.eMath; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Vector2; public class PathTracker { List<Vector2> trace = new ArrayList<Vector2>(); Vector2 prePosition; static final int MAX_...
520
github-java-corpus
2,012
package test.eUtils; import com.badlogic.gdx.math.Vector2; public final class eMath { eMath() { // TODO Auto-generated constructor stub } public static float calModule(Vector2 src,Vector2 dst){ return (float) Math.sqrt(Math.pow((src.x-dst.x), 2) + Math.pow((src.y-dst.y), 2)); } public static Vector2 calM...
249
github-java-corpus
2,012
package test.eUtils; import test.easy.PixmapTest; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.graphics.Pixmap; public class MyInput implements InputProcessor{ static int X; static int Y; static int xUp; static int yUp; static int xDown; static int yDown; ...
645
github-java-corpus
2,012
package test.easy; import org.lwjgl.opengl.GL11; import test.eUtils.MyInput; import test.easyWay.AirPlane; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.PerspectiveCamera; impo...
1,099
github-java-corpus
2,012
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
922
github-java-corpus
2,012
package test.easy; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; public class InputTest implements ApplicationListener{ @Override public void create() { // TODO Auto-generated method stub } @Override public void resize(int width, int heigh...
205
github-java-corpus
2,012
package test.easy; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; impor...
969
github-java-corpus
2,012
package test.easy; import com.badlogic.gdx.backends.jogl.JoglApplication; public class DesktopStarter { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub new JoglApplication(new TextureAtlasTest(), "Test Pixmao",800, 600, false).getJFrame().setResiz...
83
github-java-corpus
2,012
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
1,888
github-java-corpus
2,012
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
727
github-java-corpus
2,012
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
799
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import java.io.File; import net.nabaal.majiir.realtimerender.image.ChangeFilter; import net.nabaal.majiir.realtimerender.image.ChunkRenderer; import net.nabaal.majiir.realtimerender.image.CompositeImageBuilder; import net.nabaal.majiir.realtimerender.image.FileImagePro...
1,773
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; public class CommandManager implements CommandExecutor { private final RealtimeRender plugin; public CommandMan...
270
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import java.util.concurrent.locks.Lock; public class EnqueueAndRenderTask implements Runnable { private final RealtimeRender plugin; private final boolean wait; private final boolean renderLoaded; private final Lock lock; public EnqueueAndRenderTask(Realtim...
326
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class MarkerGroup { private final String label; private final List<Marker> markers = new ArrayList<Marker>(); public MarkerGroup(String label, List<Marker> markers) { ...
118
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.image.BufferedImage; import java.util.Set; import net.nabaal.majiir.realtimerender.Coordinate; public class ChangeFilter extends ImageProvider { private final ImageProvider source; public ChangeFilter(ImageProvider source) { this.so...
320
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import org.bukkit.ChunkSnapshot; public interface ChunkRenderer { public void render(ChunkSnapshot snapshot); }
36
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.Set; import net.nabaal.majiir.realtimerender.Coordinate; public abstract class ImageProvider { public Color getPixelColor(Coordinate pixel, int offs...
340
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.List; import java.util.Set; import net.nabaal.majiir.realtimerender.Coordinate; public class ImageWriteMonitor extends ImageProvider { private final ImageProvider source; ...
243
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; public interface WriteCache { public void commit(); }
25
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.HashSet; import java.util.Set; import javax.imageio.ImageIO; import net.nabaal.majiir.realtimerender.Coordinate; import net.nabaal.majiir.realtimerender.Re...
417
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; public interface ReadCache { public void clear(); }
25
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.io.File; import java.io.FileFilter; import java.util.ArrayList; import java.util.List; import net.nabaal.majiir.realtimerender.Coordinate; public abstract class FilePattern implements FileFilter { private final File parent; public FilePa...
215
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.util.HashSet; import java.util.Set; import net.nabaal.majiir.realtimerender.Coordinate; public class CompositeImageBuilder extends ImageProvider { private final ImageProvider so...
699
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.util.Set; import net.nabaal.majiir.realtimerender.Coordinate; public class ZoomImageBuilder extends ImageProvider { private final ImageProvider s...
416
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.image.BufferedImage; import java.util.HashSet; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import net.nabaal.majiir.realtimerender.Coordinate; /...
336
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.image; import java.awt.image.BufferedImage; import java.util.HashSet; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import net.nabaal.majiir.realtimerender.Coordinate; // TODO: Size-check all operat...
309
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.world.ChunkUnloadEvent; import org.bukkit.event.world.WorldUnloadEvent; public class RealtimeRenderWorldListener implements Listener ...
186
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import java.io.Serializable; import org.bukkit.ChunkSnapshot; public final class Coordinate implements Serializable { private static final long serialVersionUID = 1L; public static final int LEVEL_BLOCK = -8; public static final int LEVEL_CHUNK = -4; publi...
653
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import net.nabaal.majiir.realtimerender.rendering.ChunkManager; public class ChunkSaveTask implements Runnable { private boolean stop = false; private final ChunkManager manager; public ChunkSaveTask(ChunkManager manager) { this.manager = manager; } @...
110
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import org.bukkit.ChunkSnapshot; import net.nabaal.majiir.realtimerender.image.ChunkRenderer; public class RenderChunkTask implements Runnable { private final ChunkRenderer renderer; private final ChunkSnapshot snapshot; public RenderChunkTask(ChunkRenderer ...
102
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.bukkit.Location; import org.bukkit.World; public class MapOptions { private final int minZoom; private final int maxZoom; private final List<MarkerGroup> markerGroup...
221
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.world.ChunkUnloadEvent; public class DiscoverTerrainTask implements Runnable { private final RealtimeRender plugin; private final double threshold; ...
676
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.commit; import java.io.File; public interface CommitProvider { public void commitFiles(Iterable<File> files); // TODO: public void purge(); }
43
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.commit; import java.io.File; import java.util.ArrayList; import java.util.List; public class PluginCommitProvider implements CommitProvider { private final List<CommitProvider> providers = new ArrayList<CommitProvider>(); public void registerProvider(CommitProvi...
110
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.palette; import java.awt.Color; import java.awt.image.BufferedImage; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Random; import org.bukkit.block.Biome; public class RandomTextureMaterialColor implements Materia...
352
github-java-corpus
2,012
package net.nabaal.majiir.realtimerender.palette; import java.awt.Color; import java.awt.image.BufferedImage; import org.bukkit.block.Biome; public class ClimateMaterialColor implements MaterialColor { private final BufferedImage gradient; private final boolean flip; public ClimateMaterialColor(Bu...
230