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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
17cd14cd8a3bb7d1b97ed81dfe597c84ef840927 | Java | mohanbalaji95/WeatherAppTest | /app/src/main/java/com/example/weatherapptest/MainActivity.java | UTF-8 | 1,305 | 2.171875 | 2 | [] | no_license | package com.example.weatherapptest;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.weatherapptest.Adapters.ViewPagerAdapter;
import com.exam... | true |
5d1083eb749b2d58fdb21a2d72f9479db8890b9c | Java | bruce1237/Java | /HelloWorld.java | UTF-8 | 1,547 | 4.59375 | 5 | [] | no_license | public class HelloWorld {
public static void main(String[] args) {
// 创建名为hello的对象
HelloWorld hello = new HelloWorld();
// 调用hello对象的calcAvg()方法,并将返回值保存在变量avg中
double avg = hello.calcAvg();
System.out.println("平均成绩为:" + avg);
}
// 定义一个返回值为double类型的方法
public double calcAvg() {
double java = 92.5;
... | true |
b51eb2365d31188c59f3feb167efcee2a1408c12 | Java | skdidwania/management-system | /Restaurant_Management.java | UTF-8 | 8,768 | 3.015625 | 3 | [] | no_license | import java.util.*;
public class Restaurant_Management
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
{
int vstr,tvstr=0;
int nvstr,tnvstr=0;
int vfd,tvfd=0;
int nvfd,tnvfd=0;
int fd,tfd=0;
int tamt=0;
int amt=0;int totalamt=0;
int d,totald;int damt=0;int ch=0;
double vat=0;
String str=""... | true |
41e48bf1d99af24e31e5d8cec6c9df85bb71ce81 | Java | haj/weblogic-kubernetes-operator | /model/src/main/java/oracle/kubernetes/weblogic/domain/v1/api/WeblogicApi.java | UTF-8 | 231,782 | 1.546875 | 2 | [
"UPL-1.0"
] | permissive | // Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
// Licensed under the Universal Permissive License v 1.0 as shown at
// http://oss.oracle.com/licenses/upl.
package oracle.kubernetes.weblogic.domain.v1.api;
import com.google.gson.reflect.TypeToken;
import io.kubernetes.client.A... | true |
6e8acfacdb0ae86ba636911908f53690d5e7e3f8 | Java | lihaixing/javaEDU | /src/java眼中xml文件读取/SAXTest.java | GB18030 | 3,856 | 2.765625 | 3 | [] | no_license | package javaxmlļȡ;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.transform.OutputKeys;
import javax.xml... | true |
7e3c288c1fbd605101549fb81426c7227afa941b | Java | RutgerBr/koenennkramers | /src/main/java/school/oose/dea/KramersAdapter.java | UTF-8 | 407 | 2.25 | 2 | [] | no_license | package school.oose.dea;
import nl.oose.dea.koenenkramers.KramersDictionary;
public class KramersAdapter implements Translator
{
private KramersDictionary kramers = new KramersDictionary();
@Override
public String translate(String word) {
return kramers.find(word);
}
@Override
public... | true |
a03df0192de6058045c0d42f94f879ed6313e5e4 | Java | dinislamgithub/springboot-mongo | /src/main/java/com/din/repository/StudentRepo.java | UTF-8 | 395 | 2.140625 | 2 | [] | no_license | package com.din.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import com.din.model.Student;
@Repository
public interface StudentRepo extends MongoRepository<Student, Integer>{
Student findByName(String string);
Student findByCell... | true |
d12e97e3e8f4f156dad530fa706f9304d4c20bc7 | Java | brl0705/Lynch-cop3330-ex15 | /src/main/java/org/example/App.java | UTF-8 | 454 | 2.90625 | 3 | [] | no_license | package org.example;
import java.util.Scanner;
public class App
{
public static void main( String[] args )
{
Scanner input1 = new Scanner (System.in);
System.out.println("Password: ");
String pass = input1.nextLine();
if(pass.equals("71368#"))
{
System.out... | true |
e15f09ced49c7dbaaff7f0141bcdb264731bc1fa | Java | jcmartin2889/Repo | /EquationCommonStubs/src/com/misys/equation/common/test/transaction/COP.java | UTF-8 | 2,791 | 2.015625 | 2 | [] | no_license | /*
* This sample code is provided by Misys for illustrative purposes only.
*
* These examples have not been thoroughly tested under all conditions.
*
* Misys, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
*
* All programs contained herein are provided to you ... | true |
428714483453b0744e3839a59200fbff1e995626 | Java | LI-KC/oop | /ooppj-masterBL/ooppj-master/ooppj-master/src/hk/edu/polyu/comp/comp2021/jungle/model/JungleGame.java | UTF-8 | 15,352 | 3.265625 | 3 | [] | no_license | package hk.edu.polyu.comp.comp2021.jungle.model;
import hk.edu.polyu.comp.comp2021.jungle.*;
import java.lang.annotation.Target;
public class JungleGame {
private char[][] jungleBoard = new char[9][7];
private int[][] PlayerjungleBoard = new int[9][7];
private int[][] WaterBoard = new int[9][7... | true |
6e13f2b8ca698d9befa5a921a1c0e818b1f2f8d8 | Java | hardcao/ssh | /src/com/ssh/dao/impl/ProblemContentDaoImpl.java | UTF-8 | 1,993 | 2.21875 | 2 | [] | no_license | package com.ssh.dao.impl;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.ssh.dao.ProblemContentDao;
import com.ssh.hibernate.HibernateUtil;
import com.ssh.model.ProblemComment;
import com.ssh.model.ProblemContent;
public class ProblemContentDaoImpl implements ProblemContentDao {
... | true |
becdd6b293181fc1d26b970c24365ffaeebc0098 | Java | zou23cn/cas | /support/cas-server-support-oauth/src/main/java/org/apereo/cas/support/oauth/authenticator/OAuth20UserAuthenticator.java | UTF-8 | 3,351 | 1.9375 | 2 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | package org.apereo.cas.support.oauth.authenticator;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.AuthenticationResult;
import org.apereo.cas.authentication.AuthenticationSystemSupport;
import org.apereo.cas... | true |
2803c5eb4e76dd696dd2fbc910d6d73bc23c5f44 | Java | fujion/fujion-framework | /fujion-highcharts/src/main/java/org/fujion/highcharts/PlotTileMap.java | UTF-8 | 1,714 | 2.484375 | 2 | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | /*
* #%L
* fujion
* %%
* Copyright (C) 2021 Fujion Framework
* %%
* 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 requ... | true |
7f213adacac7ab95c567432c456a98a64ad675e3 | Java | databrary/databrary-incubator | /labnanny-experiment/LabNanny/src/main/java/org/labnn/MainApp.java | UTF-8 | 12,187 | 2.109375 | 2 | [] | no_license | package org.labnn;
import org.databrary.entity.Volume;
import org.databrary.controls.SessionDownload;
import org.databrary.controls.VolumeView;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.annotation.JsonView;
import com... | true |
ef35d583b5124ff5a803d4ca2df925eb0183ae62 | Java | phwd/quest-tracker | /hollywood/com.oculus.assistant-base/sources/com/fasterxml/jackson/datatype/guava/deser/ImmutableBiMapDeserializer.java | UTF-8 | 388 | 1.578125 | 2 | [] | no_license | package com.fasterxml.jackson.datatype.guava.deser;
import X.C00313p;
import X.OD;
import X.PR;
import com.fasterxml.jackson.databind.JsonDeserializer;
public class ImmutableBiMapDeserializer extends GuavaImmutableMapDeserializer {
public ImmutableBiMapDeserializer(C00313p r1, OD od, PR pr, JsonDeserializer jsonD... | true |
98ecf9eb725ffef8f0ce508319aa8e4548642b7e | Java | shuangma/HomeGarden | /src/com/hummingbee/garden/model/sprinkler/TemperatureSensor.java | UTF-8 | 1,040 | 3.265625 | 3 | [
"Apache-2.0"
] | permissive | package com.hummingbee.garden.model.sprinkler;
import com.hummingbee.garden.model.simulation.TemperatureSimulator;
/**
* The TemperatureSensor class represents a temperature sensor, each sprinkler group owns one sensor
* This temperature sensor will monitor the current temperature
* @author Shuang Ma
*
*/
publi... | true |
1469fbed90159ee666935e05a5cf108e17b5f5fb | Java | bastobika/Leetcode_Solutions | /DS_Leetcode_Solutions/src/Medium/LC337_HouseRobber.java | UTF-8 | 1,456 | 3.75 | 4 | [] | no_license | package Medium;
/* The thief has found himself a new place for his thievery again. There is only one entrance to this area, called root.
* Besides the root, each house has one and only one parent house. After a tour, the smart thief realized that all houses in this place form a binary tree.
* It will automatically ... | true |
cbe03aec9eed55f0899dce317b9e643a4e69f0cf | Java | hjguyue/ddbSQL | /src/org/db/ddbserver/SqlResult.java | UTF-8 | 1,129 | 2.09375 | 2 | [] | no_license | package org.db.ddbserver;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;
public class SqlResult implements Serializable{
/**
*
*/
private static final long serialVersionUID = 7417871626714039826L;
private int result_id;
private int site;
private String tab... | true |
47594dfdda328ef59b409c3aa42db79affdf8956 | Java | springning/study | /src/main/java/com/nsp/test/fanxing/TestEnumMethod.java | UTF-8 | 407 | 2.515625 | 3 | [] | no_license | package com.nsp.test.fanxing;
import org.junit.Test;
public enum TestEnumMethod
{
SAMPLE1
{
String getInfo()
{
return "sample1";
}
},
SAMPLE2
{
String getInfo()
{
return "sample2";
}
};
abstract String getInfo();
@Test
public void testMethod() {
for (TestEnumMethod testEnumMethod ... | true |
067197151800deda3dfa97b5cd9073588bb7f0b9 | Java | loke-dev/Java-challenges | /src/lc222ak_assign1/Play123Main.java | UTF-8 | 1,169 | 3.8125 | 4 | [] | no_license | package lc222ak_assign1;
import java.util.Objects;
public class Play123Main {
public void main() {
int result = 0;
for (int i = 0; i < 10000; i++) {
if (play123()) {
result++;
}
}
float percentage = (float) result*100/10000;
System.out.printl... | true |
115965a483c5ec898447ee06bbcb74ea5d02ee9c | Java | gaaraw/LostFoundSSM | /src/main/java/service/CommentService.java | UTF-8 | 345 | 1.789063 | 2 | [] | no_license | package service;
import entity.Comment;
import java.util.List;
/**
* @author HABIN
* @date 2020/3/19 1:04
* 评论业务层接口
*/
public interface CommentService {
/**
* 添加评论
* */
int insertComment(Comment comment);
/*
* 查询评论
* */
List<Comment> queryCommentByAcId(int articleId);
}
| true |
bfb149d14377eb2fbf406516e900fda2ce6711ce | Java | carmenjama/healthy_life | /app/src/main/java/com/carmenjama/healthlife/ActivityEstadistica.java | UTF-8 | 1,398 | 2.171875 | 2 | [] | no_license | package com.carmenjama.healthlife;
import android.app.Activity;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.WindowManager;
import com.healthLife.DAO.model.DaoMaster;
import com.healthLife.DAO.model.DaoSession;
import lecho.lib.hellocharts.model.PieChartData;
import le... | true |
85a844924fd11778975464db74347f458b5c6082 | Java | madalinazamfir/EAP-2021 | /eaplabs/src/lab3/abstract_class/Laptop.java | UTF-8 | 239 | 2.625 | 3 | [] | no_license | package lab3.abstract_class;
public class Laptop extends ElectronicDevice{
@Override
public int consumKW() {
return 25;
}
@Override
public void start() {
System.out.println("booting system");
}
}
| true |
68d53efa807951dc63b2cd62cca5871cfbf0f83a | Java | tamanna037/Online_Bookshop | /OnlineBookStore_19/src/java/servlets/searchName.java | UTF-8 | 5,740 | 2.15625 | 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 servlets;
import Interfaces.SharedConstants;
import static Interfaces.SharedConstants.CATEGORY_ADDED;
import static I... | true |
bd05648c6ae9cf9ab618af577307b3f8d506ad99 | Java | zeh/android-libs | /com/zehfernando/utils/KeyboardUtils.java | UTF-8 | 413 | 1.976563 | 2 | [] | no_license | package com.zehfernando.utils;
import android.content.Context;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
public class KeyboardUtils {
public static void hideSoftKeyboard(View __anyView) {
InputMethodManager mgr = (InputMethodManager) __anyView.getContext().getSystemService(Conte... | true |
db5e2b87d677432edf34add6d6d127ecca74c317 | Java | fiveOO/springboot-lifecycle | /src/main/java/com/github/fiveoo/spring/boot/lifecycle/Application.java | UTF-8 | 582 | 1.9375 | 2 | [
"Apache-2.0"
] | permissive | package com.github.fiveoo.spring.boot.lifecycle;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.github.fiveoo.spring.boot.lifecycle.appevent.ApplicationEventOnAppListener;
@SpringBootApplication
public class Application
{
public ... | true |
db21fdd47978b92de63b7e206c716cf36ed06edf | Java | huangzhi1234/dbm-api | /src/main/java/com/withlee/dbm/util/response/CommonResponse.java | UTF-8 | 1,493 | 2.515625 | 3 | [] | no_license | package com.withlee.dbm.util.response;
public class CommonResponse {
private String message;
private Object responseContent;
private int status;
// 执行查询成功返回
public CommonResponse(Object responseContent) {
super();
this.message = "success";
this.responseContent = responseContent;
this.status = 0;
}
... | true |
25678c3cf4900e34af0792fcdb5e13cc656eb8f0 | Java | coderanderson/connexus_android | /app/src/main/java/us/connex/miniprojectapt/Activities/ShowStreamsActivity.java | UTF-8 | 6,414 | 2.09375 | 2 | [] | no_license | package us.connex.miniprojectapt.Activities;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.GridView;
import android.wid... | true |
86285153eeb3a302a5e2db1e86c61906efc6e47e | Java | panrenliang/JavaEE-exercise | /core/src/main/java/com/tw/core/dao/CustomerDao.java | UTF-8 | 1,514 | 2.484375 | 2 | [] | no_license | package com.tw.core.dao;
import com.tw.core.model.Customer;
import com.tw.core.util.HibernateUtil;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public class CustomerDao {
... | true |
bb6de064db09d6511e42356ed6e2dff197f602cc | Java | gaborbiro/SharedExpenses | /app/src/main/java/com/gaborbiro/sharedexpenses/util/AssetUtils.java | UTF-8 | 788 | 2.59375 | 3 | [] | no_license | package com.gaborbiro.sharedexpenses.util;
import android.content.Context;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class AssetUtils {
public static String readAssetAsText(Context context, String filename) throws IOException ... | true |
deef2a4736fb93fb6db90930909f9b01fe1c7677 | Java | amitsingh5949/Algorithms | /TreesBasics/src/com/javaDwarf/binaryTrees/leetcode/_235_LowestCommonAncestorofaBinarySearchTree.java | UTF-8 | 2,300 | 3.71875 | 4 | [] | no_license | package com.javaDwarf.binaryTrees.leetcode;
public class _235_LowestCommonAncestorofaBinarySearchTree {
public static void main(String[] args) {
}
public TreeNode ancenstor = null;
public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {
this.ancenstor = null;
lowestCommonAncestorRe... | true |
59deb9547029c4db206445879c1fb3e80b20a1de | Java | 44010039/netcrusher-java | /core/src/test/java/org/netcrusher/test/CheckLinuxTest.java | UTF-8 | 2,055 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package org.netcrusher.test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.netcrusher.test.process.ProcessResult;
import org.netcrusher.test.process.ProcessWrapper;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Future;
import java.util.stream.Coll... | true |
04e0d5aa2124dc426e0c34859d41405675298fe7 | Java | atulverma-git/CoreJavaProject | /src/cacheManager/CacheManager.java | UTF-8 | 1,759 | 3.46875 | 3 | [] | no_license | package cacheManager;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
public class CacheManager {
private static HashMap<Object, Object> cachedMap = new HashMap<>();
static {
System.out.println("Static block called....................");
try {
Thread threadCleanerUpper = new Thre... | true |
b17755bc48333011f0c70588bcd41ca789157644 | Java | stefanhendriks/katas | /leddisplay/java/10-09-2012/test/LEDDisplayTest.java | UTF-8 | 3,062 | 2.703125 | 3 | [] | no_license | import org.apache.commons.lang3.StringUtils;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import com.fundynamic.LEDDisplay;
public class LEDDisplayTest {
@Test
public void shouldConvertNumberOne() {
String expectedDisplay =
makeDigit(
" ",
" |",
... | true |
fc628ae71beb44bb83a117a837fea3fe6e31b49d | Java | rolandotr/Frechet-distance | /src/distances/Transformation.java | UTF-8 | 721 | 2.90625 | 3 | [] | no_license | package distances;
import trajectory.Trajectory;
public class Transformation{
public double distance;
public Trajectory t1;
public Trajectory t2;
public double[] alpha;
public double[] beta;
public Transformation(double distance, Trajectory t1,
Trajectory t2, double[] alpha, double[] beta) {... | true |
650f67530833a53a8c5c9c8629c8dad6528f3fd1 | Java | aryanise/GitDemo | /src/test/java/Acadamy/E2EProject/verifynavigation.java | UTF-8 | 1,032 | 2.109375 | 2 | [] | no_license | package Acadamy.E2EProject;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import java.io.IOException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
impor... | true |
43496c2c1c22b6e926a4a24ce255651966e6a787 | Java | hkoscielski/system-dyplomant | /app/src/main/java/com/example/hubson/systemdyplomant/repository/remote/WebserviceImpl.java | UTF-8 | 959 | 2.390625 | 2 | [] | no_license | package com.example.hubson.systemdyplomant.repository.remote;
import com.google.gson.GsonBuilder;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class WebserviceImpl {
private static final Object LOCK = new Object();
private static Webservice sInstance;
private W... | true |
e323d1ee9132c2714d414c2cbdbce2e0bb790228 | Java | charlee1688/TestNG | /src/test/java/com/hrms/tests/OrangeHRM_LoginTests.java | UTF-8 | 4,753 | 2.390625 | 2 | [] | no_license | package com.hrms.tests;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.hrms.testBase.Driver;
import com.hrms.utils.ConfigsReader;
public class OrangeHRM_LoginTests {
@BeforeMe... | true |
c9850fb51bd41c344ec8678fa13b2ee3252ee041 | Java | piwpiw/epcis | /epcis-legacy/src/main/java/org/oliot/epcis/service/query/mongodb/MongoQueryService.java | UTF-8 | 106,181 | 1.515625 | 2 | [
"Apache-2.0"
] | permissive | package org.oliot.epcis.service.query.mongodb;
import static org.quartz.CronScheduleBuilder.cronSchedule;
import static org.quartz.JobBuilder.newJob;
import static org.quartz.TriggerBuilder.newTrigger;
import java.io.StringWriter;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import... | true |
3dac8b4a173e1305699d1053b9f17b228f407aa6 | Java | ValeriaMaran/2018-06-13-simulazione_FlightDelays_JDK11 | /src/main/java/it/polito/tdp/flightdelays/db/FlightDelaysDAO.java | UTF-8 | 4,862 | 2.65625 | 3 | [] | no_license | package it.polito.tdp.flightdelays.db;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import it.polito.tdp.flightdela... | true |
6becd15fe776ae24214e4236982793c3ced17593 | Java | ChristopherLowton/IP2-A6 | /src/Controllers/ChooseCatController.java | UTF-8 | 3,020 | 2.390625 | 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 Controllers;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.sql.PreparedStatement;
i... | true |
6cd7c7754df6a38e39f79b1ee01284979cd88a8d | Java | 51hghg/day05 | /app/src/main/java/com/jy/day05/persenter/RecommendPersenter.java | UTF-8 | 3,661 | 2.046875 | 2 | [] | no_license | package com.jy.day05.persenter;
import com.jy.day05.base.BasePresenter;
import com.jy.day05.interfaces.CallBack;
import com.jy.day05.interfaces.tongpao.IRecommend;
import com.jy.day05.model.RecommendModel;
import com.jy.day05.model.data.tongpao.BannerBean;
import com.jy.day05.model.data.tongpao.HotBean;
import com.jy.... | true |
8406a8733490c952e45a838495c20864574021a8 | Java | chenxianghua2014/Education | /src/com/ttgis/education/service/CourseService.java | UTF-8 | 4,775 | 2.328125 | 2 | [] | no_license | package com.ttgis.education.service;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import com.ttgis.education.entity.Course;
import com.ttgis.education.entity.page.CoursePage;
import com... | true |
24bd63ac6c35b7deae3dedf74a9411c61716e136 | Java | damugua/wae | /wae-core/src/main/java/cn/finder/wae/queryer/handleclass/UpdateUserPwdQueryerAfter.java | UTF-8 | 1,809 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package cn.finder.wae.queryer.handleclass;
import java.util.HashMap;
import java.util.Map;
import cn.finder.ui.webtool.QueryCondition;
import cn.finder.wae.business.domain.TableQueryResult;
import cn.finder.wae.business.domain.User;
import cn.finder.wae.business.dto.MapParaQueryConditionDto;
import cn.finder.wae.busi... | true |
7251ee79061d1a129d485e239ffb63488a4498df | Java | AnPMe/android | /media/src/main/java/com/example/media/ImageSwitcherActivity.java | UTF-8 | 3,846 | 2.09375 | 2 | [] | no_license | package com.example.media;
import com.example.media.adapter.GalleryAdapter;
import com.example.media.task.GestureTask;
import com.example.media.task.GestureTask.GestureCallback;
import com.example.media.util.Utils;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view... | true |
722ca47f60dcf4a4494cdab6a5811420afecc903 | Java | imma-fish-u/MobilePuzzleGame | /src/main/java/com/example/hex/GameActivity.java | UTF-8 | 509 | 1.953125 | 2 | [] | no_license | package com.example.hex;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Display;
import com.example.hex.noodles.NoodlePanel;
public class GameActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onC... | true |
213bb8792cdd9781ae81d3ad22eca50bd6d078fe | Java | LucienShui/HelloJava | /src/main/java/ink/lucien/persistence/orm/mybatis/annotation/mapper/KVSystemMapper.java | UTF-8 | 674 | 2.171875 | 2 | [
"Apache-2.0"
] | permissive | package ink.lucien.persistence.orm.mybatis.annotation.mapper;
import ink.lucien.persistence.orm.mybatis.annotation.model.KVSystem;
import org.apache.ibatis.annotations.*;
public interface KVSystemMapper {
@Insert("INSERT INTO `kv_system` (`key`, `value`) VALUES (#{key}, #{value})")
void insert(KVSystem kvSyst... | true |
3c2c13e0cb76ffb245581f4a15e810b347dc8045 | Java | crossfx/DEMO2FINAL | /app/src/main/java/com/example/schen/camera/Adapter/EasyAdapter.java | UTF-8 | 3,807 | 2.71875 | 3 | [] | no_license | package com.example.schen.camera.Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.schen.camera.R;
import com.squar... | true |
404088d8d3e52d9379676e22591a02ddc0632be8 | Java | lijianSE/LeetCode | /java/src/com/company/Q102_BinaryTreeLevelOrderTraversal.java | UTF-8 | 1,277 | 3.34375 | 3 | [] | no_license | package com.company;
import java.util.*;
/**
* Created by LiJian on 2016/5/2.
* Describe : This class is responsible for
*/
public class Q102_BinaryTreeLevelOrderTraversal
{
public List<List<Integer>> levelOrder(TreeNode root)
{
List<List<Integer>> result = new ArrayList<>();
Queue<TreeNode... | true |
7eae9c36c8ec443a623b057671c75159539b3a0c | Java | Moonybb/bitcamp-java_web_study | /javaWorkspace/day25/src/com/bit/day25/StringStream.java | UTF-8 | 827 | 3.15625 | 3 | [] | no_license | package com.bit.day25;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
public class StringStream {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String path = "data.txt";
Fi... | true |
8c5030ca524b8db71ea28b25a0e9274a76e06837 | Java | ewjmulder/program-your-home | /commons-pyh/src/main/java/com/programyourhome/common/config/XsdSchemaIncludeInput.java | UTF-8 | 2,513 | 2.203125 | 2 | [] | no_license | package com.programyourhome.common.config;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import org.apache.commons.io.IOUtils;
import org.w3c.dom.ls.LSInput;
public class XsdSchemaIncludeInput implements LSInput {
private String publicId;
... | true |
79d6a8d8a467bb85c35adb0dc9beb6a143f243c6 | Java | RocioHuertasDiaz/migas | /src/main/java/com/migas/Model/Dao/ConsultasProveedor.java | UTF-8 | 4,327 | 2.484375 | 2 | [] | no_license | package com.migas.Model.Dao;
import com.migas.Model.Beans.Proveedor;
import com.migas.Model.Beans.usuario;
import com.migas.Util.Conexion.Conexion;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class ConsultasProvee... | true |
7dc90245626d3e7a314df6c960e7e65d031d8f9b | Java | l631768226/building | /src/main/java/com/ly/building/model/PlaceModel.java | UTF-8 | 2,970 | 2.15625 | 2 | [] | no_license | package com.ly.building.model;
public class PlaceModel {
private String bank = "0";
private String hospitol = "0";
private String mall = "0";
private String park = "0";
private String restaurant = "0";
private String school = "0";
private String subway = "0";
private String wate... | true |
10ea5c6a848e1cbc6dbe2d861b9264e71e97013f | Java | josephcalver/ProgrammingChallenges | /ProgrammingChallenges/src/_1_6_StringCompression/App.java | UTF-8 | 1,632 | 4.3125 | 4 | [] | no_license | package _1_6_StringCompression;
public class App {
/*
* String Compression: Implement a method to perform basic string compression using
* the counts of repeated characters. For example, the string aabcccccaaa would become
* a2blc5a3. If the "compressed"string would not become smaller than the original stri... | true |
e92de88cc1bc4516471127a5a64334d24836ccd9 | Java | EsatG/Eg | /src/day01_FirstProgramming/classmates.java | UTF-8 | 310 | 1.71875 | 2 | [] | no_license | package day01_FirstProgramming;
public class classmates {
public static void main(String[] args) {
System.out.println("Andi Pepa");
System.out.println("Yucel Bark");
System.out.println("Bahri Turel");
System.out.println("Suleyman Tuna Er");
System.out.println("Omer Cevdet ... | true |
02b252a5ae7605bc339a2bb3e7faf80557f8ddac | Java | transactionMDP/transactionMDP-server-side | /src/main/java/com/bcp/mdp/model/User.java | UTF-8 | 3,968 | 2.15625 | 2 | [] | no_license | package com.bcp.mdp.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.NaturalId;
import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.Instant;
import java.util.... | true |
3b713f61fecf0bcca9404d9694a8cd31619984be | Java | pandafw/panda | /panda-core/src/test/java/panda/lang/time/DurationFormatsTest.java | UTF-8 | 26,308 | 2.8125 | 3 | [
"Apache-2.0"
] | permissive | package panda.lang.time;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
import java.util.Calendar;
import java.uti... | true |
48ac32ca42cea434f517955e6aea19536e527003 | Java | pprathameshmore/ZealMathOlympiad | /app/src/main/java/com/prathameshmore/zealmatholympiad/MainActivity.java | UTF-8 | 7,065 | 1.75 | 2 | [
"MIT"
] | permissive | package com.prathameshmore.zealmatholympiad;
import android.content.Intent;
import android.net.Uri;
import android.support.annotation.MainThread;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.... | true |
f8d062f48bbb55b64dee8612350c7d0d168574d4 | Java | sturmd1/ysoftdemo-backend | /src/main/java/ysoft/repository/TaskRepository.java | UTF-8 | 322 | 1.804688 | 2 | [] | no_license | package ysoft.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import ysoft.domain.Task;
import java.util.Collection;
/**
* Created by sturm on 30.08.2016.
*/
public interface TaskRepository extends JpaRepository<Task, Long> {
Collection<Task> findByTaskListUserName(String userName);
... | true |
6fe9de3c001d06cc719c58ac6541827451eba0e4 | Java | Suji130/JavaProject09 | /09Project/app/src/main/java/com/example/doqtq/a09project/MainActivity.java | UTF-8 | 2,130 | 2.21875 | 2 | [] | no_license | package com.example.doqtq.a09project;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
im... | true |
033fabdfc3c60bcd0fd9b7fe74a78f47b70681bf | Java | PengPeng1121/result-util | /src/main/java/com/pp/common/constant/resultCognize/Scale_26.java | UTF-8 | 1,642 | 2.4375 | 2 | [] | no_license | package com.pp.common.constant.resultCognize;
/**
* Created by asus on 2018/1/15.
* 15月16天~16月15天
*/
public enum Scale_26 {
score_1("1","0-31"),
score_2("2","32-33"),
score_3("3","34-35"),
score_4("4","36-37"),
score_5("5","38-39"),
score_6("6","40-41"),
score_7("7","42-43"),
... | true |
e62d93cb68f2027c557fa8928d625537bd8b8d8f | Java | miladibra10/Hospital_Database_Project | /src/model/dataAccess/EmptyRoomsDA.java | UTF-8 | 1,785 | 2.75 | 3 | [] | no_license | package model.dataAccess;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;
import com.mysql.jdbc.ResultSet;
import model.entity.Room;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
public class EmptyRoomsDA {
private Connection connection;
p... | true |
c5a31fc5f9c46e204f32c082dbd6f964fe466cd4 | Java | mahebei/LeetCode | /1st_round/001-100/065.java | UTF-8 | 1,399 | 3.765625 | 4 | [] | no_license | /*
65. Valid Number
Hard
Validate if a given string can be interpreted as a decimal number.
Some examples:
"0" => true
" 0.1 " => true
"abc" => false
"1 a" => false
"2e10" => true
" -90e3 " => true
" 1e" => false
"e3" => false
" 6e-1" => true
" 99e2.5 " => false
"53.5e93" => true
" --6 " => false
"-+3" => false
"95... | true |
be7682f960d05b6d6a630178ff473bbcf37e86f6 | Java | vulzee/Android | /Serializer/app/src/main/java/serializerteam/serializer/LoginActivity.java | UTF-8 | 4,395 | 2.109375 | 2 | [] | no_license | package serializerteam.serializer;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import an... | true |
44a812e596547841c712ecb7b2398ffa9e92f65a | Java | payneteasy/jdbc-proc | /jdbc-proc-daofactory/src/main/java/com/googlecode/jdbcproc/daofactory/impl/parameterconverter/ParameterConverterUtils.java | UTF-8 | 844 | 2.71875 | 3 | [] | no_license | package com.googlecode.jdbcproc.daofactory.impl.parameterconverter;
class ParameterConverterUtils {
static String filter3BytesUTF(String value) {
if (value == null) {
return null;
}
if (!has4ByteChars(value)) {
return value;
}
StringBuilder builder ... | true |
d03b58a6301973a7c7cf9fbbcf1937120f37bd30 | Java | BiYiTuan/codegenius | /src/main/java/org/fishlab/util/lang/ClassUtils.java | UTF-8 | 2,273 | 2.96875 | 3 | [] | no_license | package org.fishlab.util.lang;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
/**@author Black Lotus
* */
public class ClassUtils {
private static final String SETMETHOD_PREFIX="set";
/**获取一个类以及超类实现的所有接口
* */
public static List<Cl... | true |
8e3578890fe8fd2aa06bfbb0425d0ff8ba20b3f2 | Java | johndunaske/FRC-Stronghold-2016 | /src/org/usfirst/frc/team1559/robot/Gatherer.java | UTF-8 | 4,702 | 2.9375 | 3 | [] | no_license | package org.usfirst.frc.team1559.robot;
import edu.wpi.first.wpilibj.Counter;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.PowerDistributionPanel;
import edu.wpi.first.wpilibj.Spark;
import edu.wpi.first.wpilibj.Talon;
public class Gatherer {
private... | true |
521ecb0f35c651b2c9bb23bc84c3087b92343136 | Java | keki/dd-trace-java | /dd-smoke-tests/profiling-integration-tests/src/main/java/datadog/smoketest/profiling/ProfilingTestApplication.java | UTF-8 | 1,555 | 2.796875 | 3 | [
"Apache-2.0",
"LGPL-2.1-only",
"EPL-1.0",
"MIT"
] | permissive | package datadog.smoketest.profiling;
import datadog.trace.api.Trace;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadMXBean;
import java.util.Random;
import java.util.concurrent.TimeUnit;
public class ProfilingTestApplication {
private static final ThreadMXBean THREAD_MX_BEAN = Mana... | true |
8c3567bc51173d0e808dc6bf8f13942aa99c5c6a | Java | izardj/TPComplexe | /src/service/IReelService.java | WINDOWS-1252 | 471 | 2.953125 | 3 | [] | no_license | package service;
import metier.Reel;
public interface IReelService {
/**
* Additionne deux nombres reels
* @param x Premier nombre additionner
* @param y Second nombre additionner
* @return Le resultat de l'addition
*/
public Reel addition(Reel x, Reel y);
/**
* Soustrait deux nombres reels
* @para... | true |
9c02103306fc6b02f26629e87d91803f46a38d86 | Java | davidJavac/halcones_diarios | /src/controlador/ControladorSueldos.java | UTF-8 | 477 | 1.882813 | 2 | [] | no_license | package controlador;
import modelo.LogicaSueldos;
import modelo_vo.Motivo_caja_internaVO;
import vista.VistaAltaGastosInternos;
import vista.VistaBuscarGastosInternos;
import vista.VistaEditarGastosInternos;
public class ControladorSueldos {
private LogicaSueldos _logica_sueldos;
public void setLogicaSueldos(Log... | true |
2526264098050c23520ab407dec834e427ff42ec | Java | CMillerDevGuy/Superhero | /src/main/java/Superhero/Superhero/services/PowerService.java | UTF-8 | 240 | 2.15625 | 2 | [] | no_license | package Superhero.Superhero.services;
import java.util.List;
import Superhero.Superhero.entities.Power;
public interface PowerService {
List<Power> getAllPowers();
void addPower(Power power);
void updatePowerById(Power power);
}
| true |
ff5fd796fda42da5b54bf93c68bea91af19f45c3 | Java | xuxiaowei007/wt-console | /src/main/java/com/wt/hea/webbuilder/struts/form/BaseInfoForm.java | UTF-8 | 1,105 | 2.046875 | 2 | [] | no_license | package com.wt.hea.webbuilder.struts.form;
import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
import com.wt.hea.webbuilder.model.BaseInfo;
import com.wt.hea.webbuilder.model.PopWindow;
/**
*
* <pre>
* 业务名:
* 功能说明: 首页资源信息form
* 编写日期: 2011-3-24
* 作者: xiaoqi
*
* 历史记录
* 1、修改... | true |
b484a80ee7e8e5ad7a2085b39dfdec96d67a4b7b | Java | sudha559/Obesity | /OverWeight-new/src/overweight/servlet/AssignPatient.java | UTF-8 | 2,789 | 2.234375 | 2 | [] | no_license | //package overweight.servlet;
//
//import java.io.IOException;
//import java.util.Date;
//
//import javax.servlet.RequestDispatcher;
//import javax.servlet.ServletException;
//import javax.servlet.http.HttpServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//imp... | true |
ad99de5cbfc10d0ce44f4fa8b291cd4679a1d8a7 | Java | ilakkmanoharan/HttpRestClientForMeraki | /RESTClientForMeraki/src/HttpOrgRequests.java | UTF-8 | 1,056 | 1.75 | 2 | [] | no_license | import org.apache.http.client.methods.HttpGet;
import org.apache.http.entity.StringEntity;
/* Copyright (C) 2017 Ilakkuvaselvi Manoharan - All Rights Reserved
*
*/
public interface HttpOrgRequests {
public String baseurl = "https://dashboard.meraki.com/api/v0";
public void getListOfOrgs();
public void g... | true |
1443929155cf5faa4e7ccacd4d351c3901f885ed | Java | smeggins/CSTP1305-AlgorithmsDataStructures | /QueJava/src/PriorityQueArray.java | UTF-8 | 1,921 | 3.703125 | 4 | [] | no_license | public class PriorityQueArray {
int[] arr = new int[8];
int last_index;
PriorityQueArray() {
last_index = -1;
}
void insert(int val) {
arr[last_index + 1] = val;
last_index++;
}
int peek() {
System.out.println("in peek");
int min = Integer.MAX_... | true |
76ce5105d5b28241eedf02a111cdf182eb638316 | Java | congcongye/bpmn | /store-map/src/main/java/dataService/xmlObj/Par.java | UTF-8 | 1,001 | 2.6875 | 3 | [] | no_license | package dataService.xmlObj;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
public class Par {
Integer lineSpace;
Integer lineNumber;
List<Line> lines;
public Par(Element epar) {
NodeList lineList = epar.getElementsByTagName("line");
lineNumber = ... | true |
b8deb76d6b264fb33d66edd7ef7c894a6be1bd36 | Java | panlu2222/myGit | /day2/Solution2.java | GB18030 | 584 | 3.3125 | 3 | [] | no_license | package day2;
/**
* public class ListNode {
* int val;
* ListNode next = null;
return arr;
}
}* ListNode(int val) {
* this.val = val;
* }
* }
*/
//һβͷ˳һArrayList
import java.util.ArrayList;
public class solution {
public ArrayList<Integer> printListFromTailTo... | true |
381f699adfcb716e22279704531429311c617ed9 | Java | akshayshenoy38/DentalCare | /app/src/main/java/com/example/akshay/dentalcare3/DocBlogAdapter.java | UTF-8 | 2,131 | 2.46875 | 2 | [] | no_license | package com.example.akshay.dentalcare3;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
p... | true |
3387b683f1c8dcf95944f9a3a3589970559de8e2 | Java | dlwls5201/CleanCode | /src/test/sample1/Exercise1.java | UTF-8 | 149 | 1.640625 | 2 | [] | no_license | package sample1;
public class Exercise1 {
public static void main(String[] args) {
Temp temp = new Temp();
//temp1,3,4
}
}
| true |
71f6e6ac789639ec6061a40b5fc566da375cdf20 | Java | wuxidemo/projmngr | /src/com/hs/pm/bean/ProjectFee.java | GB18030 | 1,601 | 2.09375 | 2 | [] | no_license | package com.hs.pm.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
*
* ҵ¼
* @author lenvon
*
*/
@Entity
@Table(name="tb_projectfee")
public... | true |
2e3a45228ab123ddecdc350f9bc702bba7606f22 | Java | aegerm/spring-sgl-bookstore | /src/main/java/com/aegerm/springsglbookstore/domain/Categoria.java | UTF-8 | 1,031 | 2.3125 | 2 | [] | no_license | package com.aegerm.springsglbookstore.domain;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@Data
@Entity... | true |
accb303fc821cadc4b0416e04e1c282f9f0edb21 | Java | jozn/Bisphone | /app/messaging/broadcast/BroadcastEntityStatusModel.java | UTF-8 | 592 | 2.109375 | 2 | [] | no_license | package app.messaging.broadcast;
import app.common.entity.ContactEntityLite;
import app.common.entity.HistoryEntity.DeliveryStatus;
public class BroadcastEntityStatusModel {
private ContactEntityLite f3314a;
private DeliveryStatus f3315b;
public BroadcastEntityStatusModel(ContactEntityLite contactEntityL... | true |
cf6ba2f4066171b4d29b832ebc975bf53d9b6503 | Java | AndreiGS/COVID-19-Finder | /Frontend/app/src/main/java/com/anticoronabrigade/frontend/ActivityClasses/Main/PointDto.java | UTF-8 | 844 | 2.75 | 3 | [] | no_license | package com.anticoronabrigade.frontend.ActivityClasses.Main;
public class PointDto {
private Double latitude, longitude;
public PointDto() {
}
public PointDto(PointDto pointDto){
this.latitude=pointDto.getLatitude();
this.longitude=pointDto.getLongitude();
}
public PointDto(D... | true |
94ccf83ce55d787199741a9b387877e922bce44c | Java | hjlee83/spring-webservice | /src/main/java/com/mango/webservice/dto/post/PostDto.java | UTF-8 | 587 | 2.171875 | 2 | [] | no_license | package com.mango.webservice.dto.post;
import com.mango.webservice.domain.post.Post;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
public class PostDto {
@Getter
@Setter
@NoArgsConstructor
public static class Create {
private String title;
private Strin... | true |
7baf73c1d066d56046b9c65d05af13371e29fb96 | Java | debop/debop4k | /debop4k-data-orm/src/test/java/debop4k/data/orm/mapping/associations/onetomany/set/models/ProductImage.java | UTF-8 | 1,592 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com>
* 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... | true |
ab1e4e902807d868c27890595e3153beb9ecd818 | Java | octsaifx2728/ingram | /src/main/java/com/ust/coppel/incentivos/repository/IncDependenciasRepository.java | UTF-8 | 652 | 1.8125 | 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 com.ust.coppel.incentivos.repository;
import java.util.List;
import com.model.CalculoIncentivos.IncDependencias;
im... | true |
acb5fb02f4bdad3dd239b6715a0c591e621d29fe | Java | asmuelle/lazywikiparser | /src/main/java/org/herban/wiki/filter/tags/SpecialTagToken.java | UTF-8 | 377 | 1.945313 | 2 | [] | no_license | package org.herban.wiki.filter.tags;
/**
* Created by IntelliJ IDEA.
* User: MUAN104
* Date: 04.03.2009
* Time: 10:20:58
* To change this template use File | Settings | File Templates.
*/
public class SpecialTagToken extends OpenTagToken {
public SpecialTagToken(int token, String name, String openT... | true |
5bd024006e0d53f9b643100510a166f626714519 | Java | 5l1v3r1/sony-headphones-hack | /base-dex2jar.jar.src--files/com/google/android/gms/maps/model/internal/zzt.java | UTF-8 | 907 | 1.523438 | 2 | [] | no_license | package com.google.android.gms.maps.model.internal;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import com.google.android.gms.internal.zzew;
public abstract class zzt extends zzew implements zzs {
public static zzs zzbn(IBinder paramIBinder) {
if (paramIBinder == null)
... | true |
eb949a3605f5f95f312e59a8e0929b04782504a4 | Java | zhangtao123/security | /src/main/java/com/yibo/security/service/impl/UserServiceImpl.java | UTF-8 | 605 | 1.945313 | 2 | [] | no_license | package com.yibo.security.service.impl;
import com.yibo.security.dao.UserDao;
import com.yibo.security.entity.UserEntity;
import com.yibo.security.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
@Se... | true |
a0a54476c960c9aa878a882ff43f5e13b171fb71 | Java | wangqingshan/desin_pattern | /src/main/java/com/example/design/pattern/day09/interfacetype/Test.java | UTF-8 | 454 | 2.59375 | 3 | [] | no_license | package com.example.design.pattern.day09.interfacetype;
/**
* Test
*
* @Title: Test.java
* @Copyright: Copyright (c) 2005
* @Description:
* @Company: 互动百科
* @Created on 2019-3-18 10:27
* @Author 90
*/
public class Test {
public static void main(String[] args) {
Sourceable sourceable= new SourceSu... | true |
b573fa703ad9f2eb775f12df2411c4b26c94b745 | Java | yufeilong92/2019-9-12 | /app/src/main/java/com/tsyc/tianshengyoucai/utils/FragmentUtil.java | UTF-8 | 1,331 | 2.5625 | 3 | [] | no_license | package com.tsyc.tianshengyoucai.utils;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import java.util.List;
/**
* @Author : YFL is Creating a porject in PC$
* @Email : yufeilong92@163.com
* @Time :2019/9/11 16:06
* @Pur... | true |
0bfc5f076e16630d7815ba6b65a7369a7245c41a | Java | leodejevga/Modellgetriebene-Softwareentwicklung | /3/org.xtext.example.petrinet/src-gen/org/xtext/example/mydsl/petriNetz/util/PetriNetzAdapterFactory.java | UTF-8 | 7,170 | 1.960938 | 2 | [] | no_license | /**
* generated by Xtext 2.12.0
*/
package org.xtext.example.mydsl.petriNetz.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
import org.xtext.example.mydsl.petriNe... | true |
181db7457b80f3fecdf6c49c2f9092257182fae2 | Java | nikhilraskar/DigitalSignature | /DSCRM/src/main/java/com/nextech/dscrm/newDTO/ProductDTO.java | UTF-8 | 944 | 2.40625 | 2 | [] | no_license | package com.nextech.dscrm.newDTO;
import com.nextech.dscrm.dto.AbstractDTO;
public class ProductDTO extends AbstractDTO{
private String productType;
private String productValidity;
private String name;
private float pricePerUnit;
public ProductDTO(){
}
public ProductDTO(int id){
... | true |
f36f77522d0560db89529c583b4f5c1125ce9485 | Java | MarcNBecker/Planspiel | /Planspiel/src/de/planspiel/ereignis/ZinsEreignis.java | ISO-8859-1 | 1,488 | 3.109375 | 3 | [] | no_license | package de.planspiel.ereignis;
import de.planspiel.cafe.Kredit;
import de.planspiel.konsolengui.EntscheidungTreffenGUI;
import de.planspiel.spiel.Zufall;
/**
* Proof of concept fr ein Eregnis
*
* @author Marc Becker
*
*/
public class ZinsEreignis implements Ereignis {
private int runde;
priva... | true |
9fa1823b98ff78f94b4dee3a93a5863a7a6d3afa | Java | jflorus/Tests | /src/pages/BasePage.java | UTF-8 | 7,123 | 2.28125 | 2 | [] | no_license | package pages;
import org.junit.Assert;
import org.openqa.selenium.*;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.List;
/**
* Create... | true |
5570a67d79effb6b6d357cdef83e487b400b7f20 | Java | ali1112/MyTestSerivice1 | /TestNew/src/graph/GraphSolutions.java | UTF-8 | 1,906 | 3.28125 | 3 | [] | no_license | package graph;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Stack;
/**
* Created by msharafat on 1/31/18.
*/
public class GraphSolutions {
public static void main(String [] args){
ArrayList<ArrayList<Integer>> list = new ArrayList<>();
ArrayL... | true |
4dbc3e8223451e8f6163088a54be4c6c1f879f00 | Java | justlookabove/GetUp-Alarm-App | /app/src/main/java/com/thisoneguy/cmps_121/alarm/Alarm.java | UTF-8 | 681 | 2.203125 | 2 | [] | no_license | package com.thisoneguy.cmps_121.alarm;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
public class Alarm extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Log.e("Receiver", "s... | true |
9cc85c0203c220253bebf7b3ef683494346961a7 | Java | ZarpaoMC/AthenaCore | /src/net/athenamc/spigot/core/permissions/SpigotPermissionAPI.java | UTF-8 | 4,115 | 2.46875 | 2 | [] | no_license | package net.athenamc.spigot.core.permissions;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import net.athenamc.core.Core;
import net.athenamc.core.exceptions.RankDoesNotExistException;
import net.athenamc.core.permissions.Per... | true |
9e83001a82f0db5e672f32285c0f3668780a8c0d | Java | lzxadsl/sub-frame | /testsrc/com/test/mq/MqMainTest.java | UTF-8 | 683 | 2.234375 | 2 | [] | no_license | package com.test.mq;
import java.util.ArrayList;
import java.util.List;
import com.frame.mq.BaseThread;
import com.frame.mq.ConsumerThread;
import com.frame.mq.ProductThread;
/**
*
* @author LiZhiXian
* @version 1.0
* @date 2015-12-14 上午11:14:48
*/
public class MqMainTest {
public static void main(String[] a... | true |
cb4b2ac5eb19f4c76c68050def6c7fd97cb33d88 | Java | claztec/spring4codingbook | /src/test/java/net/claztec/document/service/MyDocumentWithResourceInjectionTest.java | UTF-8 | 1,429 | 2.046875 | 2 | [] | no_license | package net.claztec.document.service;
import net.claztec.document.model.Type;
import net.claztec.document.views.Menu;
import net.claztec.document.views.ResourceLoaderMenu;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support... | true |