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 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 1,317 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 799 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 448 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 537 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 506 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2011, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of con... | 527 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 725 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 697 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 382 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 818 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 471 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 976 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 627 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 409 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 827 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 270 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 1,368 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 1,160 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 446 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 2,935 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 2,724 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 891 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 461 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 238 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 303 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 287 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 1,392 |
github-java-corpus | 2,012 | package org.smartfrog.services.anubis;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.hellblazer.jackal.testUtil.TestNodeCfg;
import ... | 332 |
github-java-corpus | 2,012 | package org.smartfrog.services.anubis;
import java.util.concurrent.atomic.AtomicInteger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.hellblazer.jackal.testUtil.multicast.MulticastNodeCfg;
public class MulticastSmokeTest extends SmokeTes... | 153 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 1,743 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 276 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 1,508 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 714 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 625 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 959 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 826 |
github-java-corpus | 2,012 | package com.hellblazer.jackal.util;
import java.util.Random;
public class GammaDistribution {
private final Random random;
private final double alpha;
private final double beta;
GammaDistribution(Random random, double alpha, double beta) {
if (alpha <= 0 || beta <= 0) {
throw new ... | 342 |
github-java-corpus | 2,012 | package com.hellblazer.jackal.util;
import junit.framework.TestCase;
import org.smartfrog.services.anubis.partition.util.NodeIdSet;
public class NodeIdSetTest extends TestCase {
public void testFirst() {
NodeIdSet nv = new NodeIdSet();
for (int i = 3; i < 100; i += 3) {
nv.add(i);
... | 295 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 427 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 606 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 377 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 575 |
github-java-corpus | 2,012 | package com.hellblazer.jackal.util;
import java.util.HashSet;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Set;
import junit.framework.TestCase;
import org.smartfrog.services.anubis.partition.views.BitView;
public class BitViewTest extends TestCase {
public void testItera... | 228 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 425 |
github-java-corpus | 2,012 | package com.hellblazer.jackal.gossip.fd;
import java.util.Random;
import junit.framework.TestCase;
import com.hellblazer.jackal.gossip.FailureDetector;
public class AdaptiveFailureDetectorTest extends TestCase {
public void testDetector() throws Exception {
FailureDetector detector = new AdaptiveFailu... | 215 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 703 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 548 |
github-java-corpus | 2,012 | package com.hellblazer.jackal.gossip;
import static java.util.Arrays.asList;
import static org.mockito.Matchers.eq;
import static org.mockito.Matchers.isA;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.moc... | 2,391 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 875 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 1,685 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 2,347 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 459 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 451 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 633 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 714 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 355 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 437 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 347 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 355 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 452 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 431 |
github-java-corpus | 2,012 | /**
* Copyright (c) 2011, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of con... | 415 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 369 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 468 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 413 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 4,851 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 697 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 1,621 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 1,321 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 355 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 1,169 |
github-java-corpus | 2,012 | /**
* (C) Copyright 2011 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | 632 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 1,736 |
github-java-corpus | 2,012 | /** (C) Copyright 2010 Hal Hildebrand, All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versi... | 934 |
github-java-corpus | 2,012 | /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 1,200 |
github-java-corpus | 2,012 | package org.smartfrog.services.anubis.partition.test.controller.gui;
import java.io.FileInputStream;
import java.io.IOException;
import java.lang.Thread.UncaughtExceptionHandler;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.NetworkInterface;
import java.net.UnknownHostException;
impo... | 992 |
github-java-corpus | 2,012 | package com.ljp.pathmenu;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
public class PathMenuActivity extends Activity {
/** Called when the activity is first created. *... | 401 |
github-java-corpus | 2,012 | package com.ljp.pathmenu;
import android.content.Context;
import android.util.Log;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnticipateInterpolator;
import android.view.animation.OvershootInterpolator;
import android.view.animation.RotateAnimation;
import and... | 739 |
github-java-corpus | 2,012 | package codigolimpo;
import static org.junit.Assert.*;
import org.hibernate.classic.Session;
import org.junit.Test;
public class PessoaTest {
@Test
public void testTelefoneUserType() {
Session session = HibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
P... | 132 |
github-java-corpus | 2,012 | package codigolimpo;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
public class TelefoneTest {
@Test
public void testNewTelefone() {
assertNotNull(Telefone.newTelefone("12345678"));
}
@Test(expected = IllegalArgumentExcept... | 172 |
github-java-corpus | 2,012 | package codigolimpo;
import com.google.common.base.Preconditions;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence... | 211 |
github-java-corpus | 2,012 | package codigolimpo;
import java.io.Serializable;
import org.hibernate.HibernateException;
import org.hibernate.usertype.UserType;
public abstract class ImmutableUserType implements UserType, Serializable {
private static final long serialVersionUID = 1L;
@Override
public Object assemble(Serializable cached, Objec... | 212 |
github-java-corpus | 2,012 | @TypeDefs(
@TypeDef(name="telefone", typeClass=TelefoneUserType.class)
)
package codigolimpo;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.TypeDefs; | 42 |
github-java-corpus | 2,012 | package codigolimpo;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import org.hibernate.HibernateException;
public class TelefoneUserType extends ImmutableUserType {
@Override
public int[] sqlTypes() {
return new int[] { Types.VARCH... | 225 |
github-java-corpus | 2,012 | package codigolimpo;
import com.google.common.base.Objects;
import static com.google.common.base.Preconditions.*;
import java.io.Serializable;
public class Telefone implements Serializable {
private final String numero;
private Telefone(String numero) {
this.numero = numero;
}
p... | 182 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package codigolimpo;
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.SessionFactory;
/**
* Hibernate Utility class with a convenient method to get Session Factory object.
*
* @author Cesumar
... | 177 |
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
* to you under the Apache License, Version 2.0 (the
* "License"); y... | 387 |
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
* to you under the Apache License, Version 2.0 (the
* "License"); y... | 1,303 |
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
* to you under the Apache License, Version 2.0 (the
* "License"); y... | 268 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 3,854 |
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 to You under the Apache License, Version 2.0
* (the "License"); you may... | 1,910 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 488 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 1,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 file to You under the Apache License, Version 2.0
* (the "License"); you... | 4,485 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 339 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 565 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 1,795 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 835 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 993 |
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 to You under the Apache License, Version 2.0
* (the "License"); you... | 407 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.