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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
63116ca04cf53a145d9067790a02f8feda22fbde | Java | senkrzysztof/zad7 | /app/src/main/java/com/example/xenon/dzwiek/MainActivity.java | UTF-8 | 2,956 | 2.328125 | 2 | [] | no_license | package com.example.xenon.dzwiek;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import java.io.IOException;
public class MainActivi... | true |
054501ffc347847d5cd5334846d1f6f5846a1c14 | Java | slvrookie/sea-of-ql | /edwinvm/QLJava/src/org/uva/sea/ql/ast/statements/questions/QuestionLabel.java | UTF-8 | 250 | 2.125 | 2 | [] | no_license | package org.uva.sea.ql.ast.statements.questions;
import org.uva.sea.ql.ast.values.Str;
public class QuestionLabel {
private final Str _label;
public QuestionLabel(Str label) {
_label = label;
}
public Str getLabel() {
return _label;
}
} | true |
78a046f67da3e702a67c74c36c5f62c2efa645fb | Java | ChanduBodar/ChanduBodarApplication | /app/src/main/java/com/chandubodar/database/AppDatabase.java | UTF-8 | 1,587 | 2.640625 | 3 | [] | no_license |
package com.chandubodar.database;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;
import com.chandubodar.model.Item;
@Database(entities = {Item.class}, version = 1)
@TypeConverters({DateTypeConverter.c... | true |
4e62ccaadda71efb9821bb553a5c04fa383793bd | Java | chaingsun/learn | /src/main/java/com/truck/monitor/service/DriverService.java | UTF-8 | 259 | 1.6875 | 2 | [] | no_license | package com.truck.monitor.service;
import java.util.List;
import com.truck.monitor.domain.Driver;
import com.truck.monitor.domain.Motorcade;
public interface DriverService extends HDService<Driver> {
List<Driver> findByMotorcade(Motorcade motorcade);
}
| true |
ba42e6fd0f0e2df44602e4fa6fb4b659cec40979 | Java | darshanhs90/Java-Coding | /src/June2021GoogLeetcode/_0132PalindromePartitioningII.java | UTF-8 | 851 | 3.28125 | 3 | [
"MIT"
] | permissive | package June2021GoogLeetcode;
import java.util.ArrayList;
import java.util.List;
public class _0132PalindromePartitioningII {
public static void main(String[] args) {
System.out.println(minCut("aab"));
}
static int minCuts;
public static int minCut(String s) {
minCuts = Integer.MAX_VALUE;
dfs(0, s, new A... | true |
ce914ec6649e8d999ae835091e6d52eb94afca25 | Java | Stanwar/Java_Projects | /BaristaMatic/src/Beverages/DrinkMaker.java | UTF-8 | 3,136 | 3.71875 | 4 | [] | no_license | package Beverages;
import java.util.ArrayList;
import java.util.HashMap;
/*
* This class will be driving class for creating drinks. This is static as we don't need to create instances of this.
* This class helps to decouple concrete classes in Drink from the Main Class.
* */
public class DrinkMaker {
public sta... | true |
14a7dcac7860877078354839af82b337fa915587 | Java | ecmspaceexperts/ecmspace-core-svc | /src/main/java/com/ecmspace/core/gcp/config/GCPConfiguration.java | UTF-8 | 2,014 | 1.867188 | 2 | [] | no_license | package com.ecmspace.core.gcp.config;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.util.Collection;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configura... | true |
fe1c87081a3f4d4160d67c9da403f0f7e740fa88 | Java | LEMON521/Sxdz | /app/src/main/java/cn/net/bjsoft/sxdz/fragment/barbotton/BottonUploadFragment.java | UTF-8 | 20,431 | 1.617188 | 2 | [] | no_license | package cn.net.bjsoft.sxdz.fragment.barbotton;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.ColorDrawable;
impor... | true |
bc5906bb45947969df914499502f7ebcfb531e93 | Java | waterwitness/xiaoenai | /classes2/com/xiaoenai/app/classes/guide/c.java | UTF-8 | 666 | 1.601563 | 2 | [] | no_license | package com.xiaoenai.app.classes.guide;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;
import com.xiaoenai.app.model.UserConfig;
final class c
implements View.OnClickListener
{
c(RelativeLayout paramRelativeLayout, GuideBaseView paramGuideBaseView) {}
... | true |
8d81f69e16fef76d9561c52db51a01ad7392820e | Java | IrinaChitu/NetworkSecurity | /vulnerableAPI/src/main/java/com/unibuc/vulnerableAPI/VulnerableAPIApplication.java | UTF-8 | 330 | 1.601563 | 2 | [] | no_license | package com.unibuc.vulnerableAPI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class VulnerableAPIApplication {
public static void main(String[] args) {
SpringApplication.run(VulnerableAPIApplication.class, ar... | true |
a83b72bb04b20856e505955a07462a1fc52bafe1 | Java | opelayoa/tdexpress | /src/main/java/mx/tiendas3b/tdexpress/controller/UsuarioController.java | UTF-8 | 667 | 1.960938 | 2 | [] | no_license | package mx.tiendas3b.tdexpress.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
imp... | true |
4cb7282efd82aba4038d436cd006ef74771af6ae | Java | davidblanco117/Juego | /src/Juego/Personajes/Ingeniero.java | UTF-8 | 962 | 2.65625 | 3 | [] | no_license | package Juego.Personajes;
import javax.swing.ImageIcon;
import Juego.Habilidades.Construir_N1;
import Juego.Habilidades.Construir_N2;
import Juego.Habilidades.Construir_N3;
import Juego.Habilidades.HabilidadVacia;
public class Ingeniero extends Personaje {
public Ingeniero() {
setAtaque(18);
setSalud(300);... | true |
11728a504147e19f244eba4f0e75f23a118c8526 | Java | zhougit86/MSS | /src/main/java/com/meicloud/dto/UserVO.java | UTF-8 | 1,260 | 2.03125 | 2 | [] | no_license | package com.meicloud.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class UserVO implements Serializable {
private String userAccount;
private String userName;
private boolean svnOn = true;
private boolean ifAdmin;
private List roleList = new ArrayList();
... | true |
d8ad43c3fba04f31bb6d3c67080c8cb4904875bb | Java | nechomer/PA5 | /ref/Ex5/src/ic/gen/ClassLayout.java | UTF-8 | 2,761 | 2.5 | 2 | [] | no_license | package ic.gen;
import static ic.ir.TacValueRef.lbl;
import ic.ast.decl.DeclClass;
import ic.ir.TacValueRef;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
public class ClassLayout {
private HashMap<String, MethodInfo> methodToIn... | true |
4a764d1bc78db4a292776f6034919f26d400ce09 | Java | TeamSerpentine/battlecode-2020-noodles | /src/noodleBot/robot/Vaporator.java | UTF-8 | 314 | 2 | 2 | [] | no_license | package noodleBot.robot;
import battlecode.common.GameActionException;
import battlecode.common.RobotController;
public class Vaporator extends AbstractRobotPlayer {
public Vaporator(RobotController rc) {
super(rc);
}
@Override
protected void run() throws GameActionException {
}
}
| true |
e1ae5a0fc1e2b01e80ffb223aa8bc4e44a1dca04 | Java | chubbymaggie/Pangor | /js/src/ca/ubc/ece/salt/pangor/analysis/flow/AbstractLatticeElement.java | UTF-8 | 1,242 | 2.859375 | 3 | [
"Apache-2.0"
] | permissive | package ca.ubc.ece.salt.pangor.analysis.flow;
import java.util.HashMap;
import java.util.Map;
import ca.ubc.ece.salt.pangor.cfg.CFGEdge;
public abstract class AbstractLatticeElement {
/**
* Keeps track of the edges this LatticeElement has already visited. This
* is so that we can break from loops after a defi... | true |
494967977a2b2953eb8c57bba433918be5093a82 | Java | Vyacheslav-Lapin/fundamentalsfeb | /oop/src/main/java/com/epam/courses/jf/intro/oop/interfaces/defaults/Class2.java | UTF-8 | 335 | 2.734375 | 3 | [] | no_license | package com.epam.courses.jf.intro.oop.interfaces.defaults;
public class Class2 implements Int1, Itt2 {
@Override
public String m1() {
return "Hello, World!";
}
@Override
public String m2() {
return Int1.super.m2();
}
public static void main(String... args) {
Int1... | true |
d1aa0de91c9917634efff627bfc8570003508218 | Java | reinertgustavo/tellme | /src/model/ComentarioRepository.java | UTF-8 | 610 | 2.828125 | 3 | [] | no_license | package model;
import java.util.ArrayList;
import java.util.List;
public class ComentarioRepository {
private static List<Comentario> comentarios = new ArrayList<>();
public void salva(Comentario comentario) {
comentarios.add(comentario);
}
public Comentario getById(int id) {
for (Comentario comentario :... | true |
3a55bd2e70ec5eb23af18a2b9bf7c463b245e8dd | Java | arturosalgado/hrr3 | /src/com/hrr3/controller/reports/forecast/MarketMixController.java | UTF-8 | 12,745 | 1.765625 | 2 | [] | no_license | package com.hrr3.controller.reports.forecast;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.select.SelectorComposer;
import org.zkoss.zk.ui.select.an... | true |
7c437fedac377c1d14b2b155832eb8bd93120517 | Java | jason790/SmartDosing | /SmartDosingKhanV1/Smart_Dispenser/src/com/example/smart_dispenser/Smart_dispenserApplication.java | UTF-8 | 1,114 | 1.578125 | 2 | [] | no_license | package com.example.smart_dispenser;
import com.vaadin.Application;
import com.vaadin.addon.touchkit.ui.NavigationManager;
import com.vaadin.addon.touchkit.ui.TouchKitApplication;
import com.vaadin.addon.touchkit.ui.TouchKitWindow;
import com.vaadin.addon.touchkit.ui.VerticalComponentGroup;
import com.vaadin.ui.*;
im... | true |
ccac193ab538cb408da4e7cbfe24face99432a7e | Java | tuanhtran/cocktail-recommender-app | /Cocktail Recommender/src/de/ur/mi/android/cocktailrecommender/data/SearchParameter.java | UTF-8 | 2,000 | 2.640625 | 3 | [] | no_license | package de.ur.mi.android.cocktailrecommender.data;
import java.util.ArrayList;
/*
* SearchParameter bundles all information needed for SearchEngine class in CRDatabase:
* Parameters, selected tags and ingredients
*/
public class SearchParameter {
private boolean mustContainAllSelectedIngs = false;
private boolea... | true |
cca77e3fa6604b4086878230024d161444990f24 | Java | pomeloEater/KH_TimeWizard | /TimeWizard/src/main/java/com/minibean/timewizard/model/biz/ChatBiz.java | UTF-8 | 166 | 1.601563 | 2 | [] | no_license | package com.minibean.timewizard.model.biz;
import com.minibean.timewizard.model.dto.ChatDto;
public interface ChatBiz {
public int chatinsert(ChatDto dto);
}
| true |
4c09f0ef3c74bd1b7d9324186c4d5ef5bb1bc929 | Java | wu00yu11/zookeeper-web | /src/main/java/com/learn/example/service/ZkService.java | UTF-8 | 602 | 1.90625 | 2 | [] | no_license | package com.learn.example.service;
import com.learn.example.exception.BizException;
import java.util.List;
/**
* @author zjj
* @date 2019/2/22 0022
*/
public interface ZkService {
void add(String host, String path, String mode, String data) throws BizException;
void update(String host, String path, Stri... | true |
f919a16764344ba11c0ae268ed5b71e485a5c480 | Java | zokica8/MenuApp | /app/src/main/java/app/menu/menutechnologiestestapp/data/dto/VenueDto.java | UTF-8 | 976 | 2.109375 | 2 | [] | no_license | package app.menu.menutechnologiestestapp.data.dto;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class VenueDto {
@SerializedName("distance")
@Expose
private double distance;
@SerializedName("distance_in_miles")
@Expose
private double dis... | true |
870a77a37aa0b3c77d3b2df831bc5a38af622712 | Java | never-ending-story/whiteship | /week5/yeon/BinaryTreeTest.java | UTF-8 | 1,084 | 3.5 | 4 | [] | no_license | public class BinaryTreeTest {
/** 0
* / \
* 1 2
* / \ / \
* 3 4 5 6
* / \ /
* 7 8 9
*
* BFS - 0 1 2 3 4 5 6 7 8 9
* DFS - 0 1 3 7 8 4 9 2 5 6
*/
public static void main(Stri... | true |
462eb85e907dbf2ffc13a120b92542c22666a7d5 | Java | kenyofaria/oop | /src/introduction/lesson6/inheritance/sample3/Employee.java | UTF-8 | 955 | 3.375 | 3 | [] | no_license | package introduction.lesson6.inheritance.sample3;
public abstract class Employee {
private String registrationNumber;
private String name;
private double salary;
public Employee() {
}
public Employee(String registrationNumber, String name, double salary) {
this.registrationNumber = registrationNumbe... | true |
c4379065e07f0e497d91713ec3a2c15972ffbb59 | Java | Rishabhsac/Java-Programming | /StringThirdAssignments/part1.java | UTF-8 | 2,704 | 2.953125 | 3 | [] | no_license |
/**
* Write a description of part1 here.
*
* @author (your name)
* @version (a version number or a date)
*/
import edu.duke.*;
public class part1 {
public int findStopCodon (String dna, int startIndex, String stopCodon) {
int stopIndex = dna.indexOf(stopCodon, startIndex + 1);
... | true |
7a7a8aa49faa644f85803177645397d8ed5703c7 | Java | AdrianN17/top_down_battle | /lib/src/main/java/com/libs/multiplayer/custom/envios.java | UTF-8 | 1,687 | 2.453125 | 2 | [
"MIT"
] | permissive | package com.libs.multiplayer.custom;
import com.esotericsoftware.kryonet.Client;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Server;
import com.libs.modelos_principal.Event;
import java.util.Collection;
public class envios {
Server server;
Client client;
public ... | true |
072d6b89e9b913beb1cac972efe320bb445f5e7d | Java | thanhngo219/onlineshopping | /ProductComponent/src/main/java/com/thanh/shopping/product/domain/Stock.java | UTF-8 | 1,316 | 2.34375 | 2 | [] | no_license | package com.thanh.shopping.product.domain;
import org.springframework.data.mongodb.core.mapping.Document;
import com.thanh.shopping.domain.BaseEntity;
@Document
public class Stock extends BaseEntity {
private String locationCode;
private Long quantity;
public String getLocationCode() {
return locationCode;
... | true |
fa8b22a2550047c4fd7a4fb4504bd545e65adda9 | Java | elvicek/RegistryWeb | /src/com/hhiregistry/exceptions/PersistanceException.java | UTF-8 | 432 | 2.625 | 3 | [] | no_license | package com.hhiregistry.exceptions;
public class PersistanceException extends Exception{
private String description;
public PersistanceException(){
this("Persistance Exception");
}
public PersistanceException(String description){
this.description = description;
}
public String getDescription() ... | true |
ebc4b96ffbaa0b1436915c117f34f5d208db3e00 | Java | subkjh/fxms | /src/fxms/bas/impl/handler/dto/CmSelectQnaGridListPara.java | UTF-8 | 1,168 | 2.046875 | 2 | [] | no_license | package fxms.bas.impl.handler.dto;
import subkjh.dao.def.FxColumn;
import subkjh.dao.def.FxTable;
@FxTable(name = "VIRTUAL_TABLE", comment = "가상테이블")
public class CmSelectQnaGridListPara {
@FxColumn(name = "CONTENTS", size = 100, nullable = true, comment = "Q&A 검색 내용")
private String contents;
@FxColumn(name = "... | true |
fcb1dc04120f49d589fd822df44c498a528f7446 | Java | nagen010/CodingProblems | /src/com/chrisleung/leetcode/solutions/Problem_078_Subsets_Recursive.java | UTF-8 | 809 | 3.140625 | 3 | [] | no_license | package com.chrisleung.leetcode.solutions;
import java.util.ArrayList;
import java.util.List;
public class Problem_078_Subsets_Recursive {
public List<List<Integer>> subsets(int[] nums) {
if(nums == null || nums.length == 0) return new ArrayList<List<Integer>>();
List<List<Integer>> output = new A... | true |
02c2bbd04cd6abb7c1010232b49c678372a00edc | Java | moutainhigh/takeaway | /src/main/java/com/takeaway/commons/utils/HttpUtil.java | UTF-8 | 8,527 | 2.125 | 2 | [] | no_license | package com.takeaway.commons.utils;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStrea... | true |
df3e88dc256b80ec84a7ddb4526887b5b6b3445c | Java | LeonardoValderas/IceMan | /app/src/main/java/com/valdroide/iceman/reports/di/ReportComponent.java | UTF-8 | 446 | 1.679688 | 2 | [] | no_license | package com.valdroide.iceman.reports.di;
import com.valdroide.iceman.IceManAppModule;
import com.valdroide.iceman.lib.di.LibsModule;
import com.valdroide.iceman.reports.iu.Report;
import javax.inject.Singleton;
import dagger.Component;
/**
* Created by LEO on 3/12/2016.
*/
@Singleton
@Component(modules = {ReportM... | true |
48b0eee07d78348bc88da665a0266902be8cb208 | Java | green-fox-academy/Toth-P | /week-07/day-04/src/main/java/com/greenfoxacademy/programmerfoxclub/Model/Foods.java | UTF-8 | 410 | 2.171875 | 2 | [] | no_license | package com.greenfoxacademy.programmerfoxclub.Model;
public enum Foods {
ONE {
@Override
public String toString() {
return "Salad";
}
},
TWO {
@Override
public String toString() {
return "Pizza";
}
},
THREE {
@Overri... | true |
f4fbb0c235c2f0fa0596810020fe3be67cdbd232 | Java | zhenyanlab/ns4_frame | /NS_CHAINS/src/main/java/com/creditease/ns/chains/util/ExpUtil.java | UTF-8 | 1,828 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package com.creditease.ns.chains.util;
import java.util.Map;
import java.util.Stack;
import org.mvel2.MVEL;
import com.creditease.ns.chains.chain.Command;
import com.creditease.ns.chains.chain.ConditionableCommand;
import com.creditease.ns.chains.chain.AbstractIfCommand;
import com.creditease.ns.chains.exchange.Exch... | true |
9eb37b86200b36b9326e594b7948ef30876df8ad | Java | liyao0312/studynotes | /_book/projects/PracticeJava/src/20190815/FirstNotRepeatingChar.java | UTF-8 | 804 | 3.34375 | 3 | [] | no_license | import java.util.LinkedHashMap;
/**
* Created by artsing on 2019/8/15.
*/
public class FirstNotRepeatingChar {
public static void main(String[] args){
String str = "google";
FirstNotRepeatingChar(str);
}
public static int FirstNotRepeatingChar(String str) {
char[] ch = str.toChar... | true |
9dbac5a17b444e619e97dd813ef1626902d7d665 | Java | jeremiahespinosa/gifgallery | /app/src/main/java/com/jeremiahespinosa/gifgallery/models/Gif.java | UTF-8 | 2,780 | 2.671875 | 3 | [] | no_license | package com.jeremiahespinosa.gifgallery.models;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by jespinosa on 6/22/15.
*/
public class Gif implements Parcelable{
/**
* fullImageToLoadPath (dropbox): used for dropbox path, since the url must be constructed for each call
* we wi... | true |
f3bc3c005b9cf946eee35a724da934177d80954d | Java | Game-Designing/Custom-Football-Game | /sources/p005cm/aptoide/p006pt/store/view/C4965S.java | UTF-8 | 595 | 1.515625 | 2 | [
"MIT"
] | permissive | package p005cm.aptoide.p006pt.store.view;
import p005cm.aptoide.accountmanager.Account;
import p026rx.p027b.C0132p;
/* renamed from: cm.aptoide.pt.store.view.S */
/* compiled from: lambda */
public final /* synthetic */ class C4965S implements C0132p {
/* renamed from: a */
private final /* synthetic */ Grid... | true |
e71458f88f3fae2c72ece0814eab6803d582a3c9 | Java | lykmapipo/nitrite-database | /nitrite/src/test/java/org/dizitart/no2/event/EventTest.java | UTF-8 | 8,818 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | /*
*
* Copyright 2017-2018 Nitrite author or authors.
*
* 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 |
acf13c3e82fc49e8f578d0081dda58327484a6e3 | Java | qwe00921/switchui | /packages/apps/SmartActions/SmartActions/src/com/motorola/contextual/smartrules/psf/paf/PafConstants.java | UTF-8 | 3,038 | 1.757813 | 2 | [] | no_license | /*
* @(#)PafConstants.java
*
* (c) COPYRIGHT 2009-2012 MOTOROLA INC.
* MOTOROLA CONFIDENTIAL PROPRIETARY
* MOTOROLA Advanced Technology and Software Operations
*
* REVISION HISTORY:
* Author Date CR Number Brief Description
* ------------- ---------- ----------------- ---------------------... | true |
f8ff7641cee1fd1dc564d56b42721a7a42eacc1c | Java | manosbatsis/SAVEFILECOMPANY | /api1/src/main/java/com/heb/pm/batchUpload/nutritionIngredients/NutritionCandidateWorkRequestCreator.java | UTF-8 | 7,291 | 2.015625 | 2 | [] | no_license | /*
* NutritionCandidateWorkRequestCreator
*
* Copyright (c) 2017 HEB
* All rights reserved.
*
* This software is the confidential and proprietary information
* of HEB.
*/
package com.heb.pm.batchUpload.nutritionIngredients;
import com.heb.pm.batchUpload.UnexpectedInputException;
import com.heb.pm.batchUplo... | true |
f92e1dfdab98c638a105467a6fc3176810aa072b | Java | anilkumarthalikoti/erpschool | /erp-server/com/java/erp/webapp/server/interfaces/services/setup/BatchDetailsI.java | UTF-8 | 378 | 1.539063 | 2 | [] | no_license | package com.java.erp.webapp.server.interfaces.services.setup;
import com.java.erp.webapp.request.setup.BatchDetailsRequest;
import com.java.erp.webapp.server.interfaces.services.common.Response;
public interface BatchDetailsI {
public Response getBatchDetails() throws Exception;
public Response saveBatchDe... | true |
5f8fc41e758e671224d7e850a3b943643ce3f067 | Java | wwmengtao/AndroidTest_AS | /testmodule/src/main/java/com/example/testmodule/image/PauseOnScrollListener.java | UTF-8 | 1,116 | 2.375 | 2 | [] | no_license | package com.example.testmodule.image;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
public class PauseOnScrollListener implements OnScrollListener {
private ImageLoader imageLoader;
private final boolean pauseOnScroll;
private final boolean pauseOnFling;
public PauseOnS... | true |
754dee4a9d0df464c053fe839f10d7c7be8c00d1 | Java | RealGatt/Skellett | /Skellettomg/src/com/gmail/thelimeglass/SkellettCord/ExprPlayerPing.java | UTF-8 | 1,456 | 2.4375 | 2 | [] | no_license | package com.gmail.thelimeglass.SkellettCord;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser.ParseResult;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import me.dommi2212.BungeeBridge.packets.PacketCustom;
import org.bukkit.entity.Player;
import org.buk... | true |
f06692e77516b66a546f9de42c4a5a2077a0fea8 | Java | mrmarczyk/mrmarczyk-kodilla-java | /kodilla-testing/src/main/java/com/kodilla/testing/shape/ShapeCollector.java | UTF-8 | 997 | 3.296875 | 3 | [] | no_license | package com.kodilla.testing.shape;
import java.util.ArrayList;
import java.util.StringJoiner;
public class ShapeCollector {
ArrayList<Shape> collector = new ArrayList<>();
public void addFigure(Shape shape) {
collector.add(shape);
}
public Boolean removeFigure(Shape shape) {
return ... | true |
82e37375b9956fc440a6a1f5f9d7225f4f77120d | Java | Dxuan-chen/yq | /day14-集合/src/homework/test06.java | UTF-8 | 643 | 2.9375 | 3 | [] | no_license | package homework;
import org.junit.Test;
import java.util.Iterator;
import java.util.LinkedHashSet;
/**
*
*/
public class test06 {
@Test
public void test(){
LinkedHashSet<String> sets = new LinkedHashSet<>();
sets.add("王昭君");
sets.add("王昭君");
sets.add("西施");
sets.add... | true |
730c9fcdb574dab95c4e08950aa2211f6c2bd5b8 | Java | qkmc-rk/sxsicau | /src/main/java/xyz/ruankun/sxsicau/repository/WxUserRepository.java | UTF-8 | 464 | 2.046875 | 2 | [] | no_license | package xyz.ruankun.sxsicau.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import xyz.ruankun.sxsicau.entity.WxUser;
/**
* 随便声明一些自己喜欢的方法吧
*/
public interface WxUserRepository extends JpaRepository<WxUser, Integer> {
/**
* 通过openid查找数据库存在的小程序用户
* @param openid
* @retur... | true |
245c88388ae141a863128e031bc6d2e4d828deaf | Java | a3a3ejljlo/JavaSeleniumCourse | /src/main/java/myprogram/Candy.java | UTF-8 | 818 | 2.859375 | 3 | [] | no_license | package myprogram;
import java.util.Random;
public class Candy extends Sweets {
private String[] firms = {"Nestle", "Ириска-пломбовая", "Мишка на севере", "Конфетка без фантика"};
String getRandomFirm() {
Random random = new Random();
int x = random.nextInt(4);
return firms[x];
}
... | true |
bb1c92c7a3ce1cde4a16a37d7dff3b6879d45085 | Java | YagmurCerenTeke/HW2 | /src/homework2/UserManager.java | UTF-8 | 145 | 2.390625 | 2 | [] | no_license | package homework2;
public class UserManager {
public void addUser(User user) {
System.out.println("User oluşturuldu: " + user.userId);
}
}
| true |
3cfd25c5ec517e0b782716d22b2c7407d483fdbf | Java | VanGogh6/wufan-security-parent | /wufan-security-web/src/main/java/com/wufan/web/mapper/SubjectMapper.java | UTF-8 | 933 | 1.882813 | 2 | [] | no_license | package com.wufan.web.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wufan.web.entities.Subject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.anno... | true |
dda8c64dac29747b412b1e1f7c4dbf58cdf8339c | Java | D4rkness/-ShishaLight | /Android/ShiRem/app/src/main/java/com/example/miste/shirem/Model.java | UTF-8 | 1,942 | 2.65625 | 3 | [] | no_license | package com.example.miste.shirem;
import android.graphics.Color;
import android.util.Log;
import java.util.Arrays;
public class Model {
private String color;
private Mode accMode;
private int [] colorFieldContainer;
private static Model instance;
private int numberFields = 15;
private int a... | true |
7aea2ebbcf7d82913933f614e7fc33b3ce4c81f4 | Java | zhuqing/supermaket | /SuperMarket/src/com/supermarket/data/DataFactory.java | UTF-8 | 801 | 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.supermarket.data;
import com.supermarket.entity.Entity;
import java.util.ArrayList;
import java.util.List;
/**
*
* @aut... | true |
d30487b47361f1adc6d6272a17c34e545f428e22 | Java | sardanakaran/inventory-management | /src/main/java/com/rajcorporation/tender/validator/TenderValidator.java | UTF-8 | 703 | 2.25 | 2 | [] | no_license | /**
*
*/
package com.rajcorporation.tender.validator;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import com.rajcorporation.tender.model.Tender;
/**
* @author karan
*
... | true |
0c52827dd2d0c74a190db4f6f29fc615730941ca | Java | Gebro/RetailStore | /src/main/java/com/example/RetailStore/repository/BillDetailsRepository.java | UTF-8 | 303 | 1.75 | 2 | [] | no_license | package com.example.RetailStore.repository;
import com.example.RetailStore.model.BillDetails;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface BillDetailsRepository extends JpaRepository<BillDetails,Long> {
}
| true |
b0cd513c44c3ba3630f1840345a42863739d2d7b | Java | hermesespinola/Data-Structures | /src/node/Node.java | UTF-8 | 288 | 3.0625 | 3 | [
"MIT"
] | permissive | package node;
public class Node<T> {
T value;
public Node(T value) {
this.value = value;
}
public void setValue(T value) {
this.value = value;
}
public T getValue() {
return this.value;
}
public String toString() {
return this.value.toString();
}
}
| true |
e41c2a40cd70d2a430aa284f374cccb44b7e28ff | Java | nandomp/Coverage-Graphs | /src/MyGraphPack/JGraphXAdapterDemo2.java | UTF-8 | 7,721 | 2.296875 | 2 | [] | no_license | /* This program and the accompanying materials are dual-licensed under
* either
*
* (a) the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation, or (at your option) any
* later version.
*
* or (per the licensee's choosing)
*
* (b) the terms of the Eclipse P... | true |
d52a674dfb8da1bb21c73b9a6392d6b3dc3effce | Java | sun88/LifeHelper | /basis/ConfigLayer/src/main/java/com/yc/configlayer/sp/SpConfig.java | UTF-8 | 339 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package com.yc.configlayer.sp;
public final class SpConfig {
/********* 建议一个sp文件存放key数量30,超过则新起文件 *********/
/********* 以模块划分,尽量做到一个模块一个sp *********/
public interface App {
}
public interface Android{
}
public interface Gank{
}
}
| true |
26447b73755deb6777d198c296065430e8f9ab75 | Java | algostructures/Project_UI_Hibernate | /src/DAO/OperatorDao.java | UTF-8 | 332 | 2.015625 | 2 | [] | no_license | package DAO;
import entities.Operator;
import java.util.List;
/**
* Created by prajapas on 7/13/2017.
*/
public interface OperatorDao {
public List<Operator> getAllOperators();
public void addOpertor(Operator o);
public void blockOperator(int id, boolean blocked);
public boolean validate(Operator o... | true |
35bda855f9a79721380157a43afd26f37c4a109b | Java | vasudevareddyreddem/Medspaceapp | /app/src/main/java/com/medarogya/appointment/model/OnlinePaymentPojo.java | UTF-8 | 387 | 1.726563 | 2 | [] | no_license | package com.medarogya.appointment.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class OnlinePaymentPojo {
@SerializedName("status")
@Expose
public Integer status;
@SerializedName("payment_id")
@Expose
public Integer paymentId;
@... | true |
8c9410d8a9e255b166a2d02ce52a34ae90e4ec45 | Java | xsren/AndroidReverseNotes | /docs/weixin_7.0.4_source/反编译源码/未反混淆/src/main/java/com/tencent/tencentmap/mapsdk/maps/a/ka.java | UTF-8 | 3,154 | 1.992188 | 2 | [] | no_license | package com.tencent.tencentmap.mapsdk.maps.a;
import android.graphics.Bitmap;
import com.tencent.map.lib.basemap.data.DoublePoint;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.tencentmap.mapsdk.maps.a.if.b;
public class ka {
private final int a;
private final int b;
private final... | true |
4d1f8bf752404733f2f331ff790ab28a204fe80b | Java | jgawry/Graph | /BreakUpStringToSpaces.java | UTF-8 | 2,154 | 3.28125 | 3 | [] | no_license | import java.util.*;
public class BreakUpStringToSpaces {
private static final HashSet<String> DICTIONARY = new HashSet<>(Arrays.asList(new String[]{"Convert", "Arrays", "to","Set", "in" ,"Java", "pea", "but", "peanut", "butter"}));
public static void main(String[] args) {
String str = "butterpeanut"... | true |
f92b8a3631da2c1d2841d635c59136f6bb986e55 | Java | tkvangorder/hackathon-dataflow | /hackathon/source-order/src/main/java/com/build/source/order/dao/OrderMapper.java | UTF-8 | 715 | 1.953125 | 2 | [] | no_license | package com.build.source.order.dao;
import java.util.Date;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.session.ResultHandler;
import com.build.analytics.event.order.OrderDataEvent;
@Mapper
public inter... | true |
6f295c1cf77a56683b47ab8dc293accaa57e82be | Java | wolongalick/JokeSimple | /commonLibrary/src/main/java/common/ui/Line.java | UTF-8 | 818 | 2.3125 | 2 | [] | no_license | package common.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import com.common.R;
/**
* Created by cxw on 2015/11/20.
*/
public class Line extends ImageView{
private int width;
public Line(Context context,int width) {
this(context,null,widt... | true |
b740f500672c875f1a685cfd7b36cfc00f4a6188 | Java | leon-94/BouncingBashApp | /core/src/de/lmu/ifi/bouncingbash/app/game/components/ui/JumpBar.java | UTF-8 | 2,456 | 2.671875 | 3 | [] | no_license | package de.lmu.ifi.bouncingbash.app.game.components.ui;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import de.lmu.ifi.bouncingbash.app.game.Game... | true |
1d48b6dac21218826fa9b051708bd9a59dca02f8 | Java | SamanMirhosseini/index | /src/index/Tokeniser.java | UTF-8 | 436 | 3.109375 | 3 | [] | no_license | package index;
import java.util.*;
public class Tokeniser {
private Vector <Token> tok_vector = new Vector<Token>();
public Tokeniser(String s) {
this.tokenise(s);
}
private void tokenise(String s){
StringTokenizer st = new StringTokenizer(s);
while(st.hasMoreTokens()){
Token temp = new Token(st.nextToke... | true |
fb03472b5ef2df98383a41e8797ba2ccba48b735 | Java | taksan/epyk-survey | /src/main/java/utils/ReflectionUtils.java | UTF-8 | 2,072 | 2.71875 | 3 | [] | no_license | package utils;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.UnhandledException;
import org.reflections.Reflections;
public class ReflectionUtils {
public static List<String> getChildren(String ... | true |
127b4f25a971507fffd0ce5000a85b4287d34da5 | Java | zhansc/study | /thread-io/thread/src/test/java/cn/com/zhanss/thread/Test.java | UTF-8 | 2,598 | 3.65625 | 4 | [] | no_license | package cn.com.zhanss.thread;
import java.util.concurrent.*;
/**
* test
*
* @author zhanss
* @since 2019/9/7
*/
public class Test {
@org.junit.Test
public void test1(){
String str = "I am a student.";
String[] chars = str.split(" ");
String newStr = "";
for(int i = chars.l... | true |
301f0cd6335f84ded427e672cfdf4613941ee7f1 | Java | qingw/mos | /develop/source-code/tools/mos_java_util/src/com/zte/mos/util/LambdaFilter.java | UTF-8 | 133 | 1.703125 | 2 | [] | no_license | package com.zte.mos.util;
/**
* Created by olinchy on 16-3-22.
*/
public interface LambdaFilter<T>
{
boolean isAccept(T t);
}
| true |
67ddf0d75a64901202392fb69db575f5f373ecb2 | Java | iremcibal/JavaCamping | /Ders3/InstructorManager.java | UTF-8 | 406 | 3.015625 | 3 | [] | no_license | package Ders3;
public class InstructorManager extends UserManager{
@Override
public void add(User user){
System.out.println("Yeni eğitmen: " + user.getFirstName() + user.getLastName());
}
public void courseAdd(User user,Course course){
System.out.println(user.getFirstName() + user.getL... | true |
11872434eb9009c7fa765395cf6cc02f545c9966 | Java | wiceflow/JavaBasicsCode | /src/main/java/com/wiceflow/Io/byteIO/FileUtil.java | UTF-8 | 4,505 | 3.609375 | 4 | [] | no_license | package com.wiceflow.Io.byteIO;
import java.io.*;
/**
* 文件操作
* 1、文件拷贝
* 2、文件夹拷贝 拒绝自己拷贝给自己
* Created by BF on 2017/9/24.
*/
public class FileUtil {
/**
* 拷贝文件夹
*
* @param srcPath 源路径
* @param destPath 目标路径
* @throws IOException
* @throws FileNotFoundException
*/
public... | true |
4d51caa7b7d33178f6eb84fb28d480c593a7b316 | Java | StayHungryStayFoolish/version-6.1.2 | /src/main/java/com/monolithic/service/IPRecordsService.java | UTF-8 | 992 | 2.28125 | 2 | [] | no_license | package com.monolithic.service;
import com.monolithic.service.dto.IPRecordsDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.Optional;
/**
* Service Interface for managing {@link com.monolithic.domain.IPRecords}.
*/
public interface IPRecordsServic... | true |
258a5a3ffec42545985c0bdaaea91605fd22e5bd | Java | fenster1/DivineRPG | /main/java/net/divinerpg/api/blocks/BlockModDoor.java | UTF-8 | 1,483 | 1.882813 | 2 | [] | no_license | package net.divinerpg.api.blocks;
import net.minecraft.block.BlockDoor;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class BlockModDoor extends BlockDoor {
public BlockModDoor(Material mat) {
super(mat);
// T... | true |
fc5bd488a17b2fb11aa39be484bb0f6d53ebca3b | Java | ainshahirahh/Student-Kits | /app/src/main/java/com/example/studentkits/amimahSchedule.java | UTF-8 | 1,252 | 1.804688 | 2 | [] | no_license | package com.example.studentkits;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
public class amimahSchedule extends AppCompatActivity {
ImageButton amimahBack;
ImageButton homeamimah;
... | true |
f8dc6132608d1cf9643e2e0409de6d68157712c9 | Java | xpxstar/AlgorithmHackers | /ChenXiaoxu/LeetCode/src.main.java/linkedlist/duplicates/II/Solution.java | UTF-8 | 536 | 3.078125 | 3 | [] | no_license | package linkedlist.duplicates.II;
import linkedlist.ListNode;
public class Solution {
public ListNode deleteDuplicates(ListNode head) {
if (head == null || head.next == null)
return head;
ListNode dummyNode = new ListNode(0);
dummyNode.next = head;
ListNode p = dummyNode;
while (p.next != null && p.nex... | true |
b4da3ca5046cc86b939ba7315f2d250d11180f41 | Java | Werdio66/leetcode | /src/com/_520/leetcode/DynamicProgramming/Demo5.java | UTF-8 | 678 | 3.859375 | 4 | [] | no_license | package com._520.leetcode.DynamicProgramming;
import java.util.Arrays;
/**
* 给定一个整数数组 nums,求出数组从索引 i 到 j (i ≤ j) 范围内元素的总和,包含 i, j 两点。
*/
public class Demo5 {
private int[] arr;
public Demo5(int[] nums) {
arr = Arrays.copyOf(nums,nums.length);
}
public int sumRange(int i, int j) {
... | true |
9b982ec9c65581bd7e5b0d2912274d11594abf2b | Java | lejewk/luckysix_backend | /src/main/java/com/luckysix/luckysix_backend/dto/DrawRateDTO.java | UTF-8 | 305 | 1.789063 | 2 | [] | no_license | package com.luckysix.luckysix_backend.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class DrawRateDTO {
private int no;
private int count;
private float rate;
}
| true |
4bdd781eb596745f8a9bc3da864714647b8668c6 | Java | cakmakk45/JavaKampOdevler | /gun4Odev3/src/gun4Odev3/Main.java | ISO-8859-9 | 1,434 | 2.75 | 3 | [] | no_license | package gun4Odev3;
public class Main {
public static void main(String[] args) {
Gamer gamer = new Gamer(1,"44444444444","Kadriye","akmak",1998);
Game game = new Game(1,0," ninja kaplumbaalar",150);
Campaign campaign = new Campaign(1,"yzde 8 indirim",8);
GamerManager gamerManger = new GamerManager();
G... | true |
db5f4da398f871acc9440655aff2551a132d46fb | Java | cddiaz3/Proyecto-Parqueadero-NeWay | /BackendS23Profe/src/main/java/TO/TOProfesores.java | UTF-8 | 1,602 | 1.929688 | 2 | [] | no_license | package TO;
public class TOProfesores extends TOUsuarios {
private int idProfesores;
private int idUsuariosProfesores;
private String tipoContrato;
private double salario;
private String titulo;
private String categoria;
public TOProfesores() {
}
public TOProfesores(int idUsuariosProfeso... | true |
cd360a56c626ccb39c088e7458d01a7e54fae236 | Java | Dinukashameera/SA_OSGI_SCM-1 | /BiscutFactoryGUI/src/Logistics/LogisticsGui.java | UTF-8 | 8,867 | 2.359375 | 2 | [] | no_license | package Logistics;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Date;
import java.util.Properties;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
impo... | true |
171d45f463ee8411be36c93ffaf9233212366bfc | Java | chr1831/BungeeCord | /src/main/java/net/md_5/bungee/plugin/InvalidPluginException.java | UTF-8 | 428 | 2.28125 | 2 | [
"BSD-3-Clause"
] | permissive | package net.md_5.bungee.plugin;
/**
* Exception thrown when a plugin could not be loaded for any reason.
*/
public class InvalidPluginException extends RuntimeException
{
private static final long serialVersionUID = 1L;
public InvalidPluginException(String message, Throwable cause)
{
super(mess... | true |
1afc93ac05031986e70412ca0dc803c0e0132938 | Java | AI-Poli-BLLF/Backend | /src/main/java/it/polito/ai/virtuallabs/service/exceptions/vms/NotAvailableVmModelException.java | UTF-8 | 234 | 1.9375 | 2 | [] | no_license | package it.polito.ai.virtuallabs.service.exceptions.vms;
public class NotAvailableVmModelException extends VMServiceException {
public NotAvailableVmModelException() {
super("No Vm Models available for courses");
}
}
| true |
7cecdce844c57338f71bfb1127b7092e3ce3617d | Java | inotai/jasmine | /src/java/com/inotai/jasmine/value/StringType.java | UTF-8 | 392 | 2.8125 | 3 | [] | no_license | package com.inotai.jasmine.value;
public enum StringType {
DOUBLE_QUOTED(0, "DoubleQuoted"),
SINGLE_QUOTED(1, "SingleQuoted"),
UNQUOTED(2, "Unquoted");
private final int value;
private final String name;
private StringType(int value, String name) {
this.value = value;
this.name = name;
}
int getValue() ... | true |
c73ac8eefb41a4fa9e6110d5fd5d990fa43f273f | Java | suhrid01/Simplified-Accounting-and-Employee-Management-App | /Android Code/app/src/main/java/com/suhrid/simplified/activity/AssignOrder.java | UTF-8 | 14,076 | 1.578125 | 2 | [] | no_license | package com.suhrid.simplified.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import andro... | true |
c713c11e05c6c9df5713d1a431f26053f6817e71 | Java | iyashamihsan/Toaster_library | /app/src/main/java/com/example/androidlibrarydemo/MainActivity.java | UTF-8 | 766 | 2.109375 | 2 | [] | no_license | package com.example.androidlibrarydemo;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.example.demolibrary.Toaster;
public class MainActivity extends AppCompatActivity {
TextView helloTv;
@Override
protect... | true |
83f46f89ec0ad42987db29099fa4571224a9a46c | Java | poliphonalj/bazis_print_backend | /src/main/java/BazisPrint/BazisPrint_Backend/Models/User.java | UTF-8 | 1,697 | 2.375 | 2 | [] | no_license | package BazisPrint.BazisPrint_Backend.Models;
import javax.management.relation.Role;
import javax.persistence.*;
import java.time.LocalDate;
import java.util.List;
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private Integer id;
private String firstName;
pri... | true |
e239b9feb5c42db01c7368bf817f96e4c90e82d2 | Java | levipreto/Apps | /Misc/Tips/Imports/src/ImportsRunner.java | UTF-8 | 445 | 2.375 | 2 | [] | no_license | package Misc.Tips.Imports.src;
import java.util.ArrayList;
import static java.lang.System.out; // imports only the sysout from the java lang
import static java.util.Collections.*; // imports all the static methods inside the collections
public class ImportsRunner {
public static void main(String[] args) {
... | true |
af374ea19dc86108431db1a8ff9f56a2bad43bfd | Java | DerekTBillings/Airmans_Attic | /Airmen's Attic/Airmen's Attic/src/com/billings/jdbc/sql/RaffleAdminPageSQL.java | UTF-8 | 1,967 | 2.265625 | 2 | [] | no_license | package com.billings.jdbc.sql;
public class RaffleAdminPageSQL {
public static final String getRaffleItems = "SELECT r.Raffle_Id, r.Name, r.Description, t.Type_Name as type, r.Status, r.Date_In, r.Date_Raffled, r.Date_To_Raffle "+
"FROM raffle_item r "+
"INNER JOIN item_type t on r.Type_Id = t.Type_Id "+
"WHE... | true |
7de21862a60674916db9cbb0a4a4d638d919f5d3 | Java | a413528002/hxpay | /pay-facade-toll/src/main/java/com/globalhua/pay/facade/toll/service/TollQueryFacade.java | UTF-8 | 790 | 1.867188 | 2 | [
"Apache-2.0"
] | permissive | package com.globalhua.pay.facade.toll.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.globalhua.pay.facade.toll.entity.TollOrder;
import com.globalhua.pay.facade.toll.vo.TollBatchVo;
/**
* 代发查询
*/
public interface TollQueryFacade {
/**
* 分页查询代发批次
* @param proje... | true |
d7f3e07aaff6978d6afaa147e2bd85bfd7dc5e46 | Java | nicobar97/Travelook | /src/io/travelook/client/user/ChatCell.java | UTF-8 | 2,012 | 2.359375 | 2 | [] | no_license | package io.travelook.client.user;
import java.io.IOException;
import io.travelook.model.Messaggio;
import io.travelook.model.Utente;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.ListCell;
import java... | true |
baea35e8557488bdb5ed871f14eef36e87fa7e78 | Java | hotpads/datarouter | /datarouter-metric/src/test/java/io/datarouter/metric/dto/GaugeBinaryDtoTests.java | UTF-8 | 4,840 | 1.9375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright © 2009 HotPads (admin@hotpads.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | true |
3a95166619e6fedbefcb4d630cefedaf239ecd77 | Java | javasparx/PhyloUz | /src/main/java/org/andrewberman/ui/menu/Dock.java | UTF-8 | 18,289 | 2.375 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2007, 2008 Gregory Jordan
*
* This file is part of PhyloWidget.
*
* PhyloWidget 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 S... | true |
bd788f064ffe964db06808a9cccc2b6be0c714f3 | Java | mac-comp124-s14/critters | /src/edu/macalester/comp124/critters/Cutie.java | UTF-8 | 1,025 | 2.640625 | 3 | [] | no_license | package edu.macalester.comp124.critters;
import acm.graphics.GImage;
import acm.graphics.GRect;
import javax.imageio.ImageIO;
import java.awt.*;
import java.io.IOException;
/**
* Created by hli on 3/13/14.
*/
public class Cutie extends Critter{
protected void buildGraphics() {
GImage Cutie = null... | true |
91fa35ae7e01fcde1bfc28486a03746625f85b2a | Java | NJU-sec2-APTX/sec2 | /HotelReservationSystem-parent/HotelReservationSystem-Server/src/main/java/server/dataServiceImpl/UserDataServiceImpl.java | UTF-8 | 7,248 | 2.21875 | 2 | [] | no_license | package server.dataServiceImpl;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import common.dataService.UserDataService;
import common.otherEnumClasses.CreditOperation;
import common.otherEnumClass... | true |
cdf995190dbe69acef505f36b31dba438436f63a | Java | TrendingTechnology/Android_LinearLayoutDemos | /app/src/main/java/de/mide/linearlayout_demos/MainActivity.java | UTF-8 | 2,772 | 2.875 | 3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package de.mide.linearlayout_demos;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
/**
* Diese Activity stellt ein Hauptmenü dar, mit dem zu anderen Activities abgesprungen
* werd... | true |
83337a57a6bc3fddf6376913b02d5807c2082edb | Java | VijayEluri/jxterm | /test/jxterm/XTermEmulatorTest.java | UTF-8 | 15,044 | 2.328125 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jxterm;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import org.jmock.Expectations;
import org.jmock.Mo... | true |
7019a57aa721c101f402a290fc07e20cba664a66 | Java | 18814117904/gogirl_xcx_api | /src/main/java/com/gogirl/gogirl_order/entity/OrderServeDescribe.java | UTF-8 | 769 | 1.992188 | 2 | [] | no_license | package com.gogirl.gogirl_order.entity;
public class OrderServeDescribe {
private Integer id;
private String describe;
private Integer type;
private Integer status;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Str... | true |
50296feef387a5afb4e281140fe7b6fcd1a237d6 | Java | Armegardeon/COP-2006 | /intigrationProject/src/integrationProject/Main.java | UTF-8 | 4,312 | 3.46875 | 3 | [] | no_license | /*
* Created By: Zachary Maroney
*
* This is a demonstration of all the cool things one can do with Java and the knowledge that I have
* gain through this taking this course. Throughout the code there are many references to the Harry
* Potter book series.
*/
package integrationProject;
import java.util.Scanner... | true |
0b33186269c021209a8fc6c3c3255512d6a4d749 | Java | minecraftmuse3/Minecraft | /Minecraft/src/net/minecraft/src/SaveHandlerMP.java | UTF-8 | 848 | 2 | 2 | [] | no_license | package net.minecraft.src;
import java.io.File;
public class SaveHandlerMP implements ISaveHandler
{
@Override public void checkSessionLock() throws MinecraftException
{
}
@Override public void flush()
{
}
@Override public IChunkLoader getChunkLoader(WorldProvider par1WorldProvider)
{
re... | true |
6bc464970d1cb450c0455ce7f8c28001640b4dba | Java | mrraow/OpenTafl | /src/com/manywords/softworks/tafl/network/server/task/SendPacketTask.java | UTF-8 | 649 | 2.453125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.manywords.softworks.tafl.network.server.task;
import com.manywords.softworks.tafl.network.server.ServerClient;
import com.manywords.softworks.tafl.network.packet.NetworkPacket;
/**
* Created by jay on 5/23/16.
*/
public class SendPacketTask implements Runnable {
private final NetworkPacket mPacket;
... | true |