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 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 345 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 3,765 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 8,365 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 304 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 1,003 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 520 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 645 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 517 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 7,932 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 1,109 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 326 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 598 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 437 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 327 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 358 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 460 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 939 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 480 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 463 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 1,114 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 372 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 528 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 547 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | 562 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 269 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 269 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 8,783 |
github-java-corpus | 2,012 | package org.graphwalker;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashSet;
/**
* A class that handles multiple instances of ModelBasedTesting models and can execute them in
* parallel. This is only usable for running online since multiple models will be executed at the
*... | 1,686 |
github-java-corpus | 2,012 | // This file is part of the GraphWalker java package
// The MIT License
//
// Copyright (c) 2010 graphwalker.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 10,467 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 3,802 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 665 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 2,259 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 2,097 |
github-java-corpus | 2,012 | package org.graphwalker.multipleModels;
import junit.framework.Assert;
import org.graphwalker.conditions.AlternativeCondition;
import org.graphwalker.conditions.CombinationalCondition;
import org.graphwalker.conditions.EdgeCoverage;
import org.graphwalker.conditions.ReachedVertex;
import org.graphwalker.conditions.Re... | 317 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 622 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 681 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 561 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 926 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 1,312 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 1,245 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 789 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 790 |
github-java-corpus | 2,012 | package org.graphwalker.analyze;
import static org.junit.Assert.*;
import org.graphwalker.ModelBasedTesting;
import org.junit.Test;
public class AnalyzeTest {
@Test
public void test() {
ModelBasedTesting mbt = new ModelBasedTesting();
mbt.readGraph("graphml/analyze/infinite-loop.graphml");
String st... | 167 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 730 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 707 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 3,435 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 971 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.graphwalker.generators.PathGenerator;
import org.graphwalker.multipleModels.ModelAPI;
/**
* Hello world!
*
*/
public class Model_A_API extends ModelAPI {
public Model_A_API(String model, boolean efsm, PathGenerator generator) {
super(model, efsm, generator, false);... | 165 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.graphwalker.generators.PathGenerator;
import org.graphwalker.multipleModels.ModelAPI;
/**
* Hello world!
*
*/
public class Model_B1_API extends ModelAPI {
public Model_B1_API(String model, boolean efsm, PathGenerator generator) {
super(model, efsm, generator, false... | 140 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.graphwalker.generators.PathGenerator;
import org.graphwalker.multipleModels.ModelAPI;
/**
* Hello world!
*
*/
public class Model_B_API extends ModelAPI {
public Model_B_API(String model, boolean efsm, PathGenerator generator) {
super(model, efsm, generator, false);... | 120 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.apache.log4j.Logger;
import org.graphwalker.Util;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.*;
import org.graphwalker.conditions.EdgeCoverage;
import org.graphwalker.conditions.NeverCondition;
import org.graphwalker.conditions.ReachedVe... | 1,417 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.graphwalker.generators.PathGenerator;
import org.graphwalker.multipleModels.ModelAPI;
/**
* Hello world!
*
*/
public class Model_A1_API extends ModelAPI {
public Model_A1_API(String model, boolean efsm, PathGenerator generator) {
super(model, efsm, generator, false... | 132 |
github-java-corpus | 2,012 | package org.graphwalker.multiple;
import org.graphwalker.generators.PathGenerator;
import org.graphwalker.multipleModels.ModelAPI;
/**
* Hello world!
*
*/
public class Model_C_API extends ModelAPI {
public Model_C_API(String model, boolean efsm, PathGenerator generator) {
super(model, efsm, generator, false);... | 122 |
github-java-corpus | 2,012 | package org.graphwalker;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import java.io.IOExc... | 2,856 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 1,077 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 885 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 853 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 876 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 471 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 834 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 832 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 434 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 846 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 817 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 991 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 816 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 4,329 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, in... | 867 |
github-java-corpus | 2,012 | //This file is part of the GraphWalker java package
//The MIT License
//
//Copyright (c) 2010 graphwalker.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including... | 872 |
github-java-corpus | 2,012 | package org.graphwalker;
import org.junit.Test;
public class SoapServiceTest {
@Test(expected = RuntimeException.class)
public void testGetDataValue() {
SoapServices ss = new SoapServices(new ModelBasedTesting());
ss.GetDataValue(null);
}
}
| 53 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import static fr.xgouchet.androidlib.data.FileUtils.deleteItem;
import static fr.xgouchet.androidlib.data.FileUtils.getCanonizePath;
import static fr.xgouchet.androidlib.data.FileUtils.renameItem;
import static fr.xgouchet.androidlib.ui.Toaster.showToast;
import static fr.xgouchet.andro... | 5,235 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import java.io.File;
import android.appwidget.AppWidgetManager;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;
import fr.xgouchet.androidlib.data.FileUtils;
import f... | 697 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import static fr.xgouchet.androidlib.ui.Toaster.showToast;
import java.io.File;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Butt... | 696 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import java.io.File;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import fr.xgouchet.androidlib.R;
import fr.xgouchet.androidlib.ui.Toaster;
import fr.xgouchet.androidlib.ui.activity.BrowsingActiv... | 591 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import java.io.File;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.Menu;
import android.view.MenuItem;
i... | 958 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.ui.adapter;
import java.util.ArrayList;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import fr.xgouchet.texteditor.R;
/**
* ... | 386 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.ui.view;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android... | 2,306 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import java.io.File;
import java.util.ArrayList;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.util.Log;
/**
* Storage for a recent files list
*
* TODO code review
*/
public class RecentFiles impleme... | 510 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import java.io.File;
import java.util.Comparator;
/**
* Compare files Alphabetically (w/ folders listed first)
*
* @author x.gouchet
*
*/
public class ComparatorFilesAlpha implements Comparator<File> {
/**
* @see Comparator#compare(Object, Object)
*/
... | 161 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import java.io.File;
import android.os.Environment;
/**
* @author x.gouchet
*
*/
public interface Constants {
/** Tag for the log ( = {@value} ) */
public static final String TAG = "TED";
/** Browser to Open */
public static final String ACTION_OPEN = ... | 1,677 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
public class WidgetPrefs {
public final static String WIDGET_PREFERENCES = "fr.xgouchet.texteditor.widget";
public final static String WIDGET_... | 653 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import android.util.Log... | 640 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.common;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
public class Settings implements Constants {
/** Number of recent files to remember */
public static int MAX_RECENT_FILES = 10;
/** Show the lines numbers */
public static... | 1,025 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.undo;
import android.text.Editable;
import android.util.Log;
public class TextChangeInsert implements TextChange {
protected StringBuffer mSequence;
protected int mStart;
/**
* @param seq
* the initial sequence
* @param start
* the start ... | 766 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.undo;
import android.text.Editable;
import android.util.Log;
public class TextChangeDelete implements TextChange {
protected StringBuffer mSequence;
protected int mStart;
/**
* @param seq
* the sequence being deleted
* @param start
* the ... | 528 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.undo;
import java.util.Stack;
import android.text.Editable;
import android.util.Log;
import fr.xgouchet.texteditor.common.Constants;
import fr.xgouchet.texteditor.common.Settings;
public class TextChangeWatcher implements Constants {
/**
*
*/
public TextChangeWatc... | 1,226 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor.undo;
import android.text.Editable;
import fr.xgouchet.texteditor.common.Constants;
public interface TextChange extends Constants {
/**
* Undo this change
*
* @param text
* the editable object on which the undo is done
* @return the caret position aft... | 518 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.os.Bundle;
import android.preferen... | 965 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import java.io.File;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import a... | 566 |
github-java-corpus | 2,012 | package fr.xgouchet.texteditor;
import static fr.xgouchet.androidlib.common.MiscUtils.openMarket;
import static fr.xgouchet.androidlib.common.MiscUtils.sendEmail;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
public class TedAboutAc... | 209 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.data;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import android.os.Environment;
import android.util.Log;
import android.webkit.Mi... | 1,585 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.data;
import java.util.Hashtable;
/**
* Enhanced myme types detection
*/
public class MimeTypeMapEnhanced {
/**
* Constructor (private)
*/
private MimeTypeMapEnhanced() {
}
/**
* @return the binding between file extension and Mime type
*/
private stati... | 9,077 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.comparator;
import java.io.File;
import java.util.Comparator;
/**
* Compare files by size (w/ folders listed first)
*
* @author x.gouchet
*
*/
public class ComparatorFilesSize implements Comparator<File> {
/**
* @see Comparator#compare(Object, Object)
*/
publ... | 247 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.comparator;
import java.io.File;
import java.util.Comparator;
/**
* Compare files Alphabetically (w/ folders listed first)
*
* @author x.gouchet
*
*/
public class ComparatorFilesAlpha implements Comparator<File> {
/**
* @see Comparator#compare(Object, Object)
... | 162 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.comparator;
import java.io.File;
import java.util.Comparator;
/**
* Compare files by type (w/ folders listed first)
*
* @author x.gouchet
*
*/
public class ComparatorFilesType implements Comparator<File> {
/**
* @see Comparator#compare(Object, Object)
*/
publ... | 277 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.comparator;
import java.io.File;
import java.util.Comparator;
/**
* Compare files by date (w/ folders listed first)
*
* @author x.gouchet
*
*/
public class ComparatorFilesDate implements Comparator<File> {
/**
* @see Comparator#compare(Object, Object)
*/
publ... | 272 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.ui.adapter;
import static fr.xgouchet.androidlib.data.FileUtils.DOWNLOAD_FOLDER;
import static fr.xgouchet.androidlib.data.FileUtils.STORAGE_PATH;
import static fr.xgouchet.androidlib.data.FileUtils.TRASH_FOLDER;
import static fr.xgouchet.androidlib.data.FileUtils.getMimeType;
im... | 1,524 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.ui.activity;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import androi... | 1,268 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.ui.activity;
import android.annotation.TargetApi;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.view.Menu;
import android.view.MenuItem;
public class ActivityDecorator {
/**
* Adds a Menu item either in the Option Menu (pre Honeyco... | 337 |
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.ui;
import android.content.Context;
import android.graphics.Color;
import android.widget.TextView;
import android.widget.Toast;
public class Toaster {
/**
* Show a toast message to the user
*
* @param ctx
* The context to use
* @param resId
* ... | 360 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.