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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
fef92147bc11fe50a58893f3ac6bbdbdb69098cf | Java | anjaligr05/Agriculture-Assistant | /AgricultureAssistant/src/training/bosch/aa/domain/PersonalInfo.java | UTF-8 | 1,679 | 2.421875 | 2 | [] | no_license | package training.bosch.aa.domain;
public class PersonalInfo {
private String fName;
private String lName;
private String phoneNo;
private String emailId;
private String username;
private String password;
public PersonalInfo() {
super();
}
public PersonalInfo(String username) {
super();... | true |
c5d894a740d4d42300cc916b9d04e945d9560acb | Java | kin7274/Egometer | /app/src/main/java/com/example/elab_yang/egometer/activity/DBChoiceActivity.java | UTF-8 | 2,223 | 1.890625 | 2 | [] | no_license | package com.example.elab_yang.egometer.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.WindowManager;
import android.widget.RelativeLayout;
import android.widget... | true |
77bfddcbe731701d304f35939dc51f93433598f0 | Java | ovidiuf/events-api | /src/main/java/io/novaordis/events/api/parser/QueryOnce.java | UTF-8 | 3,532 | 2.59375 | 3 | [] | no_license | /*
* Copyright (c) 2017 Nova Ordis LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | true |
cc7f0444c36b9c01dc8d5e6bf26569d909485b93 | Java | edimossilva/POO1 | /POO1 - Aula 06 - interfaces/src/modelo/Pessoa.java | UTF-8 | 222 | 2.71875 | 3 | [] | no_license | package modelo;
public class Pessoa implements Transportavel{
public void pensar() {
System.out.println("Estou pensando");
}
@Override
public void transportar() {
System.out.println("deixa que eu vou soh");
}
}
| true |
77e86ed0cc444bd1e13f6f0e67049f97384e792d | Java | Mongrelgin/Diplom | /SpringDiplomApp/src/main/java/com/example/springdiplomapp/repository/SensorRepository.java | UTF-8 | 306 | 1.765625 | 2 | [] | no_license | package com.example.springdiplomapp.repository;
import com.example.springdiplomapp.model.Sensor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface SensorRepository extends JpaRepository<Sensor, Long> {
}
| true |
74054194f97b96d69e85dfe73f96334d6c39721d | Java | exTypen/HumanResourceManagementSystem | /src/main/java/kodlamaio/hrms/api/controllers/JobAdvertisementsController.java | UTF-8 | 2,888 | 2.28125 | 2 | [] | no_license | package kodlamaio.hrms.api.controllers;
import kodlamaio.hrms.business.Abstracts.JobAdvertisementService;
import kodlamaio.hrms.core.utilities.result.ErrorDataResult;
import kodlamaio.hrms.entities.concretes.JobAdvertisement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.htt... | true |
5c5d35d660d7e681a4becda8d805d1bbefebaaf0 | Java | khangnlbk/LibrarySystemByJava | /Source/src/BookManager/Entity/Copy.java | UTF-8 | 4,648 | 2.546875 | 3 | [] | no_license | package BookManager.Entity;
import java.sql.ResultSet;
import java.sql.SQLException;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
/**
* @author anonymous588
*/
public c... | true |
fee89c881d1e96ddf0251a6040726e1c74dbacc8 | Java | facuerbin/DSDM | /DiagramaClasesCompleto/src-gen/diagramaClasesCompleto/impl/OperacionImpl.java | UTF-8 | 11,668 | 1.53125 | 2 | [] | no_license | /**
*/
package diagramaClasesCompleto.impl;
import diagramaClasesCompleto.DiagramaClasesCompletoPackage;
import diagramaClasesCompleto.EndPoint;
import diagramaClasesCompleto.Operacion;
import diagramaClasesCompleto.ParametroInterno;
import diagramaClasesCompleto.Retornable;
import diagramaClasesCompleto.TipoRetorno;... | true |
a356abb38d0846f0a80295b7fbfaf323e8b06328 | Java | niharika13pjr/Hashtag-Application | /src/Servlet/Database.java | UTF-8 | 3,306 | 2.796875 | 3 | [] | no_license | package Servlet;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import ims.InventoryManagementSystem;
import ims.Items;
import ims.PickingResult;
import ims.RestockingResult;
public class Database implements ims.Inve... | true |
c8e73405b2d6937a445a47c2c835a980c5c90101 | Java | mawise/alphahex | /src/test/java/com/matt_wise/alphahex/TestSuperMLPC.java | UTF-8 | 3,245 | 2.484375 | 2 | [] | no_license | package com.matt_wise.alphahex;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.ml.ann.FeedForwardTopology;
import org.apache.spark.ml.ann.TopologyModel;
import org.apache.spark.ml.classification.MultilayerPerceptronClassificationModel;
import org.apache.sp... | true |
1abe0009bc69a64961784bce2583c92800c9a40c | Java | JnCarl/Eda_Grafos_AdjList | /Graph/Edge.java | UTF-8 | 367 | 3.140625 | 3 | [] | no_license |
public class Edge<E> {
private E destino;
double peso;
public Edge(E d) {
this.destino = d;
}
public Edge(E d, double p) {
this(d);
peso = p;
}
public E getDestino() {
return destino;
}
public boolean equals(Object n) {
Edge a = (Edge) n;... | true |
9fae9dc2934997258d40c7a70cd20059399e402f | Java | momoevatony/practiceProject | /JavaForExercise/src/com/momoevatony/searchAlgorithm/BinarySearch.java | UTF-8 | 933 | 3.859375 | 4 | [] | no_license | package com.momoevatony.searchAlgorithm;
public class BinarySearch {
public static void main (String args[]){
int[] array = {1,2,3,4,5,6,7,8,9};
System.out.print(Integer.toString(binarySearch2(array, 5)));
}
public static int binarySearch1(int[] array, int x){
int start = 0;
int end = array.length-1;
in... | true |
1180908c29216751c3fbe2ce3b93c7edc6e6941d | Java | cpenalozag/DataStructures | /taller2/src/mundo/Agenda.java | UTF-8 | 1,108 | 3.40625 | 3 | [] | no_license | package mundo;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
public class Agenda<T> {
public ArrayList <T> eventos;
private BufferedReader br;
private String pattern = "yyyy/MM... | true |
173be8b3c5768d2c345ee17e5c51fed1e2a08520 | Java | santfirax/Reto3ScreenPlay | /src/test/java/co/com/choucairtesting/certification/reto3/stepdefinitions/Reto3ScreenPlayStepDefinitions.java | UTF-8 | 2,092 | 2.28125 | 2 | [] | no_license | package co.com.choucairtesting.certification.reto3.stepdefinitions;
import co.com.choucairtesting.certification.reto3.model.AppointmentData;
import co.com.choucairtesting.certification.reto3.model.RegistrationData;
import co.com.choucairtesting.certification.reto3.questions.ThePerson;
import co.com.choucairtesting.cer... | true |
5fa3fea0d750e34f62413aa48dc77768617e332c | Java | DivisoSofttech/offer | /src/main/java/com/diviso/graeshoppe/offer/web/rest/OfferResource.java | UTF-8 | 5,843 | 2.265625 | 2 | [] | no_license | package com.diviso.graeshoppe.offer.web.rest;
import com.codahale.metrics.annotation.Timed;
import com.diviso.graeshoppe.offer.service.OfferService;
import com.diviso.graeshoppe.offer.web.rest.errors.BadRequestAlertException;
import com.diviso.graeshoppe.offer.web.rest.util.HeaderUtil;
import com.diviso.graeshoppe.off... | true |
08aff6bac8ba3ee586ee638a2cf015a6bcea06ea | Java | x3ro/tinyos-legacy | /tinyos-0.6.x/tools/net/tinyos/gdi/GDIDemo.java | UTF-8 | 6,411 | 2.421875 | 2 | [] | no_license | /* Demo for a signal plotter.
*/
package net.tinyos.gdi;
import ptolemy.plot.*;
import java.sql.*;
import java.applet.*;
import java.util.*;
public class GDIDemo extends PlotApplet {
///////////////////////////////////////////////////////////////////
//// public methods ... | true |
490c28bfc19925f2cdd0764e30125242e35e334a | Java | Pabpol/DisneyAPI | /src/main/java/com/AlkemyChallenge/DinseyAPI/secvices/ConfirmationTokenService.java | UTF-8 | 841 | 2.25 | 2 | [] | no_license | package com.AlkemyChallenge.DinseyAPI.secvices;
import java.time.LocalDateTime;
import java.util.Optional;
import org.springframework.stereotype.Service;
import com.AlkemyChallenge.DinseyAPI.modelDTO.ConfirmationToken;
import com.AlkemyChallenge.DinseyAPI.repository.ConfirmationTokenRepository;
import lombok.AllArg... | true |
40ecb807e40a82065a8f8d2bf5dc43300a39f523 | Java | tjwjdgks/SpringRestAPIStudy | /src/test/java/seo/study/springrestapi/events/EventTest.java | UTF-8 | 613 | 2.625 | 3 | [] | no_license | package seo.study.springrestapi.events;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class EventTest {
@Test
public void builder(){
Event event= Event.builder()
.name("test")
.description("real test")
.bu... | true |
aa1136c1a3187e5a6dbf0ea54ef332fc2a423e0f | Java | Zjly/Material-donation-system | /src/com/dao/impl/DetailDaoImpl.java | UTF-8 | 1,293 | 2.25 | 2 | [] | no_license | package com.dao.impl;
import com.dao.DetailDao;
import com.pojo.detail;
public class DetailDaoImpl extends BaseDao implements DetailDao {
@Override
public int addDetail(detail detail) {
String sql = "insert into DonatingPlatForm..t_detail (Id, name, time, email, phone, address, introduction, details... | true |
59b699b5c81c005e6915622cca1f3a7ceed8dc30 | Java | hamlet0x62/stick-to-offer | /CodingInterview/src/coding/interview/needoffer/SerializeBinTree/Solution.java | UTF-8 | 2,244 | 3.328125 | 3 | [] | no_license | package coding.interview.needoffer.SerializeBinTree;
import beans.TreeNode;
import utils.TreeUtils;
import java.util.*;
import static java.lang.System.out;
public class Solution {
TreeNode buildTree(Integer[] seq){
Queue<TreeNode > q = new LinkedList<>();
TreeNode head = new TreeNode(seq[1]);
... | true |
243a20736fcf6e4ae23bd30bd7943704ab5fcb68 | Java | sindongboy/topinion | /src/main/java/com/skplanet/nlp/driver/LDAinferencer.java | UTF-8 | 4,346 | 2.34375 | 2 | [] | no_license | package com.skplanet.nlp.driver;
import cc.mallet.pipe.*;
import cc.mallet.topics.ParallelTopicModel;
import cc.mallet.topics.TopicInferencer;
import cc.mallet.types.Instance;
import cc.mallet.types.InstanceList;
import com.skplanet.nlp.PROP;
import com.skplanet.nlp.cli.CommandLineInterface;
import com.skplanet.nlp.co... | true |
f3998e2d44be7de853ff7be23556a93b1b13b52c | Java | neobots2903/Stronghold | /src/org/usfirst/frc/team2903/robot/commands/commoners/HorizontalAim.java | UTF-8 | 1,119 | 2.75 | 3 | [] | no_license | package org.usfirst.frc.team2903.robot.commands.commoners;
import org.usfirst.frc.team2903.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
public class HorizontalAim extends Command {
int index;
Command turnGyro;
public HorizontalAim(int index) {
super("HorizontalAim");
this.index = ... | true |
d59b45f9512f2ef0e3c25fb282b4cb6796ceee53 | Java | ZoranLi/thunder | /com/xunlei/downloadprovider/dialog/g.java | UTF-8 | 459 | 1.609375 | 2 | [] | no_license | package com.xunlei.downloadprovider.dialog;
import android.view.View;
import android.view.View.OnClickListener;
/* compiled from: XLManagedAlertDialog */
final class g implements OnClickListener {
final /* synthetic */ f a;
g(f fVar) {
this.a = fVar;
}
public final void onClick(View view) {
... | true |
50152dac596d6964cfe7d3e2f380285bb35c492d | Java | emprestes/qandroid-class | /core/src/main/java/br/com/quaddro/emprestes/qandroid100/domain/endereco/Logradouro.java | UTF-8 | 150 | 1.601563 | 2 | [] | no_license | package br.com.quaddro.emprestes.qandroid100.domain.endereco;
public class Logradouro extends Entity<Long> {
String nome;
Bairro bairro;
}
| true |
5ba369c3b808b67cd88eb54f31e320e0727d105a | Java | liaohao1986/helloworld | /src/main/java/com/huoli/checkin/framework/mvc/DruidDataSourceFactory.java | UTF-8 | 1,269 | 2.265625 | 2 | [] | no_license | package com.huoli.checkin.framework.mvc;
import com.alibaba.druid.pool.DruidDataSource;
/**
* 描述: 默认的数据源工厂类<br>
* 版权:Copyright (c) 2011-2017<br>
* 公司:北京活力天汇<br>
* 版本:1.0<br>
* 作者:廖浩<br>
* 创建日期:2017年8月26日<br>
*/
public class DruidDataSourceFactory extends AbstractDataSourceFactory<DruidDataSource> {... | true |
ebfd25753ff486f356096c095177737434604406 | Java | DataDog/dd-trace-java | /dd-smoke-tests/appsec/springboot-security/src/main/java/datadog/smoketest/appsec/springbootsecurity/controllers/UserController.java | UTF-8 | 999 | 2.390625 | 2 | [
"Apache-2.0",
"UPL-1.0",
"MIT",
"BSD-3-Clause"
] | permissive | package datadog.smoketest.appsec.springbootsecurity.controllers;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.provisioning.UserDetailsManager;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.ann... | true |
d7670af7d79c4522d484f566cc1d086c9c9aa38c | Java | JianpingZeng/clank | /modules/org.clang.analysis/src/org/clang/analysis/analyses/threadSafety/til/Code.java | UTF-8 | 11,380 | 1.578125 | 2 | [] | no_license | /**
* This file was converted to Java from the original LLVM source file. The original
* source file follows the LLVM Release License, outlined below.
*
* ==============================================================================
* LLVM Release License
* ======================================================... | true |
6d591804132489234021a7ce83d212e7b20149d7 | Java | marcodavidg/Compi2_Proyecto1_1s2016 | /Java/Compi2_Proyecto1_1s2016/src/compi2_proyecto1_1s2016/Main.java | UTF-8 | 16,428 | 2.28125 | 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 compi2_proyecto1_1s2016;
import java.awt.Dimension;
import java.awt.HeadlessException;
import java.io.BufferedReader;
import j... | true |
1a944e3fc40d491b67f08ad64a482a2f885c917a | Java | khounthai/photo | /src/main/java/com/pict/Application.java | UTF-8 | 1,232 | 1.984375 | 2 | [] | no_license | package com.pict;
import java.net.URL;
import org.hibernate.validator.internal.util.privilegedactions.GetClassLoader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfi... | true |
5f4b7a59b34f55944c1580deec316803640528df | Java | 455143246/stock | /cstt/Constant.java | UTF-8 | 386 | 2.03125 | 2 | [] | no_license | package cstt;
public class Constant {
/**
* 工作日
*/
public static final String IS_WORKDAY="0";
/**
* 休息日
*/
public static final String IS_WEEKDAY="1";
/**
* 节假日
*/
public static final String IS_HOLIDAY="2";
/**
* 假期校验地址
*/
public static final String HOLIDAY_VALID_URL="http://ww... | true |
7e9fd94c4cac0e9c49b19a069cc1542637d2f0fe | Java | soldiers1989/Caramel-Treats | /src/main/java/com/otc/api/domain/YioFile.java | UTF-8 | 450 | 2.234375 | 2 | [] | no_license | package com.otc.api.domain;
public class YioFile {
//
private Integer id;
//
private String name;
//
private String fileUrl;
public void setId(Integer id){
this.id=id;
}
public Integer getId(){
return id;
}
public void setName(String name){
this.name=name;
}
public String getName(){
return na... | true |
b9f2b62da8c35af68eddfebedd7a11abd2c5c0f1 | Java | examsAccount/domain | /src/main/java/za/ac/cput/service/student/impl/StudentCourseServiceImpl.java | UTF-8 | 1,552 | 2.4375 | 2 | [] | no_license | package za.ac.cput.service.student.impl;
import org.springframework.stereotype.Service;
import za.ac.cput.domain.student.StudentCourse;
import za.ac.cput.repository.student.StudentCourseRepository;
import za.ac.cput.repository.student.impl.StudentCourseRepositoryImpl;
import za.ac.cput.service.student.StudentCourseSer... | true |
8bf13887be062e95cd8a96ee5ac918e974e3e0af | Java | Ang3lino/appsForNetwork | /UdpSendFile/src/com/manriquez/UdpSend.java | UTF-8 | 2,514 | 2.859375 | 3 | [] | no_license | package com.manriquez;
import com.manriquez.Const;
import com.manriquez.Paquete.Data;
import com.manriquez.Paquete.Pack;
import com.manriquez.Paquete.PackType;
import com.manriquez.UtilFun;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Array;
import java.net.*;
import java.util... | true |
73f3553802bff0c80423da4b256689367642b8c2 | Java | yksz/simple-apps | /java/calculator/src/main/java/calculator/ui/view/button/ClearButton.java | UTF-8 | 273 | 2.234375 | 2 | [] | no_license | package calculator.ui.view.button;
import java.awt.Color;
@SuppressWarnings("serial")
public class ClearButton extends CalcButton {
public ClearButton(String name) {
super(name);
setForeground(Color.WHITE);
setBackground(Color.RED);
}
}
| true |
b6e2689971be81bee6fd87b68bc22a366b18797c | Java | 5l1v3r1/sony-headphones-hack | /base-dex2jar.jar.src--files/com/google/android/gms/ads/reward/mediation/MediationRewardedVideoAdAdapter.java | UTF-8 | 1,018 | 1.742188 | 2 | [] | no_license | package com.google.android.gms.ads.reward.mediation;
import android.content.Context;
import android.os.Bundle;
import com.google.android.gms.ads.mediation.MediationAdRequest;
import com.google.android.gms.ads.mediation.MediationAdapter;
public interface MediationRewardedVideoAdAdapter extends MediationAdapter {
pub... | true |
aff4027acfbebcda8b991b1dab8b4877254301e2 | Java | Druuuz/HT2 | /SeleniumTest/src/test/java/Tests.java | UTF-8 | 6,574 | 2.515625 | 3 | [] | no_license | import Pages.*;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.PageFactory;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class Tests {
... | true |
2d975b7b25899126f7e7e51a69913c3d6ac6d2f7 | Java | lenshuygh/syntra_year_1 | /src/year1/javafoundations/solutions/chapter14/extra/Musician.java | UTF-8 | 855 | 3.09375 | 3 | [] | no_license | package year1.javafoundations.solutions.chapter14.extra;
//import inclass.nestedclasses.Instrument;
import year1.javafoundations.solutions.chapter14.exercise3.Instrument;
public class Musician {
public void play(){
new CoolInstrument().makeNoise();
class ImplementedInstrument implements Instrume... | true |
891b879642a3fee810589217a907864513b14d1d | Java | alex-lopez-m/AndroidTrainingAssignments | /Week3/WeekendAssignment/Code/NavigationView-master/app/src/main/java/com/android4dev/navigationview/ContentFragment.java | UTF-8 | 5,393 | 2.015625 | 2 | [] | no_license | package com.android4dev.navigationview;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import an... | true |
2be2666b951737dedcb0748627d87330189cd5db | Java | yossier/Poseidons-game | /proj4/src/eecs285/proj4/group/Ships/Ship.java | UTF-8 | 2,205 | 3.09375 | 3 | [] | no_license | package eecs285.proj4.group.Ships;
import eecs285.proj4.group.Graphics.Sprite;
import eecs285.proj4.group.Location;
public abstract class Ship
{
private static int nextID = 0;
private int id;
private Location currentLoc;
public Ship()
{
id = nextID++;
}
//-----------------------------------... | true |
7159a760bea73ffbc5fb8083634c81c1d7debc61 | Java | agmojzer/PRSWEB | /src/main/java/prs/web/ProductController.java | UTF-8 | 2,914 | 2.484375 | 2 | [] | no_license | package prs.web;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation... | true |
70755df8b551fe0246e13c783fcc1e54ee2d0ec8 | Java | mpiekarski/table-importer | /src/test/java/net/piekarski/ti/ConverterTest.java | UTF-8 | 1,460 | 2.25 | 2 | [] | no_license | package net.piekarski.ti;
import net.piekarski.ti.exception.WrongPrimaryKeyException;
import net.piekarski.ti.io.writer.ObjectTableWriter;
import net.piekarski.ti.io.reader.LazyTableReader;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mocki... | true |
b84a7fc05b19f9f59ddfa95a2b3468f312712c4a | Java | niwattep/Competitive-Programming | /11906 - Knight in a War Grid/src/Main.java | UTF-8 | 2,736 | 2.9375 | 3 | [] | no_license | import java.io.*;
import java.util.*;
class Main {
static int[][] land;
static int[][] visit;
static int r, c, m, n;
public static void main(String[] args) {
FastReader in = new FastReader();
StringBuilder sb = new StringBuilder(25000);
int t = in.nextInt();
int tc = 1;
while (t-- > 0) {
r = in.next... | true |
aceab7f782d67770f7a88ce8c3ba140e793024a7 | Java | Activiti/Activiti | /activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/DeployCmd.java | UTF-8 | 10,855 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2010-2020 Alfresco Software, Ltd.
*
* 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 ... | true |
ac3ed3ba8c1b626499ec7f355e70e098656f5de1 | Java | obasola/storytime-service | /src/test/java/net/kumasi/storytime/test/RequirementEntityFactoryForTest.java | UTF-8 | 453 | 1.960938 | 2 | [] | no_license | package net.kumasi.storytime.test;
import net.kumasi.storytime.model.jpa.RequirementEntity;
public class RequirementEntityFactoryForTest {
private MockValues mockValues = new MockValues();
public RequirementEntity newRequirementEntity() {
Integer idrequirement = mockValues.nextInteger();
RequirementEntity ... | true |
e16ba8c9b0c9a91fcb60edeaa67cac5f63943f60 | Java | fanyl3/pwms | /src/com/common/util/kendoui/FilterField.java | UTF-8 | 1,801 | 2.578125 | 3 | [] | no_license | package com.common.util.kendoui;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author fuyingbin
*
*/
public class FilterField implements Serializable{
/**
* 过滤属性名称
*/
private String field;
/**
* 操作符
*/
private String operator;
/**
* 过滤值
*/
private St... | true |
868c74de7bcc7eec0a960be656bfbb7dd81f43a3 | Java | yunzhaoGitHub/pattern-demo | /factory-pattern/src/com/yunzhao/strategy/factory/AbstractFactory.java | UTF-8 | 279 | 2.3125 | 2 | [] | no_license | package com.yunzhao.strategy.factory;
import com.yunzhao.strategy.product.MobilePhone;
public abstract class AbstractFactory {
public abstract MobilePhone getApplePhone();
public abstract MobilePhone getHuawPhone();
public abstract MobilePhone getSumPhone();
}
| true |
4850d98b6043c56742021fd9892e480b4daac6df | Java | masanchezdm/IngSoft_SEED_HOST | /Fodupa/src/main/java/com/seedhost/fodupa/controller/ComentarioController.java | UTF-8 | 5,509 | 2.109375 | 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.seedhost.fodupa.controller;
/* Modelo */
import com.seedhost.fodupa.model.EntityProvider;
import com.seedhost.fodupa.model... | true |
3bc6b41faf2469dd54758ee622f20505fb80d3a5 | Java | SerPenTeHoK/geotools-caching | /src/test/java/org/geotools/caching/grid/DiskGridFeatureCacheTest.java | UTF-8 | 1,564 | 1.804688 | 2 | [] | no_license | /*
* GeoTools - OpenSource mapping toolkit
* http://geotools.org
* (C) 2002-2006, GeoTools Project Managment Committee (PMC)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software... | true |
7c3500f134fe00321eb3107509632e6c0e948889 | Java | nixer-io/nixer-spring-plugin | /core/src/main/java/io/nixer/nixerplugin/core/detection/events/elastic/ElasticIndexer.java | UTF-8 | 1,725 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | package io.nixer.nixerplugin.core.detection.events.elastic;
import io.nixer.nixerplugin.core.detection.events.AnomalyEvent;
import io.nixer.nixerplugin.core.detection.events.JsonSerializer;
import io.searchbox.client.JestClient;
import io.searchbox.client.JestResultHandler;
import io.searchbox.core.DocumentResult;
imp... | true |
4ce062de2e067f29d69eba5db2e14abeb4d6ae40 | Java | softexploration/ejb-performance | /com.softexploration.lab.ejb.performance.client/src/main/java/com/softexploration/lab/ejb/performance/client/domain/impl/ClientSimpleServiceResponseImpl.java | UTF-8 | 364 | 1.804688 | 2 | [] | no_license | package com.softexploration.lab.ejb.performance.client.domain.impl;
import com.softexploration.lab.ejb.performance.client.domain.ClientSimpleServiceResponse;
public class ClientSimpleServiceResponseImpl extends ClientResponseImpl implements ClientSimpleServiceResponse{
public ClientSimpleServiceResponseImpl(long ex... | true |
cd9a99822e0cda9ac5951460a56d7ca10391c221 | Java | bdonelaney/petclinic-selenium | /src/main/java/com/EY/qa/framework/SetupTestDriver.java | UTF-8 | 3,017 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.EY.qa.framework;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.... | true |
a3decfdf7c5b82be34bee0afd9e519d6b65dca19 | Java | DCS-Sherlock/Sherlock | /src/webTest/java/WorkspaceTest.java | UTF-8 | 7,248 | 2.171875 | 2 | [] | no_license | import Utils.AccountUtils;
import Utils.Sleeper;
import Utils.WorkspaceUtils;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openq... | true |
7a02b8a876b4040cf187e21f84248219258b4518 | Java | Joshua197/ComputerDB_Project | /Computers/src/org/mik/computers/view/ComputerController.java | UTF-8 | 3,462 | 3.0625 | 3 | [] | no_license | package org.mik.computers.view;
import java.util.List;
import org.mik.computers.dao.BusesDao;
import org.mik.computers.domain.Computer;
/**
* Controller for MVC design pattern
*
* @author Joshua Wambua
*
*/
public class ComputerController {
/**
* DAO
*/
private BusesDao computerDao;
/**
* Form
*/... | true |
e3c85a79ecc35321b968441e39074821776cd6a5 | Java | witswickey/DSandALGO | /src/linkedlist/CloneLinkedListRandomPointer.java | UTF-8 | 2,300 | 3.5625 | 4 | [] | no_license | package linkedlist;
import java.util.HashMap;
import linkedlist.StackUsingList.Node;
public class CloneLinkedListRandomPointer {
static class Node {
int data;
Node next;
Node rand;
Node(int data) {
this.data = data;
this.next = null;
this.rand = null;
}
}
static Node head;
public static vo... | true |
250dd8cef341a9b090735528f4ef4accfc90c782 | Java | Yono-Kaze/GitDemo-back-end | /src/test/java/com/springboot/MapperTest.java | UTF-8 | 1,362 | 2.140625 | 2 | [] | no_license | package com.springboot;
import java.util.Date;
import java.util.UUID;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... | true |
57b99017ec6237262bd0617cee1d1470914d3d17 | Java | KarlClark/SpeechAndLanguageRepo | /app/src/main/java/com/neuroleap/speachandlanguage/Adapters/IconAnswersGridViewAdapter.java | UTF-8 | 4,765 | 2.375 | 2 | [] | no_license | package com.neuroleap.speachandlanguage.Adapters;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageB... | true |
5aeedfe429b80b2c82bc93206c5f7941105503ef | Java | Jossing/RunboApple | /app/src/main/java/com/jossing/runboapple/main/presenter/IMyPostedPresenter.java | UTF-8 | 1,410 | 2.203125 | 2 | [] | no_license | package com.jossing.runboapple.main.presenter;
import android.content.Context;
import android.net.Uri;
import com.jossing.runboapple.usermanage.model.User;
import java.io.File;
import java.util.List;
/**
* @author Jossing , Create on 2017/4/9
*/
public interface IMyPostedPresenter {
/**
* 查询 某人 发布的苹果列表... | true |
f7c2d96a7a51c1f71825ef227eb058cc7ff46170 | Java | magic-coder/huawei-wear-re | /src/com/huawei/appmarket/sdk/service/p373c/C4299f.java | UTF-8 | 1,333 | 1.609375 | 2 | [] | no_license | package com.huawei.appmarket.sdk.service.p373c;
import org.apache.http.client.protocol.ClientContext;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.params.HttpParams;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.BasicHttpProcessor;
import org.apache.ht... | true |
d9ce7869146fd9f58d24301f00f75ae72f3d72c5 | Java | mwclemy/Autodoor-android-app | /app/src/main/java/com/techx/autodoor/LogoutFragment.java | UTF-8 | 2,021 | 2.390625 | 2 | [] | no_license | package com.techx.autodoor;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.techx.autodoor.helper.SessionM... | true |
14477c135feb48b2be2b1dc71f806b49ed09a6bc | Java | iswane/ProxiBanqueSIv1 | /src/sn/objis/proxibanquesi/dao/IDaoClientImpl.java | UTF-8 | 5,773 | 2.546875 | 3 | [] | no_license | /**
*
*/
package sn.objis.proxibanquesi.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import sn.objis.proxibanquesi.domaine.Client;
import sn.objis.proxibanqu... | true |
1d40ed04cbf4f52e18fcafc1d861c7f48ac82fec | Java | GuHao0822/interview | /src/main/java/com/guhao/interview/rpncalculator/parameter/operator/bioperator/Addition.java | UTF-8 | 1,169 | 2.703125 | 3 | [] | no_license | package com.guhao.interview.rpncalculator.parameter.operator.bioperator;
import java.math.BigDecimal;
import com.guhao.interview.rpncalculator.constants.NumberConstants;
import com.guhao.interview.rpncalculator.history.History;
import com.guhao.interview.rpncalculator.parameter.operator.OperatorEnum;
import com.guhao... | true |
a9d2dcac096a4ba66be572f4b9676ce77944165b | Java | robot114/home | /src/com/zsm/home/ui/HomeActivity.java | UTF-8 | 2,085 | 2.390625 | 2 | [] | no_license | package com.zsm.home.ui;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentTransaction;
import android.os.Bundle;
import com.zsm.home.R;
public class HomeActivity extends Activity implements FragmentWizard {
private LocateHomeFragment lo... | true |
8aeac5107079b68227c6cc2e7f30660ec4fbf071 | Java | PIYatGitHub/JAVA-ANDOID | /JPatterns/src/facade/Facade.java | UTF-8 | 383 | 2.34375 | 2 | [] | no_license | package facade;
public class Facade {
public static double rubToUSD(double roubles){
MyUrl url = new MyUrl();
url.setHref("www.dali.com");
Request r = new Request(url);
String res = r.sendRequest();
Parser p = new Parser();
double ratio = p.getRatio(res);
ret... | true |
2d6c3bfcc9596d8300cf2bdf8706c912ddb8332f | Java | lhg244978/clone-coding_instar | /src/main/java/com/teamProject/DTO/storagePostDTO.java | UTF-8 | 697 | 1.984375 | 2 | [] | no_license | package com.teamProject.DTO;
import java.sql.Date;
public class storagePostDTO {
private String userId;
private int postNum;
private Date saveTime;
private String thumbnail;
public Date getSaveTime() {
return saveTime;
}
public void setSaveTime(Date saveTime) {
this.saveTime = saveTime;
}
public ... | true |
740518d065a8780306799f64e92b4d2b757d4f2c | Java | nam54828/Ktlt | /chuong_6/vidu6_5.java | UTF-8 | 318 | 2.328125 | 2 | [] | no_license | package chuong_6;
// Khai bao chuoi ky tu
public class vidu6_5 {
public static void main(String[] args) {
String chuoi1 = " ";
String chuoi2 = "Welcome";
System.out.println(" Chuoi rong co gia tri: " + chuoi1);
System.out.println("Chuoi 2 co gia tri: " + chuoi2);
}
}
| true |
005df531bb29f4942438d9141770930ca80ecec3 | Java | tianshaokai/OpenCVLearn | /app/src/main/java/com/tianshaokai/opencv/ui/BlurActivity2.java | UTF-8 | 2,073 | 2.3125 | 2 | [] | no_license | package com.tianshaokai.opencv.ui;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import com... | true |
222c39e1088880f850d25daf20d5b3afc63936ae | Java | ValdoHenschel/Bioskop | /ListFilm.java | UTF-8 | 975 | 2.109375 | 2 | [] | no_license | package bioskop;
public class ListFilm {
private String id_film;
private String judul_film;
private String deskripsi;
private String status;
private String Genre;
private String Rating;
public String getId_film() {
return id_film;
}
public void setId_film(String id_film) {
this.id_film = i... | true |
288ea85ae15001ade718688461025b400cfa8afd | Java | yapengsong/business | /src-intf/eayun-monitor-intf/src/main/java/com/eayun/monitor/bean/LdPoolMonitorDetail.java | UTF-8 | 3,350 | 2.234375 | 2 | [] | no_license | package com.eayun.monitor.bean;
import java.util.Date;
/**
* 负载均衡mongo及redis指标对应model
*
* @Filename: LdPoolMonitorDetail.java
* @Description:
* @Version: 1.0
* @Author: duanbinbin
* @Email: binbin.duan@eayun.com
* @History:<br>
*<li>Date: 2017年3月2日</li>
*<li>Version: 1.0</li>
*<li>C... | true |
e1d8c365f95d15e285769f5b1a62d7d4e8f5dd8d | Java | Matheus98/Repository | /AtividadeListView/app/src/main/java/edu/ifpb/br/activity/SplashScreenActivity.java | UTF-8 | 699 | 2.125 | 2 | [] | no_license | package edu.ifpb.br.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Handler;
import android.os.Bundle;
import listview.edu.ifpb.br.atividadelistview.R;
public class SplashScreenActivity extends Activity implements Runnable{
@Override
protected void onCreate(Bundle sav... | true |
e38649fb1dd71c245f5cf5a250c00869dead2b0c | Java | 791837060/FastMap | /engine/engine-statics/src/main/java/com/navinfo/dataservice/engine/statics/writer/ProgramWriterUtils.java | UTF-8 | 6,806 | 1.984375 | 2 | [] | no_license | package com.navinfo.dataservice.engine.statics.writer;
import java.sql.Connection;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import org.apache.commons.dbutils.DbUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
imp... | true |
37067683134e5827b3ed832525deb91ee93ecc51 | Java | hundred215/SAProject | /SmartAlert/src/main/java/com/namleesin/smartalert/data/NotiData.java | UTF-8 | 412 | 1.546875 | 2 | [] | no_license | package com.namleesin.smartalert.data;
import android.graphics.Bitmap;
public class NotiData
{
public String packagename = null;
public String titletxt = null;
public String subtxt = null;
public String notiid = null;
public String notikey = null;
public String notitime = null;
public int status = 0;
public S... | true |
747261eed6140aa8991c5b42df624349184edd7c | Java | ntchna/web_App | /KPI.webapp/src/main/java/application/model/entity/User.java | UTF-8 | 2,840 | 2.578125 | 3 | [] | no_license | package application.model.entity;
public class User
{
private int id;
private String role = "guest";
private String username;
private String password;
private String name;
private String surname;
private boolean enable;
public User(String username) {
this.username ... | true |
d6845817cb7c2326712ed7bb8d5c947cff7284f0 | Java | Zain1409/company | /src/main/java/com/zain/companymanager/config/SecurityConfig.java | UTF-8 | 1,355 | 2.265625 | 2 | [] | no_license | //package com.zain.companymanager.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
//import org.springframework.security.config.annotation.web.builders.HttpSecurity;
//import org.springframe... | true |
3a1ee728bfc8a306859a1ddd0b382319efd0e775 | Java | zhongxingyu/Seer | /Diff-Raw-Data/14/14_f9f492093e2267c30fc6bcdcb59152f929424470/SpliceJunctionRenderer/14_f9f492093e2267c30fc6bcdcb59152f929424470_SpliceJunctionRenderer_t.java | UTF-8 | 11,197 | 2.171875 | 2 | [] | no_license | /**
* Copyright (c) 2010-2011 by Fred Hutchinson Cancer Research Center. All Rights Reserved.
* This software is licensed under the terms of the GNU Lesser General
* Public License (LGPL), Version 2.1 which is available at http://www.opensource.org/licenses/lgpl-2.1.php.
* THE SOFTWARE IS PROVIDED "AS IS.... | true |
81113dc042ed57f41400711e6c10b8db86a70c50 | Java | KrystianTokarz/TrafficOffenses-JAVAEE | /Traffic Offenses/core-ejb/src/main/java/infrastructure/repository/api/EventRepository.java | UTF-8 | 957 | 2 | 2 | [] | no_license | package infrastructure.repository.api;
import api.exception.repository.AggregateNotActiveException;
import api.exception.repository.AggregateNotFoundException;
import api.exception.repository.event.EventsAfterSelectedVersionNotFoundException;
import api.exception.repository.event.EventsWithVersionNotFoundException;
i... | true |
990b03e10e9ecd57f02a4d8f5fcd5b9e4a61d771 | Java | fengxxc/fastable | /src/main/java/com/fengxxc/fastable/Prop2IntValIndexer.java | UTF-8 | 2,885 | 3.078125 | 3 | [
"MIT"
] | permissive | package com.fengxxc.fastable;
import com.fengxxc.fastable.sortable.ISortableSet;
import com.fengxxc.fastable.sortable.SortableIntegerSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
/**
* com.fengxxc.fastable.Prop2IntValIndexer
*/
public class Prop2IntValIndexe... | true |
8e252dc15a54a25e0ddb54448fff38fc5a53d9bc | Java | qqq99/Data_Structure | /src/com/algorithm/linkedlist/Main.java | UTF-8 | 858 | 2.984375 | 3 | [] | no_license | package com.algorithm.linkedlist;
import java.util.Arrays;
import java.util.Objects;
public class Main {
public static void main(String[] args){
var list = new LinkedList();
list.addLast(10);
list.addLast(20);
list.addLast(30);
list.addLast(40);
list.addLast(50);
... | true |
cb8d9fea8a298384c72cbfe6c7309d5920b3dc96 | Java | gibinaghi/amusement-park-employees | /src/main/java/com/park/controller/ParkController.java | UTF-8 | 608 | 2.078125 | 2 | [] | no_license | package com.park.controller;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/park")
public class P... | true |
28b21b3fbd370880d400828e6db4068644ee7cfa | Java | vince1396/StageAndroidTraining | /app/src/main/java/com/example/vincent/helloworld/Edit.java | UTF-8 | 2,184 | 2.21875 | 2 | [] | no_license | package com.example.vincent.helloworld;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
public class Edit extends Activity {
private int img;
private ... | true |
b072f9c0925daeffee950935efe9f318458f86ad | Java | kampab/moviles | /Samachar/src/com/samachar/pddm/jpg/adapter/CatalogosAdapter.java | ISO-8859-1 | 2,288 | 2.609375 | 3 | [] | no_license | package com.samachar.pddm.jpg.adapter;
import java.util.List;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.Text... | true |
3e709e5bc4c4d1e9940a9ead31b0da6035626d10 | Java | manuelTscholl/easydiet-team-c | /src/at/easydiet/teamb/application/util/ValidatorArgs/IllnessErrorField.java | UTF-8 | 365 | 1.65625 | 2 | [] | no_license | /**********************************
* EasyDiet
* --------
*
* TeamB:
* Martin Balter, Bernhard Breuß, Lukas Ender and Stefan Mayer
*
* Created: 07.05.2011
*/
/**
*
*/
package at.easydiet.teamb.application.util.ValidatorArgs;
/**
* The Enum IllnessErrorField.
*
* @author TeamB
*/
... | true |
2064a1747997a2fc23f5cac645244f707547f8d2 | Java | NabeelSMADI/KBE_KhSm18 | /songsRX/src/main/java/de/htw/ai/kbe/songsrx/restserver/storage/DBSongListDAO.java | UTF-8 | 3,751 | 2.5 | 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 de.htw.ai.kbe.songsrx.restserver.storage;
import de.htw.ai.kbe.songsrx.restserver.bean.Song;
import de.htw.ai.kbe.songsrx.rest... | true |
1afc4103e3c5ddf2d54ffab796ad31f70876e0f4 | Java | kimbs0301/spring_boot_tomcat | /src/main/java/com/example/junit/JunitConfig.java | UTF-8 | 1,009 | 1.679688 | 2 | [] | no_license | package com.example.junit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation... | true |
2908c8cf73178cda692bd9e8d664bb2237d66271 | Java | christopappas/gocd-analytics-plugin | /src/test/java/com/thoughtworks/gocd/analytics/executors/pipeline/PipelineBuildTimeExecutorTest.java | UTF-8 | 5,146 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2020 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | true |
5f2808381ec9eee235c35fdf6cd1f067cb01871c | Java | ql28/SedimentaryBalanceWPS | /src/main/java/BeachProfile/WPSpackage/BeachProfileTracking_InterpolateFeatureCollection_class.java | UTF-8 | 1,553 | 2.234375 | 2 | [] | no_license | package BeachProfile.WPSpackage;
import org.geotools.process.factory.*;
import org.geotools.text.Text;
import org.geotools.feature.FeatureCollection;
import org.opengis.feature.simple.*;
import java.awt.image.BufferedImage;
import com.vividsolutions.jts.geom.*;
import tools.BeachProfileTracking;
public class BeachP... | true |
1e4aba2deaf7f269dcb052ee78493a8213442605 | Java | yWorks/yGuard | /src/test/java/com/yworks/yguard/obf/Mapper.java | UTF-8 | 3,703 | 2.34375 | 2 | [
"MIT"
] | permissive | package com.yworks.yguard.obf;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.ext.DefaultHandler2;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFact... | true |
ee86c427b2db9d5c1a93162ebbad7989083ac52d | Java | bijil045/SelProject | /src/csp/LoginEcapnu.java | UTF-8 | 897 | 2.09375 | 2 | [] | no_license | package csp;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class LoginEcapnu {
//declaration
@FindBy(id="username")
private WebElement uTb;
@... | true |
59e865fe84f9a89460584dcf5e277dccd2f00adc | Java | go-soojin/JAVA | /Project0330/src/Exec2.java | UTF-8 | 559 | 2.875 | 3 | [] | no_license | import java.util.Scanner;
public class Exec2 {
public int totalkorScore = ;
public int totalengScore = 0;
public int totalmathScore = 0;
Exec2(int korScore, int engScore, int mathScore){
this.totalkorScore = korScore;
this.totalengScore = engScore;
this.totalmathScore = mathScore;
}
public Exec2(Scanne... | true |
35c8d96f3c885507d18b2e15f0b933cc986755ad | Java | linboqiao/EEA | /cmu-script/event-coref/src/main/java/edu/cmu/cs/lti/emd/annotators/demo/MentionOffsetChecker.java | UTF-8 | 3,097 | 2.046875 | 2 | [] | no_license | package edu.cmu.cs.lti.emd.annotators.demo;
import edu.cmu.cs.lti.model.UimaConst;
import edu.cmu.cs.lti.script.type.EventMention;
import edu.cmu.cs.lti.uima.annotator.AbstractLoggingAnnotator;
import edu.cmu.cs.lti.uima.io.reader.CustomCollectionReaderFactory;
import edu.cmu.cs.lti.uima.util.UimaConvenience;
import o... | true |
390fbb46eef4d0ce2b886ca7b271a428b1ca29cd | Java | BuyFromOneself/schoolManager | /src/main/java/cn/tantan/service/StudentService.java | UTF-8 | 231 | 1.640625 | 2 | [] | no_license | package cn.tantan.service;
import cn.tantan.bean.Student;
import com.github.pagehelper.PageInfo;
public interface StudentService extends IBaseService<Student> {
PageInfo<Student> pageStudent(Integer page, Integer limit);
}
| true |
126c7d3b4fbacaf0d955582a163ef95a152d64a9 | Java | moutainhigh/code | /sandu2c-app/tags/sandu2c-app-tag20180508001-V1.1.6/.svn/pristine/45/4569915e41b7297cf63dfb161d4f156c8f949c3f.svn-base | UTF-8 | 3,508 | 2.078125 | 2 | [] | no_license | package com.sandu.designplan.service;
import com.sandu.common.model.ResponseEnvelope;
import com.sandu.designplan.model.*;
import com.sandu.product.model.BaseCompany;
import java.util.List;
/**
* @desc:设计方案推荐服务
* @auth:pengxuangang
* @date:20170920
*/
public interface DesignPlanRecommendedService {
int add... | true |
7f0de6ffd992ebc4cc1cade8ec1c5033ae5aabb3 | Java | chenwq960/DeviceSellSystem | /src/main/java/com/baidu/controller/RegionController.java | UTF-8 | 669 | 1.820313 | 2 | [] | no_license | package com.baidu.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.baidu.po.RegionP... | true |
67176a24a655dd0707c2dcce72579c5c763d4902 | Java | rewweRrr/MyMenuBar2 | /MyMenuBar2-client/src/main/java/ru/netcracker/client/services/ItemService.java | UTF-8 | 641 | 1.84375 | 2 | [] | no_license | package ru.netcracker.client.services;
import org.fusesource.restygwt.client.MethodCallback;
import org.fusesource.restygwt.client.RestService;
import ru.netcracker.shared.Item;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType... | true |
449806c4a27a2ab02e9c5262ad0533bcbed31ed7 | Java | fengjiqiang/Collection_Java | /HsahMapTest.java | UTF-8 | 372 | 2.71875 | 3 | [
"Apache-2.0"
] | permissive | package d20180828.ch11;
public class HashMapTest {
public static void main(String[] args){
HashMap<Integer, String> map = new HashMap<Integer, String>(2);
map.put(1, "a");
map.put(2, "b");
map.put(3, "c");
System.out.println(map.get(1));
System.out.println(map.get(2... | true |
b7a710fc717c6455828a15a7c2f1e645c1e7d67f | Java | ChnQi-GitHub/expe2-WordsBook | /app/src/main/java/com/example/wordsbook/MainActivity.java | UTF-8 | 5,117 | 2.453125 | 2 | [] | no_license | package com.example.wordsbook;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import android.app.Activity;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.O... | true |
7d91851185313f5ab03033dda8aedb4740b5989d | Java | facebookexperimental/r8 | /src/test/examplesAndroidO/lambdadesugaringnplus/LambdasWithStaticAndDefaultMethods.java | UTF-8 | 12,493 | 2.671875 | 3 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package lambdadesugaringnplus;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import... | true |
c8ae0b3c36842455b530cdfcd6088cde70568997 | Java | mujahid-ali/java-design-patterns | /abstract-factory/gui/checkboxes/MacCheckBox.java | UTF-8 | 208 | 2.3125 | 2 | [] | no_license |
package gui.checkboxes;
public class MacCheckBox implements CheckBox{
@Override
public void paint(){
System.out.println(" MacCheckBox paint ////////////////////////////////////////////////");
}
}
| true |
dce8517e36992a07dd860e230a2f07c98e0c3a30 | Java | Pelayo-Torre/TFM-ExperimentServer | /src/main/java/com/uniovi/es/business/experimentData/strategy/strategies/selectionObjects/ReactionTimeNumberOptionsSelectionObject.java | UTF-8 | 2,958 | 2.5625 | 3 | [] | no_license | package com.uniovi.es.business.experimentData.strategy.strategies.selectionObjects;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.uniovi.es.business.experimentData.strategy.PropetiesStrategyManager;
import com.uniovi.es.business.experimentData.str... | true |
e8b0139e0cce6d48dfe550fe5c68e0f227b9a332 | Java | upperlevel/verifier | /verifier-server/src/main/java/xyz/upperlevel/verifier/server/ui/console/commands/assignment/time/GetCommand.java | UTF-8 | 1,215 | 2.71875 | 3 | [] | no_license | package xyz.upperlevel.verifier.server.ui.console.commands.assignment.time;
import xyz.upperlevel.commandapi.commands.Command;
import xyz.upperlevel.commandapi.executor.CommandRunner;
import xyz.upperlevel.verifier.server.Main;
import xyz.upperlevel.verifier.server.assignments.TimeSyncUtil;
import java.time.Duration;... | true |
28f339b2454792739b4afefd11ae93d92e6f1d1b | Java | unclejide1/e-vote-api | /src/main/java/com/systemspecs/evoting/infrastructure/persistence/daoImpl/UserDaoImpl.java | UTF-8 | 1,366 | 2.421875 | 2 | [] | no_license | package com.systemspecs.evoting.infrastructure.persistence.daoImpl;
import com.systemspecs.evoting.domain.dao.UserDao;
import com.systemspecs.evoting.domain.entities.User;
import com.systemspecs.evoting.domain.entities.enums.RecordStatusConstant;
import com.systemspecs.evoting.infrastructure.persistence.repository.Use... | true |