blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
a75c0aee6ce16681f4b6a3232554f85a4a0e72ae | Java | onap/archive-sdc-dcae-d-dt-be-main | /dcaedt_be/src/main/java/org/onap/sdc/dcae/rule/editor/validators/ConditionValidator.java | UTF-8 | 2,984 | 2.015625 | 2 | [
"Apache-2.0"
] | permissive | /*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================... | true |
96748422ae25089d69c3fd6d8b3f9db77f5610fc | Java | allmyson/MonitoringApp | /app/src/main/java/com/ys/monitor/util/DateUtil.java | UTF-8 | 12,549 | 2.71875 | 3 | [] | no_license | package com.ys.monitor.util;
import android.text.TextUtils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
public class DateUtil {
/**
* @return void
* @author 彭粟
* @version 1.0
* @Desc... | true |
4b0501b85c57fb919751baf2a58cfd3124d909b4 | Java | Zezus/Android_HW_19_Earthquake | /app/src/main/java/com/example/HW_19_Earthquake/EarthquakesBase.java | UTF-8 | 2,264 | 2.3125 | 2 | [] | no_license |
package com.example.HW_19_Earthquake;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class EarthquakesBase implements Parcelable {
public final static Parcelable.Creator<Earthqu... | true |
8713f9e79d78a90e35410ef31d673fc2b010c6d9 | Java | liuyf8688/demos | /hibernate-demos/src/test/java/Test.java | UTF-8 | 875 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class Test {
public static void main(String[] args) throws SQLException {
String url = "jdbc:mysql://127.0.0.1:3306?user=liu%25200&password=123456";
// ... | true |
6706e1365311b1b1bf3b69c099c2716912306221 | Java | Nobel1893/AndroidBaseApp | /app/src/main/java/bluecrunch/utils/SocialNetworkUtils.java | UTF-8 | 1,227 | 1.9375 | 2 | [] | no_license | package bluecrunch.utils;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import com.google.android.gms.auth.api.Auth;
import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
import com.google.android.gms.co... | true |
46b0783a96227fd4bd47b8af62c3742c258e866c | Java | eLBirador/yfaces | /yfaces-demo/src/main/java/de/hybris/yfaces/demo/frame/BasicFrame.java | UTF-8 | 332 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package de.hybris.yfaces.demo.frame;
import de.hybris.yfaces.component.AbstractYFrame;
public class BasicFrame extends AbstractYFrame {
private String time = null;
public BasicFrame() {
this.time = String.valueOf(System.currentTimeMillis());
}
public String getCreationTime() {
return this.ti... | true |
13fcc9970ee08d832bd482ba5765572a9cde102b | Java | moutainhigh/desenmall | /desenmall-product/src/main/java/com/desen/desenmall/product/service/SkuSaleAttrValueService.java | UTF-8 | 682 | 1.726563 | 2 | [] | no_license | package com.desen.desenmall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.desen.common.utils.PageUtils;
import com.desen.desenmall.product.entity.SkuSaleAttrValueEntity;
import com.desen.desenmall.product.vo.ItemSaleAttrVo;
import java.util.List;
import java.util.Map;
/**
*... | true |
2937a0127363cd4d38f5fa95dc6aeea3877f12ad | Java | AlanJacobdev/ProjetRPOO_GroupeB_Alan_Lucas | /src/fourmiliere/Nymphe.java | UTF-8 | 759 | 2.875 | 3 | [] | no_license | package fourmiliere;
import environnement.InformationsFourmiliere;
public class Nymphe extends Etape {
protected int age;
protected final int joursAvantFourmis = 10;
protected Fourmis fourmis;
/**
* Constructeur d'une nymphe.
*
* @param fourmis La fourmis.
*/
public Nymphe(Fourmis fourmis) {... | true |
ba90872e3bbc7b84f35ea05e0e837ae47446a3d6 | Java | ct8356/TimeTrackerApp | /src/com/ct8356/mysecondapp/CustomDialogFragment.java | UTF-8 | 3,341 | 2.390625 | 2 | [] | no_license | package com.ct8356.mysecondapp;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.ct8356.mysecondapp.DbContract.Tags;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;... | true |
79f00a5c4dadfb61da53c1401d20d7e05220993f | Java | XiaoMi/mone | /hera-all/hera-app/app-server/src/test/java/com/xiaomi/mone/test/HeraAppEnvControllerTest.java | UTF-8 | 1,246 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | package com.xiaomi.mone.test;
import com.xiaomi.mone.app.AppBootstrap;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.... | true |
54ddf2913f7218b1a18a4276535ba1550c2a6743 | Java | fangke-ray/RVS-OGZ | /rvs2.0/src/com/osh/rvs/action/equipment/DeviceSpareAction.java | UTF-8 | 10,875 | 1.835938 | 2 | [
"Apache-2.0"
] | permissive | package com.osh.rvs.action.equipment;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.ibatis.session.SqlSession;
import org.apac... | true |
0c24ef62c5617f5ed4aea4bc18b6a94f6ddc5259 | Java | Tatsinnit/P | /Src/PRuntimes/PSymbolicRuntime/src/main/java/psymbolic/commandline/Program.java | UTF-8 | 413 | 2.015625 | 2 | [
"MIT"
] | permissive | package psymbolic.commandline;
import psymbolic.runtime.Event;
import psymbolic.runtime.machine.Monitor;
import psymbolic.runtime.scheduler.Scheduler;
import psymbolic.runtime.machine.Machine;
import java.util.List;
import java.util.Map;
public interface Program {
Machine getStart();
void setScheduler(Schedu... | true |
fb535424a3abb952e4b912c919403116d4059f2f | Java | tombenko/CrossWordMaker | /sources/old/Square.java | UTF-8 | 1,940 | 4 | 4 | [] | no_license | import java.lang.Character;
class Square{
/**
* This class describes a square in a crossword. It has a letter
* written in, possibly a number (with any meaning) and maybe lines
* round of it. Because there can be only one letter in a square,
* it's enough to declare it as char. The numbers are usually under
... | true |
a56eef1457a7542296737fb6fa37c1fc6bbd7f0b | Java | rquintao/RPG-Java-CommandLine | /src/main/java/com/throwner/engine/character/CharacterFactory.java | UTF-8 | 139 | 2 | 2 | [] | no_license | package com.throwner.engine.character;
public interface CharacterFactory {
public GenericCharacter createCharacter(CharacterType c);
}
| true |
9f52a10c4a61e1ed46b743cefb33f20810a0815a | Java | thock321/CombatScript | /src/org/scripts/combat/util/AutomaticPathMaker.java | UTF-8 | 1,936 | 3.1875 | 3 | [
"LicenseRef-scancode-other-permissive"
] | permissive | package org.scripts.combat.util;
import java.util.LinkedList;
import java.util.List;
import org.powerbot.core.script.job.Container;
import org.powerbot.core.script.job.LoopTask;
import org.powerbot.game.api.methods.Calculations;
import org.powerbot.game.api.methods.interactive.Players;
import org.powerbot.game.api.wr... | true |
6b6ce8f985df0bae54cfb2a5cd5c9dc3a42215ce | Java | jason9075/Android-Ttd-Playground | /app/src/test/java/com/jason9075/androidttdplayground/bank/MoneyTest.java | UTF-8 | 488 | 2.6875 | 3 | [] | no_license | package com.jason9075.androidttdplayground.bank;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
/**
* Created by jason9075 on 2016/3/14.
*/
public class MoneyTest {
@Test
public void MoneyAddTest() throws Exception {
Money money =... | true |
07b730a27de687f1dd8717f3c74e2fd88e0c255b | Java | numberone0001/mp3player | /app/src/main/java/com/example/app/ui/main/SongTab.java | UTF-8 | 2,595 | 2.03125 | 2 | [] | no_license | package com.example.app.ui.main;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import com.example.app.R;
import com.goog... | true |
a6a323d954429ff6d01de08e3c3d10b3a057c452 | Java | IupyterAaron/SGCC_WHS_V-1.0.0 | /src/Out.java | UTF-8 | 1,078 | 1.914063 | 2 | [] | no_license | package com.sgcc.entity;
public class Out {
private long outid;
private long projectid;
private java.sql.Date outdate;
private String starter;
private String picker;
private String outprice;
public long getOutid() {
return outid;
}
public void setOutid(long outid) {
this.... | true |
7c6461a8cdf909a111399efddabca0899d3662db | Java | theG8/rummikuboberflaeche | /app/src/main/java/de/g8keeper/rummikuboberflaeche/GamesAdapter.java | UTF-8 | 3,216 | 2.453125 | 2 | [] | no_license | package de.g8keeper.rummikuboberflaeche;
import android.app.Activity;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;... | true |
253fdb843eedb638bda7a4a0d40ae0f4b892e658 | Java | HoorayLee/BookGuidance | /src/com/example/book1/MainActivity.java | UTF-8 | 2,601 | 2.140625 | 2 | [] | no_license | package com.example.book1;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.SocketTimeoutException;
import android.os.Bundle;
import android.os.StrictMode;
import android.app.Activity;
import android.app.AlertDialog;
import androi... | true |
0b34aa26eb292e428c265d9f14356ec2b9005ff9 | Java | guneetnagia/CoreJava | /src/online/UniqueProduct.java | UTF-8 | 1,217 | 3.734375 | 4 | [] | no_license | package online;
import java.util.LinkedHashMap;
import java.util.Map;
public class UniqueProduct {
public static String firstUniqueProduct(String[] products) {
/*
* return Stream.of(products)
* .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))
* .entrySet() .stream()... | true |
9bd84a41036968dbe68ae06ac6753d5721d2283d | Java | visastah/AESmS | /app/src/main/java/com/example/visas/genielogiciel2/ManageGroupActivity.java | UTF-8 | 8,515 | 2.015625 | 2 | [] | no_license | package com.example.visas.genielogiciel2;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os... | true |
a529fb6332364bdfec0279282e356c355d2c9af6 | Java | kushal55/CSC543_AssignRepo | /src/Assignment1/SumArray.java | UTF-8 | 647 | 3.640625 | 4 | [] | no_license | package Assignment1;
import java.util.*;
public class SumArray {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc=new Scanner(System.in);
int size=sc.nextInt();
int givenNumber[]= new int[size];
System.out.print("Given number:");
for(int i=0;i<size;i++) {
givenNumber[i]... | true |
028dd9c11bc70dd6b5e2e8fad4c8fc8d03c93b3a | Java | LevPhilippov/JavaDeep | /src/lev/philippov/Lesson1Generics/Orange.java | UTF-8 | 205 | 3 | 3 | [] | no_license | package lev.philippov.Lesson1Generics;
public class Orange extends Fruit{
private final double orangeWeight = 1.5d;
@Override
public double getWeight() {
return orangeWeight;
}
}
| true |
e95febd5eafd05681f8baf09b10f9434a3863b1d | Java | MD-Shibli-Mollah/Project-with-NetBeans | /InheritanceClassSEU/src/PolymorphismSEU/SockerPlayer.java | UTF-8 | 238 | 2.890625 | 3 | [] | no_license | package PolymorphismSEU;
public class SockerPlayer {
void Striker() {
System.out.println("Good Stiker");
}
void Striker(String name) {
System.out.println("The name of the Striker is " + name);
}
}
| true |
7ecf76a892ee8de5895ea4227efa43bf9815da3e | Java | arturaskuzminas/SeleniumPractice | /test/Test_Cases/ProductReviewTest.java | UTF-8 | 4,278 | 2.1875 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Test_Cases;
import Base.TestBase;
import POM.AccountPage;
import POM.HomePage;
import POM.LoginPage;
import POM.ProductPage;
i... | true |
44c1f50813f49c924e888ed609ce32ef705e317c | Java | dima-online/frsi | /frsi-portlet/src/main/java/mb/SuInfoBean.java | UTF-8 | 24,836 | 1.84375 | 2 | [] | no_license | package mb;
import entities.*;
import org.apache.log4j.Logger;
import org.primefaces.context.RequestContext;
import org.primefaces.event.SelectEvent;
import org.primefaces.event.ToggleSelectEvent;
import org.primefaces.event.UnselectEvent;
import util.Convert;
import util.Util;
import javax.annotation.PostConstruct;
... | true |
cd1b3641469b2ad68af164149d86e08c264a4d96 | Java | jenkinsci/clearcase-plugin | /src/test/java/hudson/plugins/clearcase/action/AbstractCheckoutActionTest.java | UTF-8 | 7,885 | 1.789063 | 2 | [] | no_license | /**
* The MIT License
*
* Copyright (c) 2013 Vincent Latombe
*
* 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 without limitation the rights
* t... | true |
357e29f08d1d97fa8a4096fbec820aff9f089391 | Java | voglrobe/FtInterface | /ftinterface-core/src/main/java/de/voglrobe/ftinterface/async/MccExecutorThread.java | UTF-8 | 2,618 | 2.8125 | 3 | [] | no_license | package de.voglrobe.ftinterface.async;
import de.voglrobe.ftinterface.exceptions.ComException;
import de.voglrobe.ftinterface.io.FtOutput;
import de.voglrobe.ftinterface.io.FtSerialPortSenderReceiver;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* This class implements a Thread that executes ... | true |
3e6a418a8c64a9df952ff58869f30530a7cfdb89 | Java | ElegantDancer/AndroidStudioProject | /MyApplication/viewswitcherdemo/src/main/java/com/example/zhenzhen/myapplication/ViewSwitcherTest.java | UTF-8 | 6,677 | 2.015625 | 2 | [] | no_license | package com.example.zhenzhen.myapplication;
import java.util.ArrayList;
import android.os.Bundle;
import android.app.Activity;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget... | true |
90e4c4352a3bf3b33ec7e14c957bd6eaf2fe6327 | Java | snoylee/koudaibao | /code/v1.0.0/src/com/kdkj/koudailicai/view/more/AboutKoudaiActivity.java | UTF-8 | 4,340 | 1.710938 | 2 | [] | no_license | package com.kdkj.koudailicai.view.more;
import org.json.JSONObject;
import android.content.Intent;
import android.graphics.Paint;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
impor... | true |
a8cbca5c533a7d0dda07d1efc6b50ff863985596 | Java | HarmonyCloud-zz/DevOps | /common/src/main/java/com/harmony/devops/common/vo/NetVO.java | UTF-8 | 977 | 2.375 | 2 | [] | no_license | package com.harmony.devops.common.vo;
import com.harmony.devops.common.enums.ReturnMsgEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* 网络通信层vo
* @author 葛文镇
*/
@ApiModel(discriminator = "谐云-网络层返回vo")
public abstract class NetVO implem... | true |
088884aa60f0e3fe98bd8170b617a189c920ebde | Java | Gauravd70/ExampleArchitecture | /app/src/main/java/com/gd70/android/examplearchitecture/uis/presenter_listeners/BasePresenterListener.java | UTF-8 | 329 | 1.984375 | 2 | [] | no_license | package com.gd70.android.examplearchitecture.uis.presenter_listeners;
import android.app.Activity;
import android.content.Context;
public interface BasePresenterListener {
Activity getActivity();
Context getContext();
void showToast(String toast);
void showToast(String toast,int duration);
void cl... | true |
005f6ac07b2234237b79999d902f71c5dba5e686 | Java | hilledor/FastenYourSeatbelt | /fasten your seatbelt/src/controller/ClientController.java | UTF-8 | 10,895 | 2 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
import java.net.URL;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;... | true |
da798241b353f6a2084fa08b317eae2d49230714 | Java | 1319280657/testBlob | /src/main/java/GteConnection.java | UTF-8 | 5,962 | 2.28125 | 2 | [] | no_license | import java.io.*;
import java.sql.*;
/**
* @program: testBlob
* @description: ${description}
* @author: RenChao
* @create: 2019-09-29 11:00
**/
public class GteConnection {
public static Connection getConnection() {
Connection conn = null;
System.out.println("开始进行加载驱动类");
// 加载类
... | true |
dafe4f6946a83ca6aded1d0e965c01c990019c62 | Java | MartaZab/Twitter | /src/main/java/com/example/twitter/Twitter/controller/CommentController.java | UTF-8 | 1,778 | 2.296875 | 2 | [] | no_license | package com.example.twitter.Twitter.controller;
import com.example.twitter.Twitter.model.dto.CommentDto;
import com.example.twitter.Twitter.model.dto.PostDto;
import com.example.twitter.Twitter.model.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... | true |
04c552b9f7096f077fe8d1e3fcb1509ad080d4c8 | Java | LIJIEJIE519/algorithm | /ToOffer/src/com/topic2/T_06_buildTree.java | UTF-8 | 1,041 | 3.125 | 3 | [] | no_license | package com.topic2;
import java.util.HashMap;
import java.util.Map;
/**
* @Author LJ
* @Date 2020/12/10
* msg
*/
public class T_06_buildTree {
int[] preorder;
Map<Integer, Integer> map = new HashMap<>();
public TreeNode buildTree(int[] preorder, int[] inorder) {
if (preorder == null || preo... | true |
b5788764419f983b50ef5055ca9e516058ba0af5 | Java | bipulmanjhi001/Inventory | /app/src/main/java/com/broadwaybazar/model/Company_Product_List.java | UTF-8 | 756 | 2.25 | 2 | [] | no_license | package com.broadwaybazar.model;
public class Company_Product_List {
private String ids = "";
private String types = "";
private boolean checkeds = false;
public Company_Product_List(String ids, String types, boolean checkeds) {
this.ids = ids;
this.types = types;
this.checkeds... | true |
888275fbd91d3ba865a0d81e63f341a7c5ae7f3b | Java | 784134748/platform | /src/main/java/com/yalonglee/platform/service/example/EnversServiceI.java | UTF-8 | 476 | 1.648438 | 2 | [] | no_license | package com.yalonglee.platform.service.example;
import com.yalonglee.common.service.BaseServiceI;
import com.yalonglee.platform.entity.example.envers.Customer;
/**
* <p>《一句话功能简述》
* <p><功能详细描述>
* <p>
* <p>Copyright (c) 2017, listener@iflytek.com All Rights Reserve</p>
* <p>Company : 科大讯飞</p>
*
* @author listene... | true |
fd062575f6deb4720b7e8ac7980ae0f9c0b069c0 | Java | exylaci/training-solutions | /src/main/java/erettsegi2019/PassangerData.java | UTF-8 | 2,272 | 2.84375 | 3 | [] | no_license | package erettsegi2019;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Objects;
public class PassangerData {
private int stop;
private LocalDateTime time;
private String ID;
private Type type;
private LocalDate expires;
private int remainedTravels;
public Pass... | true |
d6c83117e4c15d9b0e6d7ab25d4f52f5007c044b | Java | 99Nistha/Java-Programming | /Recursion/allIndex.java | UTF-8 | 1,009 | 3.578125 | 4 | [] | no_license | import java.util.Scanner;
public class allIndex {
public static void main(String[] args) {
Scanner scn= new Scanner(System.in);
System.out.print("Enter the sie=ze of array: ");
int n= scn.nextInt();
System.out.print("Enter all the values: ");
int[] arr= new int[n];
f... | true |
de2778af9fb3ba3bc925c62ff3fc4b97db479c45 | Java | tiagods/sisrh-desktop | /src/main/java/com/plkrhone/sisrh/config/init/VersaoSistema.java | UTF-8 | 1,571 | 2.359375 | 2 | [] | no_license | package com.plkrhone.sisrh.config.init;
import com.plkrhone.sisrh.config.PropsConfig;
import com.plkrhone.sisrh.config.enums.PropsEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static com.plkrhone.sisrh.config.PropsConfig.getValue;
public class VersaoSistema extends PropsConfig {
... | true |
e672552ef7c58592b62a2d0a1a02827c2445d396 | Java | 0xera/rAndroidDev | /app/src/test/java/ru/aydarov/randroid/data/util/RedditUtilsNetTest.java | UTF-8 | 1,400 | 1.90625 | 2 | [] | no_license | package ru.aydarov.randroid.data.util;
import org.junit.Assert;
import org.junit.Test;
import java.util.Map;
public class RedditUtilsNetTest {
@Test
public void getHttpBasicAuthHeader() {
Map<String, String> httpBasicAuthHeader = RedditUtilsNet.getHttpBasicAuthHeader();
Assert.assertEquals(1... | true |
a428688cf5ea852e437da03021f6bbf91b7d76c5 | Java | Andreas237/AndroidPolicyAutomation | /ExtractedJars/RT_News_com.rt.mobile.english/javafiles/com/google/android/gms/analytics/zzk$zza.java | UTF-8 | 2,163 | 2.125 | 2 | [
"MIT"
] | permissive | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.analytics;
import java.util.concurrent.*;
// Referenced classes of package com.google.android.gms.analytics:
// zzk, zzm... | true |
b143f1779b9fbdb0c9729c0311df15f3ab501683 | Java | sureshdraco/RedditShow | /app/src/main/java/redit/com/redditshow/network/SuccessListener.java | UTF-8 | 362 | 2.0625 | 2 | [] | no_license | package redit.com.redditshow.network;
import com.android.volley.Response;
import redit.com.redditshow.network.reply.ReplyBase;
public abstract class SuccessListener<T extends ReplyBase> implements Response.Listener<T> {
public abstract void onSuccessResponse(T response);
@Override
public void onResponse(T respon... | true |
02853a1a14c91facb7158c1db7494060519bda98 | Java | fanghuabing/happylifeplat-transaction | /happylifeplat-transaction-common/src/main/java/com/happylifeplat/transaction/common/netty/serizlize/MessageEncoder.java | UTF-8 | 1,342 | 1.804688 | 2 | [
"Apache-2.0"
] | permissive | /*
*
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distr... | true |
6b4820ea5b708d938c0273315105cd9a97de5f93 | Java | OGNet/Commons | /src/main/java/com/caved_in/commons/command/commands/ClearInventoryCommand.java | UTF-8 | 1,450 | 3.0625 | 3 | [] | no_license | package com.caved_in.commons.command.commands;
import com.caved_in.commons.Messages;
import com.caved_in.commons.command.Command;
import com.caved_in.commons.player.Players;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class ClearInventoryCommand {
@Command(name = "ci", usage = "/... | true |
8ab231fb099ca551767d6d6c7dd1fae284f340fe | Java | puneetnegi1986/PDF-AND-Mail-PARSER | /TextExtractor.java | UTF-8 | 9,535 | 2.515625 | 3 | [] | no_license | package com.pro;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
impor... | true |
20720986dbf3c928a16e2d25fd2aaea325a6d5db | Java | CoderIntuition/api | /src/main/java/com/coderintuition/CoderIntuition/pojos/request/cms/ProblemDto.java | UTF-8 | 1,265 | 1.96875 | 2 | [] | no_license | package com.coderintuition.CoderIntuition.pojos.request.cms;
import com.coderintuition.CoderIntuition.enums.Difficulty;
import com.coderintuition.CoderIntuition.enums.ProblemCategory;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
import java... | true |
f20b119724d8955356a95ebbebdf42d54be9cd8e | Java | raphagmoreira/Biblioteca | /src/main/java/br/biblioteca/livros/repository/UsuarioRepository.java | UTF-8 | 1,612 | 2.53125 | 3 | [] | no_license | package br.biblioteca.livros.repository;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import br.biblioteca.livros.beans.Role;
import br.biblioteca.livros.beans.Usuario;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCr... | true |
b6fe4a07c2c805f88079cc04290325e1deb14c4d | Java | PlayerNguyen/Weaponist | /src/main/java/com/playernguyen/weaponist/runnable/ScopeRunnable.java | UTF-8 | 2,101 | 2.390625 | 2 | [] | no_license | package com.playernguyen.weaponist.runnable;
import com.playernguyen.weaponist.Weaponist;
import com.playernguyen.weaponist.entity.Shooter;
import com.playernguyen.weaponist.util.ActionBar;
import com.playernguyen.weaponist.util.LocationUtil;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.scheduler.BukkitRunn... | true |
b409ca8b35edc45dc64440a5fbca8c3e8f4422f4 | Java | jmansiya/GestionTurnosDeTrabajo | /GestionTurnosDeTrabajo/GestionTurnosPersistencia/src/main/java/org/sun/resorts/holidays/persistence/service/impl/PuestoDeTrabajoServiceImpl.java | UTF-8 | 3,826 | 2.078125 | 2 | [] | no_license | /*
* Created on 31 oct 2015 ( Time 10:51:35 )
* Generated by Telosys Tools Generator ( version 2.1.0 )
*/
package org.sun.resorts.holidays.persistence.service.impl;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import org.sun.resorts.holidays.model.PuestoDeTrabajo;
import or... | true |
0d9d3530b4edeb0dfe22d05e4535f324eb98bffb | Java | mariapoilao/MaterialFinal | /app/src/main/java/com/example/mariapoilao/materialfinal/DetalleLabiales.java | UTF-8 | 1,403 | 1.90625 | 2 | [] | no_license | package com.example.mariapoilao.materialfinal;
import android.content.Intent;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.widget.ImageView;
import com.squareup.picasso.... | true |
59798a5cbf22530be1e272fd543cd298f6ee3c5b | Java | BryanFriestad/CyCap | /src/main/java/com/cycapservers/game/AnimatedEntity.java | UTF-8 | 1,303 | 3.25 | 3 | [] | no_license | package com.cycapservers.game;
public class AnimatedEntity extends Entity {
protected int num_of_frames;
protected int time_length;
protected boolean looping;
protected long startTime;
/**
* the amount of time in ms for each frame in the animation
*/
protected double frame_time;
public AnimatedEntity(in... | true |
3656541990505328d32e67a8bc73b259439d0b2c | Java | ca814495571/javawork | /fucai/jweb_appmanagement/src/main/java/com/cqfc/management/model/LotterySaleDetail.java | UTF-8 | 981 | 2.15625 | 2 | [] | no_license | package com.cqfc.management.model;
import java.io.Serializable;
/**
* 站点各种彩票的某年某月的销售量
*
* @author Administrator
*
*/
public class LotterySaleDetail implements Serializable {
/**
*
*/
private static final long serialVersionUID = 6845725451355426686L;
private int day;
private int saleNum;
private St... | true |
c069b48024c0694e7310fc6588fcaab3c5a72d0c | Java | enzoteles/DataBindingRoom | /app/src/main/java/com/example/enzoteles/databinding/view/ContentFragment.java | UTF-8 | 2,120 | 2.09375 | 2 | [] | no_license | package com.example.enzoteles.databinding.view;
import android.app.Fragment;
import android.arch.lifecycle.LifecycleOwner;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nu... | true |
563c2f91cb1f0e3bef0872c31084733af865d7e8 | Java | sakura1379/boot_bookManagement | /src/main/java/boot_bookmanage/java/mapper/AdminMapper.java | UTF-8 | 487 | 1.921875 | 2 | [] | no_license | //package boot_bookmanage.java.mapper;
import boot_bookmanage.java.entities.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* @author Zenglr
* @ClassName AdminMapper
* @Description
* @create 2020-09-11-7:20 下午
*/
//@Mapper
//@Compon... | true |
060af7b3582f04806b2c3421a27eacaff3cf728b | Java | tree33333/Hrm | /de.hswt.hrm.place.ui/src/de/hswt/hrm/place/ui/wizard/PlaceWizardPageOne.java | UTF-8 | 7,884 | 2.15625 | 2 | [] | no_license | package de.hswt.hrm.place.ui.wizard;
import java.net.URL;
import java.util.HashMap;
import org.apache.commons.validator.routines.RegexValidator;
import org.eclipse.e4.xwt.IConstants;
import org.eclipse.e4.xwt.XWT;
import org.eclipse.e4.xwt.forms.XWTForms;
import org.eclipse.jface.wizard.WizardPage;
import o... | true |
94ebe95d01aa957f8e3f7430433705f8ff7fd22d | Java | Kaellah/SwipableRecyclerView | /app/src/main/java/com/rollncode/swipablerecyclerview/swipablerecyclerview/activity/MainActivity.java | UTF-8 | 7,267 | 2.421875 | 2 | [] | no_license | package com.rollncode.swipablerecyclerview.swipablerecyclerview.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import com.rollncode.swipablerecyclerview.swipablerecyclerview.R;
import com.rollncode.swipablerecyclerview.swipablerecycl... | true |
9765e687fdb6c9a2c5e14e504fb11141ee5ae774 | Java | catastro/SIGEV | /src/java/SIGEV/DAO/VentaDAO.java | UTF-8 | 4,982 | 2.359375 | 2 | [] | no_license | package SIGEV.DAO;
import SIGEV.BE.*;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.Query;
public class VentaDAO {
private Session session;
private Transaction tx;
... | true |
3af5cf8dd121fe693fcb58a87a5fc2f1ad6f478d | Java | UsStore/usStore | /src/main/java/com/example/usStore/dao/mybatis/MybatisUniversityDao.java | UTF-8 | 1,025 | 2.234375 | 2 | [] | no_license | package com.example.usStore.dao.mybatis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Repository;
import com.example.usStore.dao.UniversityDao;
import com.example.usStore.dao.mybatis.mapper.UniversityMapper;
im... | true |
a07db0e4091aa41be84f7393b5fe25fb2fc210bb | Java | droidsde/eclip_app | /BatteryMaster/src/com/nvn/log/BroadcastListener.java | UTF-8 | 87 | 1.953125 | 2 | [] | no_license | package com.nvn.log;
public interface BroadcastListener {
public void onReceive();
}
| true |
6a43ff54b995019c565c285aa61cf70c4504ba1b | Java | atahalybe/ujaseno | /Android/app/src/main/java/com/privysol/smartlock/BaseUrl.java | UTF-8 | 351 | 2 | 2 | [] | no_license | package com.privysol.smartlock;
public class BaseUrl {
public static String url;
public static String LOCALHOST = "http://192.168.10.5/smartlock/api/api.php?action=";
private BaseUrl() {
}
public static String getInstance(){
if (url == null){
url = LOCALHOST;
}
... | true |
cd6a21596e8370ee0fcf1cf1f79e6cf019b414cf | Java | koteswaradk/BikeTracker | /app/src/main/java/com/stratvave/biketracker/settings/GetCallerInfoActivity.java | UTF-8 | 4,103 | 1.960938 | 2 | [] | no_license | package com.stratvave.biketracker.settings;
import com.stratvave.biketracker.main.R;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceMan... | true |
d77117426f2ad62ac9705833593491b6e36d52de | Java | yunze-github/cms_jd1908 | /src/main/java/com/briup/apps/cms/bean/extend/CommentExtend.java | UTF-8 | 883 | 1.914063 | 2 | [] | no_license | package com.briup.apps.cms.bean.extend;
import com.briup.apps.cms.bean.Article;
import com.briup.apps.cms.bean.Comment;
import com.briup.apps.cms.bean.User;
import java.util.List;
public class CommentExtend extends Comment {
private UserExtend userExtend;
private Article article;
private List<CommentExt... | true |
545e1ba0f45a83350de50d9b602a7ba9ca085959 | Java | wemecan/talentmov-master-alice | /app/src/main/java/com/movtalent/app/adapter/SubjectEntity.java | UTF-8 | 800 | 2.171875 | 2 | [
"MIT"
] | permissive | package com.movtalent.app.adapter;
/**
* @author huangyong
* createTime 2019-09-15
*/
public class SubjectEntity {
private final String subJectName;
private final String subJectNameSub;
private final String posterUrl;
private final int topId;
public SubjectEntity(String subJectName, String ... | true |
5ccd7cdceb2334c529738b9de8e00011b85acfb0 | Java | grandburge/TestAutomation | /src/truview/page/AdministrationSitesPage.java | UTF-8 | 1,293 | 2.484375 | 2 | [] | no_license | package truview.page;
import org.openqa.selenium.WebDriver;
public class AdministrationSitesPage extends AdministrationPage {
public AdministrationSitesPage(WebDriver driver)
{
super(driver);
}
public AdministrationSitesPage(WebDriver driver,String elementLocatorFile)
{
super(driver,elementLocatorFile);
}... | true |
01028f032f3b1556cc1a5b6f31bb31ff915723cb | Java | gabrielbran/osgi.ee | /osgi.ee.extender.cdi/src/osgi/extender/cdi/scopes/ExtenderContext.java | UTF-8 | 2,492 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015, Imtech Traffic & Infra
* Copyright 2015, aVineas IT Consulting
*
* 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... | true |
494ecfbc2926846f4d14d15e373c78ee13a5b5ce | Java | apoorva2406/AsyncRequest | /src/main/java/com/request/get/MultipleAssynRequests.java | UTF-8 | 3,442 | 2.5 | 2 | [] | no_license | package com.request.get;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import kafka.javaapi.producer.Producer;
import com.ning.http.client.AsyncHttpClient;
import com.nin... | true |
e80200f2226306ee6f61b406a2b31e4904c1111e | Java | BaiWenchao/HISProject2.0 | /src/userInterface/PatientSignUp.java | UTF-8 | 2,024 | 2.453125 | 2 | [] | no_license | package userInterface;
import com.alibaba.fastjson.JSON;
import dataAccess.WriteFile;
import entity.Hospital;
import entity.Patient;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.Parent;
import javafx.scene.control.*;
import logic.Patien... | true |
a59638447edb8d1d0db5db0fd055739d95056fb7 | Java | Jgarciagithub/co.com.choucair.certifation.test | /src/test/java/stepdefinitions/ChoucairTestStepDefintions.java | UTF-8 | 1,759 | 2.09375 | 2 | [] | no_license | package stepdefinitions;
import cucumber.api.java.Before;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import model.TestData;
import net.serenitybdd.screenplay.GivenWhenThen;
import net.serenitybdd.screenplay.actors.OnStage;
import net.serenitybdd.screenplay.ac... | true |
f4d1b6eeadd5cff1bd7a2afe8939cab95d076b79 | Java | xingcici/xc-design-pattern | /src/main/java/com/elvin/pattern/pattern/iouchain/BaseHandler.java | UTF-8 | 475 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | package com.elvin.pattern.pattern.iouchain;
import com.elvin.pattern.pattern.chain.Handler;
/**
* @author : Haifeng Pang.
* @version 0.1 : Handler v0.1 2018/5/24 10:30 By Haifeng Pang.
* @description :
*/
public abstract class BaseHandler {
/**
*
*/
protected BaseHandler successor;
/**
... | true |
b0da8f17fadc35eb9ab919944e38125839709599 | Java | pitoszud/Java-Study | /src/main/java/Enums/Main.java | UTF-8 | 984 | 3.21875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Enums;
/**
*
* @author upatryk
*/
public class Main {
public static void main(String[] args) {
PrimitiveEnum gr... | true |
68f72b8d0b53fbcd2d8096bde0c04490d96c5135 | Java | snada/BitmapFontLoader | /app/src/main/java/it/snada/bitmapfontloaderapp/MainActivity.java | UTF-8 | 7,272 | 1.992188 | 2 | [
"MIT"
] | permissive | package it.snada.bitmapfontloaderapp;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.opengl.GLES20;
import android.opengl.GLSurfaceView;
import android.opengl.Matrix;
import android.os.Bundle;
import android.util.ArrayMap;
import android.util.Log;
im... | true |
587639bb4a9bc19f3dba138bfddfa824def155d8 | Java | darkestpriest/fermat | /CHT/android/sub_app/fermat-cht-android-sub-app-chat-bitdubai/src/main/java/com/bitbudai/fermat_cht_android_sub_app_chat_bitdubai/adapters/ChatAdapter.java | UTF-8 | 9,165 | 1.929688 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | package com.bitbudai.fermat_cht_android_sub_app_chat_bitdubai.adapters;
import android.content.ClipData;
import android.content.Context;
import android.os.Build;
import android.view.ContextMenu;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.AdapterView... | true |
09a5d22d8071171e19cdc7782aba6aa5128b5cd4 | Java | Lextokil/BluPark | /app/src/main/java/com/android/blupark/adapter/VeiculoRow.java | UTF-8 | 503 | 2.484375 | 2 | [] | no_license | package com.android.blupark.adapter;
public class VeiculoRow {
private String rowText;
private int icon;
public VeiculoRow(String rowText, int icon) {
this.rowText = rowText;
this.icon = icon;
}
public String getRowText() {
return rowText;
}
public void setRowText... | true |
0c5baab20e9e2e59901c96a60d0e3090e82c8eea | Java | nightwolf93/Wakxy-Core-Decompiled | /1_39_120042/com/ankamagames/framework/kernel/core/common/Validable.java | UTF-8 | 134 | 1.609375 | 2 | [] | no_license | package com.ankamagames.framework.kernel.core.common;
public interface Validable
{
long getId();
void setId(long p0);
}
| true |
13198987e370137ca2a9b819784d33743c183954 | Java | LyricsRH/java- | /src/五/E6.java | WINDOWS-1252 | 396 | 2.65625 | 3 | [] | no_license | package ;
import .b16;
import .b6;
public class E6 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int []perfect=new b6().perfectNums();
for (int i = 0; i < perfect.length; i++) {
String string=new E5().intToString(perfect[i], 2);
System.out.printf("perfectnum... | true |
99bdaf387906b9b8e5a42ebe22cdfe4981e1bb05 | Java | groupon/monsoon | /expr/src/main/java/com/groupon/lex/metrics/timeseries/ExpressionLookBack.java | UTF-8 | 8,652 | 2.5 | 2 | [
"BSD-3-Clause"
] | permissive | package com.groupon.lex.metrics.timeseries;
import com.groupon.lex.metrics.lib.ForwardIterator;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NonNu... | true |
8802ded45a54e2b20a4af5787facf60005be7b65 | Java | kowalikm/MoxaController | /app/src/main/java/pl/appcoders/moxacontroller/di/RestModule.java | UTF-8 | 3,056 | 2.328125 | 2 | [] | no_license | package pl.appcoders.moxacontroller.di;
import android.app.Application;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import pl.appcoders.moxacontroller.inputs.service.Digita... | true |
f618131d5757b16ba11c17bf3a57c36fb62a1473 | Java | rajatgupta2018/store-keeper | /app/src/main/java/com/example/store_keeper/store_keeper/ui/suppliers/product/SupplierProductPickerNavigator.java | UTF-8 | 1,398 | 2.171875 | 2 | [
"Apache-2.0",
"CC-BY-3.0"
] | permissive | /*
* Created By Rajat Gupta And Harshita Joshi
*
* 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 la... | true |
bac4184cf456cd5b65245fb9d122a20d4a477023 | Java | pageseeder/flint | /src/main/java/org/pageseeder/flint/catalog/Catalog.java | UTF-8 | 6,682 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package org.pageseeder.flint.catalog;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import org.pageseeder.flint.indexing.FlintField;
import org.pageseeder.flint.indexing.FlintField.DocValuesType;... | true |
b8edb90f96647d46eebb68b268cb1c37e0cf3d52 | Java | glorygaz/NumericalAnalysis | /src/org/neu/dataStructure/Matrix.java | UTF-8 | 8,691 | 3.546875 | 4 | [] | no_license | package org.neu.dataStructure;
public class Matrix {
private double [][] matrix;
private int row;
private int col;
public Matrix(int row, int col) {
this.row = row;
this.col = col;
matrix = new double[row][col];
}
public Matrix(double[][] matrix) {
this.setMat... | true |
479d47d5290f7a1c5c66a09877d684be36d94934 | Java | jennyferhubac/MPPAssign | /src/designworkshop/ordertrackingsystem/Order.java | UTF-8 | 3,342 | 2.859375 | 3 | [] | no_license | package designworkshop.ordertrackingsystem;
import java.text.SimpleDateFormat;
import java.util.*;
public class Order {
private String orderNumber;
private boolean isPrepaid;
private double orderPrice;
private Date orderDate;
private String status;
private double points;
private double custPoints;
... | true |
ed0969edc4f00c53319f81c0b3f2850315e13d6e | Java | ceugster/colibrits2 | /ch.eugster.colibri.client.ui/src/ch/eugster/colibri/client/ui/actions/PrintReceiptAction.java | UTF-8 | 4,829 | 1.820313 | 2 | [] | no_license | /*
* Created on 27.03.2009
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package ch.eugster.colibri.client.ui.actions;
import java.awt.event.ActionEvent;
import java.util.Dictionary;
import java.util.GregorianCalendar;... | true |
82117c8db1b90cf3ee97562fd023bb86d94be459 | Java | nemerosa/http-client | /http-client-core/src/test/java/net/nemerosa/httpclient/ClientImplTest.java | UTF-8 | 1,478 | 2.40625 | 2 | [] | no_license | package net.nemerosa.httpclient;
import org.apache.http.HttpHost;
import org.apache.http.client.protocol.HttpClientContext;
import org.apache.http.impl.client.CloseableHttpClient;
import org.junit.Test;
import java.net.MalformedURLException;
import java.net.URL;
import static org.junit.Assert.assertEquals;
import st... | true |
58b5ed656dd8969f0fbc409934fd39c47e9fa4f3 | Java | fengwuze/aggregate-framework | /aggregate-framework-core/src/main/java/org/aggregateframework/eventhandling/EventHandlerInvoker.java | UTF-8 | 1,165 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package org.aggregateframework.eventhandling;
import org.aggregateframework.SystemException;
import org.aggregateframework.context.ReflectionUtils;
import org.aggregateframework.eventhandling.async.AsyncMethodInvoker;
import org.aggregateframework.session.EventInvokerEntry;
import java.lang.reflect.InvocationTargetEx... | true |
663430b3cefd141a6ff1599dc5e28fb35fc8addc | Java | brooklynphotos/codingexercises | /test/java/photos/brooklyn/practice/codingexercises/java/leetcode/OverlappingSquareMatricesTest.java | UTF-8 | 627 | 2.71875 | 3 | [] | no_license | package photos.brooklyn.practice.codingexercises.java.leetcode;
import org.junit.Test;
import static org.junit.Assert.*;
public class OverlappingSquareMatricesTest {
@Test
public void largestOverlap() {
final int[][] A = {{1,1,0}, {0,1,0},{0,1,0}};
final int[][] B = {{0,0,0}, {0,1,1},{0,0,1}... | true |
f7614cad55c6ce284fef085150a956adfb4d3b51 | Java | zleonardo/lab-comp-2019 | /src/ast/ParamDec.java | UTF-8 | 526 | 2.84375 | 3 | [] | no_license | /*
Nome: Vitor Pratali Camillo RA: 620181
Nome: Leonardo Zaccarias RA: 620491
*/
package ast;
public class ParamDec {
private String id;
private Type type;
public ParamDec(String id, Type type){
this.id = id;
this.type = type;
}
public Type getType() {
return this.type;
}
public void genJava(PW p... | true |
ba0af526d396371d82205bbe53b799168f661fcf | Java | RebirthDAN/201725050227-zhengdinghao | /201725050227郑丁豪/src/cn/edu/scau/cmi/zhengdinghao/factory/ChickenFactory.java | UTF-8 | 168 | 2.21875 | 2 | [] | no_license | package cn.edu.scau.cmi.zhengdinghao.factory;
public class ChickenFactory implements Factory{
@Override
public Meat getMeat() {
return new Chicken();
}
}
| true |
aaeed099c746ca981ee147b3ddbca7acb0d60cf8 | Java | HPI-Information-Systems/metanome-algorithms | /dfd/dfdAlgorithm/src/fdiscovery/general/CLIParserMiner.java | UTF-8 | 1,605 | 2.53125 | 3 | [
"Apache-2.0"
] | permissive | package fdiscovery.general;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.OptionBuilder;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
public class CLIParserMiner e... | true |
8c55054e85d6b084f47189b418a1e7e8e0f048db | Java | rainbowsky911/springcloud_Hoxton | /springcloud-stream-rabbitmq-provider8801/src/main/java/com/wsh/springcloud/service/impl/MessageProviderImpl.java | UTF-8 | 1,185 | 2.328125 | 2 | [] | no_license | package com.wsh.springcloud.service.impl;
import com.wsh.springcloud.service.IMessageProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.integration.supp... | true |
aacd2f9c726feb1ba3ec0356d6085e77dd468e7f | Java | KovalevuchMykhaylo/Freemarker | /src/main/java/com/library/entity/Author.java | UTF-8 | 1,102 | 2.71875 | 3 | [] | no_license | package com.library.entity;
import com.library.entity.abstractClasses.AbstractNameWithId;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = "author")
public class Author extends AbstractNameWithId {
@Column(name = "last_name")
private String lastName;
... | true |
2c7afc83a74cc3269b625944da91144e991c87aa | Java | millionvoid/GameofLife_Java | /GUI.java | UTF-8 | 6,845 | 2.578125 | 3 | [] | no_license | import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.*;
public class GUI extends JFrame{
private int windowHeight=850;
private int windowWidth=800;
private int windowStartH;
private int... | true |
5d5e710137416509c908998b023e37509938baa0 | Java | coolprocess/Groccessory_ACE_PROJECT_2019_july | /grocessoryshop/src/main/java/com/niit/groccessory/dao/CategoryDaoImpl.java | UTF-8 | 1,571 | 2.40625 | 2 | [] | no_license | package com.niit.groccessory.dao;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
impo... | true |
584e702b297906ef63bc16f5c69ac5fcc7afda85 | Java | LinXin04/-Offer | /20.java | UTF-8 | 621 | 3.203125 | 3 | [] | no_license | import java.util.Stack;
public class Solution {
Stack<Integer> stack1=new Stack<Integer>();
Stack<Integer> stack2=new Stack<Integer>();
public void push(int node) {
stack1.push(node);
if(stack2.empty())
stack2.push(node);
else
{
if(stack2.peek()>node... | true |
ecb46dd139ab97fe723e3003710f342c1159905a | Java | Amani-sbai/Dari-tn | /src/main/java/tn/esprit/spring/repository/CreditRepository.java | UTF-8 | 382 | 1.8125 | 2 | [] | no_license | package tn.esprit.spring.repository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import tn.esprit.spring.entity.Credit;
@Repository
public interface CreditRepository extends CrudRepository<Credit, ... | true |
863fc51183cc48453bb9cd21fb5a59feb589a047 | Java | cleitondantas/portal | /src/main/java/com/montreal/portal/repository/StatusAnaliseRepository.java | UTF-8 | 249 | 1.515625 | 2 | [] | no_license | package com.montreal.portal.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.montreal.portal.entity.StatusAnalise;
public interface StatusAnaliseRepository extends JpaRepository <StatusAnalise,Integer>{
}
| true |
54881667701ebec7d175fd35a5db1fcd784a3ebe | Java | roger-n/umn-spring-2018-csci-1913 | /UMN_CSCI_1133_LABS/Deque.java | UTF-8 | 1,381 | 3.65625 | 4 | [] | no_license | public class Deque <Base> {
private class Node{
private Base object;
private Node left;
private Node right;
public Node(Base object, Node left, Node right) {
this.object = object;
this.left = left;
this.right = right;
}
}
private... | true |
b3a0e810d8b11a9f4bd4ff3a30b2ab283cc37ae7 | Java | Ramis-Bilalov/JAVA_2_Homeworks_MAVEN | /src/main/java/Lesson1/classwork2/Writable.java | UTF-8 | 104 | 2.140625 | 2 | [] | no_license | package Lesson1.classwork2;
public interface Writable<T> {
void write(T value) throws Exception;
}
| true |