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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e210c6d032eeb08f6362f65faf6c19d512eb0551 | Java | cloudtm/infinispan | /cachestore/jdbc/src/test/java/org/infinispan/loaders/jdbc/binary/JdbcBinaryCacheStoreTest.java | UTF-8 | 4,673 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package org.infinispan.loaders.jdbc.binary;
import static org.mockito.Mockito.mock;
import java.io.Serializable;
import org.infinispan.loaders.BaseCacheStoreTest;
import org.infinispan.loaders.jdbc.TableManipulation;
import org.infinispan.loaders.jdbc.configuration.JdbcBinaryCacheStoreConfigurationBuilder;
import or... | true |
11b27061519a80486d813a06c9d4f656c7b691b7 | Java | Brtgkrk/BooksDatabaseAndroid | /app/src/main/java/com/example/booksdatabasev1/SessionManagement.java | UTF-8 | 1,625 | 2.625 | 3 | [] | no_license | package com.example.booksdatabasev1;
import android.content.Context;
import android.content.SharedPreferences;
import java.util.Map;
import java.util.TreeMap;
public class SessionManagement {
SharedPreferences sharedPreferences;
SharedPreferences.Editor editor;
String SHARED_PREF_NAME = "session";
St... | true |
ca20b38079bd915519c18035e36469762432c498 | Java | chandusekhar/btpn_portal | /src/main/java/com/sybase365/mobiliser/web/cst/pages/customercare/CreditSvaPage.java | UTF-8 | 5,214 | 1.78125 | 2 | [] | no_license | package com.sybase365.mobiliser.web.cst.pages.customercare;
import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.RequiredTextField;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.panel.Feed... | true |
ae2655c6a79839ea618b19d96f16302678a51d4b | Java | Gurtz/just_testing | /src/main/java/org/tdc/modeldef/NonAttribNodeDef.java | UTF-8 | 1,481 | 2.546875 | 3 | [] | no_license | package org.tdc.modeldef;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.tdc.model.CanHaveChildren;
import org.tdc.model.NonAttrib;
import org.tdc.model.Repeatable;
public abstract class NonAttribNodeDef extends NodeDef implements NonAttrib, CanHaveChildren, Repeatable {
... | true |
9e7283720f62cc6175d6cded240e5a632d990402 | Java | mateusazis/hacktonApp | /Android/src/br/uff/hacktonapp/AsyncPictureLoader.java | UTF-8 | 1,551 | 2.640625 | 3 | [] | no_license | package br.uff.hacktonapp;
import java.net.URL;
import java.util.LinkedList;
import java.util.Queue;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.Log;
import android.widget.ImageView;
public class AsyncPictureLoader implements Runnable{
pri... | true |
ee17ae26b4aa60ad6e84526a96eba1a3c0f9bd80 | Java | LulukMufida015/PBO-1941720052 | /pertemuan9/Jobsheet9/src/tugasOverriding/Dosen.java | UTF-8 | 493 | 2.4375 | 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 tugasOverriding;
/**
*
* @author Windows 10
*/
public class Dosen extends Manusia{
public void makan(){
System.... | true |
315a12d7f40394f2558e9bdbe4510bf06ab6d0b9 | Java | re5pect123/det-app-ratel-report | /src/main/java/net/spring/dao/PPK1Impl.java | WINDOWS-1250 | 8,555 | 2.390625 | 2 | [] | no_license | package net.spring.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
public class PPK1Impl implements PPK1 {
public static String A;
@Override
public String A() {
String A = "";
System... | true |
e8c7b05ff2df061b96272d2fcc02c39ed630e40a | Java | iransyber/UniversityProject | /src/main/java/br/com/systemsdevelopment/conf/AppWebConfig.java | UTF-8 | 1,400 | 1.882813 | 2 | [] | no_license | package br.com.systemsdevelopment.conf;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.view.InternalResourceViewResolver;
import br.com.system... | true |
4c03f92a825061a2d645cab0e37bdc98b7c56c7c | Java | jaysoncallorina/UCU-BSACalculator | /UCU-BSACalc/src/com/edu/ucuccs/ucu_bsacalc/ICPCalc.java | UTF-8 | 1,157 | 2.34375 | 2 | [] | no_license | package com.edu.ucuccs.ucu_bsacalc;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class ICPCalc extends Activit... | true |
a6434ca6b7dcc0df470710349076eff440155678 | Java | shitalma/UNO | /src/com/step/uno/client/screen/elements/MyCards.java | UTF-8 | 1,674 | 2.625 | 3 | [] | no_license | package com.step.uno.client.screen.elements;
import com.step.uno.client.screen.PlayerViewObserver;
import com.step.uno.model.Card;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
i... | true |
7ce255494118a7a95011eb3310cc25fdc3a90e98 | Java | xuzw/ui-engine-runtime | /src/main/java/com/github/xuzw/ui_engine_runtime/input/Inputs.java | UTF-8 | 719 | 2.234375 | 2 | [] | no_license | package com.github.xuzw.ui_engine_runtime.input;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import com.github.xuzw.ui_engine_runtime.div.input.SingletonInputDiv;
import com.github.xuzw.ui_engine_runtime.div.location.Id;
/**
* @author 徐泽威 xuzewei_2012@126.com
* @time 2017年5月15日 上午1:5... | true |
2bc38bc0d833f4f9bfdf4d1d6b40c85806fa9aa8 | Java | MaybeGitHub/proyecto | /src/main/java/z_interfaz/Game.java | UTF-8 | 85,972 | 1.6875 | 2 | [] | no_license | package z_interfaz;
import habilidades.Curar;
import habilidades.Golpe_Concentrado;
import habilidades.Habilidad;
import habilidades.Llamarada;
import habilidades.Torbellino;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dialog;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.I... | true |
337d3daa03e1e3a00a96efba5cd4a1658c601a60 | Java | JHU-PL-Lab/analysis-test-code | /java/InterpreterExample2.java | UTF-8 | 4,098 | 3.1875 | 3 | [] | no_license | package boomerang.example;
public class InterpreterExample2 {
public static void main(String... args) {
FflatExpr boo1 = new FBoolExpr(false);
FflatExpr boo2 = new FBoolExpr(true);
FflatExpr boo3 = new FBoolExpr(false);
FflatExpr boo4 = new FBoolExpr(true);
FflatExpr andExp... | true |
284bf2580421794d0267122a87886a83c28f0f2f | Java | cjm1989/ministone | /ministoneTest/src/main/java/kr/co/ministone/dto/deckDTO.java | UTF-8 | 1,971 | 2.515625 | 3 | [] | no_license | package kr.co.ministone.dto;
public class deckDTO {
private String title;
private String cid;
private String name;
private int mana;
private int atk;
private int hp;
private String cardtext;
private String img;
private String checkok;
public deckDTO() {
super();
}
public dec... | true |
f6fc9a53babc01d5acfc588ca7bdb3c14729d4b8 | Java | Cicadaes/td | /bestseller/wanalytics-collector/src/main/java/com/talkingdata/analytics/wifi/collector/control/Calculationfile.java | UTF-8 | 10,826 | 1.976563 | 2 | [] | no_license | package com.talkingdata.analytics.wifi.collector.control;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.talkingdata.analytics.wifi.collector.config.FilterMacConfig;
import com.talkingdata.analytics.wifi.collector.counter.ApmacHeartCounter;
import com.talkingdata.analytics.wifi.collector.databean.WiFiD... | true |
4840775bf5e48bf40695fe49e62b225ef8a75012 | Java | utopia-group/migrator | /src/migrator/util/MultiMap.java | UTF-8 | 1,782 | 3.203125 | 3 | [] | no_license | package migrator.util;
import java.util.Collection;
import java.util.Set;
/**
* Generic data structure for MultiMap.
*
* @param <K> key type
* @param <V> value type
*/
public interface MultiMap<K, V> {
/**
* Put a key-value pair into the MultiMap.
*
* @param key the key
* @param value ... | true |
9f52020f247bb2d87eb90ef0ee07abd33dffa504 | Java | BlogForMe/ankotlin | /androidUtil/src/main/java/com/android/util/RegularUtil.java | UTF-8 | 472 | 2.5 | 2 | [] | no_license | package com.android.util;
import java.util.regex.Pattern;
public class RegularUtil {
// public static boolean isPatientName(String name) {
// return Pattern.matches("^[\\u4e00-\\u9fa5a-zA-Z]+$", name);
// }
public static boolean isPatientName(String name) {
return Pattern.matches... | true |
55a96578530d8e99a714876434eac56fb0c2ea87 | Java | nicsins/HelloInput | /src/main/java/CountByLoop.java | UTF-8 | 388 | 3.1875 | 3 | [] | no_license | import static input.InputUtils.intInput;
public class CountByLoop {
public static void main(String[] args) {
int num ;
int total=0;
num = intInput("how high would you like me to count?");
for (int x = 1 ; x < num+1 ; x = x +1) {
System.out.println(x);
total=... | true |
3d148f7f26d00a800e0ff487a8073594a63a6ca5 | Java | dasomel/egovframework | /common-component/v3.5.3/src/main/java/egovframework/com/uss/ion/mtg/service/MtgPlaceFxtrs.java | UTF-8 | 1,384 | 2.109375 | 2 | [] | no_license | package egovframework.com.uss.ion.mtg.service;
import egovframework.com.cmm.ComDefaultVO;
/**
* 개요
* - 회의실비품에 대한 model 클래스를 정의한다.
*
* 상세내용
* - 회의실비품의 회의실코드,비품코드,수량 항목을 관리한다.
* @author 이용
* @version 1.0
* @created 06-15-2010 오후 2:08:56
*/
public class MtgPlaceFxtrs extends ComDefaultVO {
... | true |
50db41c9774399e2824af2b3830e36ebc16582f3 | Java | pmuir/forge-core | /dev-plugins/src/main/java/org/jboss/forge/dev/AS7DeployerPlugin.java | UTF-8 | 9,341 | 1.578125 | 2 | [] | no_license | /*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the ... | true |
cece5b476618dff63570c43dd056d0e88c030bf8 | Java | jhaood/github-job-keywords | /src/main/java/com/aestheticsw/jobkeywords/service/termextractor/domain/package-info.java | UTF-8 | 1,553 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | /**
* The term-frequency data model represents the extracted terms for a unique set of search
* parameters.
*
* The results from multiple searches can be accumulated as long as the query-string and location
* are the same.
* <p/>
*
* The TermFrequency class is central to the data model. A given instance holds... | true |
53e168f4ef92aa57039b3c8b7cb44227db2ba50b | Java | juaser/AndroidUtil | /AndroidTools/app/src/main/java/com/zxl/androidtools/ui/systemviews/TabHostActivity.java | UTF-8 | 6,824 | 1.828125 | 2 | [] | no_license | package com.zxl.androidtools.ui.systemviews;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInfl... | true |
5701535c9dbf0db6aefd0c2727240b55b231767c | Java | szigyi/threatnotifier | /src/main/java/hu/szigyi/threat/crawler/NewsCrawler.java | UTF-8 | 3,711 | 2.59375 | 3 | [] | no_license | package hu.szigyi.threat.crawler;
import edu.uci.ics.crawler4j.crawler.Page;
import edu.uci.ics.crawler4j.crawler.WebCrawler;
import edu.uci.ics.crawler4j.parser.HtmlParseData;
import edu.uci.ics.crawler4j.url.WebURL;
import hu.szigyi.threat.model.PageModel;
import hu.szigyi.threat.validate.ModelValidator;
import org.... | true |
2a1d23c6a1a66c0ac49cd9acf82673f46328815d | Java | xiaoxian075/aten | /yzyj/yzyj_admin/src/main/java/com/admin/model/SmsAccount.java | UTF-8 | 1,755 | 2.25 | 2 | [] | no_license | package com.admin.model;
import java.io.Serializable;
import java.sql.Timestamp;
public class SmsAccount implements Serializable{
private static final long serialVersionUID = 1523491741770193584L;
private long id;
private String name;
private int sex;
private String phone;
private long group... | true |
13444cf536bbb3075591a1a2cb3dddd8a67e0cc5 | Java | hungtvn2008110242/BaiLabHDT | /src/vn/edu/giadinh/tuan8/Window/MyWinDowTestDrive.java | UTF-8 | 286 | 2.28125 | 2 | [] | no_license | package vn.edu.giadinh.tuan8.Window;
public class MyWinDowTestDrive {
public static void main(String[] args) {
MyWinDow myWindow = new MyWinDow();
myWindow.setSize(400, 300);
myWindow.setLocationRelativeTo(null);
myWindow.setVisible(true);
}
}
| true |
5434f4210f1f32cdc07b1bb9df24d8072cac4995 | Java | OmarBenhmuda/Account-Authorization-Demo-Android | /app/src/main/java/com/example/accountauthenticationdemo/RegisterFragment.java | UTF-8 | 3,541 | 2.203125 | 2 | [] | no_license | package com.example.accountauthenticationdemo;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Progres... | true |
b447f9ede5436bd48ba07c92dde3f38cc137cd78 | Java | namdt247/java-vue-asm | /src/main/java/com/example/jpaexam/entity/Account.java | UTF-8 | 743 | 2.40625 | 2 | [] | no_license | package com.example.jpaexam.entity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.Set;
@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Account {
@Id
@GeneratedValue(strate... | true |
4576bdbee8b274d1bc420dc7103dc189f6f4f2b4 | Java | arc0801/Cookie_team | /src/main/java/com/cookie/basic/member/MemberController.java | UTF-8 | 21,056 | 1.8125 | 2 | [] | no_license | package com.cookie.basic.member;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.Map;
import javax.mail.MessagingException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.print.DocFla... | true |
59c7763fbef18c7678db62c23612417152c9a199 | Java | asmoores/lookup-service | /src/main/java/lookup/service/controllers/LookupController.java | UTF-8 | 429 | 1.796875 | 2 | [] | no_license | package lookup.service.controllers;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import static org.springframework.web.bind.annotation.RequestMethod.GET;
@RestController
public class LookupController {
@RequestMapping(method = GET,... | true |
aa9086080b567436a06a104a2edb2b0a7d4a1b9d | Java | shinhyungchul/ifwe | /Ifwe.0.3/src/main/java/com/kh/ifwe/common/log4j/Log4jTest.java | UTF-8 | 576 | 2.34375 | 2 | [] | no_license | package com.kh.ifwe.common.log4j;
import org.apache.log4j.Logger;
/**
* log4j가 지원하는 레벨
*
* fatal
* error
* warn
* info
* debug
* trace
*
*
*
*/
public class Log4jTest {
private static Logger logger= Logger.getLogger(Log4jTest.class);
public static void main(String[] args) {
new Log4jTest().... | true |
8ee67902797a9f810a40036f901b9195efde9dfd | Java | BulkSecurityGeneratorProject/mat53 | /src/main/java/kirgiz/stockandsalesmanagement/app/service/mapper/DashboardMapper.java | UTF-8 | 1,254 | 2.1875 | 2 | [] | no_license | package kirgiz.stockandsalesmanagement.app.service.mapper;
import kirgiz.stockandsalesmanagement.app.domain.*;
import kirgiz.stockandsalesmanagement.app.service.dto.DashboardDTO;
import org.mapstruct.*;
/**
* Mapper for the entity Dashboard and its DTO DashboardDTO.
*/
@Mapper(componentModel = "spring", uses = {Th... | true |
5cbd304c2b2c1624794e8960b41f68f8afb09fd5 | Java | jonydog/refy | /src/main/java/com/jonydog/refy/business/impl/ReferenceServiceImpl.java | UTF-8 | 6,146 | 2.375 | 2 | [] | no_license | package com.jonydog.refy.business.impl;
import com.jonydog.refy.business.interfaces.ReferenceService;
import com.jonydog.refy.daos.ReferenceDAO;
import com.jonydog.refy.jobs.ReferenceKeeper;
import com.jonydog.refy.model.Reference;
import com.jonydog.refy.util.RefyErrors;
import com.jonydog.refy.util.StageManager;
imp... | true |
b89e8868f017e15f5da888869f7ff2e8e398bd3b | Java | arm11a/SensingAlarm | /AlarmApp1/app/src/main/java/lsw/alarmapp1/BLEScan.java | UTF-8 | 6,083 | 2.15625 | 2 | [] | no_license | package lsw.alarmapp1;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import a... | true |
6adb740903ff297a408d9f04f4e8bd281079c9b0 | Java | mahalkarshubham/MathLibrary | /shubham_math/src/main/java/com/example/shubham_math/Math.java | UTF-8 | 409 | 3.21875 | 3 | [] | no_license | package com.example.shubham_math;
/**
* Created by Shubham Mahalkar on 06-Oct-19
*/
public class Math
{
public static int Plus(int a, int b)
{
return a+b;
}
public static int Minus(int a, int b)
{
return a-b;
}
public static int Multiple(int a, int b)
{
retur... | true |
a00cfe1fd8ab9b8047c6ae1921cdc9b7af558380 | Java | uppsala-university/ati-ladok3-rest-client | /src/main/java/se/sunet/ati/ladok/rest/api/resultatinformation/SokAktivitetstillfalleQuery.java | UTF-8 | 8,159 | 2.1875 | 2 | [
"MIT"
] | permissive | package se.sunet.ati.ladok.rest.api.resultatinformation;
import java.util.ArrayList;
import java.util.List;
public class SokAktivitetstillfalleQuery {
private final List<Integer> aktivitetstillfallestypID;
private final String benamning;
private final List<String> kurstillfalleUID;
private final List... | true |
a9250d5983cd24e7d7417d577d77d0f7f19a8d43 | Java | shubhamrajvanshi/cmpe275.PrivateCloud | /src/main/java/edu/sjsu/cmpe275/VmModel/VMDetails.java | UTF-8 | 1,315 | 2.390625 | 2 | [] | no_license | package edu.sjsu.cmpe275.VmModel;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
impor... | true |
1e7e024ea98e503959afcd86261dd4c9577b602a | Java | fusionmc-evilscoop/FusionInstalle.Src | /com/jidesoft/validation/ValidationObject.java | UTF-8 | 1,131 | 2.234375 | 2 | [] | no_license | /* */ package com.jidesoft.validation;
/* */
/* */ import java.util.EventObject;
/* */
/* */ public class ValidationObject extends EventObject
/* */ {
/* */ private Object _newValue;
/* */ private Object _oldValue;
/* */
/* */ public ValidationObject(Object source, Object oldValue... | true |
16191d90f6d6ff8d8665aa52b88b93af4d0d6068 | Java | xixily/cxoa_websocket | /src/com/chaoxing/oa/entity/po/websocket/Messages.java | UTF-8 | 2,892 | 1.976563 | 2 | [] | no_license | package com.chaoxing.oa.entity.po.websocket;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Gener... | true |
8a390f06343007c4d5a669c42dd19b8eca7cf5db | Java | 1802343117/ziying-api | /src/main/java/com/example/ziying/controller/MovieInforController.java | UTF-8 | 2,124 | 1.789063 | 2 | [] | no_license | package com.example.ziying.controller;
import com.example.ziying.annotation.ControllerWebLog;
import com.example.ziying.common.ResponseResult;
import com.example.ziying.domain.dto.FenYeDao;
import com.example.ziying.domain.sys.SysMovie;
import com.example.ziying.service.MovieInforService;
import com.example.z... | true |
da40d0b6234bb4b3c914fcff653f7fb4481c2cd7 | Java | furkanakdemir/MovieSample | /app/src/main/java/net/furkanakdemir/moviesample/di/AppComponent.java | UTF-8 | 805 | 1.75 | 2 | [] | no_license | package net.furkanakdemir.moviesample.di;
import net.furkanakdemir.moviesample.MovieApplication;
import net.furkanakdemir.moviesample.ui.MovieModule;
import net.furkanakdemir.moviesample.viewmodel.ViewModelModule;
import javax.inject.Singleton;
import dagger.Component;
import dagger.android.AndroidInjectionModule;
... | true |
71871009afa0de9ecf6896e68ced12486ab05b0b | Java | ZDHLIB/ProgrammingPractice | /src/main/java/LeetCode/Easy/Q204.java | UTF-8 | 427 | 2.75 | 3 | [] | no_license | package LeetCode.Easy;
public class Q204 {
public int countPrimes(int n) {
int res = 0;
boolean[] flag = new boolean[n];
for(int i = 2; i * i < n; i++){
if( flag[i] ) continue;
for(int k = i * i; k < n; k += i) flag[k] = true;
}
for(int i = 2; i < n; ... | true |
754275ffc0bb5bbac331cd7f79e3c85525b27714 | Java | kimjeoneun/cosmos | /mvc2_web/src/member/MemList.java | UTF-8 | 430 | 1.992188 | 2 | [] | no_license | package member;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import dao.MemberDao;
import dto.Member;
public class MemList {
public void execute(HttpServletRequest request, HttpServletResponse response) {
MemberDao dao = n... | true |
89fc40bc2574e54eaba4a6fdfae6e5ea4c67d6ea | Java | AsenkaGit/MyMoviesApp | /mymoviesapp-api/src/main/java/fr/asenka/mymoviesapp/api/repository/MyMovieRepository.java | UTF-8 | 487 | 2.3125 | 2 | [] | no_license | package fr.asenka.mymoviesapp.api.repository;
import java.util.List;
import org.springframework.data.repository.PagingAndSortingRepository;
import fr.asenka.mymoviesapp.model.Movie;
/**
*
* @
*/
public interface MyMovieRepository extends PagingAndSortingRepository<Movie, String>{
/**
* Look for a list of mo... | true |
690f6e4483f31b077bc784929609414c3707f77c | Java | lakerda/androidBeginner | /app/src/main/java/com/example/caner/myapplication2/MainActivity.java | UTF-8 | 2,251 | 2.15625 | 2 | [] | no_license | package com.example.caner.myapplication2;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.ButtonBarLayout;
import android.support.v7.widget.Toolbar;
impo... | true |
dfd69f13c80037ecc63f52879c9bd75212d29d61 | Java | sigray/NFC_Play | /app/src/main/java/com/example/stucollyn/nfc_play/trove/prototype1UI/ShowCloudStoryContent.java | UTF-8 | 15,850 | 1.828125 | 2 | [] | no_license | package com.example.stucollyn.nfc_play.trove.prototype1UI;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.media.ExifInterface;
import android.media.MediaPlayer;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.suppo... | true |
eb785bd07c2e5cde98e3965200b4b490eddc023f | Java | eosite/openyourarm | /glaf/workspace/glaf-isdp/src/main/java/com/glaf/isdp/mapper/ProjCellAndFilesMapper.java | UTF-8 | 804 | 1.9375 | 2 | [] | no_license | package com.glaf.isdp.mapper;
import java.util.List;
import org.springframework.stereotype.Component;
import com.glaf.isdp.domain.ProjCellAndFiles;
import com.glaf.isdp.query.ProjCellAndFilesQuery;
/**
*
* Mapper接口
*
*/
@Component("com.glaf.isdp.mapper.ProjCellAndFilesMapper")
public interface ProjCellAndFile... | true |
1701683b9ba1bd32fc3647bc0d00887d1c82ea2e | Java | aswins24/Shoppers_Pit_Stop | /app/src/main/java/com/example/ashwin/shopperspitstop/DatabaseHandler.java | UTF-8 | 14,831 | 2.40625 | 2 | [] | no_license | package com.example.ashwin.shopperspitstop;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import java.text.SimpleDateFormat;
import java.util... | true |
fa11ad01a006079ff5a8088e1fc74f81e51484cf | Java | TherionXII/MajorGroupProject | /Web Collaboration Tool/Back-end/src/main/java/project/webcollaborationtool/Collaboration/Thread/Repositories/ChatThreadRepository.java | UTF-8 | 299 | 1.695313 | 2 | [] | no_license | package project.webcollaborationtool.Collaboration.Thread.Repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import project.webcollaborationtool.Collaboration.Thread.Entities.ChatThread;
public interface ChatThreadRepository extends JpaRepository<ChatThread, Integer>
{
}
| true |
8de37b944e6e303b83981c7344dee01635c973f6 | Java | bellmit/esm-essa | /platform/jboss4/JBoss_4_0_5_GA_JBAS-4129/ejb3/src/test/org/jboss/ejb3/test/initial/unit/.svn/text-base/RemoteUnitTestCase.java.svn-base | UTF-8 | 6,854 | 1.765625 | 2 | [] | no_license | /*
* JBoss, Home of Professional Open Source.
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | true |
aafc29e7d8e90d837124447cb3b734c9f0738285 | Java | thinh2zalo/TripMe | /app/src/main/java/com/hoaithi/tripme/model/yourplan/PlaceTimeline.java | UTF-8 | 424 | 2.09375 | 2 | [] | no_license | package com.hoaithi.tripme.model.yourplan;
public class PlaceTimeline implements PlanObject {
public final String mTimeFrom;
public final String mTimeTo;
public final String mTitle;
public PlaceTimeline(String timeFrom, String timeTo, String title, String cost) {
mTimeFrom = timeFrom;
... | true |
5ba1348369d7041649d58495f05e722364537356 | Java | SpbRedGuard/strigalev_project | /src/stage2_lesson6/src/Server.java | UTF-8 | 3,825 | 3.484375 | 3 | [] | no_license | import java.io.DataInputStream; // класс DataInputStream для считывания из потока данные примитивных типов
import java.io.DataOutputStream; // класс DataOutputStream для записи из потока данные примитивных типов
import java.io.IOException; // класс для обработки операций исключений ввода-вывода (завершилась неудачно ... | true |
df1b4d1ab5d9fcbf2dd02d7f3275a29b9ae44a0c | Java | 616164124/springbase | /cloud-gateway-gateway9527/src/main/java/com/demo/GateWayMain9527.java | UTF-8 | 702 | 1.757813 | 2 | [] | no_license | /**
* projectName: cloud2020- fileName: GateWayMain9527.java packageName: com.demo date: 2020-09-22
* copyright(c) 2017-2020 xxx公司
*/
package com.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eur... | true |
4491a6c6c5411543d7e0a79308ff6a3c0dd310db | Java | dingyi233/yi | /src/main/java/com/example/demo/dao/XsArrangementMapper.java | UTF-8 | 336 | 1.5 | 2 | [] | no_license | package com.example.demo.dao;
import com.example.demo.entity.XsArrangement;
import com.example.demo.entity.ZsArrangement;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
@org.apache.ibatis.annotations.Mapper
public interface XsArrangementMapper extends Mapper<XsA... | true |
e3ef4c75c848097ddfcb1d08131fe85aa29239e0 | Java | thaond/nsscttdt | /src/ext-lltnxp/ext-service/src/com/sgs/portlet/receivergroup/service/persistence/ReceiverUtil.java | UTF-8 | 19,591 | 2.015625 | 2 | [] | no_license | package com.sgs.portlet.receivergroup.service.persistence;
public class ReceiverUtil {
private static ReceiverPersistence _persistence;
public static com.sgs.portlet.receivergroup.model.Receiver create(
long receiverId) {
return getPersistence().create(receiverId);
}
public static com... | true |
8194c8d8196d93f89dd08808772764ad900eec12 | Java | anuchandy/azure-sdk-for-java | /recoveryservices.backup/resource-manager/v2017_07_01/src/main/java/com/microsoft/azure/management/recoveryservices/backup/v2017_07_01/implementation/BackupUsageSummariesImpl.java | UTF-8 | 2,023 | 1.859375 | 2 | [
"MIT"
] | permissive | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*
*/
package com.microsoft.azure.management.recoveryservices.backup.v2017_07_01.implementa... | true |
3e2c7d5280d8410436b1b3334956a3c8bf6072f5 | Java | egzosn/pay-spring-boot-starter-parent | /pay-spring-boot/src/main/java/com/egzosn/pay/spring/boot/core/provider/merchant/platform/YoudianPaymentPlatform.java | UTF-8 | 3,008 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | package com.egzosn.pay.spring.boot.core.provider.merchant.platform;
import com.egzosn.pay.common.api.PayConfigStorage;
import com.egzosn.pay.common.api.PayService;
import com.egzosn.pay.common.bean.TransactionType;
import com.egzosn.pay.common.http.HttpConfigStorage;
import com.egzosn.pay.spring.boot.core.merchant.Pay... | true |
8c9ce506412a629a722305f952f8c6785ddfb2fb | Java | han673755695/springrain | /springrain-grpc-server/src/main/java/org/springrain/rpc/grpcimpl/NoticeGrpcService.java | UTF-8 | 2,030 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | package org.springrain.rpc.grpcimpl;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springrain.rpc.grpcauto.GrpcTransactionNoticeServiceGrpc;
import org.springrain.rpc.grpcauto.NoticeResponse;
import org.springra... | true |
a4164c02a853697dfc029994026f31f930dce783 | Java | radhe-shyam/java-networks | /Java/Java Programs/ftocImpl.java | UTF-8 | 312 | 2.015625 | 2 | [] | no_license | import java.rmi.*;
import java.io.*;
import java.rmi.server.*;
public class ftocImpl extends UnicastRemoteObject implements ftoc
{
public ftocImpl()throws RemoteException
{
super();
}
public float getftoc(float c)throws RemoteException
{
//float c = 21.5f;
float f = 9/5 * c + 32;
return f;
}
} | true |
6b2399e37bdcd7ec559fb78adee8f44f834a6495 | Java | zjubank/MiniSQL-Java | /miniSQL/src/Record.java | UTF-8 | 2,770 | 3.453125 | 3 | [] | no_license | package miniSQL;
import java.util.ArrayList;
public class Record {
//一个Record是一列
String TableName="";
ArrayList<Integer> Int=new ArrayList<Integer>();
ArrayList<Double> Dou=new ArrayList<Double>();
ArrayList<String> Str=new ArrayList<String>();
int type=0;//0:int 1:float;2:string
int IntSize=0,DouS... | true |
6e4479ccc66622cb5fe6ff126cce820e01979a42 | Java | jdluna/Eventuate-Tram-Saga-Orchestration | /order/src/main/java/com/bhhan/tram/order/common/OrderDetails.java | UTF-8 | 590 | 2.046875 | 2 | [] | no_license | package com.bhhan.tram.order.common;
import com.bhhan.tram.common.Money;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Embeddable;
import javax.persistence.Embedded;
/**
* Created by hbh5274@gmail.com on 2020-11-09
* Github : http://github.com/bhhan5274
*/
@Embeddable
@Getter
@Setter
publi... | true |
66a6b6dc96a9c5693d1f8be9c0aae1766e7c49f0 | Java | vijayasree28/Furniture | /furniture/src/test/java/com/niit/furniture/Test/CartTest.java | UTF-8 | 728 | 2.15625 | 2 | [] | no_license | /*package com.niit.furniture.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.niit.furniture.dao.CartDAO;
import com.niit.furniture.model.Cart;
public class CartTest {
public static void main(String[] args) {
AnnotationConfigApplicationContext context = n... | true |
513e0eeb18eba0be74310625f3d1e6450991190e | Java | MDivakarPal/Data_Structure_Implementation | /Data_Structure/Array/Rearrabgement/moveszeros.java | UTF-8 | 732 | 3.484375 | 3 | [] | no_license | import java.util.*;
class Test {
public static void main(String[] args) {
Scanner sc=new Scanner (System.in);
System.out.println("Enter size of array");
int arr[]=new int[sc.nextInt()];
for(int i=0;i<arr.length;i++)
arr[i]=sc.nextInt();
moves(arr);
}
s... | true |
f31343f040c61b4a3cb8ee14522d9ad58417c475 | Java | Happyteeth/BankRecordDetectSystem | /main/java/com/ylink/aml/modular/system/mapper/DataReportMapper.java | UTF-8 | 417 | 1.78125 | 2 | [] | no_license | package com.ylink.aml.modular.system.mapper;
import com.ylink.aml.modular.system.entity.DataReport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.Date;
/**
* @author qy
*/
@Repository
public interface DataReportMapper extends BaseMapper<D... | true |
965648b4b8e468319509d201d18a11bba54c0127 | Java | varundotm/sandJ | /jsmdc/src/scripts/BaseTest.java | UTF-8 | 4,218 | 1.914063 | 2 | [] | no_license | package scripts;
import java.io.File;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.time.LocalDateTime;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;... | true |
5f04ed948d061838991b52ecd8e0c283c53797a4 | Java | kacperpowrozek/footwatch | /src/test/java/com/footwatch/service/MatchServiceTest.java | UTF-8 | 2,880 | 2.328125 | 2 | [] | no_license | package com.footwatch.service;
import com.footwatch.model.Match;
import com.footwatch.model.Player;
import com.footwatch.repository.MatchRepository;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.... | true |
caccde289a3807fb769d3d6cf0a3039c29be9b32 | Java | jepeffer/Unity | /src/Unity/ScalingManager.java | UTF-8 | 2,287 | 2.484375 | 2 | [] | no_license | package Unity;
import java.awt.Component;
import java.awt.DisplayMode;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.io.IOException;
public class ScalingManager implements ComponentListener
{
private static final double DEFAULT_RESOLUTION_X = 1650;
private static final... | true |
f9c9052d293e9ceaf33918b83dd43273fd27be97 | Java | Xiaoyuer-6/Thread05 | /thread_0519/ThreadPoolDemo46.java | UTF-8 | 1,154 | 3.21875 | 3 | [] | no_license | package thread.thread_0519;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
/**
* Created with IntelliJ IDEA.
* Description:
* User: HuYu
* Date: 2021-05-19
* Time: 19:54
*/
public class ThreadPoolDemo46 {
public static void main... | true |
538ada63f6601325e9cf4c28a73a9d2ef217dc12 | Java | SemenHappy/SemenProject | /src/ru/itsJava/lecture3/MetodsPraktis.java | UTF-8 | 1,082 | 3.3125 | 3 | [] | no_license | package ru.itsJava.lecture3;
public class MetodsPraktis {
public static void main(String[] args) {
int max45 = maxValue(5, 4);
System.out.println(max45);
int max57 = maxValue(5, 7);
System.out.println(max57);
System.out.println("Максимум из 10 и 7 :" + maxValue(10, 7));
... | true |
6bb4bddbeee902357690e2cf0aeddaa840307148 | Java | Iffern/EvolutionProject | /src/main/Vector2D.java | UTF-8 | 2,280 | 3.515625 | 4 | [] | no_license | package main;
import java.util.Objects;
public class Vector2D {
final int x;
final int y;
public Vector2D(int x, int y) {
this.x = x;
this.y = y;
}
public String toString() {
return ("(" + this.x + "," + this.y + ")");
}
pu... | true |
936f9e6bb56bdcb8d95860158df9bc277fa22c24 | Java | PaulinaCz/askme | /src/test/java/com/czerniecka/askme/controller/QuestionControllerTest.java | UTF-8 | 2,239 | 2.140625 | 2 | [] | no_license | package com.czerniecka.askme.controller;
import com.czerniecka.askme.TestAuthenticatedUser;
import com.czerniecka.askme.dto.AskQuestionDTO;
import com.czerniecka.askme.dto.ShowQuestionDTO;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.... | true |
5edc2dc381175335a022576d3d634f60a076e4aa | Java | TheNamlessGuy/Innovativ-Programmering | /TDP024/account-data-api/src/se/liu/ida/tdp024/account/data/api/entity/Transaction.java | UTF-8 | 676 | 2.015625 | 2 | [] | no_license | package se.liu.ida.tdp024.account.data.api.entity;
import java.io.Serializable;
public interface Transaction extends Serializable {
public long getId();
public void setId(long newID);
public String getType();
public void setType(String newType) throws Exception;
public long getAmount();
... | true |
6f44bf8bea3667b7d6500d3010f05182963c7ebe | Java | shaolin-example-com-my-shopify-com/KidWatcher | /AppLock/com/domobile/eframe/PushDialogActivity.java | UTF-8 | 1,013 | 1.789063 | 2 | [] | no_license | package com.domobile.eframe;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.widget.PopupWindow.OnDismissListener;
import com.domobile.frame.ui.C1288c;
public class PushDialogActivity ... | true |
32d5411da70beadf81cef08fde1003819219849c | Java | Dufler/logica | /it.ltc.logica.admin.gui/src/it/ltc/logica/admin/gui/elements/CriteriAmbiti.java | UTF-8 | 333 | 1.953125 | 2 | [] | no_license | package it.ltc.logica.admin.gui.elements;
import it.ltc.logica.gui.elements.table.filter.CriteriFiltraggio;
public class CriteriAmbiti extends CriteriFiltraggio {
private final Integer idAmbito;
public CriteriAmbiti(Integer id) {
idAmbito = id;
}
public Integer getIdAmbito() {
return idAmbit... | true |
a6e51ee54604ab5963efbb75cdafbbfa58ee2943 | Java | EmmanuelMir/FilmesApp2 | /FilmeDao.java | UTF-8 | 1,352 | 2.171875 | 2 | [] | no_license | package com.emmanuelmir.filmesapp;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Update;
import java.util.List;
@Dao
public interface FilmeDao {
@... | true |
07a25ea0fd549f987e072ff35b5b1d15489236c2 | Java | Herossss/jenkins_Test | /src/main/java/com/uniteddate/facility_manage/dao/UserFacilityMapper.java | UTF-8 | 1,416 | 2.234375 | 2 | [] | no_license | package com.uniteddate.facility_manage.dao;
import com.uniteddate.facility_manage.entity.UserFacility;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 用户设备关联表 (UserFacility)表数据库访问层
*
* @author makejava
* @since 2020-08-19 14:07:58
*/
@Mapper
p... | true |
673c7741311045457291d8f47197c8cc7b614f07 | Java | FALLENxGaLaXie5/DataStructures_JavaGames | /PLTL/src/NextPart.java | UTF-8 | 435 | 3.125 | 3 | [] | no_license | /**
* Created by Joshua on 9/19/2014.
*/
import java.util.Scanner
public class NextPart
{
public static void main( String [] args )
{
Scanner scan = new Scanner( System.in );
System.out.print("Enter the year here: ");
int y = scan.nextInt();
int a = y % 19;
int b = y/... | true |
6da358991922ef078ce2a2d723161b51145653d6 | Java | Furkan178/JavaWorks | /JavaWork2/src/JavaWork2/InstructorManager.java | UTF-8 | 206 | 2.640625 | 3 | [] | no_license | package JavaWork2;
public class InstructorManager extends UserManager{
public void instructorUpdate(User user) {
System.out.println(user.getFirstName()+" "+user.getLastName()+" kurs veriyor");
}
}
| true |
66f9ca386382807605b90c304ea1318ca5432825 | Java | dbarreto22/practicoJsp | /PracticoJsp/src/com/practicoJSP/servlet/servletMDB.java | UTF-8 | 3,164 | 2.15625 | 2 | [] | no_license | package com.practicoJSP.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.co... | true |
859d2d2947ff5291086e11725e902a219fd4d03a | Java | Beteasy/JAVA-GRADE2SEMESTER2- | /答案/实验5/实验5/GroupStrategy.java | GB18030 | 101 | 2.109375 | 2 | [] | no_license | package ʵ_Java.ʵ5;
public interface GroupStrategy {
void group(int n);
}
| true |
52c66d03d9734f8c396d9d7c7f127c79aec13384 | Java | lHeng9/milkreader | /lheng_MilkBook/src/com/sw/service/BookService.java | WINDOWS-1253 | 858 | 2.078125 | 2 | [] | no_license | package com.sw.service;
import java.util.List;
import com.sw.dao.BookDao;
import com.sw.dao.UserDao;
import com.sw.entity.Book;
import com.sw.entity.User;
public class BookService implements BaseService<Book> {
BookDao dao = new BookDao();
@Override
public Book findById(Book book) {
// TODO Auto-generated metho... | true |
dafc7dc1e727ecb1755ca447ac0082099557b69d | Java | nirendeshpande/learn-and-build | /rest-service-jaxb-example/src/niren/rest/OrderService.java | UTF-8 | 2,026 | 2.1875 | 2 | [] | no_license | package niren.rest;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.json.simple.JSONObject;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.BeanParam;
import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path... | true |
e620d3731fe27879bc40fba91fb5dee7751d79d8 | Java | mcculls/nexus | /nexus/nexus-test-harness/nexus-test-harness-selenium/src/test/java/org/sonatype/nexus/selenium/nexus2196/Nexus2196RepositorySummaryTest.java | UTF-8 | 4,630 | 1.859375 | 2 | [] | no_license | /**
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2007-2012 Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public L... | true |
f165f5e4021b4be0a4307ac09091fd66d1f0e9c6 | Java | nhasdarjian/CS380-01 | /CS380-01 PR5/UDPClient.java | UTF-8 | 4,857 | 2.9375 | 3 | [] | no_license | import java.io.*;
import java.net.*;
public class UDPClient
{
public static short checksum(byte[] bytes)
{
int b = (bytes.length + (bytes.length % 2)) / 2; // pairs of bytes
short s; // temp short
int sum = 0; // 32 bit storage space
for (short i = 0; i < b; i++) { // sum pairs of ... | true |
7dbe017944af9d8c601683a698ec60bfc75a50a7 | Java | zoozoo321/MISSION | /MISSIONPOSSIBLE_Back/src/main/java/com/missionpossibleback/mvc/member/model/vo/Member.java | UTF-8 | 528 | 1.664063 | 2 | [] | no_license | package com.missionpossibleback.mvc.member.model.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Member {
private int memberNo;
private String id;
private String password;
private String gradeName;
privat... | true |
4f2f3c7fb8ec7a45f26fd0fe5bab30a561a6cf99 | Java | HUMMERshine/myPreproject | /.svn/pristine/4f/4f2f3c7fb8ec7a45f26fd0fe5bab30a561a6cf99.svn-base | UTF-8 | 2,790 | 1.882813 | 2 | [] | no_license | package com.cintel.elp.entity.basicfun;
import org.apache.ibatis.type.Alias;
import com.cintel.elp.entity.base.BaseEntity;
@Alias("Warehouse")
public class Warehouse extends BaseEntity {
private static final long serialVersionUID = 1L;
private String loc_id;
private String loc_name;
private Stri... | true |
a0b58de5df46c56e7ba4d0ea3e0b3153eaad18be | Java | prudhiviraju/Allthejavacode | /src/abstractandinterface/Cartest.java | UTF-8 | 366 | 2.515625 | 3 | [] | no_license | package abstractandinterface;
public class Cartest {
public static void main(String[] args) {
Bmw b = new Bmw();
b.start();
b.stop();
b.refuel();
b.razz();
b.engine();
Car c=new Bmw();
c.start();
c.stop();
c.refuel();
c.razz();
//we can't acess the engine method over here because that ... | true |
c4843d55c72e3ef5360ca387a55f9e337b1fb6aa | Java | ivanetinajero/java-web-projects | /cinema-jqueryMobile/cinema/src/java/net/mycompany/mobile/dao/ScheduleDao.java | UTF-8 | 6,752 | 2.765625 | 3 | [] | no_license | package net.mycompany.mobile.dao;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import net.mycompany.mobile.dto.Schedule;
import net.mycompany.mobile.dto.Movie;
public class ScheduleDao{
public ScheduleDao() {
}
public static List<Schedule> getToday() ... | true |
b19b711cf025cc70ba4567effa52494678e44b1e | Java | MohammadMoeinKeyvani/Work-Shop-Projects | /HW4/src/MainStore.java | UTF-8 | 2,510 | 2.625 | 3 | [] | no_license | public class MainStore extends Asnaf {
private int numberOfPasta;
private int numberOfOil;
private int numberOfEgg;
private int numberOfMeat;
private int numberOfMilk;
private int numberOfIceCream;
private int numberOfSoda;
private int numberOfCoffee;
private int numberOfSnacks;
... | true |
9d3b0bad7b26025beea4194022b699bcd8d8cbcf | Java | pvarper/ODECO | /src/micrium/odeco/business/FormularioOdecoBL.java | UTF-8 | 9,308 | 1.875 | 2 | [] | no_license | package micrium.odeco.business;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Named;
import micrium.odeco.dao.FormularioOdecoDAO;
import micrium.odeco.model.FormularioOdeco;
import micrium.util.Parameter;
import org.apache... | true |
4746cb434b8fbce6b8e72fb113e6f83638737a3a | Java | hmatic/fer-java-course | /15 Blog App Hibernate/src/main/java/hr/fer/zemris/java/tecaj_13/web/servlets/AuthorServlet.java | UTF-8 | 4,793 | 2.8125 | 3 | [] | no_license | package hr.fer.zemris.java.tecaj_13.web.servlets;
import java.io.IOException;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
i... | true |
6c40577f02159f4d197e67ec1c6ccaa089a85881 | Java | cpt1234/gitLoveZZU | /src/life/topicCircle/service/SubjectService.java | UTF-8 | 397 | 2.03125 | 2 | [] | no_license | package life.topicCircle.service;
import java.io.Serializable;
import java.util.List;
import life.topicCircle.entity.Subject;
public interface SubjectService {
void save(Subject subject);
void update(Object entity);
List query(String sql,Object[] values);
Subject get(Class<Subject> entityClazz, Serializab... | true |
fa72ffb2aae71b1c9b07b0d25adcacbecb6605cd | Java | Jersh95/Comp-Sci-Class-Codes | /130/SummingDigits.java | UTF-8 | 1,541 | 4.46875 | 4 | [] | no_license | /*Program will find the sum of the four digits of a four-digit number the user inputs
*
* Author: Josh Jacobsen
* Created: September 16 2014
*
* Algorithm
* 1. Display program purpose
* 2. Prompt user for a four-digit number
* 3. Convert numeric data type (int)
* 4. Extract first number by dividing by ... | true |
12a515b28d9255de7abfcf39b94babe9a007d7d1 | Java | Asaad27/projetJEE | /ProjetDONSANG/src/main/java/dao/DAODemandeCentre.java | UTF-8 | 161 | 1.859375 | 2 | [] | no_license | package dao;
import beans.DemandeCentre;
public interface DAODemandeCentre {
public boolean addDemandeCentre(DemandeCentre demande) throws DAOException;
}
| true |
6a9123d5f1d92355fcb9290afe4620628e81c0da | Java | vito-coder/point-offer | /src/main/java/com/vitoboy/leetcode/daily/aug/I210801I_I1337I_KWeakestRows.java | UTF-8 | 3,041 | 3.765625 | 4 | [] | no_license | package com.vitoboy.leetcode.daily.aug;
import java.util.Arrays;
/**
* @problem leetcode
* @description 1337.矩阵中战斗力最弱的k行
*
* 给你一个大小为 m * n 的矩阵 mat,矩阵由若干军人和平民组成,分别用 1 和 0 表示。
*
* 请你返回矩阵中战斗力最弱的 k 行的索引,按从最弱到最强排序。
*
* 如果第 i 行的军人数量少于第 j 行,或者两行军人数量相同但 i 小于 j,那么我们认为第 i 行的战斗力比第 j 行弱。
*
* 军人 总是 排在一行中的靠前位置,... | true |
f52b3761d93509ee884dbdc4120eb80c91d955dc | Java | akhilakashireddy/SampleProject | /HelloWorld/src/com/example/demo/HelloWorld.java | UTF-8 | 301 | 2.265625 | 2 | [] | no_license | package com.example.demo;
public class HelloWorld {
public static void main(String[] args) {
// TODO Auto-generated method stub
// System.out.println("Hello World");
//Employee emp = new Employee();
Employee emp = null;
emp.setId(2355);
System.out.println("Id is : "+emp.getId());
}
}
| true |
86a425cbdba95e1e4fcab95b69d5354b1fd17b65 | Java | StevenLOL/OpenDialer | /app/src/main/java/com/squizbit/opendialer/PreDialDialerActivity.java | UTF-8 | 2,717 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.squizbit.opendialer;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import... | true |
8fb1e8282076ece1e530d108b6c8f9db6dfeaed8 | Java | KassieJones/NeighborhoodSamaritan | /src/com/gc/controller/CharityController.java | UTF-8 | 3,034 | 2.453125 | 2 | [] | no_license | package com.gc.controller;
import java.util.ArrayList;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Control... | true |
dd819ac9390344598318a750c21dd02861818481 | Java | alonsoir/mini-demo | /src/main/java/com/aironman/demo/domain/service/UserService.java | UTF-8 | 225 | 1.882813 | 2 | [] | no_license | package com.aironman.demo.domain.service;
import com.aironman.demo.domain.model.User;
import java.util.List;
public interface UserService {
User create(User user);
List<User> listAll();
void initialize();
}
| true |
47d27fdaf50f2fc0815e26f9acdf2cbfdad1bb15 | Java | ChinaZeng/YouZiWallPaper | /app/src/main/java/com/youzi/youziwallpaper/app/ui/activities/LoginActivity.java | UTF-8 | 5,462 | 1.960938 | 2 | [] | no_license | package com.youzi.youziwallpaper.app.ui.activities;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import com.tencent.connect.UserInfo;
import ... | true |
4c64a44a0bcd4ea4cf8b8eb61f93ccb4403dd403 | Java | UNNC-CS-GRP-DTGroup/GRP-Project | /src/cn/edu/nottingham/notetaking/leftPart/MyTextPane.java | UTF-8 | 1,700 | 2.671875 | 3 | [] | no_license | package cn.edu.nottingham.notetaking.leftPart;
import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.text.html.HTMLDocument;
/**This is the class for textPane including saving and reading function
*
* @author Yufan SHAO
*/
/** Creates a new instance of JTextPanel_N */
... | true |