Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | package fr.xgouchet.androidlib.common;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import fr.xgouchet.androidlib.R;
import fr.xgouchet.androidlib.ui.Toaster;
public class MiscUtils {
/**... | 337 |
github-java-corpus | 2,012 | package tdd;
import static org.junit.Assert.*;
import org.junit.Test;
public class SampleTest {
@Test
public void test() {
fail("まだ実装されていません");
}
}
| 46 |
github-java-corpus | 2,012 | package tdd;
public class Sample {
}
| 9 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth.ui;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.component.EditField;
/**
* Simple customized edit field
* @author Jeff Hu (jeff4sq@gmail.com)
*/
public class OauthEditField extends EditField {
priva... | 319 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth.ui;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.com... | 1,293 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth.ui;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.Lab... | 977 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth.ui;
import javax.microedition.io.InputConnection;
import net.rim.device.api.browser.field2.BrowserField;
import net.rim.device.api.browser.field2.BrowserFieldConfig;
import net.rim.device.api.browser.field2.BrowserFieldListener;
import net.rim.device.api.browser.field2.BrowserFi... | 1,698 |
github-java-corpus | 2,012 | /**
*
*/
package com.foursquare.bb.oauth.ui;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.system.Characters;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Graphics;
/**
* A simple 'connect to foursquare' button
*
* @auth... | 720 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth;
import net.rim.device.api.ui.UiApplication;
import com.foursquare.bb.oauth.ui.OauthDisplayScreen;
/**
* https://developer.foursquare.com/docs/oauth.html
* https://foursquare.com/oauth/
*
* @author Jeff Hu (jeff4sq@gmail.com)
*/
public class FoursquareOauthApp extend... | 292 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth;
/**
* OAuth token change listener invoked when the token is obtained.
*
* @author Jeff Hu (jeff4sq@gmail.com)
*/
public interface OauthTokenChangeListener {
public void tokenChanged(String token);
}
| 55 |
github-java-corpus | 2,012 | package com.foursquare.bb.oauth;
import java.io.UnsupportedEncodingException;
import net.rim.device.api.system.DeviceInfo;
import net.rim.device.api.system.EventLogger;
import net.rim.device.api.util.StringUtilities;
/**
* Event logger for the sample app
*
* @author Jeff Hu (jeff4sq@gmail.com)
*/
pub... | 265 |
github-java-corpus | 2,012 | package kinect.ispy;
import april.util.TimeUtil;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import lcm.lcm.*;
import kinect.lcmtypes.*;
import kinect.kinect.*;
import kinect.classify.*;
import kinect.classify.FeatureExtractor.FeatureType;
import java.io.*;
import javax.swing.*;
import ... | 6,507 |
github-java-corpus | 2,012 | package kinect.ispy;
import java.awt.Color;
import java.awt.Rectangle;
import kinect.classify.*;
import java.util.ArrayList;
import java.util.Queue;
import java.util.LinkedList;
import java.util.Collections;
import kinect.kinect.ObjectInfo;
public class SpyObject {
public double[] pos;
public Rectangle bbox;... | 1,763 |
github-java-corpus | 2,012 | package kinect.ispy;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import lcm.lcm.*;
import kinect.lcmtypes.*;
import kinect.kinect.*;
import kinect.classify.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.event.ActionEvent;
import java.awt.... | 1,762 |
github-java-corpus | 2,012 | package kinect.ispy;
import java.awt.BorderLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashMap;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLa... | 359 |
github-java-corpus | 2,012 | package kinect.bolt;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import lcm.lcm.*;
import kinect.lcmtypes.*;
import kinect.kinect.*;
import kinect.ispy.*;
import kinect.classify.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.event.ActionE... | 1,796 |
github-java-corpus | 2,012 | package kinect.bolt;
import april.config.*;
import april.util.*;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import lcm.lcm.*;
import kinect.lcmtypes.*;
import kinect.kinect.*;
import kinect.ispy.*;
import kinect.classify.*;
import kinect.classify.FeatureExtractor.FeatureType;
import java... | 3,571 |
github-java-corpus | 2,012 | package kinect.classify;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import april.jmat.LinAlg;
import kinect.kinect.ObjectInfo;
import kinect.kinect.*;
public class FeatureExtractor
{
public enum FeatureType
{
COLOR, SHAPE, SIZE
}
public static String getFeature... | 2,381 |
github-java-corpus | 2,012 | package kinect.classify;
import java.io.Console;
import java.lang.*;
import java.io.*;
import java.util.*;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
/*
* @author James Kirk
*/
class Point {
int dim;
List<Double> points;
public Point(double[] points, int dim) {
this.dim = dim;
t... | 3,232 |
github-java-corpus | 2,012 | package kinect.classify;
public class ConfidenceLabel implements Comparable<ConfidenceLabel>
{
double confidence;
String label;
public ConfidenceLabel(double confidence, String label)
{
this.confidence = confidence;
this.label = label;
}
public double getConfidence()
{
return c... | 159 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import april.util.*;
import lcm.logging.*;
import kinect.kinect.KinectCalibrator.ClickEventHandler;
import kinect.lcmtypes.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
im... | 2,309 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.util.HashMap;
import java.util.Map;
import kinect.classify.FeatureExtractor.FeatureType;
/**
* @author Aaron Mininger
* This class is the central location to specify the labels used by soar for visual labels
*/
public class SoarSymbols {
static Map<String, String> shapeSymbols;... | 586 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.awt.Color;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import javax.imageio.ImageIO;
import april.jmat.LinAlg;
public class PCA {
public static boolean isValidPixel(Color c){
retur... | 1,836 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import kinect.lcmtypes.*;
import april.jmat.*;
import april.config.*;
public class KUtils
{
final static int WIDTH = 640;
final static int HEIGHT = 480;
public static double Frgbx = 5.254914693... | 2,058 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.*;
import java.util.*;
import kinect.classify.FeatureExtractor;
import kinect.classify.FeatureExtractor.FeatureType;
import april.util.*;
/** Take in a pts file and output a feature vector file */
public class PtsFileC... | 784 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.vis.*;
import april.jmat.*;
import april.util.UnionFindSimple;
import kinect.lcmtypes.*;
import lcm.lcm.*;
import java.io.*;
import java.nio.*;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.image.*;
public class ObjectInfo{
public double numPo... | 1,557 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.util.*;
import lcm.lcm.*;
import java.util.*;
public class DataAggregator{
public int WIDTH = 640;
public int HEIGHT = 480;
final static int MAX_HISTORY = 100;
public float[] depthLookUp = new float[2048]; //holds depth conversions so we only have to calculate them... | 889 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.util.*;
/** Container class for training data read in from .pts files */
public class LabeledPointCloud
{
public ArrayList<String> labels;
public ArrayList<double[]> coloredPoints;
public LabeledPointCloud(ArrayList<String> labels_, ArrayList<double[]> coloredPoints_)
... | 128 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.vis.*;
import april.jmat.*;
import april.util.*;
import lcm.logging.*;
import lcm.lcm.*;
import kinect.classify.FeatureExtractor;
import kinect.lcmtypes.*;
import java.io.*;
import java.nio.*;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.image.*;
... | 3,212 |
github-java-corpus | 2,012 | package kinect.kinect;
import java.io.*;
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import april.util.*;
import april.vis.*;
/** Read in a .pts file generated by the ObjectLabeler.
* Will eventually support reading in multiple files.
* Stores objects and label list alon... | 1,022 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.jmat.*;
import april.util.UnionFindSimple;
import java.awt.*;
import java.util.*;
public class Segment
{
final static int COLOR_THRESH = 13;
final static double UNION_THRESH = 0.5;
final static double RANSAC_THRESH = .015;
final static double RANSAC_PERCENT = .2;
... | 3,471 |
github-java-corpus | 2,012 | package kinect.kinect;
import april.vis.*;
import april.jmat.*;
import april.util.*;
import lcm.lcm.*;
import kinect.lcmtypes.*;
import kinect.classify.*;
import kinect.classify.FeatureExtractor.FeatureType;
import java.io.*;
import java.nio.*;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import jav... | 3,843 |
github-java-corpus | 2,012 |
package kinect.kinect;
import april.vis.*;
import april.jmat.*;
import april.jmat.geom.GRay3D;
import april.util.*;
import lcm.lcm.LCM;
import lcm.lcm.LCMDataInputStream;
import lcm.lcm.LCMSubscriber;
import lcm.logging.*;
import kinect.lcmtypes.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import... | 3,009 |
github-java-corpus | 2,012 | import org.junit.*;
import java.util.*;
import play.test.*;
import models.*;
public class BasicTest extends UnitTest {
@Test
public void aVeryImportantThingToTest() {
assertEquals(2, 1 + 1);
}
}
| 52 |
github-java-corpus | 2,012 | import org.junit.*;
import play.test.*;
import play.mvc.*;
import play.mvc.Http.*;
import models.*;
public class ApplicationTest extends FunctionalTest {
@Test
public void testThatIndexPageWorks() {
Response response = GET("/");
assertIsOk(response);
assertContentType("text... | 78 |
github-java-corpus | 2,012 | package controllers;
import play.*;
import play.mvc.*;
import java.util.*;
import models.*;
import play.modules.rabbitmq.producer.*;
import sample.*;
public class Application extends Controller {
public static void index() {
render();
}
public static void publish(String q) {
RabbitMQPubl... | 79 |
github-java-corpus | 2,012 | package sample;
import java.io.Serializable;
//TODO: Auto-generated Javadoc
/**
* The Class SampleMessage.
*/
public class SampleMessage implements Serializable {
/** The field1. */
private String field1;
/** The field2. */
private String field2;
/**
* Instantiates a new sample message.
*/
public Sampl... | 359 |
github-java-corpus | 2,012 | package sample;
import java.util.ArrayList;
import java.util.List;
import play.jobs.OnApplicationStart;
import play.modules.rabbitmq.producer.RabbitMQFirehose;
// TODO: Auto-generated Javadoc
/**
* The Class RabbitMQSampleFirehose.
*/
@OnApplicationStart(async = true)
public class RabbitMQSampleFirehose extends R... | 360 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 396 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 1,174 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 328 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applicable law o... | 1,088 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 855 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 640 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 3,330 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applicable law o... | 262 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 261 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 507 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 1,272 |
github-java-corpus | 2,012 | package play.modules.rabbitmq.consumer;
import play.Logger;
import play.jobs.Job;
import play.modules.rabbitmq.util.ExceptionUtil;
import play.modules.rabbitmq.exception.RabbitMQNotRetriableException;
import com.rabbitmq.client.Channel;
/**
* The Class RabbitMQMessageConsumerJob.
*
* @param <T>
* the... | 1,510 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 1,461 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 389 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 334 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 1,201 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applicable law o... | 772 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 1,297 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 246 |
github-java-corpus | 2,012 | package play.modules.rabbitmq.sample;
import java.io.Serializable;
// TODO: Auto-generated Javadoc
/**
* The Class SampleMessage.
*/
public class SampleMessage implements Serializable {
/** The field1. */
private String field1;
/** The field2. */
private String field2;
/**
* Instantiates a new sample me... | 363 |
github-java-corpus | 2,012 | package play.modules.rabbitmq.sample;
import java.util.ArrayList;
import java.util.List;
import play.jobs.On;
import play.modules.rabbitmq.producer.RabbitMQFirehose;
// TODO: Auto-generated Javadoc
/**
* The Class RabbitMQSampleFirehose.
*/
// You need to uncomment the line below to allow the job to get triggered
... | 380 |
github-java-corpus | 2,012 | /**
* Copyright 2011 The Apache Software Foundation
*
* 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 applica... | 562 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 4,065 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 863 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 435 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 2,551 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 844 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 1,029 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 856 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2001-2012 Steve Purcell.
* Copyright (c) 2002 Vidar Holen.
* Copyright (c) 2002 Michal Ceresna.
* Copyright (c) 2005 Ewan Mellor.
* Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | 1,464 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 301 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 910 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 657 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 1,068 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.reader;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.springframework.batch.core.StepEx... | 1,761 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.reader;
import java.io.IOException;
import biz.c24.io.api.data.ComplexDataObject;
import biz.c24.io.api.data.Element;
import biz.c24.io.api.presentation.Source;
/**
* A synchronised parser; to be used where the parser is shared between multiple threads
*
* @author andrew
*
*/
pu... | 120 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.reader;
import java.io.IOException;
import java.io.Reader;
import biz.c24.io.api.data.ComplexDataObject;
import biz.c24.io.api.data.Element;
import biz.c24.io.api.presentation.Source;
import biz.c24.io.api.presentation.XMLSource;
/**
* Parser
* A wrapper class to manage parsing from... | 803 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 4,925 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 1,243 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 462 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 1,669 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.reader;
import org.springframework.batch.item.validator.ValidationException;
import biz.c24.io.api.data.ComplexDataObject;
public class C24ValidationException extends ValidationException {
private static final long serialVersionUID = 1L;
private ComplexDataObject cdo;
public C2... | 109 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.reader;
import biz.c24.io.api.data.ComplexDataObject;
/**
* Callback interface used by clients who wish to intercept the parsing process
*
* @author Andrew Elmre
*
* @param <Context> Contextual information to be held during parsing
* @param <Result> The type that the ItemReader ... | 444 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 1,076 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agree... | 452 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 805 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 1,020 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 456 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 424 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 505 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 462 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 415 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies.
*
* 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 applicable law or agr... | 466 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 371 |
github-java-corpus | 2,012 | package biz.c24.io.spring.batch.writer.source;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import static org.hamcrest.CoreMatchers.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import org.junit.Test;
import org.springframework... | 505 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 1,754 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 2,387 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 978 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 879 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 538 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 634 |
github-java-corpus | 2,012 | /*
* Copyright 2012 C24 Technologies
*
* 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 applicable law or agreed ... | 1,527 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.