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
6f126315dc393a2d170416e6f11c0783f108f3d7
Java
WCYu/HuanPet
/app/src/main/java/com/example/huanpet/view/know/KnowActivity.java
UTF-8
1,484
1.976563
2
[]
no_license
package com.example.huanpet.view.know; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.example.huanpet.R; import com.example.huanpet.app.BaseActivity; import com.example.huanpet.utils.CustomTool; import com.example.huanpet.utils.OkhttpUtil; ...
true
b34f15bf352df19e36381280bf187b39c94f8d1c
Java
lbyjwwyqt147/background-security
/src/main/java/pers/ljy/background/model/SysLogsEntity.java
UTF-8
6,488
2.296875
2
[]
no_license
package pers.ljy.background.model; import java.io.Serializable; import java.util.Date; /*** * 日志纪录 * @author ljy * */ public class SysLogsEntity implements Serializable { /** * id */ private Long id; /** * 用户ID */ private Integer userId; /** * 日志类型:1001:正常 1002:异常 ...
true
fd2db3592cd822b3d8f271fd6c4278ca09a54a17
Java
Demelphy/CursoSpring
/concesionarioRest/Interfaces/src/main/java/com/atsistemas/concesionario/interfaces/servicios/FacturaServicio.java
UTF-8
226
1.75
2
[]
no_license
package com.atsistemas.concesionario.interfaces.servicios; public interface FacturaServicio { /** * Cobra la factura y entrega el pedido (cambia su estado e entregado) */ public long CobroDeFacturas(long idFactura); }
true
ef1359ee073baa6e6ffd8e5967b99b18d9a17b11
Java
teknoraver/ryanair
/src/net/teknoraver/ryanair/Select.java
UTF-8
6,595
2.078125
2
[]
no_license
package net.teknoraver.ryanair; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android....
true
884f9628ff47e4445a88d55da0f8965a0f1fa63d
Java
konovaliuk/Servlet_Kalchenko_CashRegister_4
/src/main/java/dao/IUserDAO.java
UTF-8
586
2.25
2
[]
no_license
package dao; import entity.User; public interface IUserDAO<T> extends IDAO<T> { /** * Найти пользователя по логину и паролю * @param login логин пользователя * @param password пароль пользователя * @return user пользователь */ public User findUser(String login, String password); /** * Найти пользов...
true
20a8a4cc09c8987c12d41e05f398661ff83a1558
Java
trity1993/xpuzzle
/xpuzzle/app/src/main/java/cc/trity/xpuzzle/utils/ComBindingAdapter.java
UTF-8
328
1.820313
2
[]
no_license
package cc.trity.xpuzzle.utils; import android.databinding.BindingAdapter; import android.widget.ImageView; /** * Created by trity on 28/6/16. */ public class ComBindingAdapter { @BindingAdapter("bind:src") public static void setImageDrawable(ImageView img,int resInt){ img.setImageResource(resInt); ...
true
c7171117cf30fbd6cdbd31be7d8e71fd2de5154a
Java
MyhreAndersen/Simula15Loom
/Simula15Loom/src/simulaTestPrograms/CallProcedureFormal$$callFP.java
UTF-8
2,478
2.515625
3
[]
no_license
package simulaTestPrograms; // Simula-1.0 Compiled at Thu Aug 15 21:46:43 CEST 2019 import simula.runtime.*; @SuppressWarnings("unchecked") public final class CallProcedureFormal$$callFP extends PROC$ { // ProcedureDeclaration: BlockKind=Procedure, BlockLevel=2, firstLine=3, lastLine=10, hasLocalClasses=false, Syst...
true
81afc0ea4ef07a4314ad70e23cb54f56e334bfbf
Java
owel09/JavaPractice
/src/main/java/Fundamentals/Lambda/ListIteratorEnumInterface.java
UTF-8
1,536
3.90625
4
[]
no_license
package Fundamentals.Lambda;/* *Created by owel on 02/11/2019 8:38 AM Vector vs ArrayList https://www.youtube.com/watch?v=4BWmtZQSedU Demo kung paano gamitin yung ListIterator na may reverse direction si Iterator kasi forward direction lang siya */ import java.util.Enumeration; import java.util.ListIterator; i...
true
7b2591482d8cc6f8b268fe89d59cea16a0edbbce
Java
zxp0505/Mes2
/workstation/src/main/java/workstation/zjyk/workstation/modle/bean/WSProductProcedureConcernMaterielVO.java
UTF-8
870
2.015625
2
[]
no_license
package workstation.zjyk.workstation.modle.bean; import java.io.Serializable; import java.util.List; public class WSProductProcedureConcernMaterielVO implements Serializable { private static final long serialVersionUID = 1L; private String productId; private String procedureId; private List<WSConcernMater...
true
ea77117a1857f7e7e7125c3612401bbe013e9c5f
Java
siren-HLL/JavaWebLearning
/Shopping/src/com/sybinal/shop/utils/Page.java
UTF-8
413
2.375
2
[ "Apache-2.0" ]
permissive
package com.sybinal.shop.utils; public class Page { // 当前页 private int nowPage = 1; public int getNowPage() { return nowPage; } public void setNowPage(int nowPage) { this.nowPage = nowPage; } public static long confirmPage(long count, int pageNumber) { if (count % pageNumber == 0) { ...
true
4f8900de8d79ed12e44e2beae99a222cad9b16db
Java
prathapc/AlgoDs
/src/com/practice/B_algo_ps/I_dp/P91_DecodeWays.java
UTF-8
1,795
3.515625
4
[]
no_license
package com.practice.B_algo_ps.I_dp; import java.util.HashMap; import java.util.Map; /** * Created by Prathap on 02 Dec, 2019 * * https://leetcode.com/problems/decode-ways/ * * Input: "12" * Output: 2 * Explanation: It could be decoded as "AB" (1 2) or "L" (12). */ public class P91_DecodeWays { public st...
true
7f9b8aac7993ae364f42e15b73f1a5ae28301584
Java
Pinelo/triggerGame
/src/main/Character.java
UTF-8
2,322
2.546875
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 main; import java.awt.Image; import java.util.LinkedList; import javax.swing.ImageIcon; /** * * @author Casa */ public cl...
true
807c8e778155c9d6b1fc8095328c5a721350433d
Java
tuxbear/ktxtemplate001
/core/src/com.tuxbear.dinos/ui/dialogs/LoadingDialog.java
UTF-8
1,060
2.171875
2
[]
no_license
package com.tuxbear.dinos.ui.dialogs; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.scenes.scene2d.ui.*; import com.badlogic.gdx.scenes.scene2d.utils.SpriteDrawable; import com.tuxbear....
true
655e0546c44e1393bde8fb8f5c84074688a4bbcb
Java
songszs/android_comm
/mytest/app/src/main/java/com/zs/test/thread/ThreadPoolTest.java
UTF-8
1,601
3.0625
3
[]
no_license
package com.zs.test.thread; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author: zang song * @version: V1.0 * @date: 2020-02-22 16:21 * @email: gnoszsong@gmail.com * @description: description */ public class ThreadPoolTest { //https://juejin.im/post/5d1882b1f265...
true
267e6de2eab262e1dd2de6adec4e4d20721b6262
Java
njbhorn/TDDMoney
/DemoMoneyExercise/src/qa/tdd/money/iteration0/DollarTest.java
UTF-8
627
2.515625
3
[]
no_license
package qa.tdd.money.iteration0; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class Dollar...
true
dd1f9bb59c4fc8f1490caa41ebcb630b1dcacb01
Java
matiramos/proglab3-18
/guia-objetos-i/src/com/utn/ejercicio1/Rectangulo.java
UTF-8
685
3.359375
3
[ "MIT" ]
permissive
package com.utn.ejercicio1; public class Rectangulo { private double ancho = 1.0; private double alto = 1.0; public Rectangulo() { } public Rectangulo(double ancho, double alto) { this.ancho = ancho; this.alto = alto; } public double getAncho() { return ancho; ...
true
2a93112494fafdd70370c5fad47d1d05871f3a9b
Java
waynefong0401/duke
/src/main/java/duke/memo/parser/InputParser.java
UTF-8
3,426
3.015625
3
[]
no_license
package duke.memo.parser; import duke.memo.command.AddCommand; import duke.memo.command.Command; import duke.memo.command.DeleteCommand; import duke.memo.command.DoneCommand; import duke.memo.command.ExitCommand; import duke.memo.command.ExpenseCommand; import duke.memo.command.FindCommand; import duke.memo.command.Li...
true
66b4689fa2cdab6e06a25333290fe33151b80da2
Java
myMenuApp/myMenuApp
/src/main/java/com/HandCrest/myMenuApp/RestaurantRepository.java
UTF-8
243
1.914063
2
[]
no_license
package com.HandCrest.myMenuApp; import org.springframework.data.repository.CrudRepository; public interface RestaurantRepository extends CrudRepository<Restaurant,Long>{ Restaurant findByRestaurantName(String restaurantName); }
true
d1435bc1673e7190c2cf1d9c145dd493b29cac19
Java
aymenlaadhari/GuideTouristique
/src/adapter/MonumentListAdapter.java
UTF-8
1,412
2.359375
2
[]
no_license
package adapter; import java.util.List; import model.Monument; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.example.navigation.R; ...
true
01ba87480b79a114ce4c82e9b5676741446887bd
Java
Sagebits/uts-rest-api
/src/main/java/net/sagebits/tmp/isaac/rest/api1/data/mapping/RestMappingItemComputedDisplayField.java
UTF-8
3,599
1.789063
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2018 VetsEZ Inc, Sagebits LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
true
462197186d6fc4e25fba823b10c731ca26a09c3b
Java
stonegu/bizislife-depreciated
/bizislife_v2/src/main/java/com/bizislife/core/service/UserDetailService.java
UTF-8
1,119
2.203125
2
[]
no_license
package com.bizislife.core.service; import java.util.ArrayList; import java.util.List; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation....
true
9312a8401461db48d0a36fa598b414dd0e53e2f4
Java
socrammol/MenssagensParaUsuarios
/Mensssagem/src/Model/FactoryNovoAssinante.java
UTF-8
847
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 Model; import java.text.ParseException; import javafx.scene.input.KeyCode; import static javafx.scene.input.KeyCode.V; /** *...
true
6f8dd7e0411582709f90a560039cc61f99c4ebc5
Java
kostadinlambov/Java-Advanced
/01. 2. Intro-To-Java-Exercises/src/p07_Character_Multiplier.java
UTF-8
1,008
3.71875
4
[ "MIT" ]
permissive
import java.util.Scanner; public class p07_Character_Multiplier { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String[] inputString = scanner.nextLine().split("\\s+"); int sum = calculateSumOfCharMultiplier(inputString[0], inputString[1]); Sy...
true
8fd39452c283adb91d769579ce236f8f2ad50ac8
Java
ivansimplicio/LABS-MAP
/Lab05-Fachada/src/setor/infraEstrutura/Sala.java
UTF-8
517
2.984375
3
[ "MIT" ]
permissive
package setor.infraEstrutura; public class Sala { private String sala; private String bloco; public Sala(String sala, String bloco) { setSala(sala); setBloco(bloco); } public String getSala() { return sala; } public void setSala(String sala) { this.sala = sala; } public String getBloco() { re...
true
f164505f912150f9fcebbbc14cbf9921dbb286e2
Java
CDE20/MFPE_Projects
/POD-6/Audit-Management-Authentication/Audit-Severity/src/test/java/com/cts/AuditSeverity/pojo/AuditTypeTest.java
UTF-8
1,500
2.421875
2
[]
no_license
package com.cts.AuditSeverity.pojo; import static org.junit.Assert.*; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.springframework.core.env.Environment; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4....
true
9260f043cfe02c42c4aa864bb6ce1268161be9f3
Java
zedaav/hw2mqtt
/org.zedaav.hw2mqtt/src/org/zedaav/hw2mqtt/hal/tranform/HalPayloadTransformOkLowToInt.java
UTF-8
460
2.703125
3
[]
no_license
package org.zedaav.hw2mqtt.hal.tranform; import org.zedaav.hw2mqtt.misc.Hw2MqttConstants; public class HalPayloadTransformOkLowToInt implements HalPayloadTransform { @Override public String transform(String originalPayload) { // Simple Ok -> 100 / Low -> 10 transformation if (originalPayload.equals(Hw2MqttCons...
true
2922c0f9fb68ec64c2988832d9f3a81157966835
Java
NourhanGehad/TravisitBusiness
/app/src/main/java/com/travisit/travisitbusiness/vvm/destination/AuthenticationFragment.java
UTF-8
7,038
1.898438
2
[]
no_license
package com.travisit.travisitbusiness.vvm.destination; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProviders; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.navigation.NavDirections; ...
true
0f630531d6d8f8b0d727a6d611abbeda8fd2e9c7
Java
davideyoga/OOSD-Project
/src/gamingplatform/controller/Add.java
UTF-8
4,005
2.546875
3
[]
no_license
package gamingplatform.controller; import gamingplatform.dao.exception.DaoException; import gamingplatform.dao.implementation.*; import gamingplatform.dao.interfaces.*; import gamingplatform.model.DBTableStructure; import javax.annotation.Resource; import javax.servlet.ServletException; import javax.servlet.http.Http...
true
946821590cee30a97b220a12ea157c1501eface9
Java
techthirsts/AndroidLocationTracker
/LocationBasedService/src/com/example/locationbasedservice/tracklist.java
UTF-8
4,479
2.125
2
[]
no_license
package com.example.locationbasedservice; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.graphics.Color; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; i...
true
9f9a49154a3f0c91d58bcf0846667cec57275f0e
Java
freedom541/cclTest
/ccl-spring-jetty-jersey-mybatis/src/main/java/com/ccl/main/Main.java
UTF-8
1,375
2.25
2
[]
no_license
package com.ccl.main; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.glassfish.jersey.servlet.ServletContainer; import org.springframework.web.context.ContextLoaderListener; import org.springframework.web.contex...
true
a43bcc82b20278a346fe531d3fff47ebd7b41ea8
Java
treejames/Breeze_android
/TWP/src/com/twp/activity/model/VendorList.java
UTF-8
1,620
2.078125
2
[]
no_license
package com.twp.activity.model; import java.util.ArrayList; import android.content.Context; import com.twp.database.TWPDataManager; import com.twp.database.TWPDatabaseFinder; import com.twp.im.R; import com.twp.model.Vendor; import com.twp.networking.TWPOrderManager; public class VendorList { private static V...
true
80e411d2c88c7c2f3221972c53e6cec0f96d2dc4
Java
Qwe1999/heroku_backend
/src/main/java/com/softserve/academy/event/service/db/EmailService.java
UTF-8
236
1.65625
2
[]
no_license
package com.softserve.academy.event.service.db; public interface EmailService { void sendMail(String recipientAddress, String subject, String message); void sendEmailForUser(String idUser, String idSurvey, String[] anEmail); }
true
1df721e68d6845238b73c283ea6b442ff1482f02
Java
MeFisto94/Monake
/src/main/java/com/jmonkeyengine/monake/net/client/SharedObjectUpdater.java
UTF-8
7,356
1.960938
2
[ "BSD-3-Clause" ]
permissive
/* * $Id$ * * Copyright (c) 2016, Simsilica, LLC * 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 ...
true
33d75d75b16ef6fd4ff931231116c650d9d6156b
Java
vivdalal/java-swing-apps
/Assignment_3/Assignment-3-Travel-Application/src/Interface/ManageAirlines/ManageAirlinesJPanel.java
UTF-8
5,892
2.296875
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.ManageAirlines; import Business.Airline.AirlineDirectory; import javax.swing.JPanel; /** * * @author vivekdalal ...
true
cc7ac44a18c0049c56cc7bde6b9abab888d3f867
Java
NikolayNS/user-storage
/src/main/java/com/dmitrenko/userstorage/mapper/Mapper.java
UTF-8
320
2.390625
2
[]
no_license
package com.dmitrenko.userstorage.mapper; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; public interface Mapper<T, S> { T from(S source); default List<T> from(Collection<S> sources) { return sources .stream() .map(this::from) .collect(Collectors.toList()); } }
true
08c5be7c70e125a5e29626826fd411bfc0dd9759
Java
luthfihariz/jalan-android-app
/app/src/main/java/com/luthfihariz/jalan/contract/NearbyContract.java
UTF-8
396
1.828125
2
[]
no_license
package com.luthfihariz.jalan.contract; import com.luthfihariz.jalan.BasePresenter; import com.luthfihariz.jalan.BaseView; /** * Created by luthfihariz on 11/6/16. */ public class NearbyContract { public interface Presenter extends BasePresenter<View> { void loadNearby(); } public interface V...
true
5b95c046e1cab172338562c12d74f067f229222e
Java
StevenS125/jdbc.database-console
/src/main/java/com/github/perschola/MyObject.java
UTF-8
4,123
3.171875
3
[]
no_license
package com.github.perschola; import java.sql.*; import com.mysql.cj.jdbc.Driver; import java.util.StringJoiner; public class MyObject implements Runnable { public void run() { registerJDBCDriver(); Connection mysqlDbConnection = getConnection("mysql"); executeStatement(mysqlDbConnection,...
true
4d00592c6467830073b5fa7f6c38653748d30fe8
Java
adi100989/OraclePGX_FinalReport
/diameter/test/ApproximateDiameter.java
UTF-8
4,671
2.453125
2
[]
no_license
import oracle.pgx.api.CompiledProgram; import oracle.pgx.api.Pgx; import oracle.pgx.api.PgxGraph; import oracle.pgx.api.PgxVertex; import oracle.pgx.api.PgxSession; import oracle.pgx.api.internal.AnalysisResult; import oracle.pgx.api.VertexProperty; import oracle.pgx.common.types.PropertyType; import oracle.pgx.common....
true
93342ca9d6ad6d0a43cb259e35bdeaaa02205085
Java
fudai/algorithm
/src/test/java/com/leet/code/ArrayTest.java
UTF-8
480
2.390625
2
[]
no_license
package com.leet.code; import org.junit.Test; import static org.junit.Assert.*; /** * @className: ArrayTest * @description: * @author: fudai * @date: 2021-10-25 21:29 */ public class ArrayTest { @Test public void reverse() { int[] array = new int[]{2,2,2,0,1}; System.out.println(Array.r...
true
52dc81eff1c7ae040d22b61a8dc710c63fec986c
Java
vishmango117/traffic-simulator-app
/src/trafficsimulator/Straight.java
UTF-8
496
2.796875
3
[]
no_license
package trafficsimulator; public class Straight extends Intersection { private trafficsimulator.Road next_road; public Straight(trafficsimulator.Road int_road, trafficsimulator.Road next_road) { super(int_road); this.next_road = next_road; } public Straight() { super(); }...
true
050b90c6c133a6b917265e4eaaf61489065c9ea6
Java
Frostcast/Kingdoms
/src/main/java/me/leothepro555/kingdoms/main/NexusBlockManager.java
UTF-8
54,297
2.140625
2
[]
no_license
package me.leothepro555.kingdoms.main; import java.util.ArrayList; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.i...
true
1550ae7c41a09cd81610873ff30b5325dd682fd2
Java
ymhelloword/nyg
/src/main/java/com/nyg/ssm/entity/OrderMaster.java
UTF-8
721
1.640625
2
[]
no_license
package com.nyg.ssm.entity; import java.util.Date; public class OrderMaster { private int orderId; private int orderSn; private int customerId; private String shippingUser; private int province; private int city; private int district; private String address; private int paymentMethod; private do...
true
a5ff557f921b1e02d18a3642f86fe63caabb7096
Java
tommwq/jet
/src/main/java/com/tommwq/jet/database/SQLiteDataTypeTranslator.java
UTF-8
1,731
2.703125
3
[]
no_license
package com.tommwq.jet.database; import java.util.HashMap; import java.util.Map; public class SQLiteDataTypeTranslator implements SqlDataTypeTranslator { private static final Map<String, Class> dataTypeTable = new HashMap<>(); private static final Map<Class, String> javaTypeTable = new HashMap<>(); static { ...
true
f2016c328eed2132e6a8a62951fbe4eb93d05eda
Java
tracyhenryduck2/SerialPortApp
/seriallibrary/src/main/java/com/siterwell/seriallibrary/usbserial/Modbus/ModbusService.java
UTF-8
9,292
2.328125
2
[]
no_license
package com.siterwell.seriallibrary.usbserial.Modbus; import android.app.Service; import android.content.Intent; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.support.annotation.Nullable; import android.util.Log; import android.widget.Toast; import com.siterwell.seria...
true
022e188accb46856a69e590b4ecba18943cc7143
Java
Oceanysh/Demo
/src/Demo02If.java
UTF-8
351
3.09375
3
[]
no_license
public class Demo02If { public static void main(String[] args) { System.out.println("网吧"); int age=18; if(age>=18){ System.out.println("进入网吧"); System.out.println("打游戏"); System.out.println("打完回家"); } System.out.println("直接回家"); } }
true
d994a9a82cdfc7ff85bf714082699b8a76714a9d
Java
chou120/DaHan
/javaseThread/src/main/java/com/banyuan/club/implThread5/TestMyThread.java
UTF-8
508
2.875
3
[]
no_license
package com.banyuan.club.implThread5; /** * @author sanye * @version 1.0 * @date 2020/3/26 4:24 下午 */ public class TestMyThread { public static void main(String[] args) { MyThread myThread=new MyThread(); //只有一个对象 Thread t1=new Thread(myThread,"线程A"); Thread t2=new Thread(myThread,"线程B"); ...
true
d3726578af4b61afaa1a354ae8569b1e99f6da09
Java
bsreddy125/wissen-nexwave
/4-JPA/JPA-CRUD/src/main/java/com/Delete_Product.java
UTF-8
804
2.515625
3
[]
no_license
package com; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import com.model.Product; /* * * in JAP , we can select entities in 4 ways * * -> by primary key * -> by JPQL * -> by Criteria API * -> by Native SQL * */ p...
true
5c8b83d8dd9545edbf00dfd1c956d3ffb9a0271a
Java
deanwyns/Android
/app/src/main/java/hogent/hogentprojecteniii_groep10/models/Gebruiker.java
UTF-8
2,944
2.890625
3
[]
no_license
package hogent.hogentprojecteniii_groep10.models; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; /** * De klasse die een Gebruiker voorstelt in de applicatie. * Is Parcelable om doorgave mogelijk te maken tussen activities. */ public class Gebruiker imple...
true
48e2e41e58460384bc9bb9ab82d23eaf6f27bc88
Java
chhh/batmass
/GUI/src/umich/ms/batmass/gui/examples/actions/CookieBasedAction.java
UTF-8
2,749
2.015625
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2016 Dmitry Avtonomov. * * 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
366a330c38d606d98e42e8d4f98207c7872bdc6d
Java
MMMirka/palvelinohjelmointi
/src/main/java/MirkaM/TaskList/TaskListApplication.java
UTF-8
1,734
2.359375
2
[]
no_license
package MirkaM.TaskList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import Mirka...
true
47ec60038a04a56483f041e02f5224c21ceb5c22
Java
tranric/Java-2018-stuff
/lab2 solution prog36859/src/lab2soln.java
UTF-8
5,713
3.65625
4
[]
no_license
import java.util.ArrayList; import java.util.Collections; public class lab2soln { public static void main(String args[]){ ArrayList<Integer> myList1 = new ArrayList<Integer>(); ArrayList<Integer> myList2 = new ArrayList<Integer>(); // ArrayList<String> myList1 = new ArrayList<String>(); // ...
true
ca983050efdf2d6a4d5ef7c6f7a7079d3a4f045a
Java
StartZYP/Hero-Forge
/src/main/java/com/qq44920040/miecarft/hero/Heros/next/Shooter.java
UTF-8
2,862
2.3125
2
[]
no_license
/* * Decompiled with CFR 0.138. * * Could not load the following classes: * org.bukkit.Location * org.bukkit.entity.Arrow * org.bukkit.entity.Player * org.bukkit.entity.Projectile * org.bukkit.util.Vector */ package com.qq44920040.miecarft.hero.Heros.next; import java.util.Map; import java.util.UUID; i...
true
db194f73bc31cee4f0e057daa619ec1461aafa1a
Java
Archatom/FRC-Java
/src/main/java/frc/robot/subsystems/AirCompressor.java
UTF-8
1,305
2.125
2
[]
no_license
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
true
c1e3c121c0f2869487f4606b55f8700152118e4e
Java
bewasp/MedicineProject
/MedicineProject/BackendSpring/src/main/java/pl/edu/pwsztar/controller/AcceptCureApiController.java
UTF-8
1,600
2.109375
2
[]
no_license
package pl.edu.pwsztar.controller; 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.stereotype.Controller; import org.springframework.web.bind....
true
2781fb3128e1ba62f1a244768abfbc69888640fe
Java
dujiajia1995/study_java
/src/main/java/study/designpattern/builderpattern/ordered/FatPersonBuildImpl.java
UTF-8
645
2.921875
3
[ "Apache-2.0" ]
permissive
package study.designpattern.builderpattern.ordered; /** * @Author 杜佳佳 * @Date 2021/5/18-10:50 * @@Version 1.0 */ public class FatPersonBuildImpl implements PersonBuilder { @Override public void drawHead() { System.out.println("小头"); } @Override public void drawNeck() { System.o...
true
e333dc3c421ee7b6284bae8d7374a3b0bc64f8b9
Java
ZaraD-Hu-b/JavaClasses
/src/com/class34/Student.java
UTF-8
1,051
4.3125
4
[]
no_license
package com.class34; import java.util.Iterator; import java.util.LinkedList; /*Create a Set collection that will hold Objects of Student Type. In this set we do not care about the insertion order. Each student object should have name and studentID. Display name of each student. */ class Student { String studentN...
true
15e2027f9fb4c07db47ad305d691ccaba7d8c034
Java
liuyaoCS/ChinasoHomeView
/app/src/main/java/com/chinaso/test/MyPullToRefreshScrollView.java
UTF-8
2,667
2.15625
2
[]
no_license
package com.chinaso.test; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import com.handmark.pulltorefresh.library.PullToRefreshScrollView; /** * Created by Administrator on 2016/6/30 0030. */ public class MyPullToRefreshScrollView extend...
true
e6a8738a113eeabfb1dd17ba71a0ebb960eae0ce
Java
tfurukawa33/restTrainContainer
/rest-service/src/main/java/com/example/restservice/repository/Category.java
UTF-8
1,537
2.109375
2
[]
no_license
package com.example.restservice.repository; import java.util.List; // import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax....
true
9752d8a254306e0ec286b6668873e5c8b9e6db88
Java
OrgSmells/codehaus-mule-git
/tags/mule-2.0.0-RC2/transports/http/src/test/java/org/mule/transport/http/HttpRequestMessageAdapterTestCase.java
UTF-8
3,740
2.0625
2
[]
no_license
/* * $Id$ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this...
true
b3559394a8c96fdbf451bcc444597f18d5471a07
Java
robopoo/devweb_metricas_sgpf
/src/main/java/br/com/banestes/metrica/core/enumeration/TipoRelatorioEnum.java
UTF-8
285
2.265625
2
[]
no_license
package br.com.sgpf.metrica.core.enumeration; public enum TipoRelatorioEnum { PDF("PDF"), XLS("XLS"), DOC("DOC"); private String descricao; private TipoRelatorioEnum(String descricao) { this.descricao = descricao; } public String getDescricao() { return descricao; } }
true
0632d1cbe0419236535405a91e60991a7ec1a716
Java
gnehil/DataLink
/dl-worker/dl-worker-writer-kudu/src/main/java/com/ucar/datalink/writer/kudu/util/KuduRowUtils.java
UTF-8
3,395
2.4375
2
[ "CDDL-1.1", "Apache-2.0", "CDDL-1.0" ]
permissive
package com.ucar.datalink.writer.kudu.util; import com.ucar.datalink.common.errors.DatalinkException; import org.apache.kudu.ColumnSchema; import org.apache.kudu.Type; import org.apache.kudu.client.PartialRow; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.math.BigDecimal; public class KuduRow...
true
df5d978eb08e4b55969a92087c9259dd3ac1a1a7
Java
WeiduoS/SpringCore
/SpringAOP/src/main/java/com/web/springaop/Sleepable.java
UTF-8
138
2.09375
2
[]
no_license
package com.web.springaop; /** * @author Weiduo * @date 2020/5/7 - 2:03 AM */ public interface Sleepable { public void sleep(); }
true
bb615e496c23b23542a7b56591646d461ab1ca18
Java
termMed/rf2-to-json-conversion-2
/src/main/java/org/ihtsdo/json/model/Description.java
UTF-8
2,387
2.078125
2
[ "Apache-2.0" ]
permissive
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.ihtsdo.json.model; import java.util.List; /** * * @author Alejandro Rodriguez */ public class Description extends Comp...
true
a38d27dee0aa9d2f60fe1e05a3f225489f18b6f8
Java
luckyluke1994/RSS_MVP
/RssMvp/app/src/main/java/com/example/maidaidien/rssmvp/Constant.java
UTF-8
658
1.734375
2
[]
no_license
package com.example.maidaidien.rssmvp; /** * Created by mai.dai.dien on 29/03/2017. */ public class Constant { public static final String LINK_EXTRA = "link"; public static final String URI_EXTRA = "uri"; public static final String NEWS_EXTRA = "news"; public static final int AllNewsLoaderId = 0; ...
true
9140043eaae0f80cdfe1683777f426980f687a77
Java
hunoFox/lib.base
/src/main/java/com/hunofox/baseFramework/okHttp/utils/OkHttpUtils.java
UTF-8
4,637
2.296875
2
[]
no_license
package com.hunofox.baseFramework.okHttp.utils; import android.os.Handler; import android.os.Looper; import android.util.Log; import com.hunofox.baseFramework.okHttp.callback.BaseCallback; import com.hunofox.baseFramework.okHttp.cookie.SimpleCookieJar; import com.hunofox.baseFramework.okHttp.request.RequestCall; impo...
true
ba47d778ae178e650fa62929819e18e85ca76159
Java
carlosmata1/Sistema-de-expediente-clinico
/Proyecto TOO/src/java/entity/Municipio.java
UTF-8
2,648
2.09375
2
[]
no_license
package entity; // Generated 10-22-2016 08:37:44 AM by Hibernate Tools 4.3.1 import java.math.BigDecimal; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColu...
true
1b5fc3329aef3ee9b34c8012ac67d8a0e79fa320
Java
barunsw/parking
/VPPServer/src/main/java/com/hyundai_mnsoft/vpp/vo/ParkingLotUseSearchVo.java
UTF-8
606
1.882813
2
[]
no_license
package com.hyundai_mnsoft.vpp.vo; import org.apache.commons.lang3.builder.ToStringBuilder; import java.io.Serializable; public class ParkingLotUseSearchVo implements Serializable { private String plId; private String rlId; public String getPlId() { return plId; } public void setPlId(St...
true
1f2136e89b37e02098221c38b08e06de65002cc8
Java
Patrick-Batenburg/java-android-student-meals-app-exam
/maaltijdapp/app/src/main/java/com/patrick/maaltijdapp/controller/callbacks/LoginControllerCallback.java
UTF-8
631
2.609375
3
[ "MIT" ]
permissive
package com.patrick.maaltijdapp.controller.callbacks; /** * Created by Patrick on 16/01/2018. */ /** * Occurs after a student has logged in successfully or unsuccessfully. */ public interface LoginControllerCallback { /** * Occurs after a student has logged in successfully or unsuccessfully. * ...
true
10840d150166c3f4519d2f56af1b481ad52fa55d
Java
sethgreen23/DataStructresAndAlgorithms
/6.Hash Table/5.Exercice1/src/Concordance.java
UTF-8
2,648
3.375
3
[]
no_license
import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Map; import java.util.Scanner; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; public class Concordance { private static Map<String, String> map = new TreeMap<>(); private static Set<Str...
true
7c65b98552df72a3572d8f641c828203d2ca2573
Java
harsgit/repositryjava
/DonorApplication/src/com/cg/donor/util/DbConnection.java
UTF-8
974
2.359375
2
[]
no_license
package com.cg.donor.util; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; public class DbConnection { public static Connection get...
true
070f4c7ad46542938d3c07cf46b78c9852031b6a
Java
amicafm/ArquiteturaClean
/produtos/produtos/src/main/java/com/crud/produtos/usercases/ProdutoServiceImpl.java
UTF-8
1,419
2.171875
2
[]
no_license
package com.crud.produtos.usercases; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import com.crud.produtos.entities.Produto; import com.crud.produtos.viewmodels.ProdutoRepository; import com.crud.pr...
true
499361163312ae7a29744ff194bced81867f14f4
Java
Elvil/eurockv2
/TP4_VI/src/main/sarl/fr/utbm/info/vi51/project/environment/MouseTarget.java
UTF-8
2,585
2.390625
2
[]
no_license
/* * $Id$ * * Copyright (c) 2011-15 Stephane GALLAND <stephane.galland@utbm.fr>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at y...
true
9e4b87bd54071646b0c54f02408903492f41fb41
Java
lfeschuk/jetpack_full
/restoraunt/app_manager/src/main/java/Objects/DeliveryGuyWorkTime.java
UTF-8
2,458
2.640625
3
[]
no_license
package Objects; import android.util.Log; import java.util.ArrayList; public class DeliveryGuyWorkTime { //assume same index as DeliveryGuy // private long index; private String indexString; private String name; private Boolean in_time ; private String time; private String date; // priv...
true
f0aad5204e86380dd5e7a10f5d2602c9df532441
Java
mengyunzhi/core
/src/main/java/com/mengyunzhi/core/entity/YunzhiEntity.java
UTF-8
416
2.078125
2
[]
no_license
package com.mengyunzhi.core.entity; import com.mengyunzhi.core.service.CommonService; public interface YunzhiEntity<ID> { ID getId(); Boolean getDeleted(); /** * 将所有的字段设置为null * 该方法使用反射,效率低。 * 建议时间上有条件的重写该方法。 */ default void setAllFieldsToNull() { CommonService.setAllFie...
true
e23961a664e4df3dbf69ce1e9bc697ac68da9316
Java
ConceptEngine/UniversalRestaurantManagementSystem
/ManagementSystem/src/AdminMenuView.java
UTF-8
2,230
2.671875
3
[]
no_license
import javafx.geometry.Insets; import javafx.geometry.Rectangle2D; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.BorderPane; import javafx.scene.layout.GridPane; import javafx.stage.Screen; import javafx.stage.Stage; /** * Created by kasdi on 24.05.2016. */ public class Ad...
true
06a044064eb340a673664b104f99d2cd6c283379
Java
wilson32190/tis
/tsearcher-dumpcenter/src/main/java/com/qlangtech/tis/hdfs/client/context/impl/TSearcherDumpContextImpl.java
UTF-8
7,886
1.5625
2
[ "MIT" ]
permissive
/* * The MIT License * * Copyright (c) 2018-2022, qinglangtech Ltd * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
true
df7f7977309cd938aff60249736b81a0d0320580
Java
Itisha2987/TCP-IP_Protocol
/datacomm/Dto.java
UTF-8
3,624
2.953125
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 datacomm; import java.lang.Math; import java.util.Random; /** * * @author itisha */ public class Dto { public stat...
true
be2493fd0d5543bae144b11c52cfa06be382b66f
Java
Amitercse/RestService
/RestServices/src/com/amit/dao/MessageDao.java
UTF-8
673
2.140625
2
[]
no_license
package com.amit.dao; import java.sql.SQLException; import java.util.List; import com.amit.model.MessageResource; /** * @author amit * Dao interface for message. */ public interface MessageDao { public List<MessageResource> getMessages(String url) throws SQLException; public MessageResource getMessage(int id)...
true
4ccfa4050300bdda8daf45ea98f3235494ceeb86
Java
wsydt/java
/src/test/java/com/example/wsy/redis/pubsub/SubscribeBySpring.java
UTF-8
1,273
2.203125
2
[]
no_license
package com.example.wsy.redis.pubsub; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Profile; import org.springframework.data.redis.connection.Message; import org.springframework.data.redis.connection.MessageListener; import org.springframework.data.redis.connection.R...
true
72416b86224a75c00778d9b8a8db23538bc724e4
Java
wocloud/workOrder-frontend
/src/main/java/com/wocloud/common/util/http/APIHttpClient.java
UTF-8
2,817
2.40625
2
[]
no_license
package com.wocloud.common.util.http; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import...
true
4da25ae60b9510853b155cdd1f6aa725f216fd2e
Java
Mujib517/devops-java
/src/Main.java
UTF-8
197
2.25
2
[]
no_license
// TFS // SVN // GIT // Concept // Repository public class Main { public static void main(String[] args) { int res = new MyMath().add(10, 20); System.out.println(res); } }
true
0d862803cc1bf5996ab39d7bb87ab7c8b8a81c0d
Java
41407/GPong
/Gpong/src/logic/Gameplay.java
UTF-8
3,888
3.125
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package logic; import java.util.HashSet; import java.util.Iterator; import java.util.Random; import ui.PongFrame; /** * * @author 41407 */ public class Gameplay { private HashSet<Ball> balls; private Paddle...
true
b52c7f1a75c4f5819264e9f716a65d7aeb493aea
Java
tom91136/Akatsuki
/akatsuki-api/src/main/java/com/sora/util/akatsuki/TypeConstraint.java
UTF-8
2,267
2.34375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2015 WEI CHEN LIN * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
true
2f3d842a2052b2d47ea8f921e9c201c4d6c6274b
Java
arnabs542/leetcode-48
/src/important/backtrack/Compute_sum_of_digits_in_all_numbers_from1ton.java
UTF-8
6,154
4.21875
4
[]
no_license
package important.backtrack; /** * Compute sum of digits in all numbers from 1 to n Given a number x, find sum of digits in all numbers from 1 to n.
Examples: Input: n = 5 Output: Sum of digits in numbers from 1 to 5 = 15 Input: n = 12 Output: Sum of digits in numbers from 1 to 12 = 51 Input: n = 328 Output: Sum of ...
true
35c9c9da78ad8e453c682a2efa57872d2269b95a
Java
Shaggy23-cell/Estructura-de-datos
/BEAR/src/sample/Pedido.java
UTF-8
1,198
2.640625
3
[]
no_license
package sample; import javafx.beans.property.SimpleStringProperty; public class Pedido { SimpleStringProperty juego; SimpleStringProperty cantidadJuego; SimpleStringProperty precio; public Pedido(String juego, String cantidadJuego,String precio) { this.juego=new SimpleStringProperty((juego)); ...
true
e5d508c78b44ac22cea7ba1bad95a94443240b8f
Java
wsen/cbw_java
/src/tag4/A19_Zinsen.java
UTF-8
1,007
3.46875
3
[]
no_license
package tag4; import java.util.Scanner; public class A19_Zinsen { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Guthaben ?"); String line = sc.nextLine(); //.nextInt(), .nextDouble() int guthaben = Integer.parseInt(line); ...
true
bae4e40dc00c8880bf30207551ecfaa6e7636875
Java
evandor/skysail
/skysail.app.spotify/src/io/skysail/app/spotify/domain/OAuthCallbackData.java
UTF-8
396
1.734375
2
[ "Apache-2.0" ]
permissive
package io.skysail.app.spotify.domain; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; @Getter @Setter public class OAuthCallbackData { @JsonProperty("access_token") private String accessToken; private String token_type; private String refre...
true
08339b1f7afb4a8420a9e25ded4e28f2e5902a8a
Java
ffekete/FantasyManagerGame
/core/src/com/mygdx/game/logic/activity/compound/MoveAndInteractActivity.java
UTF-8
341
2
2
[]
no_license
package com.mygdx.game.logic.activity.compound; import com.mygdx.game.logic.activity.Activity; import com.mygdx.game.logic.activity.CompoundActivity; public class MoveAndInteractActivity extends CompoundActivity { public MoveAndInteractActivity(int priority, Class<? extends Activity> clazz) { super(prior...
true
de0e66b95b461d75a2671399589af60ff8c6cec2
Java
DatabaseGroup9/parseMaster
/src/main/java/entity/Mentioned.java
UTF-8
711
2.328125
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 entity; /** * * @author Andreas */ public class Mentioned { String bookID; String cityID; public Mentioned(Str...
true
829421419a392eb05adbaba0db66c628554d9a9a
Java
anchoranalysis/anchor
/anchor-image-voxel/src/main/java/org/anchoranalysis/image/voxel/datatype/FindCommonVoxelType.java
UTF-8
4,207
2.625
3
[ "Apache-2.0", "MIT" ]
permissive
/*- * #%L * anchor-image * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without...
true
a8df5ca4e4ee2726305ed8d551108a09cf6beb85
Java
hollewsq/Merchant
/app/src/main/java/com/example/a13621/merchant/net/PMCallback.java
UTF-8
135
1.734375
2
[]
no_license
package com.example.a13621.merchant.net; public interface PMCallback { void onFail(Object msg); void onSuccess(Object reg); }
true
7e17cd86ca2c7b2a3414c7dc3334c5079de4946d
Java
YoonsooChang/netty-socketio
/src/test/java/com/corundumstudio/socketio/scheduler/TaskRunnable.java
UTF-8
467
2.703125
3
[ "Apache-2.0" ]
permissive
package com.corundumstudio.socketio.scheduler; public class TaskRunnable implements Runnable { private String id; public String called = null; public TaskRunnable(String id) { this.id = id; } @Override public void run() { // TODO Auto-generated method stub try { Thread.sleep(1000); } catch (Interrup...
true
744e980a9cfaa65604cd499270f5b40d9ffd5ccc
Java
jvdassen/va-case-study
/src/test/java/ch/uzh/ifi/seal/soprafs16/model/LockboxTest.java
UTF-8
499
2.140625
2
[]
no_license
package ch.uzh.ifi.seal.soprafs16.model; import static org.junit.Assert.*; import org.junit.Test; import ch.uzh.ifi.seal.soprafs16.constant.LootType; import ch.uzh.ifi.seal.soprafs16.model.lootobject.Lockbox; /* * @author Luc Boillat */ public class LockboxTest { @Test public void test() { Lockbox testLock...
true
2e913f5157831e2fd29d82fff61a81762d34d6bd
Java
SongHyunkwan/CamTalk
/app/src/main/java/garmter/com/camtalk/item/ItemCard.java
UTF-8
618
2.28125
2
[]
no_license
package garmter.com.camtalk.item; import org.json.JSONException; import org.json.JSONObject; /** * Created by Youjung on 2016-12-16. */ public class ItemCard { public String path = ""; public String title = ""; public String front = ""; public String back = ""; public boolean ok =...
true
72cec03b4f158d1046c36db984622ff2e7f4f898
Java
amitkmandal/AmitJava
/src/com/info/test/WithOutThirdSwap.java
UTF-8
708
3.890625
4
[]
no_license
package com.info.test; /* * program for swapping of two number without third variable. */ import java.util.Scanner; public class WithOutThirdSwap { public static void main(String[] args) { int num1,num2; Scanner scanner = new Scanner(System.in); System.out.println("Enter two Number :"); num1 = scanner.next...
true
4c0a1b3d6cd30aed67a4cff1518db84a283ccc87
Java
RodrigoRP/Sistema-de-votacao
/src/main/java/com/rodrigoramos/sistemavotacaoapi/service/impl/DatabaseService.java
UTF-8
1,231
2.5625
3
[]
no_license
package com.rodrigoramos.sistemavotacaoapi.service.impl; import com.rodrigoramos.sistemavotacaoapi.dao.CustomerRepository; import com.rodrigoramos.sistemavotacaoapi.dao.RestaurantRepository; import com.rodrigoramos.sistemavotacaoapi.entity.Customer; import com.rodrigoramos.sistemavotacaoapi.entity.Restaurant; import l...
true
dc99a4686ba16d65cc127d65cf8e5a41b9ba3a6c
Java
Gerts19/ASAP
/src/test/java/com/revature/controllers/UserControllerIntegrationTest.java
UTF-8
11,341
2.109375
2
[]
no_license
package com.revature.controllers; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; import static org.spri...
true
f1aa217f0f8e53ddb3371196f7fa770482ff5aa0
Java
cpollet/itinerants
/mailer/daemon/src/main/java/net/cpollet/itinerants/mailer/handlers/NewAccountHandlerMock.java
UTF-8
517
2.15625
2
[ "Apache-2.0" ]
permissive
package net.cpollet.itinerants.mailer.handlers; import lombok.extern.slf4j.Slf4j; import net.cpollet.itinerants.mailer.NewAccountMessage; /** * Created by cpollet on 17.05.17. */ @Slf4j public class NewAccountHandlerMock implements Handler<NewAccountMessage> { @Override public void handle(NewAccountMessage ...
true
16cfa26b557130fecf88e9a691b3a076302acdde
Java
malu1851/metro_zhaopin
/hrrm/src/client/nc/ui/rm/interview/view/InterviewListView.java
GB18030
9,903
1.515625
2
[]
no_license
package nc.ui.rm.interview.view; import java.awt.Color; import java.awt.Component; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JTable; import javax.swing.table.TableColumn; import javax.swing.table.Ta...
true
b2b7a8cc3ce7b8bc812227a8ca59b459469d656f
Java
BaronND/opslabJava
/07_WebServices/src/cxfDemo/JAXWS_DEMO01/client1/jaxwsClient.java
UTF-8
1,000
2.703125
3
[]
no_license
package cxfDemo.JAXWS_DEMO01.client1; /** * 这种调用方式有些问题,暂时而为测试成功 */ import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.soap.SOAPBinding; import cxfDemo.JAXWS_DEMO01.services.helloWS; public class jaxwsClient { private static final QName SERVICE_NAME = new QName("http://ser...
true