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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
dd41e8ddcc960cb2da47f466e3c8fa836577a1c4 | Java | nikolamicic21/simple-credit-calculator | /src/main/java/io/mickeckemi21/simplecreditcalculator/controller/InstallmentController.java | UTF-8 | 1,152 | 2.078125 | 2 | [] | no_license | package io.mickeckemi21.simplecreditcalculator.controller;
import io.mickeckemi21.simplecreditcalculator.dto.LoanCalculationDto;
import io.mickeckemi21.simplecreditcalculator.dto.LoanDto;
import io.mickeckemi21.simplecreditcalculator.service.LoanService;
import org.springframework.web.bind.annotation.PostMapping;... | true |
63c6f9d2f55a4745c4a3b060268d0f9f9c148078 | Java | vidhya2121/data-structure | /src/com/amaze/linked_list/ReverseGroup.java | UTF-8 | 1,494 | 4.0625 | 4 | [] | no_license | package com.amaze.linked_list;
import java.util.*;
import java.lang.*;
class ReverseGroup {
static Node head;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
while (t-- > 0) {
int n = sc.nextInt();
int a1 = sc.nextInt();
Node head = new Node(a1);
... | true |
f723d6b1fa2c9895133c7a648da9dc23b4dd388d | Java | Gokulakrishnan2788/TripCalculator | /app/src/main/java/com/gokulPramati/tripcalculator/view/base/BaseFragment.java | UTF-8 | 1,133 | 2.1875 | 2 | [] | no_license | package com.gokulPramati.tripcalculator.view.base;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.gokulPramati.tripcalculator.R;
import com.gokulPramati.tripcalculator.listener.TitleChangeListene... | true |
762fe73b2e4db81d3c1015c7ef1204c63c419f8a | Java | tomdss/BT_Buoi5 | /app/src/main/java/com/t3h/bt_buoi5/FaceAdapter.java | UTF-8 | 2,938 | 2.578125 | 3 | [] | no_license | package com.t3h.bt_buoi5;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.... | true |
08f126e4fb5d2c768182e410718c9768207d9d18 | Java | chandrabipin/dsAndAlgos | /javapractice/src/javapractice/OO4GenericClassExample.java | UTF-8 | 289 | 2.84375 | 3 | [] | no_license | package javapractice;
public class OO4GenericClassExample <T>{
T tObj = null;
OO4GenericClassExample(T t){
this.tObj=t;
}
public T aMethod() {
System.out.println("OO4GenericClassExample.aMethod(): " + this.tObj.getClass().getName() +"="+this.tObj);
return this.tObj;
}
}
| true |
fa85dd0f1fb0d7a1bae7c0d38194a4f32ad975c2 | Java | VictoriqueCQ/QI_System | /common/src/main/java/quantour/vo/StrategyDataVO.java | UTF-8 | 2,664 | 2.375 | 2 | [] | no_license | package quantour.vo;
import java.util.List;
/**
* Created by 朱晨乾 on 2017/4/15.
*/
public class StrategyDataVO {
private double annualReturn;//年化收益率
private double basicAnnualReturn;//基准年化收益率
private double alpha;
private double beta;
private double sharpeRatio;
private double maxDrawDown;//最... | true |
91715fdc28cd2e1247a7f0f306e81015115730f5 | Java | shivam4399/Assignment10 | /src/ContactService.java | UTF-8 | 8,389 | 3.265625 | 3 | [] | no_license | import java.io.EOFException;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import... | true |
bbe354abe62f453123a89b06281818259ff29c7d | Java | Rishi29/LambdaStream | /LambdaStreamExamples/src/com/lambdastream/StreamSort.java | UTF-8 | 512 | 3.3125 | 3 | [] | no_license | package com.lambdastream;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Rishi
*
* Sort using Stream
*
*/
public class StreamSort {
public static void main(String[] args) {
Integer arr[] = { 1, 4, 3, 5, 6, 2, 7, 9, 8, 5 };
List<Integer> ... | true |
2cb62f5b57ab8131f9dd1929878b028a36f077ea | Java | AndrewTkachuk66/new_year_gift | /src/main/java/CandyFactory.java | UTF-8 | 1,563 | 3.515625 | 4 | [] | no_license | import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
public class CandyFactory {
ArrayList<Sweet> sweets = new ArrayList<Sweet>();
int totalWeight;
CandyFactory(){
sweets = new ArrayList<Sweet>();
}
public ArrayList<Sweet> getSweets() {
return sw... | true |
17ee2a032929933c0fe5291b1cf5e9a8ea7d75e6 | Java | DeonJones5/NBA-GOAT-LIST- | /GOAT_LIST/src/main/java/org/example/GOAT_LIST/Entities/Skills.java | UTF-8 | 960 | 2.46875 | 2 | [] | no_license | package org.example.GOAT_LIST.Entities;
import javax.persistence.*;
@Entity
public class Skills {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long skillsId;
private String primarySkill;
private String secondarySkill;
private Long playerId;
public Long getSkillsId() {... | true |
006eb115ad728368dd4be5b7fec37280e6f7bf28 | Java | awestlund/GymGuide506 | /app/src/main/java/com/example/gymguide/Exercise.java | UTF-8 | 1,941 | 2.359375 | 2 | [] | no_license | package com.example.gymguide;
import com.google.firebase.firestore.Exclude;
import java.io.Serializable;
public class Exercise implements Serializable {
String exerciseName;
String exerciseDescription;
String exerciseID;
String exerciseVideoURL;
String exercisePhotoURL;
String equipmentID;
... | true |
06dcd20c897ca78acb0fcaa8c431a46ccbdfbdd3 | Java | xiezhifeng/mysource | /jira-project/jira-components/jira-core/src/main/java/com/atlassian/jira/util/ZipUtils.java | UTF-8 | 6,281 | 2.953125 | 3 | [] | no_license | package com.atlassian.jira.util;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
import org.apache.commons.compress.archivers.zip.ZipFile;
import org.apache... | true |
d93c7c02541bad69d4e1e2a434b6222ff3d82491 | Java | say-ash/BRS | /src/main/java/com/model/SearchResult.java | UTF-8 | 1,786 | 2.234375 | 2 | [] | no_license | package com.model;
public class SearchResult {
private int id1;
private String source;
private String destination;
private String arrivalTime;
private String departureTime;
private int distance;
private int price;
private int id2;
private String operatorName;
private String operatorType;
... | true |
e9c977172eecba9133ca8bb849b638c24a9291ba | Java | 150798/Tugas-Akhir | /app/src/main/java/com/example/latihan123/DataSaklar.java | UTF-8 | 1,188 | 2.828125 | 3 | [] | no_license | package com.example.latihan123;
public class DataSaklar {
// inisialisasi saklar
private String S1, S2, S3, S4, S5, S6, S7;
public DataSaklar(String s1, String s2, String s3, String s4, String s5, String s6, String s7){
this.S1 = s1;
this.S2 = s2;
this.S3 = s3;
this.S4 = s... | true |
cf9efb89c89a2890f82ee50173e71d243a148d24 | Java | Veeteq/MockRestWebService | /src/main/java/com/mock/ws/rest/bso/dto/response/BusinessData.java | UTF-8 | 540 | 1.882813 | 2 | [] | no_license | package com.mock.ws.rest.bso.dto.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(value = Include.NON_NULL)
public class BusinessData {
private String result;
private String system;
public String getResult() {
r... | true |
ed634feb167b7bb331f3867b1280ea67dee428ab | Java | paullindquist/picciotto | /src/main/java/de/frontsy/picciotto/structure/Workbook.java | UTF-8 | 421 | 2.484375 | 2 | [
"MIT"
] | permissive | package de.frontsy.picciotto.structure;
import lombok.*;
import java.util.Set;
@Data
@Builder
@ToString
@EqualsAndHashCode
public class Workbook {
public static final String DEFAULT_SHEET_NAME = "Workbook";
private final String name;
private final Set<Sheet> sheets;
public Workbook(@NonNull String... | true |
e893811116b8a29b4793a43c2b72f4264a32c2ff | Java | thieugia882014/java | /labs8/KhachHang.java | UTF-8 | 1,116 | 2.671875 | 3 | [] | no_license | package labs8;
import java.util.Scanner;
public abstract class KhachHang{
protected int maKH;
protected String hoTen;
protected String ngayRaHoaDon;
protected int soLuong;
public KhachHang() {
}
public KhachHang(int maKH, String hoTen, String ngayRaHoaDon,int soLuong) {
... | true |
537c436874cd87f7970d25bf29e79ae5f30f46e5 | Java | WangYouzheng1994/hyjf | /hyjf-mybatis/src/main/java/com/hyjf/mybatis/model/customize/HtlUserInfoCustomize.java | UTF-8 | 2,955 | 2.125 | 2 | [] | no_license | package com.hyjf.mybatis.model.customize;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* @ClassName: HtlUserInfo
* @Description: 汇天利用户信息
* @author Michael
* @date 2015年11月25日 上午10:42:44
*/
public class HtlUserInfoCustomize implements Serializable{
/**
* serialVersionUID
*/
private sta... | true |
675c0614eadf436d34aadf639a019da04fda835c | Java | Abdoul02/JazzJoy | /BusinessPortfolio/src/com/csform/businessportfolio/fragment/TicketsFragment.java | UTF-8 | 1,322 | 2.015625 | 2 | [] | no_license | package com.csform.businessportfolio.fragment;
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.TextView;
import com.csform.businessportfolio.BaseActivity;
import com.csform.bu... | true |
ad5385e8a6b55025efb62ccf041134c5e40d6af1 | Java | CarlesGomezMoncho/Snake | /core/src/com/stiwi/snake/Comestible.java | UTF-8 | 1,386 | 2.984375 | 3 | [] | no_license | package com.stiwi.snake;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
/**
* Created by Carles on 28/10/2016.
*/
public class Comestible extends Primitiva{
private float radi, radi2, maxRadi;
public Comestible() {}
public Comestible(int x, int y)
... | true |
ec0775a4925e977e49a7454c988bd964f08d446b | Java | opencb/biodata | /biodata-formats/src/main/java/org/opencb/biodata/formats/drug/drugbank/v43jaxb/ClassificationType.java | UTF-8 | 7,323 | 1.84375 | 2 | [
"Apache-2.0"
] | permissive | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.... | true |
f9ada79bb919376b1452e1c054cfd754c7d22e2c | Java | pavanreddy21/mapdashboard | /backend/src/main/java/com/zemoso/OKR/objective/Objective.java | UTF-8 | 1,573 | 2.125 | 2 | [] | no_license | package com.zemoso.OKR.objective;
import com.zemoso.OKR.baseEntity.BaseEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.Type;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Column;
import javax.persistence.Enti... | true |
a9853e9c2bc22e87da836ee8156646f1e125df67 | Java | Lixianshengchao/tzleft | /tops-eterm-interface/tz-eterm-interface-service/src/test/java/com/travelzen/fare2go/CommonTool.java | UTF-8 | 6,214 | 2.828125 | 3 | [] | no_license | package com.travelzen.fare2go;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
/**
* @author hongqiang.mao
* @date 2013-5-4 下午5:25:54
* @description
*/
public class CommonTool {
private final static S... | true |
1efe95468cd3cdeb281a65fc242bf63b612e834d | Java | peter-tackage/github-client-demo | /app/src/main/java/com/moac/android/mvpgithubclient/ui/search/presenter/SearchQueryPresenterImpl.java | UTF-8 | 1,201 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.moac.android.mvpgithubclient.ui.search.presenter;
import android.support.annotation.NonNull;
import com.moac.android.mvpgithubclient.ui.search.interactor.SearchQueryInteractor;
import com.moac.android.mvpgithubclient.ui.search.view.SearchQueryViewContract;
import rx.Subscription;
import rx.functions.Acti... | true |
31117e54dbeb65be4c8ceacaf62eb31b08c16082 | Java | Ritss/college_mgmt | /app/src/main/java/com/example/college_mgmt/division/DivisionAdapter.java | UTF-8 | 7,894 | 2.234375 | 2 | [] | no_license | //package com.example.college_mgmt.division;
//
//import java.util.ArrayList;
//
//import org.apache.http.HttpEntity;
//import org.apache.http.HttpResponse;
//import org.apache.http.NameValuePair;
//import org.apache.http.client.HttpClient;
//import org.apache.http.client.entity.UrlEncodedFormEntity;
//import org.apach... | true |
125824153857fc991537c4533dfd5530e878f44c | Java | RyanTech/Redux | /src/com/espiandev/redux/navigation/Stacker.java | UTF-8 | 267 | 1.960938 | 2 | [] | no_license | package com.espiandev.redux.navigation;
import android.support.v4.app.Fragment;
/**
* Created by Alex Curran on 10/02/2014.
*/
public interface Stacker {
int addFragment(Fragment fragment);
void pushFragment(Fragment fragment);
void removeFragment();
}
| true |
366c733e4475515573ec03046a938629cc919b48 | Java | gradle/performance-comparisons | /large-multiproject/project74/src/test/java/org/gradle/test/performance74_2/Test74_149.java | UTF-8 | 292 | 1.8125 | 2 | [] | no_license | package org.gradle.test.performance74_2;
import static org.junit.Assert.*;
public class Test74_149 {
private final Production74_149 production = new Production74_149("value");
@org.junit.Test
public void test() {
assertEquals(production.getProperty(), "value");
}
} | true |
5cd4347d7cd3b4c5d6d591402bc2102b7fb37338 | Java | daitu-liang/as_architecttue | /app/src/main/java/com/kakaxi/androidmvp/base/BasePresenter.java | UTF-8 | 506 | 2.421875 | 2 | [] | no_license | package com.kakaxi.androidmvp.base;
/**
* Created by Administrator on 2018/3/23.
*/
public class BasePresenter<T extends BaseView> implements Presenter<T> {
protected T mView;
//绑定view
@Override
public void attachView(T view) {
this.mView=view;
}
//解绑view
@Override
public vo... | true |
f377a9b8c8693baec81b0fee960af5afeb8e30b5 | Java | SWT14W18/MDG-2000 | /src/test/java/de/tudresden/swt14ws18/bankTests/BankAccountTest.java | UTF-8 | 2,037 | 2.484375 | 2 | [] | no_license | package de.tudresden.swt14ws18.bankTests;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import java.util.Arrays;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import de.tudresden.swt14ws18.AbstractIntegrationTest;
import de.tudresden.swt14ws18.bank.... | true |
c0908028c0139eef329bc0b0f006b02404912c68 | Java | newtonkarumba/DemoMss | /src/main/java/com/systech/mss/service/FMMemberClient.java | UTF-8 | 50,384 | 1.835938 | 2 | [] | no_license | package com.systech.mss.service;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.systech.mss.config.APICall;
import com.systech.mss.controller.vm.*;
import com.systech.mss.domain.Config;
import com.systech.mss.domain.MssMemberDTO;
import com.systech.mss.domain.StageContribution;
import com.systech.mss.d... | true |
ceccb8f84188a61a86454503be693536a1ed92b2 | Java | tree33333/Basis | /src/org/kernelab/basis/DataWriter.java | UTF-8 | 6,462 | 3.03125 | 3 | [] | no_license | package org.kernelab.basis;
import java.awt.event.ActionEvent;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;... | true |
f26976dcefb2b8b25886a63375f7d7069b1fd836 | Java | neerajnehra/Cybage_training | /workspace/program/casestudy/src/com/cybage/service/EmployeeServiceImpl.java | UTF-8 | 2,011 | 3.0625 | 3 | [] | no_license | package com.cybage.service;
import java.sql.SQLException;
import com.cybage.dao.EmployeeDao;
import com.cybage.dao.EmployeeDaoImpl;
import com.cybage.exception.EmployeeException;
import com.cybage.model.Employee;
import com.cybage.model.RegularEmployee;
import com.cybage.model.RetiredEmployee;
public class EmployeeSe... | true |
19607df1630b0a78f97a2c434631c473c5d2755b | Java | lycfr/lq | /app/src/main/java/com/google/android/gms/wearable/internal/zzat.java | UTF-8 | 886 | 2.03125 | 2 | [] | no_license | package com.google.android.gms.wearable.internal;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.internal.zzbo;
import com.google.android.gms.wearable.Channel;
import java.io.IOException;
import java.io.OutputStream;
final class zzat implements Channel.GetOutputStreamResult {
... | true |
5d89963338f637783a89d7ddfa36c1b6123d8a32 | Java | newSue/Mobilemdm | /src/main/java/com/winchannel/crm/resourcetree/data/MediaOutputChainManager.java | UTF-8 | 524 | 2.171875 | 2 | [] | no_license | /**
*
*/
package com.winchannel.crm.resourcetree.data;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* @author yaoshuai
*
*/
public class MediaOutputChainManager {
private List<ResourceMediaOutput> result = new LinkedList<ResourceMediaOutput>();
publ... | true |
1266ad171d9dbb9aff38ebbad24af552a0675a4d | Java | nathan3882/SOAPIdealTrains | /src/me/nathan3882/idealtrains/SoapRequest.java | UTF-8 | 5,612 | 2.046875 | 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 me.nathan3882.idealtrains;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.bind.JAX... | true |
0630019b6c0a100dbda04aa601639150ec97b34e | Java | k563208467/tupu | /src/main/java/com/cn/szl/tupu/servive/impl/PatentServiceImpl.java | UTF-8 | 1,267 | 2.03125 | 2 | [] | no_license | package com.cn.szl.tupu.servive.impl;
import com.cn.szl.tupu.dao.PatentDao;
import com.cn.szl.tupu.entity.Paper;
import com.cn.szl.tupu.entity.Patent;
import com.cn.szl.tupu.entity.Result;
import com.cn.szl.tupu.servive.IPaperService;
import com.cn.szl.tupu.servive.IPatentService;
import org.springframework.beans.fact... | true |
45d2633abc9f4270333e292c2507d27691da0591 | Java | YassineAka/Blokkus | /test/g49382/blokus/model/GamePlateTest.java | UTF-8 | 1,878 | 2.875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package g49382.blokus.model;
import g49382.blokus.model.*;
import org.junit.After;
import org.junit.AfterClass;
import org.j... | true |
1bb72ca51b15fba9313df5a39b36c2c469f05bdc | Java | JackNeus/Drathus | /src/drathus/game/com/Player.java | UTF-8 | 2,823 | 2.890625 | 3 | [] | no_license | package drathus.game.com;
public class Player extends Entity {
private static int leftBorder, rightBorder, topBorder, bottomBorder, framesPressed = 0, swap = 7, dir = 1, slow = 16;
public float speed = 80; //default speed
private static String[] costumeRefs = { "man1_fr1.gif", "man1_fr2.gif", "man1_bk1.gif", "man1... | true |
5421ee3703192d28c192fa23192f3669626e5d4b | Java | Nathan-Feng/DTV-MVP-Clean-Demo | /stb_dtv/src/main/java/com/nathan/arch/domain/model/BookParamDModel.java | UTF-8 | 2,124 | 2.0625 | 2 | [
"MIT"
] | permissive | package com.nathan.arch.domain.model;
/**
* Live channel book Params
*/
public class BookParamDModel {
/**
* book type ,see BookTypeDModel
*/
private BookTypeDModel eBookType;
/**
*
*/
private BookRepeatTypeDModel eBookRepeatType;
/**
*
*/
private TimeDModel time... | true |
82fa3aceb937265789dccbedfcfe0bc685c7f7b4 | Java | alina-olaru/Library--SpringBoot-Hibernate | /mylibrary/src/main/java/com/alina/mylibrary/service/impl/Admin/BookUserServiceImpl.java | UTF-8 | 9,054 | 2.515625 | 3 | [] | no_license | package com.alina.mylibrary.service.impl.Admin;
import com.alina.mylibrary.config.DBCheck;
import com.alina.mylibrary.dao.Interfaces.Admin.BookDao;
import com.alina.mylibrary.dao.Interfaces.Admin.BookUserDao;
import com.alina.mylibrary.exception.ServiceExceptions.DBExceptions;
import com.alina.mylibrary.exception.Serv... | true |
c233e8509d983f114b8964841c3035e6b6252f21 | Java | spals/appbuilder | /message-core-test/src/test/java/net/spals/appbuilder/message/core/blockingqueue/BlockingQueueMessageIT.java | UTF-8 | 3,408 | 2.21875 | 2 | [
"BSD-3-Clause"
] | permissive | package net.spals.appbuilder.message.core.blockingqueue;
import com.google.common.collect.ImmutableSet;
import com.typesafe.config.ConfigFactory;
import net.spals.appbuilder.config.message.MessageConsumerConfig;
import net.spals.appbuilder.config.message.MessageProducerConfig;
import net.spals.appbuilder.executor.core... | true |
f0e90e4b880f0a7470fb4b7035b7b50e8626a430 | Java | Hainguyen1210/madballs | /src/madballs/buffState/InstantBuff.java | UTF-8 | 1,130 | 2.625 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package madballs.buffState;
import madballs.Ball;
import madballs.scenes.SceneManager;
import madballs.multiplayer.BuffData;
/**
* c... | true |
e42ff549d9e164485b96cf87d30d38e00beb4d83 | Java | qinluyan89/themis | /themis-coprocessor/src/main/java/org/apache/hadoop/hbase/themis/cp/ThemisCpStatistics.java | UTF-8 | 4,184 | 1.882813 | 2 | [
"Apache-2.0"
] | permissive | package org.apache.hadoop.hbase.themis.cp;
import org.apache.hadoop.metrics.MetricsContext;
import org.apache.hadoop.metrics.MetricsRecord;
import org.apache.hadoop.metrics.MetricsUtil;
import org.apache.hadoop.metrics.util.MetricsRegistry;
import org.apache.hadoop.metrics.util.MetricsTimeVaryingLong;
import org.apach... | true |
1a8f06c7bf5e391c03b4d9a5846f82fbbe451915 | Java | diegomendez11117/gab-group-b | /src/main/java/com/liftoff/controllers/site/WantToController.java | UTF-8 | 2,399 | 2.0625 | 2 | [] | no_license | package com.liftoff.controllers.site;
import com.liftoff.models.Ui;
import com.liftoff.models.data.WantToRepository;
import com.liftoff.models.WantTo;
import com.liftoff.models.data.UiRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
im... | true |
c76931d91e41b60ae31126522c985283fe77af7e | Java | DTD-365/ssmproj | /src/cn/com/goldenants/model/BorrowExample.java | UTF-8 | 42,718 | 2.28125 | 2 | [] | no_license | package cn.com.goldenants.model;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class BorrowExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
... | true |
a2722b3e52ca55ef9d1b6e702a7d262724cd2fca | Java | pmd/pmd | /pmd-visualforce/src/test/java/net/sourceforge/pmd/lang/vf/ast/ApexClassPropertyTypesVisitorTest.java | UTF-8 | 2,578 | 2.203125 | 2 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | /*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.vf.ast;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import jav... | true |
b53ce9b118355943cbe635cfcc29666162e9e43f | Java | DaeLliux99/ProyectoDSI | /src/main/java/com/mycompany/app/modelo/ModeloLogin.java | UTF-8 | 1,631 | 2.453125 | 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.mycompany.app.modelo;
import com.mycompany.app.modelo.Modelo;
import com.mycompany.app.modelo.usuario.Usuario;
import com.... | true |
65ddd9c015eba10a6aba459e5ec0b7393e372414 | Java | alex-carvalho/sandbox | /samples/java/spring-batch-csv-to-mongo/src/main/java/com/ac/batch/csvtomongo/job/JobConfig.java | UTF-8 | 5,005 | 2.140625 | 2 | [] | no_license | package com.ac.batch.csvtomongo.job;
import com.ac.batch.csvtomongo.job.mongo.MongoOperationType;
import com.ac.batch.csvtomongo.job.mongo.MongoWriterFactory;
import com.ac.batch.csvtomongo.model.Sale;
import com.ac.batch.csvtomongo.repository.SaleRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
im... | true |
0d2639368166ff2d6ca88b74b504f125e7255766 | Java | wcR-A/geneticAlgorithm | /src/ga/test/main/xctest.java | UTF-8 | 2,279 | 3.15625 | 3 | [] | no_license | package ga.test.main;
import java.util.*;
import java.util.Random;
import java.util.concurrent.*;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletionService;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor... | true |
48471f1c9611dae89137cd34cbe8f0a601c9d325 | Java | xyzuan/ANXCamera | /src/ANXCamera/sources/com/ss/android/vesdk/VECameraSettings.java | UTF-8 | 16,358 | 1.632813 | 2 | [] | no_license | package com.ss.android.vesdk;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import android.support.annotation.NonNull;
import android.util.Log;
import com.android.camera.Util;
import com.ss.android.vesdk.runtime.cloudconfig.PerformanceConfig;
public class VECameraSettin... | true |
6e7e6d7729ad6ed111e48ba78187d992cc3b0f2c | Java | AkashRai1992/MyWeatherApp | /AndroidStudioProjects/MyCustomerWeatherApp/app/src/main/java/model/TempVariables.java | UTF-8 | 662 | 2.09375 | 2 | [] | no_license | package model;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by akki on 17/4/15.
*/
public class TempVariables implements Serializable {
private static final long serialVersionUID = 44L;
@SerializedName("humidity")
public flo... | true |
5d05d4fbb2dd2214e72114c6703ad7a41e2d8f7e | Java | roberthmoller/BU-Contacts | /src/com/hjortsholm/contacts/database/QuerySet.java | UTF-8 | 1,051 | 3.078125 | 3 | [] | no_license | package com.hjortsholm.contacts.database;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
/**
* <h1>Query Set</h1>
* An object map for database table.
*
* @author Robert Moeller s5069583
* @version 1.0
* @see QueryRow
* @since 10/04/2018
*/
public class QuerySet extends Ar... | true |
7c1ada23bb0f39f7fd9ebeb7f1bd94e9b64a428d | Java | LekshmiAL/datamungerstep5_boilerplate | /src/com/stackroute/datamunger/reader/CsvQueryProcessor.java | UTF-8 | 9,226 | 2.765625 | 3 | [] | no_license | package com.stackroute.datamunger.reader;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.stackroute.datamunger.query.DataSet;
import com.... | true |
8d69eb43fdb7ca9ace4e557461991e383b9d2a11 | Java | a296546867/NewMagazine | /app/src/main/java/com/example/sky/Utils/AES.java | UTF-8 | 1,839 | 2.484375 | 2 | [] | no_license | package com.example.sky.Utils;
import android.util.Base64;
import android.util.Log;
import com.example.sky.Net.Configurator;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
/**
* 项目名称:NewMagazine
* 类描述:
* 创建人:meigong
* 创建时间:2016/5/18 9:20
* 修改人:meigon... | true |
da799858e1f798a0e2e9542888f31d428502010b | Java | sshyran/optaplanner | /optaplanner-examples/src/main/java/org/optaplanner/examples/machinereassignment/domain/MrGlobalPenaltyInfo.java | UTF-8 | 1,088 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | package org.optaplanner.examples.machinereassignment.domain;
import org.optaplanner.examples.common.domain.AbstractPersistable;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("MrGlobalPenaltyInfo")
public class MrGlobalPenaltyInfo extends AbstractPersistable {
private int processMoveCos... | true |
ac3e5525058ea1019f48bbcb7a3378546745d950 | Java | vovaklh/Chat_Messenger | /Java_Project/src/main/java/client/AbstractView.java | UTF-8 | 692 | 2.4375 | 2 | [] | no_license | package client;
import javax.swing.*;
import java.awt.*;
public abstract class AbstractView extends JPanel {
protected static ChatMessengerAppl parent;
public static void setParent(ChatMessengerAppl parent) {
AbstractView.parent = parent;
}
public AbstractView(){
s... | true |
b8ef88c36baf62192b098696ba7fcdae64a6c723 | Java | Meldanor/AUD | /src/main/java/meldanor/training8/HeapSort.java | ISO-8859-1 | 5,097 | 3.5 | 4 | [] | no_license | /*
* Copyright (C) 2012 Kilian Gaertner
*
* Dieser Quelltext ist Open Source und kann von jedem verwendet werden, der
* folgende Bedingung einhlt:
* Jeder, der den Quelltext, ob in Teilen oder komplett,nutzt, muss dem Inhabenden
* des Copyrights eine Pizza spendieren, sollte derjenige dem Inhabenden des C... | true |
ae0abeab9cc6696ff1edfb7dce61400c98b67c90 | Java | JustoAlfredo/chatServer | /ChatServer/src/chatserver/ClienteThread.java | UTF-8 | 3,443 | 2.78125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package chatserver;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.InputStream;
import java... | true |
cfbecdfd2c788f558a87f4e6fbb18ddb16a82541 | Java | LJIJCJ/Test | /src/com/homework/Prosumer.java | GB18030 | 2,009 | 3.5625 | 4 | [
"MIT"
] | permissive | package com.homework;
public class Prosumer {
BufferStack bufSta = new BufferStack();
Object obj = new Object();
public Prosumer(){
Producer producer = new Producer();
Consumer consumer = new Consumer();
producer.bufSta = bufSta;
consumer.bufSta = bufSta;
producer.obj = obj;
consumer.obj = obj;
Thr... | true |
5280462cb41e46d356a0ccd8bf911e02d3788992 | Java | Kovak/MCCore | /src/com/rit/sucy/chat/ChatCommander.java | UTF-8 | 2,380 | 2.421875 | 2 | [] | no_license | /**
* MCCore
* com.rit.sucy.chat.ChatCommander
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Steven Sucy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software") to deal
* in the Software without restriction, inc... | true |
1c406fac621d8cc26b4c0a998a7d3230943f5a6e | Java | hiennq99/BaiTapLonVer2 | /src/AdminForm/QuanLyUser.java | UTF-8 | 20,629 | 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 AdminForm;
import Dao.Users;
import controller.DAOuser;
import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.... | true |
b2de6f4fd5519c2fde54e1eae8a6d331b90318a5 | Java | GuillaumeMuret/PosterMaster | /code/android/PosterMaster/app/src/main/java/com/murey/poster/postermaster/communication/message/WebMessage.java | UTF-8 | 2,248 | 2.234375 | 2 | [] | no_license | package com.murey.poster.postermaster.communication.message;
import com.google.gson.annotations.SerializedName;
import com.murey.poster.postermaster.communication.message.data.Jury;
import com.murey.poster.postermaster.communication.message.data.Note;
import com.murey.poster.postermaster.communication.message.data.Pro... | true |
c38dc5bac45be34c1036ca4e623e168f4373f560 | Java | thnet/vr-api-client | /vr-api-client/src/main/java/fi/holti/jyu/vr/io/JSONFileWriter.java | UTF-8 | 827 | 2.640625 | 3 | [] | no_license | package fi.holti.jyu.vr.io;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.Gson;
public class JSONFileWriter {
private static final Logger logger = LoggerFactory.getLogger(JSONFileWriter.class);
// prev... | true |
bf62e3690ced27de1a437f754fa926aa905c64af | Java | 15005187552/spring-boot-structrue | /GeckoBase/src/main/java/com/ljwm/gecko/base/mapper/CompanyMapper.java | UTF-8 | 1,503 | 1.898438 | 2 | [] | no_license | package com.ljwm.gecko.base.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljwm.gecko.base.entity.Company;
import com.ljwm.gecko.base.model.dto.AdminCompanyDto;
import com.ljwm.gecko.base.model.vo.CompanyVo;
import org.apach... | true |
4c7f72922a057fe28f5fead54e5d9721f7cb3bc3 | Java | GregGGregGreG/currency | /currency-ui/currency-ui-app/src/main/java/org/baddev/currency/ui/component/view/error/AccessDeniedView.java | UTF-8 | 784 | 2.1875 | 2 | [] | no_license | package org.baddev.currency.ui.component.view.error;
import com.vaadin.spring.annotation.SpringComponent;
import org.baddev.currency.ui.core.component.view.AbstractErrorView;
import org.springframework.context.annotation.Scope;
import static org.springframework.beans.factory.config.ConfigurableBeanFactory.SCOPE_PROTO... | true |
283e7acb8ab815d94639d59d7751eaa349bfced8 | Java | tianyoul/BreakoutGame | /BrickWall.java | UTF-8 | 2,211 | 3.53125 | 4 | [] | no_license | package edu.macalester.comp124.breakout;
import acm.graphics.GCompound;
import acm.graphics.GRect;
import java.awt.*;
import java.util.ArrayList;
/**
* This is the class that create a wall for the breakout program.
* Created by Tianyou on 16/3/14.
*/
public class BrickWall extends GCompound {
private ArrayLi... | true |
8c9b81471d121c54645ac778f84107988046fb76 | Java | SystemaAS/syjservicestn-expft | /src/no/systema/jservices/tvinn/expressfortolling2/enums/EnumSadexmfStatus2.java | UTF-8 | 202 | 1.703125 | 2 | [] | no_license | package no.systema.jservices.tvinn.expressfortolling2.enums;
/**
* M --> Error
* C --> Success
* D --> Deleted
*
* @author oscardelatorre
*
*/
public enum EnumSadexmfStatus2 {
M,
C,
D,
}
| true |
787f10cb4a76f3bc87ea57ad0a52333a9db9b1bf | Java | towczare/s01e05 | /05/src/test/java/io/github/javafaktura/s01e05/filter/tdd/step6/WeatherLocationFilterTest.java | UTF-8 | 3,963 | 2.75 | 3 | [] | no_license | package io.github.javafaktura.s01e05.filter.tdd.step6;
import io.github.javafaktura.s01e05.weather.Weather;
import io.github.javafaktura.s01e05.weather.filter.tdd.step6.WeatherCriteria;
import io.github.javafaktura.s01e05.weather.filter.tdd.step6.WeatherLocationFilter;
import io.github.javafaktura.s01e05.weather.locat... | true |
426335a29804988da965c0e16b98e5f815e90e44 | Java | shakthydoss/rx4dr | /src/java/com/rx4dr/service/util/ValidationUtil.java | UTF-8 | 9,289 | 2.265625 | 2 | [] | no_license | /* Copyright (C) Rx4Dr, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by shakthydoss <shakthydoss@gmail.com>, 2014
*/
package com.rx4dr.service.util;
import com.rx4dr.service.error.FieldError;
import com.rx4dr.service.m... | true |
df97ef0c1c5a64fda0c4ca8163e6b28e9a1cef2d | Java | wozent/badstudentbackend | /src/main/java/badstudent/mappings/山东省/烟台市/烟台区/烟台区Mappings.java | UTF-8 | 315 | 1.851563 | 2 | [] | no_license | package badstudent.mappings.山东省.烟台市.烟台区;
import badstudent.mappings.MappingBase;
public class 烟台区Mappings extends MappingBase {
@Override
protected void initMappings() {
subAreaMappings.put("烟台大学",null);
subAreaMappings.put("鲁东大学",null);
}
}
| true |
d07e138517acf8fc00a03e97e220cb1f31a8a3fa | Java | toyboxman/yummy-xml-UI | /xml-UI/src/main/java/king/flow/net/update/UpdateTools.java | UTF-8 | 877 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 king.flow.net.update;
import com.github.jsonj.JsonObject;
import java.net.MalformedURLException;
import king.flow.net... | true |
29e3d23ece596fddd90eba74e46a73d5ad4d5c27 | Java | onehilltech/DBFlow | /dbflow-core/src/main/java/com/raizlabs/android/dbflow/annotation/ConflictAction.java | UTF-8 | 3,594 | 3 | 3 | [
"MIT"
] | permissive | package com.raizlabs.android.dbflow.annotation;
/**
* This is how to resolve null or unique conflicts with a field marked as {@link NotNull}
* or {@link Unique}
*/
public enum ConflictAction {
/**
* Do nothing and do not specify any algorithm.
*/
NONE,
/**
* When an applicable constrain... | true |
692e94ec8dd88dca2053296ff003478db700da65 | Java | EudyContreras/Snake-FX | /Personal JavaFX Snake/src/com/EudyContreras/Snake/Utilities/Period.java | UTF-8 | 107 | 1.953125 | 2 | [
"MIT"
] | permissive | package com.EudyContreras.Snake.Utilities;
public interface Period {
public long getDuration();
}
| true |
1dc59d91fa5890b05f71b6fd9d45d249b9363a4f | Java | vinayingalahalli/java_batch_uta | /revature_java_training/list_demo/src/eg1/Demo.java | UTF-8 | 912 | 3.125 | 3 | [] | no_license | package eg1;
import java.util.ArrayList;
import java.util.List;
public class Demo {
public static void main(String[] args) {
List lis=new ArrayList();
lis.add("heyy");
lis.add(1111);
lis.add(null);
lis.add(true);
lis.add(null);
lis.add(111);
lis.add(22.333);
System.out.println(lis);
... | true |
b6f8b5181d1b38ab9b02705a07df249a8dd3636f | Java | tiksem/PhotoQuest-Android | /src/com/pq/activities/FirstPhotoquestActivity.java | UTF-8 | 535 | 1.953125 | 2 | [] | no_license | package com.pq.activities;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
/**
* Created by CM on 2/20/2015.
*/
public class FirstPhotoquestActivity extends Activity {
public static void start(Context context) {
Intent intent = new In... | true |
51360e0521274362e6fdd34d6ae0c20d21b0258e | Java | ElianaAC28/RestauranteOnlineKernel | /Restaurante-core/src/main/java/co/edu/unicauca/microkernel/restaurante/core/app/AdminActualizarAlmuerzo.java | UTF-8 | 19,153 | 2.078125 | 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 co.edu.unicauca.microkernel.restaurante.core.app;
import co.edu.unicauca.microkernel.restaurante.commons.entities.Almuerzo;
im... | true |
a30ccf86aaa6edb91986c94eadcf42ee9380fb5f | Java | projectPlayStamp/PlayStamp | /src/com/playstamp/manager/manage/ManagerList.java | UTF-8 | 756 | 1.898438 | 2 | [] | no_license | package com.playstamp.manager.manage;
public class ManagerList
{
private int rownum;
private String mng_id, mng_nm, mng_nick, mng_tel;
public int getRownum()
{
return rownum;
}
public void setRownum(int rownum)
{
this.rownum = rownum;
}
public String getMng_id()
{
return mng_id;
}
public void s... | true |
ad969b252f2d3d369e17435b686d1742063870c5 | Java | TranscendComputing/TopStackDNS53 | /src/com/msi/dns53/server/query/ListResourceRecordSets.java | UTF-8 | 10,147 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | /*
* TopStack (c) Copyright 2012-2013 Transcend Computing, 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 ap... | true |
43323d82178cc7d512414ef73518f387706f92d0 | Java | kaleywong/The-Enigma | /Machine.java | UTF-8 | 4,830 | 3.109375 | 3 | [] | no_license | package enigma;
import java.util.Collection;
import static enigma.EnigmaException.*;
/** Class that represents a complete enigma machine.
* @author Kaley Wong
*/
class Machine {
/** A new Enigma machine with alphabet ALPHA, 1 < NUMROTORS rotor slots,
* and 0 <= PAWLS < NUMROTORS pawls. ALLROTORS con... | true |
7847ca72a9587d6a2c5349209ce79a888893da48 | Java | KevinBu/algorithm012 | /Week_09/cn/com/kevin/algorithm/string/ReverseStr.java | UTF-8 | 1,214 | 4.125 | 4 | [] | no_license | package cn.com.kevin.algorithm.string;
/**
* LeetCode 541 反转字符串二
*
* <p>给定一个字符串 s 和一个整数 k,你需要对从字符串开头算起的每隔 2k 个字符的前 k 个字符进行反转。
*
* <p>如果剩余字符少于 k 个,则将剩余字符全部反转。 如果剩余字符小于 2k 但大于或等于 k 个,则反转前 k 个字符,其余字符保持原样。
*
* <p>示例:
*
* <p>输入: s = "abcdefg", k = 2 输出: "bacdfeg"
*
* <p>提示:
*
* <p>该字符串只包含小写英文字母。 给定字符串的长度和 k 在 ... | true |
6f5bf366aa46103ab2955f0953d0f83762bfd3ae | Java | raulterraferrao/Cerberus-Java-Game-Engine | /src/renderizador/RenderizadorDeTerrenos.java | UTF-8 | 2,602 | 2.5625 | 3 | [] | no_license | package renderizador;
import java.util.List;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL13;
import org.lwjgl.opengl.GL20;
import org.lwjgl.opengl.GL30;
import luminosidades.Especular;
import objetos.Objeto;
import shaders.ShaderTerreno;
import terrenos.Terreno;
import texturas.PacoteDeTexturaDeTerreno;
... | true |
dcfd47d3bbcfd682aacf0d6bd33ce815a19de42b | Java | kim-ae/employee-hierarchy-neo4j | /src/main/java/br/com/kimae/neo4jhierarchytest/bonusstone/ImportRow.java | UTF-8 | 401 | 1.804688 | 2 | [] | no_license | package br.com.kimae.neo4jhierarchytest.bonusstone;
import com.opencsv.bean.CsvBindByName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
@Getter
@NoArgsConstructor
public class ImportRow {
@CsvBindByName(column="Matrícula")
private String registration;
@CsvBindByName... | true |
a4e2e7eec5b60851274a16ea41e5e18efbd2cdca | Java | gitgeek4dx/ANXGallery9 | /src/ANXGallery/sources/com/xiaomi/channel/commonutils/android/DeviceInfo.java | UTF-8 | 20,881 | 1.890625 | 2 | [] | no_license | package com.xiaomi.channel.commonutils.android;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.os.Build.VERSION;
import android.os.Environment;
import android.provider.Settings.Secure;
import android.telephony.TelephonyManager;
import android.text.TextUtils... | true |
71815be38056a8ed6b5df92b50222e3e1522625a | Java | leyan8361/ficapi | /ficApiService/src/main/java/com/fic/service/entity/Movie.java | UTF-8 | 5,270 | 2.0625 | 2 | [] | no_license | package com.fic.service.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ApiModel
public class Movie {
@ApiModelProperty("新增修改不需要填写,电影ID"... | true |
445365c8da9787ee2270b22143d443905b75cac0 | Java | Sakshi7860/Spring_Framework | /HIbernatePracticeOneToManyUni/src/com/practice/hibernate/student/Student.java | UTF-8 | 1,963 | 2.84375 | 3 | [] | no_license | package com.practice.hibernate.student;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
imp... | true |
fdbef8ccd948a191fe2a328564288f8eb5319c04 | Java | lisahua/rase | /Rase/ca.mcgill.cs.swevo.ppa.tests/test/org/eclipse/jdt/core/dom/AnonTest.java | UTF-8 | 1,321 | 2.109375 | 2 | [] | no_license | package org.eclipse.jdt.core.dom;
import static junit.framework.Assert.assertEquals;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
import org.junit.Befor... | true |
9239d4464229554880adbfefe153b8b72fa6a342 | Java | bangiao/cloudclassroom | /classroom-web/src/main/java/com/dingxin/web/controller/ClassEvaluateAuditController.java | UTF-8 | 2,456 | 1.914063 | 2 | [] | no_license | package com.dingxin.web.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.di... | true |
6aa71ad9900d51efcba84802f9bdf88472dab36c | Java | BigETI/gravisim3d | /GraviSim3D/src/com/gravisim3d/event/ClickEventArgs.java | UTF-8 | 587 | 2.84375 | 3 | [] | no_license | package com.gravisim3d.event;
import com.gravisim3d.core.PVectorD;
/**
* Click event arguments class
*
* @author Ethem Kurt
*
*/
public class ClickEventArgs {
/**
* Click position
*/
private PVectorD pos;
/**
* Constructor
*
* @param pos_x
* Click position X
... | true |
0a45daf88ba9bda585edf0be9adba030bf0a5f58 | Java | SanjivaMahesh/java | /upcasting/src/org/fruitmaker/fruits/Fruit.java | UTF-8 | 254 | 2.640625 | 3 | [] | no_license | package org.fruitmaker.fruits;
public class Fruit {
String color;
String price;
void clean() {
System.out.println("slice and clean");
}
void prepareJuice() {
this.clean();
System.out.println("add to mixer and crush");
}
}
| true |
57342f222c903a43b9055c06c93299ab19a9e562 | Java | ZLBer/DaliyOfProgramme | /src/main/java/leetcode/leetcode1_499/leet136.java | UTF-8 | 390 | 2.71875 | 3 | [] | no_license | package leetcode.leetcode1_499;
/**
* Created by libin on 2017/9/17.
*/
public class leet136 {
public int singleNumber(int[] nums) {
for(int i=0;i<nums.length;i++)
for(int j=0;j<nums.length;j++){
if(nums[i]==nums[j]&&i!=j)
break;
if(j==nums.... | true |
0289160944683029f91ddf530ec485243a4afc36 | Java | muhinhead/JonathanFisher | /BookStore/src/com/jf/DashBoard.java | UTF-8 | 4,469 | 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 com.jf;
import com.jf.remote.IMessageSender;
import com.jf.util.ImagePanel;
import com.jf.util.TexturedPanel;
import java.awt.... | true |
64dc454aa8b8fe4dab4768cdbb185933a9b27338 | Java | OrigamiDream/Matchmaking | /core/src/main/java/av/is/matchmaking/SimpleRedisConnection.java | UTF-8 | 857 | 2.46875 | 2 | [
"MIT"
] | permissive | package av.is.matchmaking;
import av.is.matchmaking.api.RedisConnection;
/**
* Created by OrigamiDream on 2018-08-16.
*/
public final class SimpleRedisConnection implements RedisConnection {
private final RedisType redisType;
private final String name;
private final String host;
private final i... | true |
802f055e54aa2cd5fd2476b247112c77dedbbc3f | Java | isopov/adventofcode | /src/main/java/year2017/day17/Part1.java | UTF-8 | 533 | 3.109375 | 3 | [] | no_license | package year2017.day17;
import java.util.ArrayList;
import java.util.List;
public class Part1 {
public static void main(String[] args) {
System.out.println(after(359, 2017));
}
static int after(int steps, int times) {
List<Integer> buffer = new ArrayList<>(2018);
buffer.add(0);
buffer.add(1);
int posit... | true |
ad6d13751ecd88fa334405c755e043cdf746d764 | Java | NationalSecurityAgency/ghidra | /Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/correlate/DisambiguateStrategy.java | UTF-8 | 1,440 | 2.09375 | 2 | [
"GPL-1.0-or-later",
"GPL-3.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /* ###
* IP: GHIDRA
*
* 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 agreed to in writin... | true |
b9628a73c16d1b6a6bf6ae10b600425b8c991a87 | Java | cckmit/fcs | /FBPM/PM_20170918/fcs-pm-facade-wsp/src/main/java/com/born/fcs/pm/ws/info/riskreview/RiskReviewReportInfo.java | UTF-8 | 2,416 | 1.8125 | 2 | [] | no_license | package com.born.fcs.pm.ws.info.riskreview;
import java.util.Date;
import com.born.fcs.pm.ws.enums.FormStatusEnum;
import com.born.fcs.pm.ws.info.common.SimpleFormProjectInfo;
import com.yjf.common.lang.util.money.Money;
public class RiskReviewReportInfo extends SimpleFormProjectInfo {
private static final long s... | true |
a1cfb9f8d22592984d9f6dcfb001c1eaac431576 | Java | FireFry/programming-game | /src/main/java/vlad/game/impl/core/ForthPlayer.java | UTF-8 | 2,062 | 3.1875 | 3 | [] | no_license | package vlad.game.impl.core;
import vlad.game.impl.cave.Cell;
import vlad.game.impl.cave.Direction;
public class ForthPlayer {
public abstract static class Player extends AbstractPlayer {
private Direction direction;
public Player(Direction initialDirection) {
direction = initialDir... | true |
75c09d8f8c7f05d9c0e626668414648646afec70 | Java | artemSpb96/metadata-analytics | /metadata-collector/src/test/java/ru/spbu/metadata/collector/TestDataGenerator.java | UTF-8 | 4,341 | 2.34375 | 2 | [] | no_license | package ru.spbu.metadata.collector;
import java.io.IOException;
import java.util.List;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericRecord;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.... | true |
18ab25be8a2419f23cb4c14cf59dd2664a91691b | Java | atextor/naturel | /naturel/generator/ASTOperators.java | UTF-8 | 2,419 | 2.671875 | 3 | [] | no_license | package naturel.generator;
import java.util.ArrayList;
import java.util.List;
import naturel.node.ADivExp;
import naturel.node.ADotExp;
import naturel.node.AEqExp;
import naturel.node.AGtExp;
import naturel.node.AGteqExp;
import naturel.node.ALtExp;
import naturel.node.ALteqExp;
import naturel.node.AMethodcallExp;
im... | true |
1a9a46540158dee1f5e4de2210446fd072250d2a | Java | inakicrack/Clase-07_08-Ajedrez | /src/Caballo.java | WINDOWS-1250 | 368 | 2.734375 | 3 | [] | no_license |
public class Caballo extends Ficha{
final static String LETRA_DE_CABALLO = "C";
public Caballo (String color){
//Obligado siempre llamar a super antes que el resto de las lneas
super(color);
this.setLetra(Caballo.LETRA_DE_CABALLO);
}
@Override
public boolean puedeMoverAqui(Tablero tablero, P... | true |
dc2f1753ecc5946a1ef0f6aeb2b7590498d38c6d | Java | sirpentagon/bpm-infufsm | /vendor/bonitasoft/bonita-console/5.6.1/console/console-view/src/main/java/org/bonitasoft/console/client/i18n/ConsolePatterns.java | UTF-8 | 5,602 | 2.234375 | 2 | [] | no_license | /**
* Copyright (C) 2009 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at yo... | true |