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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
2098f93011aecda582e14845a21d07b41ad93e1b | Java | amjad-haffar/strategy-game | /src/javaapplication2/Player.java | UTF-8 | 681 | 3.21875 | 3 | [] | no_license | package javaapplication2;
import java.util.ArrayList;
public class Player {
public int player_coins;
public String player_name;
public ArrayList<Soldier> player_soldires;
public ArrayList<Square> player_squares;
Player(String name){
if(name!=""){
this.player_soldires= new Array... | true |
c3436e4dc82d6cbe89110678010fbdee76ee7569 | Java | ahmedalies/SwapAndroid | /app/src/main/java/itboom/com/swap/auth/interests/mvp/InterestsPresenter.java | UTF-8 | 4,133 | 2.25 | 2 | [] | no_license | package itboom.com.swap.auth.interests.mvp;
import android.util.Log;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import java.util.ArrayList;
import java.util.Arrays;
import io.reactivex.CompletableObserver;
import io.reactivex.SingleObserver;
import io.reactivex.android.schedulers.AndroidSc... | true |
e63e0afdfa99b798bef3ab346af00564db115eb4 | Java | vaibhavkw/GraphPoem | /GraphPoem/src/topic/TFIDF.java | UTF-8 | 8,046 | 2.84375 | 3 | [] | no_license | package topic;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
//Doing TF-IDF ma... | true |
e16fd370eb0796fbb3ad600e65d41185f902aadb | Java | kiegroup/droolsjbpm-contributed-experiments | /machinelearning/4.0.x/experimental/drools-testing/src/org/drools/testing/core/utils/CollectionUtils.java | UTF-8 | 2,108 | 3.40625 | 3 | [
"Apache-2.0"
] | permissive | package org.drools.testing.core.utils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
/**
* A Collection of utilities that can be used modify collections. Many
* utilities are provided within the java.util.Collections class and
* should not be duplicated here.
* @see... | true |
4a378aa1530892827a7e963f8b7f4d99ae0ab892 | Java | Ajinkya1993/WebServices-Task8- | /CFSWebServices/src/edu/cmu/service/BuyFund.java | UTF-8 | 1,059 | 2.3125 | 2 | [] | no_license | package edu.cmu.service;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import org.json.JSONException;
import org.json.JSONObject;
i... | true |
c4dc2bf15cd89e9fa67d7e7e5ee48ab68888f0d4 | Java | team5-funthing/funthing | /src/main/java/com/team5/funthing/common/controller/CKEditorFileUploadController.java | UTF-8 | 2,165 | 2.109375 | 2 | [] | no_license | package com.team5.funthing.common.controller;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Contr... | true |
1f2596a7c12902c5deb7d7cf5bb308f696efacc8 | Java | prodigyoff/lab3 | /src/test/java/ua/lviv/ki/manager/DishManagerUtilsTest.java | UTF-8 | 1,662 | 2.546875 | 3 | [] | no_license | package ua.lviv.ki.manager;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import ua.lviv.ki.model.SortType;
public class DishManagerUtilsTest extends BaseDishesManagerTest {
@Test
public void testSortByPopularityDescending() {
DishManagerUtils.sortByPopulari... | true |
3668eefbed31888fbf3d37051f7f84891f2884f4 | Java | Hydropumpon/catalogue-service | /src/main/java/com/example/catalogue/catalogueservice/service/impl/RabbitOrderResponseServiceImpl.java | UTF-8 | 1,138 | 2.0625 | 2 | [] | no_license | package com.example.catalogue.catalogueservice.service.impl;
import com.example.catalogue.catalogueservice.messages.OrderMessage;
import com.example.catalogue.catalogueservice.service.RabbitOrderResponseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.sp... | true |
59f71e8a605fd3cadec8b3c195a866bd4cb045e4 | Java | HarveyLuo91/KillBugTestCases | /test-case-src/src/main/java/java/Foo.java | UTF-8 | 106 | 1.953125 | 2 | [] | no_license | package java;
public class Foo {
static Class other;
static {
other = Bar.other;
}
}
| true |
2e818a793f34149c5546154d63cba7f4b3b06dba | Java | neosuniversity/javabasic | /src/org/neosuniversity/unidad2/math/MathApplication.java | UTF-8 | 335 | 2.8125 | 3 | [] | no_license | package org.neosuniversity.unidad2.math;
public class MathApplication {
public static void main(String[] args) {
Fraccion a = new Fraccion(1,4);
Fraccion b = new Fraccion(1,4);
System.out.println("c = " + a + " + " + b);
Fraccion c = a.suma(b);
System.out.println("c = " ... | true |
e2ca12ce40e3d4a8b2848eb6386814a2c023001c | Java | wangkk24/testgit | /20210809(ZJYD_v2.6.0)/app/src/main/java/com/pukka/ydepg/common/http/vss/node/PriceObject.java | UTF-8 | 1,032 | 1.84375 | 2 | [] | no_license | package com.pukka.ydepg.common.http.vss.node;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;
public class PriceObject implements Serializable {
private static final long serialVersionUID = 3813691752866294040L;
/**
* 定价对象Id
*/
@Serialize... | true |
bc449abafa58c4053acbdbe045c05eda5c6be03b | Java | BrittleFoot/tree-umph | /src/main/java/com/github/brittlefoot/treeumph/script/interfaces/IGreetingScript.java | UTF-8 | 224 | 2.015625 | 2 | [] | no_license | package com.github.brittlefoot.treeumph.script.interfaces;
import com.github.brittlefoot.treeumph.script.IScriptInterface;
public interface IGreetingScript extends IScriptInterface {
String greeting(String name);
}
| true |
02b48e868c26816b8db1b1dad8a7c2ae00ab9a66 | Java | adityamhatre/Viazene | /app/src/main/java/com/thelogicalcoder/viazene/Interfaces/onMatchSavedListener.java | UTF-8 | 182 | 1.679688 | 2 | [] | no_license | package com.thelogicalcoder.viazene.Interfaces;
/**
* Created by Aditya on 015, 15 July 2015.
*/
public interface onMatchSavedListener {
void onMatchSaved(String response);
}
| true |
26086a3de814a5b2639b1091cb44e61c59550a4e | Java | krystian50/csp | /src/algorithm/Backtracking.java | UTF-8 | 3,875 | 3.359375 | 3 | [] | no_license | package algorithm;
import models.CSPVertexPair;
import models.Graph;
import models.Tuple;
import java.util.LinkedList;
/**
* Created by Krystian on 2017-04-03.
*/
public class Backtracking {
Graph graph;
int[][] graphArray;
private LinkedList<CSPVertexPair> colors;
private static final int INVALID... | true |
67c17f678e8ebf48753a46971ab212c7957c0745 | Java | diegobetz/test-developer-sysone | /src/main/java/ar/com/bussiness/ventas/controller/FacturaVentaController.java | UTF-8 | 5,988 | 2.25 | 2 | [] | no_license | package ar.com.bussiness.ventas.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.Delete... | true |
6e11c91e9548aa48d85a7d8f1add1cd65c32e5ae | Java | leandrocesar09/tutorials | /axon/src/main/java/com/baeldung/axon/aggregates/MessagesAggregate.java | UTF-8 | 1,037 | 2.4375 | 2 | [
"MIT"
] | permissive | package com.baeldung.axon.aggregates;
import com.baeldung.axon.commands.CreateMessageCommand;
import com.baeldung.axon.commands.MarkReadMessageCommand;
import com.baeldung.axon.events.MessageCreatedEvent;
import com.baeldung.axon.events.MessageReadEvent;
import org.axonframework.commandhandling.CommandHandler;
import ... | true |
22d95c8b448a81fba2c922494dc87cdaac18c649 | Java | LONG89562566/BasicInfo | /admin/src/main/java/com/info/admin/service/FileAttrService.java | UTF-8 | 2,105 | 2.046875 | 2 | [] | no_license | package com.info.admin.service;
import com.info.admin.entity.FileAttr;
import com.info.admin.utils.PageUtil;
import java.util.List;
/**
* @author ysh
* @date 2018-11-14 23:45:42
* @describe 文件 Service
*/
public interface FileAttrService {
/**
*添加FileAttr对象
*@param entity 对象
*@author ysh
... | true |
562e8886d21124e7059bc00e13cfb273584f2917 | Java | mari-otus/2020-02-otus-spring-Tronina | /learn-otus-7/src/test/java/ru/otus/spring/repository/BookRepositoryTest.java | UTF-8 | 5,282 | 2.59375 | 3 | [] | no_license | package ru.otus.spring.repository;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityMan... | true |
c7655e28893f625b4d05222c9e7fab26c3f3601b | Java | cgb-study/warpdb | /src/main/java/com/itranswarp/warpdb/ConfigurationException.java | UTF-8 | 515 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.itranswarp.warpdb;
import javax.persistence.PersistenceException;
/**
* Thrown when invalid configuration found.
*
* @author liaoxuefeng
*/
public class ConfigurationException extends PersistenceException {
public ConfigurationException() {
super();
}
public ConfigurationException(String messa... | true |
0bc739983387b45307a27cb694a6a4b49d9ec6d2 | Java | LogisticsImpactModel/LIMO | /view/src/main/java/nl/fontys/sofa/limo/view/wizard/leg/normal/ProceduresLegTypeWizard.java | UTF-8 | 1,828 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package nl.fontys.sofa.limo.view.wizard.leg.normal;
import java.util.ArrayList;
import javax.swing.event.ChangeListener;
import nl.fontys.sofa.limo.domain.component.leg.Leg;
import nl.fontys.sofa.limo.view.custom.panel.ProceduresPanel;
import nl.fontys.sofa.limo.view.util.LIMOResourceBundle;
import org.openide.WizardD... | true |
cb55b9014fd954e9bea0ff37b2d4b16a3ec950ff | Java | hakat0m/Chessboxing | /com.gumtree.android.beta/java/com/gumtree/android/location/service/GeocoderLocationService$$Lambda$4.java | UTF-8 | 626 | 1.820313 | 2 | [] | no_license | package com.gumtree.android.location.service;
import android.location.Location;
import java.lang.invoke.LambdaForm.Hidden;
import rx.functions.Action1;
final /* synthetic */ class GeocoderLocationService$$Lambda$4 implements Action1 {
private static final GeocoderLocationService$$Lambda$4 instance = new GeocoderL... | true |
b30b2d6b69722d40243b7e269d3a9d8869ca000b | Java | alexwoolford/streamsets-datacollector-marc-parser | /src/test/java/io/woolford/stage/processor/marcparser/TestMarcParserProcessor.java | UTF-8 | 16,480 | 1.976563 | 2 | [] | no_license | /*
* Copyright 2017 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | true |
bc2de5db502a1bf566388787fdc76aa1ca64a2f4 | Java | EgbeEugene/calculator | /src/GPATest.java | UTF-8 | 529 | 2.3125 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Larry_Lite
*/
import javax.swing.JFrame;
public class GPATest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
GpaFrame Text... | true |
abf2720322f390b7814b45c7042cb3020d6fe8ac | Java | MaximZaretsky/EPAM | /src/com/github/maximzaretsky/dev6/src/Components/Milliseconds.java | UTF-8 | 2,711 | 3.5625 | 4 | [] | no_license | package Components;
import java.util.Calendar;
/**
* Handles symbols, related to day
*/
public class Milliseconds extends FormatComponents{
private final String MILLISECONDS = "f";
private final String NOT_NULL_MILLISECONDS = "F";
private final int MAXIMAL_LENGTH = 3;
private String returnComponent;
/**
... | true |
13ad342a6519b6d27fc16f74103328e70ea64b85 | Java | flair2005/retail-scm-integrated | /WEB-INF/retail_scm_core_src/com/skynet/retailscm/receivingspace/ReceivingSpaceManager.java | UTF-8 | 1,866 | 1.804688 | 2 | [
"Apache-2.0"
] | permissive |
package com.skynet.retailscm.receivingspace;
import java.util.Date;
import com.skynet.retailscm.RetailScmUserContext;
public interface ReceivingSpaceManager{
public ReceivingSpace createReceivingSpace(RetailScmUserContext userContext, String location, String contactNumber, String description, String totalArea, Stri... | true |
8c269b8d188ba6dc2c1a63ccff870c5572883142 | Java | radhikayusuf/PBO6-10117909 | /pertemuan-5-(17-10-2018)/practice51/Practice51.java | UTF-8 | 1,585 | 2.984375 | 3 | [] | no_license | /*
*
* @author
* NAMA : Radhika Yusuf
* KELAS : PBO6
* NIM : 10117909
*
* Description : Program Gaji Karyawan
*
*/
public class Practice51 {
public static void main(String[] args) {
Scanner scannerText = new Scanner(System.in);
Scanner scannerNumber = new Scanner(... | true |
eb8540b91e690f70d10148eb6268e638d5d0cce7 | Java | Jeorgius/JAX-RS_bankdemo | /src/test/java/jeorgius/WithdrawTest.java | UTF-8 | 2,482 | 2.453125 | 2 | [] | no_license | package jeorgius;
import jeorgius.DbAccess.DbAction;
import jeorgius.Validation.PreValidation;
import org.glassfish.grizzly.http.server.HttpServer;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.clie... | true |
ebc423a2ba521d6733975f63abcff0e5dad226c7 | Java | webhash/test-1 | /src/tail/CircularBuffer.java | UTF-8 | 1,080 | 3.59375 | 4 | [] | no_license | package tail;
/*
* This class creates a circular buffer and keeps only the latest data.
*/
import java.util.ArrayList;
import java.util.List;
public class CircularBuffer {
private final int size;
private final String[] data;
private int counter;
public CircularBuffer(int size... | true |
08e0a35051b09cc851960f2cd66d9fe1dd828d99 | Java | inf112-v20/Todo | /src/test/java/inf112/core/movement/SpawnHandlerTest.java | UTF-8 | 4,295 | 2.828125 | 3 | [] | no_license | package inf112.core.movement;
import com.badlogic.gdx.math.Vector2;
import inf112.core.board.MapNames;
import inf112.core.game.MainGame;
import inf112.core.movement.util.SpawnHandler;
import inf112.core.player.Player;
import inf112.core.player.PlayerHandler;
import inf112.core.testingUtils.GdxTestRunner;
import org.ju... | true |
0eedb0e50accd3ac0c2549b50f773fa54d0227c1 | Java | clickear/jsaas | /src/main/java/com/redxun/sys/bo/entity/SysBoAttr.java | UTF-8 | 8,287 | 2.109375 | 2 | [] | no_license |
package com.redxun.sys.bo.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.apa... | true |
ec242152c27f918cb25d9d2a9a4e203b7bb72d8c | Java | Explorer1092/vox | /utopia-service/utopia-newhomework/utopia-newhomework-impl/src/main/java/com/voxlearning/utopia/service/newhomework/impl/service/internal/teacher/assignvacation/callback/PostAssignVacationHomeworkParentMessage.java | UTF-8 | 5,054 | 1.867188 | 2 | [] | no_license | package com.voxlearning.utopia.service.newhomework.impl.service.internal.teacher.assignvacation.callback;
import com.voxlearning.alps.annotation.meta.Subject;
import com.voxlearning.alps.calendar.DateUtils;
import com.voxlearning.alps.core.util.MapUtils;
import com.voxlearning.alps.core.util.StringUtils;
import com.vo... | true |
f3e8dbd5950e9af08854a7e86f910301f8bc12d7 | Java | SissiChenxy/Emergency-Medical-Service-Java-Application | /src/Interface/SystemAdminWorkArea/CreateDiseaseJPanel.java | UTF-8 | 14,328 | 2.421875 | 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 Interface.SystemAdminWorkArea;
import Business.DiseaseAndTherapy.Disease;
import Business.DiseaseAndTherapy.Medicine;
import B... | true |
a4541a487e3a57abb9d5c2033e18d214ca48fc3d | Java | mgracy/Android | /Android/AndroidApps/iStudy-v1/src/com/tujk/istudy/adapter/BookNoteListAdapter.java | UTF-8 | 3,386 | 2.21875 | 2 | [] | no_license | /**
*
*/
package com.tujk.istudy.adapter;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Ba... | true |
cb07eb33d8e2e1fbaa0b48c181a0705b347fe6e9 | Java | DTStack/Taier | /taier-scheduler/src/main/java/com/dtstack/taier/scheduler/zookeeper/ZkConfig.java | UTF-8 | 2,113 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
e16e438fb230e1672ef36649d280af5d86eaaf6c | Java | wix-incubator/TreasureHunt | /TreasureHunt/android/app/src/main/java/com/treasurehunt/modules/HardWorkerModule.java | UTF-8 | 865 | 2.203125 | 2 | [] | no_license | package com.treasurehunt.modules;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
public class HardWorkerModule extends ReactContextBaseJavaModule {
@Ove... | true |
7e8b848a18cbf446a4edd3fca058b3de764fce6d | Java | LuceteYang/SingleWenwo | /app/src/main/java/com/wenwoandroidnew/newsfeed/answercheck/AnswerCheckActivity.java | UTF-8 | 5,745 | 2 | 2 | [] | no_license | package com.wenwoandroidnew.newsfeed.answercheck;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Parcel;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundl... | true |
22c9d76b2df0e384d0258c0cedd92821e0aeb7c4 | Java | shoxabbos/naft-android-app | /app/src/main/java/com/app/amento/worketic/Interface/Api.java | UTF-8 | 11,583 | 1.75 | 2 | [] | no_license | package uz.itmaker.naft.Interface;
import uz.itmaker.naft.Model.Category;
import uz.itmaker.naft.Model.Company.Employer;
import uz.itmaker.naft.Model.EmployerOfferProjects.Project;
import uz.itmaker.naft.Model.Latestjob.LatestJobModel;
import uz.itmaker.naft.Model.LoginResponce.RetrofitClientLogin;
import uz.it... | true |
3044d0f322012239a3e596569886c9d47907d100 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_47be3ae930e63c9532c1a816704ad5bde7d71c05/FeatureTypeImporter/2_47be3ae930e63c9532c1a816704ad5bde7d71c05_FeatureTypeImporter_s.java | UTF-8 | 7,204 | 1.976563 | 2 | [] | no_license | /* Copyright (c) 2001 - 2008 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.importer;
import static org.geoserver.importer.ImportStatus.*;
import java.util.ArrayList;
import java.uti... | true |
8fce4f2cfccd14c87aa1e81550429cdf848c4bf5 | Java | sunwuliang/SlicingProject3.0 | /ClassModelSlicing/src/org/csu/slicing/main/SlicingMode.java | UTF-8 | 81 | 1.5625 | 2 | [] | no_license | package org.csu.slicing.main;
public enum SlicingMode {
Static, Dynamic
}
| true |
ba1382a00414d9f1df5a3a2db501c50dd8ef44e8 | Java | pangho/javageci | /javageci-docugen/src/test/java/javax0/geci/docugen/TestSnippetBuilder.java | UTF-8 | 812 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package javax0.geci.docugen;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
public class TestSnippetBuilder {
@Test
@DisplayName("Test that ")
void testStringValues(){
final var sut = new SnippetBuilder("abrakadabra alma=\"H... | true |
3b40dc39a50c3b1f6f9129f8fa3629423afb46f3 | Java | suknuk/DesignPatterns | /src/state/Girlfriend.java | UTF-8 | 380 | 2.984375 | 3 | [] | no_license | package state;
public class Girlfriend {
private State currentState;
public Girlfriend() {
this.currentState = new Neutral(this);
}
public void setNewState(State state) {
this.currentState = state;
}
public void talk() {
this.currentState.talk();
}
public void kiss() {
this.currentState.kiss();
}... | true |
6f27d3af6ee70125ffef0ba75e8e04687bbafda9 | Java | jyccccc/addressbook | /app/src/main/java/com/jyc/addressbook/dao/Impl/MessageRecordDaoImpl.java | UTF-8 | 879 | 2.203125 | 2 | [] | no_license | package com.jyc.addressbook.dao.Impl;
import java.util.List;
import com.jyc.addressbook.dao.MessageRecordDao;
import com.jyc.addressbook.po.Contactor;
import com.jyc.addressbook.po.MessageRecord;
import org.litepal.crud.DataSupport;
public class MessageRecordDaoImpl implements MessageRecordDao {
@Override
p... | true |
71c82d08ee8a53763331dca7d3aac250ebadb306 | Java | leeteng96/datong | /src/main/java/com/ifast/board/service/impl/BoardServiceImpl.java | UTF-8 | 2,147 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | package com.ifast.board.service.impl;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ifast.board.dao.BoardDao;
import com.ifast.board.domain.BoardDO;
import ... | true |
ae6874a2119c1fdcf223a582a1a2bebed92b56c8 | Java | ina3939/AcademyERP-Project | /src/main/java/com/example/demo/database/Mapper/ConsultMapper.java | UTF-8 | 335 | 1.882813 | 2 | [] | no_license | package com.example.demo.database.Mapper;
import java.util.HashMap;
import java.util.List;
import com.example.demo.database.DTO.ConsultDTO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface ConsultMapper {
List<ConsultDTO> getList(HashMap<String,Object> map);
ConsultDTO getListDetail(lo... | true |
d88075c10735047eff130e88cea32b379ab91436 | Java | budonglaoshi/airticket | /src/com/airticket/adapter/ServiceAdapter.java | UTF-8 | 1,490 | 2.375 | 2 | [] | no_license | package com.airticket.adapter;
//import org.dom4j.Document;
//import org.dom4j.DocumentException;
//import org.dom4j.DocumentHelper;
import org.apache.log4j.Logger;
import com.airticket.util.StaticData;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;
public c... | true |
ec378324b3ac401431c360ce26f106f88dffc4ab | Java | nickyhk4you/rpn-calculator | /src/test/java/com/demo/PlusMinusMultiplyDivideTest.java | UTF-8 | 1,494 | 2.6875 | 3 | [] | no_license | package com.demo;
import com.demo.lex.LexicalAnalyzer;
import com.demo.operator.RPNProcessor;
import org.junit.Test;
public class PlusMinusMultiplyDivideTest {
@Test
public void plusOperation() {
String plusInput = "5 2 +";
RPNProcessor processor = new RPNProcessor(plusInput);
try {
... | true |
0118dcc968e03a28749a7aa77f40acdca9ab1569 | Java | DanilDidenko/ABSoftTest | /src/main/java/APIhandler.java | UTF-8 | 1,388 | 2.59375 | 3 | [] | no_license | package main.java;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.json.JSONObject;
public class APIhandler {
private APIhandler() {
}
private static String getJSONResponse(String url) throws UnirestException {
String response
... | true |
6d7222b884a375da3cfffbbac6048b22f2b6945e | Java | XueyiGu/CS6650-DistributedSystems | /src/main/java/ccs/xueyi/mavenclient/MyClient.java | UTF-8 | 1,465 | 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 ccs.xueyi.mavenclient;
import javax.ws.rs.ClientErrorException;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.Cl... | true |
91d3475f964c9a12615a4743a4c3120f9b828279 | Java | Terrakott/OurGroove | /src/Ventanas/Window.java | UTF-8 | 447 | 2.484375 | 2 | [] | no_license | package Ventanas;
import javax.swing.JFrame;
public class Window extends JFrame {
public static final int WIDTH=800,HEIGHT=600;
public Window(){
setTitle("OurGroove");
setSize(WIDTH,HEIGHT);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setResizable(false);
setLocatio... | true |
c9eddb1468094c71bf1624d7197b553522f7ef0c | Java | bkkim87/reciperoad | /Reciperoad2017_2b06/src/test/ParseIntTest.java | UTF-8 | 188 | 2.203125 | 2 | [] | no_license | package test;
public class ParseIntTest {
public static void main(String[] args) {
int groundSN=0;
groundSN=Integer.parseInt(null);
System.out.println(groundSN);
}
}
| true |
4736ff0645475b19af5db5473b9652fd1ba82b88 | Java | JetBrains/azure-tools-for-intellij | /Utils/azuretools-core/src/com/microsoft/azuretools/adauth/OAuthGrantType.java | UTF-8 | 779 | 1.84375 | 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.
*/
package com.microsoft.azuretools.adauth;
class OAuthGrantType {
public final static String AuthorizationCode = "authorization_code";
public final ... | true |
d28b80325decab695c493524cbdda66b616156d8 | Java | aksipal/Axpal | /src/main/java/com/biletdeneme/biletdeneme/service/RezervasyonService.java | UTF-8 | 1,136 | 2.125 | 2 | [] | no_license | package com.biletdeneme.biletdeneme.service;
import com.biletdeneme.biletdeneme.modal.Rezervasyon;
import com.biletdeneme.biletdeneme.repository.RezervasyonRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
impo... | true |
1e345d98f20274a882bc8c3df54161b1911f4c93 | Java | cszyx666/Android-NoiseReport | /app/src/main/java/com/noiselab/noisecomplain/utility/AppConfig.java | UTF-8 | 654 | 2.0625 | 2 | [] | no_license | package com.noiselab.noisecomplain.utility;
import android.content.Context;
import android.net.wifi.WifiManager;
/**
* Created by shawn on 30/3/2016.
*/
public class AppConfig {
public static final double DB_OFFSET = 4;
public static final int DB_INTERVAL = 100;
public static final String DATE_FORMAT... | true |
ac3292d7b0140f54405f9c090cffc178f76a3508 | Java | DivinerMH/Mybatisplus-ME | /common-test/src/main/java/com/menghuan/utils/ForAccessibleCycle.java | UTF-8 | 1,141 | 3.296875 | 3 | [] | no_license | package com.menghuan.utils;
import java.util.Date;
/**
* @Author:menghuan
* @Date:2019/12/26 17:15
*/
public class ForAccessibleCycle {
public static void main(String[] args) {
// 下面的for循环,只需输入100.fori按回车就可以出来
for (int i = 0; i < 100; i++) {
}
// 下面的for循环,只需输入50.fori按回车就可以出... | true |
07a6d721a59098c367488dc92c54e45e0d73a8c1 | Java | yunjiChoe/zigme | /src/main/java/study/spring/zigme/service/ScheService.java | UTF-8 | 841 | 2.328125 | 2 | [] | no_license | package study.spring.zigme.service;
import java.util.List;
import study.spring.zigme.model.Scheduler;
public interface ScheService {
/**
* 캘린더의 일정을 등록한다.
* @param 일정 데이터를 담고 있는 Beans
* @return int
* @throws Exception
*/
public int addScheduler(Scheduler input) throws Exception;
/**
* 캘린더의 일정을 상세 조회한... | true |
9cc3e7ebcbca1841487f95ef7d266e7ddb687ab2 | Java | amitabhverma/jif-experimental | /jif-gui/src/main/java/edu/mbl/jif/gui/spatial/DirectionalXYController.java | UTF-8 | 808 | 2.3125 | 2 | [] | no_license | /*
* DirectionalXYController.java
*/
package edu.mbl.jif.gui.spatial;
/**
*
* @author GBH
*/
// Notes on JxInput
// NuLooq axis values range: 0 to 5000.
// Gamepad axis: 0 to 1.
public interface DirectionalXYController {
// attach AxisControllers, perhaps X & Y
public int goUp(int n);
p... | true |
54a2b0382839908e11b28f60935820bd035fea04 | Java | jweikai/carmanage | /src/main/java/com/ouyan/service/impl/CarInfoServiceImpl.java | UTF-8 | 381 | 1.617188 | 2 | [] | no_license | package com.ouyan.service.impl;
import org.springframework.stereotype.Service;
import com.ouyan.dao.BaseDaoImpl;
import com.ouyan.model.Caraccessinfo;
import com.ouyan.model.Deleteinfo;
import com.ouyan.service.CarInfoService;
import com.ouyan.service.DeleteInfoService;
@Service
public class CarInfoServiceImpl exten... | true |
b0903c3b60a0e940374f17c6f6b5825bca1ffb05 | Java | drunklurker/u_musicalstructure | /app/src/main/java/com/udacity/garyshem/musicalstructure/CurrentPlaybackActivity.java | UTF-8 | 373 | 1.929688 | 2 | [] | no_license | package com.udacity.garyshem.musicalstructure;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class CurrentPlaybackActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCont... | true |
a550233611f578dd332d6b96cb809df8c1e421a8 | Java | salihaailhan/ObjectConcept | /src/com/compositepattern/UnaryExpressionNode.java | UTF-8 | 104 | 1.578125 | 2 | [] | no_license | package com.compositepattern;
public abstract class UnaryExpressionNode extends ExpressionNode {
}
| true |
1008fdfe7cd862dc2149840ea57c8b8b59e0c826 | Java | GoLangCJava/nkc-lesu | /nkangcloud/src/main/java/com/nkang/kxmoment/service/CoreService.java | UTF-8 | 24,861 | 1.828125 | 2 | [
"MIT"
] | permissive | package com.nkang.kxmoment.service;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import java.util.Timer;
import javax.servlet.http.HttpServletRequest;
import org.... | true |
cf3e90bb078cfe39fabc1522e5bc94d76649869f | Java | PlayWithAI101/WebNote | /0806/app4(쇼핑몰 완성. 선생님파일)/src/main/java/com/example/app2/model/product/Product.java | UTF-8 | 2,063 | 2.453125 | 2 | [] | no_license | package com.example.app2.model.product;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import com.exampl... | true |
4c382b7c80c720e9ddf7a6165120f9c40dce7264 | Java | Jonjic/GeolocationAPI | /demo/src/main/java/com/example/demo/action/Action.java | UTF-8 | 3,055 | 2.359375 | 2 | [] | no_license | package com.example.demo.action;
import com.example.demo.bus.Bus;
import com.example.demo.user.User;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.persistence.*;
import java.time.LocalDateTime;
@Entity
public class Action {
@Id
@SequenceGenerator(
name = "action_sequence_gen... | true |
f2c742e782e1b09ab85e35512c83fe005ca305b9 | Java | lamichhaneBabita/BankProject | /src/com/vastika/bankproject/impl/AccountDaoImpl.java | UTF-8 | 848 | 2.5625 | 3 | [] | no_license | package com.vastika.bankproject.impl;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import com.vastika.bankproject.dao.AccountDao;
import com.vastika.bankproject.dbutil.*;
import com.vastika.bankproject.model.Account;
public class AccountDaoImpl implements AccountDao {
public static final String... | true |
440545fff350eb9863309480053244f329ea6be8 | Java | ChanguBadshsh/MyIMS | /app/src/com/smart/webservice/SmartWebManager.java | UTF-8 | 33,149 | 1.804688 | 2 | [] | no_license | package com.smart.webservice;
import android.content.Context;
import android.support.design.widget.Snackbar;
import android.text.TextUtils;
import android.util.Log;
import com.volley.DefaultRetryPolicy;
import com.volley.RequestQueue;
import com.volley.Response;
import com.volley.VolleyError;
import com.volley.toolbo... | true |
0199cd1dbfd45681f1f677aea3730febcaf2fb58 | Java | Mrmiffo/team-team-name | /GotoGothenburg/app/src/main/java/com/teamteamname/gotogothenburg/map/OnInfoWindowClickListener.java | UTF-8 | 2,682 | 2.53125 | 3 | [] | no_license | package com.teamteamname.gotogothenburg.map;
import android.content.Context;
import android.location.Location;
import android.widget.Toast;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.teamteamname.gotogothen... | true |
7075e6c3d58036464763fbfd48d328ce4cfd7be5 | Java | ghassane1991/libManagement | /lib(core)/src/subscribersManagement/AgeCategoryDAO.java | UTF-8 | 4,728 | 3 | 3 | [] | no_license | package subscribersManagement;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import javax.persistence.EntityManager;
import booksManagement.Book;
import exceptions.AgeCategoryExistsException;
import exceptions.AgeCategoryOverLapException;
import exceptions.BadParametersException;
imp... | true |
3b242ed45ae2f5065ede03e34f1a87413db051dd | Java | yaoguo00/java.code | /Practice12.java | UTF-8 | 1,366 | 3.796875 | 4 | [] | no_license | class Node{
public Node next;
public int value;
public Node(int value){
this.value=value;
}
}
public class Practice12{
//创造出一个链表
public static Node create(){
Node n1=new Node(1);
Node n2=new Node(2);
Node n3=new Node(3);
Node n4=new Node(4);
Node n5=new Node(5);
Node n6=new Node(6);
n1.next=n2;
... | true |
ddc4d873a452b4dbe541132867ed721e81a8437a | Java | gitssie/play-plugins2.6.x | /src/play-transport/app/play/libs/transport/dns/DNS.java | UTF-8 | 2,147 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive | package play.libs.transport.dns;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.InetAddress;
import java.util.concurrent.ExecutionException;
import java.util.... | true |
5a8ffbb899fc18641cfdbb2db71e23ce6ca8b82f | Java | chigov2/FisherBook | /app/src/main/java/techmarket/uno/fisherbook/utils/customArrayAdapter.java | UTF-8 | 2,619 | 2.640625 | 3 | [] | no_license | package techmarket.uno.fisherbook.utils;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx... | true |
6d07af44839f90e559d7f174a0f71be05a7f4247 | Java | MikhailNavitski/Task1 | /jwd-task01-template/src/main/java/by/tc/task01/dao/creator/RefrigeratorCreator.java | UTF-8 | 749 | 2.640625 | 3 | [] | no_license | package by.tc.task01.dao.creator;
import by.tc.task01.dao.command.Command;
import by.tc.task01.entity.Appliance;
import by.tc.task01.entity.Refrigerator;
public class RefrigeratorCreator implements Command {
public Appliance makeAppliance(String[] value) {
Refrigerator refrigerator = new Refrigerator();... | true |
e508eba8f15baa335fa4b49be15da087f9f77d24 | Java | Kovboy56/SchedulerApplication | /SchoolScheduler/app/src/main/java/com/example/schoolscheduler/TermViewer.java | UTF-8 | 7,069 | 1.757813 | 2 | [] | no_license | package com.example.schoolscheduler;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.example.schoolscheduler.database.TermEntity;
import com.example.schoolscheduler.ui.TermAdapter;
import com.example... | true |
fdfa41c4fb1e8cafa164a6426454ed513abed360 | Java | ThilakaVijayan/Design_Patterns | /src/com/thilaka/design/patterns/behavioural/command/head/first/complete/implementation/commands/TVOffCommand.java | UTF-8 | 564 | 2.703125 | 3 | [] | no_license | package com.thilaka.design.patterns.behavioural.command.head.first.complete.implementation.commands;
import com.thilaka.design.patterns.behavioural.command.head.first.complete.implementation.Command;
import com.thilaka.design.patterns.behavioural.command.head.first.complete.implementation.devices.TV;
public class TVO... | true |
08108862bf532c5b810d9a0bf2098b228ca191d8 | Java | Christianhoej/FlexicuV2 | /app/src/main/java/com/example/chris/flexicuv2/opret_bruger/Opret_bruger_Presenter_Frag1.java | UTF-8 | 7,905 | 2.25 | 2 | [] | no_license | package com.example.chris.flexicuv2.opret_bruger;
/**
* @Author Gunn
*/
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.view.Gravity;
import android.widget.Toast;
import com.example.chris.flexicuv2.database.DBManager;... | true |
c1d1174b55379cc11e09c18f48f62188ff07a9f6 | Java | ManaliAundhkar/Problems-on-N-numbers-in-Java | /Demo7.java | UTF-8 | 1,222 | 3.6875 | 4 | [] | no_license | //Write java program which accept N numbers from user and accept one another number as NO , return index of last occurrence of that NO.
//Input : N : 6
//NO: 66
//Elements : 85 66 3 66 93 88
//Output : 3
//Input : N : 6
//NO: 93
//Elements : 85 66 3 66 93 88
//Output : 4
//Input : N : 6
//NO: 12
//Elem... | true |
ea7dc9a1c9feace155ec7cf88bc1c92145a4d980 | Java | itsSandeepMisal/Token-Based-Authentication-using-JWT | /src/main/java/com/example/demo/AuthenticationDemoApplication.java | UTF-8 | 941 | 2.15625 | 2 | [] | no_license | package com.example.demo;
import com.example.demo.entity.User;
import com.example.demo.repository.UserRepo;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springf... | true |
ca1e36a6b57ad985eec4dba5d38794bf17e64a76 | Java | haeinoh/java-live-study | /week14/src/bounded/BoundedTest.java | UTF-8 | 363 | 2.890625 | 3 | [] | no_license | package bounded;
public class BoundedTest {
public static void main(String[] args) {
int res1 = Util.compare(10, 20);
System.out.println(res1); // -1
int res2 = Util.compare(8.3, 6.2);
System.out.println(res2); // 1
// String res3 = Util.compare("20", "30");
// ... | true |
8aa449a7b61fe7d38cadf8477f556477db0dcf4c | Java | guilhermelange/Java-knowledge | /ByteBanc Herdado Conta/src/br/com/ByteBanc/Banco/Modelo/Conta.java | ISO-8859-1 | 2,591 | 3.359375 | 3 | [] | no_license | package br.com.ByteBanc.Banco.Modelo;
import java.io.Serializable;
/**
* Classe representa a moldura de uma conta;
* @author Guilherme
*
*/
public abstract class Conta implements Comparable<Conta>, Serializable{
// private double saldo;
protected double saldo;
private int agencia;
private int numero;
// Cl... | true |
9d91e01647f4b1beecb2b8fc9b6ed6d66136f2e1 | Java | Vellyxenya/Nightmare_Gravity | /NightmareGravity/Energy.java | UTF-8 | 2,718 | 3.28125 | 3 | [] | no_license | import greenfoot.*;
import java.awt.Color;
/**
* Crée la barre d'énergie de tous les vaisseaux. Les méthodes sont les même que la classe Health,
* si ce n'est la couleur bleue...
*/
public class Energy extends Interface
{
public Energy()
{
drawEnergyBar();
}
public void drawEnergyBar()
... | true |
ba68a7c49178edea0b1a4277f434c40ef0ec8a6c | Java | dqhieuu/dictionary-application | /src/main/java/edu/uet/hieuhadict/dao/DatabaseConnection.java | UTF-8 | 3,769 | 2.609375 | 3 | [] | no_license | package edu.uet.hieuhadict.dao;
import org.sqlite.SQLiteConfig;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.s... | true |
4a2eaed2e6122c803e2a7a51b77fdb8822dcc63b | Java | cody0117/LearnAndroid | /AndroidPOS/src/com/google/android/gms/internal/kg.java | UTF-8 | 6,148 | 1.539063 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.google.android.gms.internal;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.Pa... | true |
b6a8f74c6230a23590ce1d06bb62f0f87a16cba9 | Java | HoWi96/OGPProject | /OGP1516-Hillbillies/src/hillbillies/model/World.java | UTF-8 | 38,244 | 2.890625 | 3 | [] | no_license | package hillbillies.model;
import java.util.*;
import be.kuleuven.cs.som.annotate.*;
import hillbillies.model.helper.CubePosition;
import hillbillies.model.helper.Utils;
import hillbillies.part2.listener.TerrainChangeListener;
import hillbillies.util.ConnectedToBorder;
/**
* A class about the world of the ... | true |
7f6e5ed296492f2042e3a3bbc6ae38689620298a | Java | MarinaFF2/TiendaPeliculas | /src/vistas/Loggin.java | UTF-8 | 12,910 | 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 vistas;
import vistas.admin.BienvenidoAdmin;
import vistas.user.BienvenidoUser;
import datos.ConectorBD;
import java.awt.Color... | true |
c08f7918f6e35fcfcad85a7f3f6592b0ebe956b3 | Java | tischi/fiji-plugin-morphometry | /src/main/java/de/embl/cba/morphometry/microglia/MicrogliaMorphometrySettings.java | UTF-8 | 464 | 1.554688 | 2 | [] | no_license | package de.embl.cba.morphometry.microglia;
import net.imagej.ops.OpService;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.type.NativeType;
import net.imglib2.type.numeric.RealType;
import java.io.File;
public class MicrogliaMorphometrySettings<T extends RealType<T> & NativeType< T > >
{
public OpS... | true |
62b7396cabde875e40b1147c51fd0c1e91fc5c72 | Java | lz2003/Greenfoot-Tower-Defence | /LegendOfJayJay/Sprite.java | UTF-8 | 21,426 | 2.9375 | 3 | [] | no_license | import greenfoot.*;
import java.awt.image.BufferedImage;
import java.awt.geom.AffineTransform;
/**
* Sprites that will be rendered to the canvas
*
* @author Young Chen
* @author Lucy Zhao
* @version 2021-01-26
*/
public abstract class Sprite extends Updated{
private static Canvas globalCanvas;
static void... | true |
b5ae25bd6c9d02fa6c7811ec80f762219619923a | Java | kimsjzzz/team2 | /src/main/java/dev/mvc/paydescript/PaydescriptVO.java | UHC | 4,219 | 2.1875 | 2 | [] | no_license | package dev.mvc.paydescript;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
public class PaydescriptVO {
/* paydescriptno NUMBER(10) NOT NULL,
employeeno NUMBER(10) NOT NULL,
employee_name VARCHAR(10) NOT NULL,
... | true |
201673075d2626a8b307ad76b7b1236ab6b589cd | Java | FedericoCoppo/JavaProcessing | /myProject/LocationTester.java | UTF-8 | 675 | 3.421875 | 3 | [] | no_license | package myProject;
public class LocationTester
{
public static void main(String []args)
{
System.out.println("Hello World!");
SimpleLocation champoluc = new SimpleLocation(45.8316 , 7.7263);
SimpleLocation cervinia = new SimpleLocation(45.937, 7.6297);
System.out.println("Distance between cha... | true |
f7ba005474ec6b0c0aa7a4e5c6de318e3778acc5 | Java | GYiyouth/ECollaboration | /src/bean/domain/MessageBean.java | UTF-8 | 1,314 | 2.140625 | 2 | [] | no_license | package bean.domain;
public class MessageBean {
private Integer id;
private String title;
private String content;
private String createTime;
private Integer senderId;
private Integer readFlag;//是否收件人都阅读了
private String deadDate;
public Integer getId() {
return id;
}
pu... | true |
2446dde565f476c7a182d95722ff796cae0e3a65 | Java | chdtu-fitis/deanoffice-backend | /src/main/java/ua/edu/chdtu/deanoffice/service/datasync/edebo/student/EdeboStudentDataSynchronizationServiceImpl.java | UTF-8 | 32,257 | 1.890625 | 2 | [] | no_license | package ua.edu.chdtu.deanoffice.service.datasync.edebo.student;
import com.google.common.base.Strings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import ua.edu.chdtu.deanoffice.entity.*;
import ua.edu.chdtu.deanoffice.entity.superclasses.Sex... | true |
74fcf55b715b9b75b712f00cdfe49f166eecba1e | Java | juandiegov16/trivia-game | /ProyectoMejoramiento/src/aplicacion/Principal.java | UTF-8 | 1,705 | 2.921875 | 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 aplicacion;
import static datos.Almacenamiento.cargarPreguntas;
import javafx.application.Application;
import javafx.applicati... | true |
28b00e33eea517aa3bf0b268a66595b88bb257d7 | Java | xsren/AndroidReverseNotes | /docs/weixin_7.0.4_source/反编译源码/反混淆后/src/main/java/com/tencent/p177mm/model/C32776be.java | UTF-8 | 10,171 | 1.648438 | 2 | [] | no_license | package com.tencent.p177mm.model;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.p177mm.model.p1207a.C26407g;
import com.tencent.p177mm.sdk.platformtools.C4990ab;
import com.tencent.tmassistantsdk.downloa... | true |
574c2ca7aa7cc090657b2fce268ebb01dc94939b | Java | arifyaman/clearTheScreen-game | /core/src/com/xlip/threedtemp/Menu/Effects/Defaults/DefaultMenuFinisher.java | UTF-8 | 1,492 | 2.484375 | 2 | [] | no_license | package com.xlip.threedtemp.Menu.Effects.Defaults;
import com.badlogic.gdx.math.Matrix4;
import com.xlip.threedtemp.Utils.Lerp;
import com.xlip.threedtemp.Menu.Effects.MenuEffect;
/**
* Created by Arif on 23.07.2017.
*/
public class DefaultMenuFinisher extends MenuEffect {
Lerp fx,fy;
private float xdif,yd... | true |
2eab5cf8addea81428874f31f851e58dbdb905ca | Java | TheRoyalFlush/TheResuseR | /app/src/main/java/com/example/theresuser/DonateStuff.java | UTF-8 | 16,313 | 1.992188 | 2 | [] | no_license | package com.example.theresuser;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
im... | true |
7be17df2d7d8f3e97abb95451682e3ec69e667f6 | Java | anujji1999/weather-app-akashvani | /app/src/main/java/com/firefinch/akashvani/db/tables/LocationTable.java | UTF-8 | 3,005 | 2.46875 | 2 | [] | no_license | package com.firefinch.akashvani.db.tables;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.firefinch.akashvani.models.Location;
import com.firefinch.akashvani.utils.Consts;
import java.util.ArrayList;
import static com.firefinch.akashva... | true |
ed68c7a05559dca1a4eb34b5d10a4e876cce595f | Java | LongerChen/myandroid | /src/myandroid/dialog/ImageDialog.java | UTF-8 | 2,157 | 2.328125 | 2 | [] | no_license | package myandroid.dialog;
import myandroid.layout.RelativeLayout;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.view.View;
import android.view.Window;
import android.widg... | true |
eac07f5d5ee47adc59fd493427a7df3dd017cf10 | Java | mos8502/viewdecorator | /viewdecorator/src/main/java/hu/nemi/appcompat/view/ViewFactoryV11.java | UTF-8 | 1,368 | 2.375 | 2 | [] | no_license | package hu.nemi.appcompat.view;
import android.annotation.TargetApi;
import android.os.Build;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import java.lang.reflect.Method;
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
class ViewFactoryV11 implements ViewFactory {
pr... | true |
2194b32c324f4a7804cabcd5aebd253fab4aba1b | Java | pavithratg/OCA | /src/com/oca/revision/demos/classesNInterfaces/AbstractClassDemo.java | UTF-8 | 750 | 3.671875 | 4 | [] | no_license | package com.oca.revision.demos.classesNInterfaces;
// abstract classes cannot be instantiated.
public abstract class AbstractClassDemo {
public abstract void printState();
public void print() {
System.out.println("printing...");
}
public static void main(String[] args) {
new SubSubClassDemo().printState();... | true |
910fb8b69a1614e60ffd7fe3ea33cadb82ba53d0 | Java | oranie/AndroidStudy | /androidday3listviewexpand/src/com/example/androidday3listviewexpand/MainActivity.java | SHIFT_JIS | 2,716 | 2.46875 | 2 | [] | no_license | package com.example.androidday3listviewexpand;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ExpandableListView;
import android.widget.ExpandableListView.OnChildC... | true |
2a72b45a9cbbc4d80ce26dae13a543abc12476da | Java | AndreyAMolkov/ProgramModelBank | /src/main/java/demo/model/Account.java | UTF-8 | 3,714 | 2.328125 | 2 | [] | no_license | package demo.model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationT... | true |
34c6214fdcc41dd6adba11bb22298e0c28153c8a | Java | oblac/jodd-util | /src/main/java/jodd/io/NetUtil.java | UTF-8 | 6,106 | 2.34375 | 2 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | // Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// th... | true |
f3006bfe52bc9bc292ac4166860185074bf37b7b | Java | fekete20/DBMSc | /myBatis_Dolgozo/src/main/java/myBatis/Dolgozo.java | UTF-8 | 587 | 2.03125 | 2 | [] | no_license | package myBatis;
public class Dolgozo {
private int did;
private String dnev;
private String beosztas;
private int fizetes;
public int getDid() {
return did;
}
public void setDid(int did) {
this.did = did;
}
public String getDnev() {
return dnev;
}
public void setDnev(String dnev) {
this.dne... | true |