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
ac89722c5e60bcd5f123a389f5de54b0b53ac236
Java
LaiJaiHan/Java_NetworkPromgramming
/SSLChatService/src/ChatServer.java
UTF-8
819
2.625
3
[]
no_license
import java.rmi.*; public class ChatServer { public ChatServer (String server, String servicename){ try { RmiChatApplication c = new RmiChatApplicationImpl(); Naming.rebind("rmi://"+server+":1099/"+servicename, c); //3030 fixed. n...
true
9d8151ee0c99bfdb87b763f439ee860d9f830c90
Java
attaullahasem/javaClasses
/src/com/class04/Recap.java
UTF-8
684
3.4375
3
[]
no_license
package com.class04; import com.sun.tools.javac.Main; public class Recap { public static void main(String[] args) { int num; num=23; num=90; num-=200;// 90-200=-110 num-=110; num+=220; if (num > 0) { System.out.println(num+" is a positive number"); }else if (num==0) { System.out.println("Value o...
true
b604a384549772d37cd1f55ecde4aacd254b8c8d
Java
AlvaroRubioAngeles/Multidisciplinar-Liverpool
/src/liverpool/ListenerEnviarCorreo.java
UTF-8
615
2.578125
3
[]
no_license
package liverpool; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; public class ListenerEnviarCorreo implements ActionListener { private RedactarCorreo redactar; private Representante repre; public ListenerEnviarCorreo(RedactarCorreo redactar, Representan...
true
8556279c051d098b52fb95e92bc29b5197890697
Java
silacagile/SILAC
/src/vista/RegistrarResultado.java
UTF-8
69,035
1.882813
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 vista; import Utilitarios.Utils; import controlador.EnsayoCtrl; import controlador.MuestraCtrl; import controlador.PacienteCtr...
true
7cc50fb09b2a204ccc4a0ab4f28a8cd9f27fca26
Java
jplayer-top/xueyituan
/app/src/main/java/com/xueyituanchina/xueyituan/mpbe/event/ShareAwardOneEvent.java
UTF-8
333
1.835938
2
[]
no_license
package com.xueyituanchina.xueyituan.mpbe.event; /** * Created by Obl on 2018/12/4. * com.xueyituanchina.xueyituan.mpbe.event * call me : jplayer_top@163.com * github : https://github.com/oblivion0001 */ public class ShareAwardOneEvent { public String url; public ShareAwardOneEvent(String url) { ...
true
f1737b51f14af5bf65cfc38d053dfc6bb3a5bae4
Java
Aparnakesarwani/dfhs
/Assignment btestcase/src/com/nucleus/rejection/Rejection.java
UTF-8
934
2.8125
3
[]
no_license
package com.nucleus.rejection; import java.util.Scanner; import com.nucleus.DAO.*; public class Rejection { public static void main(String[] args) { String path=null; Scanner sc= new Scanner(System.in); CustomerDAOImpl customerdaoimp= new CustomerDAOImpl(); System.out.println("enter t...
true
1476ec23bd32ba80352fcf7b76c0796cd4e6c404
Java
bbaloi/sample-projects
/PIPS/javatree/com/perpetual/sherlock/gui/tags/LogRecordFieldNamesTag.java
UTF-8
588
1.71875
2
[]
no_license
package com.perpetual.sherlock.gui.tags; /** * @author Mike Pot - http://www.mikepot.com * * Use is subject to license terms. * This file is provided with no warranty whatsoever. */ import java.io.*; import java.util.*; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; public class ...
true
944cd4b39d3224af6bfd4fc803525e88f7e0b9ce
Java
mgrebowiec/cwiczenie1
/src/main/java/mg/testowanie/cwiczenie1/HelloWorld.java
UTF-8
276
2.734375
3
[]
no_license
package mg.testowanie.cwiczenie1; public class HelloWorld { public String greeting(String name) { if (name == null || name.trim().isEmpty()) { return "Hello! You don't have a name!"; } return String.format("Hello %s!", name); } }
true
ce25a98292e8383d71f72329cdb761acf109e5c3
Java
patrickaraujo/mackenzie-fci
/LP 1/Aula7/BankAccountOperations.java
UTF-8
488
2.453125
2
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Aula7; /** * * @author 41318862 */ public interface BankAccountOperations { public void withdraw(double value, int acc...
true
eaa23b3d7777a32c2e3a01fc58e723cc914c50f7
Java
eugeniofcysne/ProjetoIntegrado20191
/Projeto Integrado/src/view/CadastroOperadorView.java
UTF-8
3,487
2.359375
2
[]
no_license
package view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import controller.OperadorController; import model.Aluno; import model.Operador; import java.awt.FlowLayout; import javax.swing.JTextField; import java...
true
4de254f80da03c5cbffcfe3c68dda47ae050b6cf
Java
hoijui/lombok-pg
/src/javac/lombok/javac/handlers/HandleTuple.java
UTF-8
12,781
1.65625
2
[ "MIT", "Apache-2.0" ]
permissive
/* * Copyright © 2011-2012 Philipp Eichhorn * * 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 use, copy, modify, merge,...
true
e415f7753c6f1f9cf8ea63900a5d04f3f97dab6c
Java
tomwhite/hyperbolic
/src/uk/co/zoo/tom/hyper/Scalable.java
UTF-8
132
1.65625
2
[]
no_license
package uk.co.zoo.tom.hyper; public interface Scalable { public void setScaling(int scaling); public int getScaling(); }
true
8d0cfffb61856ac31c63d5b6943701bdae2db9e5
Java
GenesisVision/android-client
/app/src/main/java/vision/genesis/clientapp/ui/HotTopicView.java
UTF-8
1,580
2.171875
2
[]
no_license
package vision.genesis.clientapp.ui; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.Unbinder; import io.swagger.client.model.SocialSummaryHashTag; im...
true
d6a3f725bd54dc7c9d988c27a75c919adce16bfd
Java
ghost461/AndroidMisc
/AndroidJniGenerate/GetJniCode/xwebruntime_javacode/org/xwalk/core/internal/XWalkCoreVersion.java
UTF-8
324
1.617188
2
[]
no_license
package org.xwalk.core.internal; class XWalkCoreVersion { public static final int API_VERSION = 8; public static final int MIN_API_VERSION = 5; public static final int XWALK_APK_VERSION = 1; public static final String XWALK_BUILD_VERSION = "24.53.595.0"; XWalkCoreVersion() { super(); }...
true
daba33cac7f23e80787d8b2268a0a7770e6f4c5f
Java
G00305372/FinalYearProject
/Login.java
UTF-8
2,788
2.421875
2
[]
no_license
package com.example.g00305372.projectgps; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.io.BufferedReader; import java...
true
0b12ff13a90e537034535a942f30ffd609da7342
Java
alexanderbeznos/spring_project
/src/main/java/servlets/validation/ValidateService.java
UTF-8
2,104
2.796875
3
[]
no_license
package servlets.validation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import servlets.models.FootballPosition; import servlets.models.Player; import servlets.storage.DBStore; import servlets.storage.PlayerValidationException; import java.util.Collec...
true
ad83b343cf561b27a8e1c48c6a3fbd5190676c8d
Java
MykhailoMike/PostsBoard
/src/main/java/com/mkaloshyn/my_posts_app/repository/csv/CsvUserRepositoryImpl.java
UTF-8
4,354
2.734375
3
[]
no_license
package main.java.com.mkaloshyn.my_posts_app.repository.csv; import main.java.com.mkaloshyn.my_posts_app.model.Post; import main.java.com.mkaloshyn.my_posts_app.model.Role; import main.java.com.mkaloshyn.my_posts_app.model.User; import main.java.com.mkaloshyn.my_posts_app.repository.UserRepository; import java.io.*; ...
true
24c6c0ced66def41f39d7639abfa87fa03e6e8fe
Java
tharindupr/Algorithms
/PraneethAyya/Java/Graph/Node.java
UTF-8
458
2.796875
3
[]
no_license
/** * * @author Chamal Lakshika Perera * @license published under public domain */ /** * This is the Node class which used for implement the Disjoint Set. */ public class Node { public Node parent = null;//parent node public int rank = -1;//variable used for union String name;//name of node /**...
true
1a53b8494f4f8be2947f39f00c45fc1cbde3ec0f
Java
wencheng256/scms
/scms1/src/com/wencheng/domain/Message.java
UTF-8
1,689
2.421875
2
[]
no_license
package com.wencheng.domain; import java.text.SimpleDateFormat; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; imp...
true
df61739a13832e70cc561bd777a0603c575a4a9f
Java
aliyun/aliyun-log-java-sdk
/src/main/java/com/aliyun/openservices/log/common/TopostoreRelation.java
UTF-8
7,056
2.109375
2
[ "Apache-2.0" ]
permissive
package com.aliyun.openservices.log.common; import com.alibaba.fastjson.JSONException; import com.alibaba.fastjson.JSONObject; import com.aliyun.openservices.log.exception.LogException; import java.io.Serializable; import java.util.HashMap; import java.util.Map; public class TopostoreRelation implements Serializable...
true
f277611aacaf28072acd8d6c5480e91979ade7bf
Java
sathirarumal/moody
/app/src/main/java/lk/sliit/moodypp/CheckUser.java
UTF-8
3,246
1.914063
2
[]
no_license
package lk.sliit.moodypp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.EditText; import android.widget.PopupMenu; import android.widget.Toast; im...
true
71dd8f849af5d0d27d044807e38d99f769d3a64e
Java
1935868896/zc-exam
/zcadmin-generator/src/main/java/com/zc/generator/entity/CodeGenConfig.java
UTF-8
2,458
1.789063
2
[]
no_license
package com.zc.generator.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.zc.entity.BaseEntity; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModel; import lombok.*; import java.util.List; /** * 代码生成器配置表 co...
true
2fcce30ddc1f2e53c8c5b4fba58f74ae8959bde8
Java
DenK91/RssLenta
/app/src/main/java/ru/gopromo/testappgp/data_model/Item.java
UTF-8
1,002
2.3125
2
[]
no_license
package ru.gopromo.testappgp.data_model; import android.os.Bundle; import org.simpleframework.xml.Element; import org.simpleframework.xml.Root; @Root(name = "item", strict = false) public class Item { private static String KEY_LINK = "linkItem"; @Element(name = "title") private String title; @Eleme...
true
e84f38d4977e6e814f7e962ad3790504be082055
Java
gauravcincom/myWorking
/learning/src/test/java/com/learning/Sorting/FactorialNumber.java
UTF-8
446
4
4
[]
no_license
package com.learning.Sorting; public class FactorialNumber { public static void main(String args[]) { int i=5; int val= factorial(i); System.out.println("This is factorial value of "+i+ " : "+val); } public static int factorial(int i) { if(i==1) return 1; int n...
true
905fb1de630b12cc252a36be94e448641b5c6a88
Java
djavanLima/codigos-iniciais-java
/src/br/com/oo/Carro.java
UTF-8
924
3.109375
3
[]
no_license
package br.com.oo; public class Carro { private String modelo; private Motor motor=new Motor(); public Carro() { } public Carro(String modelo,Motor motor) { setModelo(modelo); setMotor(motor); } void acelerar() { double sum=motor.getFatorInjecao(); if(sum<2.6) { sum+=0.4; getMotor()...
true
b7afd6aee9e789fa51ec93992a06e8dbc4507a65
Java
Diuke/MovilParcial
/app/src/main/java/com/example/myfirstapplication/model/Message.java
UTF-8
627
2.171875
2
[]
no_license
package com.example.myfirstapplication.model; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.ForeignKey; import androidx.room.PrimaryKey; @Entity(foreignKeys = @ForeignKey(entity = User.class, parentColumns = "username", childColumns = "sender")) public class Messag...
true
0fa4e7473607ef07fcbad4b38c2c8186fe84adf0
Java
MastekLtd/SwiftLite
/src/swift/selenium/ExcelUtility.java
UTF-8
18,885
2.109375
2
[ "Apache-2.0" ]
permissive
/* * Copyright(c) 2016 Mastek Ltd. All rights reserved. * * SwiftLite is distributed in the hope that it will be useful. * * This file is part of SwiftLite Framework: Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance with the License. * You may obt...
true
5a81b47abf2b0da5badc923b9bbb65ffdcb14260
Java
Jian-Min-Huang/project-ref-memo
/v-finance/finance-core/src/main/java/org/yfr/finance/core/pojo/vo/indicator/KD.java
UTF-8
2,291
2.765625
3
[ "MIT" ]
permissive
package org.yfr.finance.core.pojo.vo.indicator; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.yfr.finance.core.pojo.vo.Stock; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; @Builder @Data @NoArgsConstructor...
true
5d29bd289dff8f5b98d37841919748689de1abab
Java
wolskiaxiom/soa-agh-course
/lab5/lab0/src/main/java/TheatreInfo.java
UTF-8
68
2
2
[ "MIT" ]
permissive
public interface TheatreInfo { public String printSeatList(); }
true
bcf55dbdc57eed1fa591ee8ad41f92d7d1171b57
Java
MounikaSomu05/AdaptiveExamination
/Adaptive/Adaptive Exam/Project/src/main/java/com/adaptive/dao/TestDetailDaoImpl.java
UTF-8
1,043
2.09375
2
[]
no_license
/** * * @author mounika,hari */ package com.adaptive.dao; import com.adaptive.entities.Student; import com.adaptive.entities.TestDetail; import java.util.List; import javax.transaction.Transactional; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
true
760b2d72e5578ceba06a15ec6cded641adc83799
Java
fcr/morphadorner-opensource
/src/edu/northwestern/at/utils/corpuslinguistics/wordcounts/WordCountUtils.java
UTF-8
3,995
2.625
3
[]
no_license
package edu.northwestern.at.utils.corpuslinguistics.wordcounts; /* Please see the license information at the end of this file. */ import java.io.*; import java.net.*; import java.util.*; import edu.northwestern.at.utils.*; import edu.northwestern.at.utils.corpuslinguistics.stopwords.*; /** Word count uti...
true
93b39a749b62b0f2bde3a8e306c49a9561efbd8c
Java
jorgegarces/cokaido
/mars-rover/src/main/java/navCommands/Command.java
UTF-8
569
2.8125
3
[]
no_license
package navCommands; import rover.Rover; public abstract class Command { protected final Rover rover; public Command(Rover rover) { this.rover = rover; } public static Command create(char command, Rover rover) { if (command == 'F') return new MoveForwardCommand(rover); if (co...
true
a8c23be5545a5c44fe32cda23dfe606c70c02d09
Java
jjacoboc/SEGROP-SGSAPP
/sgsapp/src/main/java/pe/com/segrop/sgsapp/dao/hibernate/HistorialDaoHibernate.java
UTF-8
3,120
2.28125
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pe.com.segrop.sgsapp.dao.hibernate; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.type.IntegerType; import org.hibernate.type.Lo...
true
9df9dbdd389abfc53cacef3a84adfa1b437ecd8c
Java
connectbobby1/Story
/src/main/java/Yellowfin/bi/qa/pages/LicensePage.java
UTF-8
553
2.203125
2
[]
no_license
package Yellowfin.bi.qa.pages; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import Yellowfin.bi.qa.base.TestBase; public class LicensePage extends TestBase { @FindBy(xpath="//a[text()='Click Here To Continue']") WebElement Click...
true
0a46fef7cbb34fae924230315b5b1104d3759bee
Java
Forward233/CommonJavaPattern
/src/main/java/com/pattern/description/two/AutoCar.java
UTF-8
396
3.015625
3
[]
no_license
package com.pattern.description.two; /** * @author: yhl * @DateTime: 2020/6/7 9:02 * @Description: */ public class AutoCar extends DecoratorCar{ public AutoCar(ICar car) { super(car); } public void swim() { System.out.println("功能+1:汽车可以自动驾驶啦"); } @Override public void mov...
true
ebd9914819d68443b35d479399e5377348ee90f1
Java
f3226912/gd
/gd-customer-service/src/main/java/com/gudeng/commerce/gd/customer/service/impl/AdMenuServiceImpl.java
UTF-8
3,770
2.234375
2
[]
no_license
package com.gudeng.commerce.gd.customer.service.impl; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import com.gudeng.commerce.gd.customer.da...
true
b7e5e567e5f2c0b47d5d5291246619d6be490700
Java
max1300/Eventplanner
/src/main/java/fr/maxime/eventplanner/repositories/ParticipantRepository.java
UTF-8
242
1.609375
2
[]
no_license
package fr.maxime.eventplanner.repositories; import fr.maxime.eventplanner.models.Participant; import org.springframework.data.jpa.repository.JpaRepository; public interface ParticipantRepository extends JpaRepository<Participant, Long> { }
true
649878e071a9781b8e48b80bbc31431bbb69889a
Java
MoMentDaDa/SpringMVC
/08_Spring2/src/main/java/Spring4/Dao/IAccountDao.java
UTF-8
394
2.15625
2
[]
no_license
package Spring4.Dao; import Domian.Account; import java.util.List; @SuppressWarnings("all") public interface IAccountDao { List<Account> findAllAccount(); Account findAccountById(Integer accountId); void saveAccount(Account account); void updateAccount(Account account); void deleteAccount(I...
true
2a8c9ae5dc2cd2f43337b20c2c91ab5f42494be9
Java
mrgogas/UltraMega2DTopDownGame
/src/cz/punga/jecna/App.java
UTF-8
2,140
2.65625
3
[]
no_license
package cz.punga.jecna; import java.awt.Canvas; import java.awt.Graphics2D; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.image.BufferStrategy; import java.awt.image.BufferedImage; import javax.swing.JFrame; import cz.punga.jecna.KeyboardI...
true
19e5d7ba85f85f57f91e43822b793f2634880d42
Java
namichetti/sysacad
/src/main/java/com/sysacad/alkemy/service/IUsuarioService.java
UTF-8
165
1.789063
2
[]
no_license
package com.sysacad.alkemy.service; import com.sysacad.alkemy.entity.Usuario; public interface IUsuarioService { public Usuario saveOne(Usuario usuario); }
true
8ea38c69b999555af1e9fb15ab36fd49ea8ed29c
Java
shershnev-s/homework21_22
/service-module/src/main/java/by/tut/shershnev_s/service/model/ItemDetailsDTO.java
UTF-8
443
2.125
2
[]
no_license
package by.tut.shershnev_s.service.model; import java.math.BigDecimal; public class ItemDetailsDTO { private Long itemId; private BigDecimal price; public Long getItemId() { return itemId; } public void setItemId(Long itemId) { this.itemId = itemId; } public BigDecimal ...
true
8e849fcf897251d0cfcd604ab84c52ecca5f6868
Java
mconeeu/ttt
/src/main/java/eu/mcone/ttt/roles/Role.java
UTF-8
690
2.859375
3
[]
no_license
package eu.mcone.ttt.roles; import lombok.Getter; import org.bukkit.ChatColor; @Getter public enum Role { INNOCENT("Innocent", ChatColor.GREEN), DETECTIVE("Detective", ChatColor.BLUE), TRAITOR("Traitor", ChatColor.RED); private final String name; private final ChatColor color; Role(String n...
true
cf304904ccb1ed8613c09f9ae5b66bddfffa7bf4
Java
mzlnk/understandable-app
/app/src/main/java/pl/understandable/understandable_app/user/data/achievements/SixHoursLearning.java
UTF-8
958
2.5
2
[]
no_license
package pl.understandable.understandable_app.user.data.achievements; import pl.understandable.understandable_app.R; import pl.understandable.understandable_app.user.UserManager; import pl.understandable.understandable_app.user.data.User; /** * Created by Marcin Zielonka on 2017-11-25. */ public class SixHoursLearn...
true
759e4a41f1ed30dc54eff37a7eef4db27df366b1
Java
sergiubuciuman/AdaugaLocatie
/app/src/main/java/com/example/adaugalocatie/MapsActivity.java
UTF-8
9,176
2.25
2
[]
no_license
package com.example.adaugalocatie; import android.support.v4.app.ActivityCompat; import android.os.Build; import android.os.Bundle; import com.google.android.gms.common.api.GoogleApiClient; import android.support.v4.content.ContextCompat; import android.support.v4.app.FragmentActivity; import com.google.android.gms.m...
true
bf19365ed01d7f6b19042e54374d6d6cfb294896
Java
lumialalala/javaworkspace
/NewsCertify-Common/src/com/ict/mcg/gather/entity/ForwardRelationEntity.java
UTF-8
1,111
2
2
[]
no_license
package com.ict.mcg.gather.entity; import java.io.Serializable; import java.util.List; public class ForwardRelationEntity implements Serializable{ /** * */ private static final long serialVersionUID = -1206937330266296524L; private List<String[]> forwardList; private List<String[]> userInfoList; private F...
true
d4bb27b29522de5564564c7c89b0fc9b371b6924
Java
cw857/java
/集合/Set/SortedSetTest02.java
UTF-8
863
3.578125
4
[]
no_license
package col; /* *SortedSet集合存储元素为什么可自动排序 *实现了Comparable接口 * */ import java.util.*; public class SortedSetTest02 { public static void main(String[] args) { SortedSet users = new TreeSet(); User u1 = new User(11); User u2 = new User(22); User u3 = new User(14); User u4 = new User(23); ...
true
63134e99bab9c263de53b3ec1839dca34d3260d1
Java
Emreyanmis/Sushi-Restaurant
/sushigame/model/SushiGameModel.java
UTF-8
1,328
2.8125
3
[ "MIT" ]
permissive
package sushigame.model; import sushi.PlatePriceException; import sushi.RedPlate; import sushi.Sashimi; public class SushiGameModel { private BeltImpl belt; private Customer[] customers; private Chef[] opponent_chefs; private Chef player_chef; private final double STARTING_BALANCE = 100.0; public SushiGameMo...
true
8895ce7dc9b224bf7fb862a08cf8b97f9149d222
Java
wjbwstone/wstone
/foundation/src/zxing/wrappers/android/java/com/zxing/BarcodeReader.java
UTF-8
2,488
2.296875
2
[]
no_license
/* * Copyright 2016 Nu-book Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
true
acf01ac7305ad6df10410e6df573c0593bbc4a30
Java
HowFunLin/SSM_CRUD
/src/main/java/pers/service/EmployeeService.java
UTF-8
1,240
2.09375
2
[]
no_license
package pers.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pers.bean.Employee; import pers.bean.EmployeeExample; import pers.dao.EmployeeMapper; import java.util.List; @Service public class EmployeeService { @Autowired private E...
true
6a3a587c07e4477616e3350cda34b3e564515df5
Java
panhuiAipami/huaxi
/booklibrary/src/main/java/com/spriteapp/booklibrary/ui/dialog/BookCommentDialog.java
UTF-8
4,256
2.1875
2
[]
no_license
package com.spriteapp.booklibrary.ui.dialog; import android.app.Activity; import android.content.Context; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.view.View; import android.view.WindowManager; import android.view.inputmethod.InputMethodManager; import...
true
23a2a1cbc8d93d5ee59ad5fcd86daab90f4c5bc0
Java
fischerfel/TUM-Crypto
/data/key/secure/Snippet44913966_27029.java
UTF-8
2,015
2.375
2
[]
no_license
public class Main { public static void main(String[] args) throws Exception { String policy_document = "{\"expiration\":\"2018-12-30T12:00:00.000Z\",\"conditions\":[{\"bucket\":\"mynewdulibucket\"},[\"starts-with\",\"$key\",\"user/user1/MyPhoto.jpg\"],{\"acl\":\"public-read\"},{\"success_action_redirect\":\"http:/...
true
479712c8756ffb3b739a65cf3027756c33ce7609
Java
fengyuhetao/miaosha
/src/main/java/com/ht/miaosha/exception/GlobalException.java
UTF-8
380
1.96875
2
[]
no_license
package com.ht.miaosha.exception; import com.ht.miaosha.result.CodeMsg; import lombok.Data; /** * Created by hetao on 2018/12/28. */ @Data public class GlobalException extends RuntimeException{ private static final long serialVersionUID = 1L; private CodeMsg cm; public GlobalException(CodeMsg cm) { ...
true
445d9c6e1a3c9ebb42b06a977b31b6f21c03faed
Java
ma-fauzi/ABMA
/app/src/main/java/com/example/muhammadafiffauzi/abma/SelectLesson/SelectLesson1Activity.java
UTF-8
8,832
1.976563
2
[]
no_license
package com.example.muhammadafiffauzi.abma.SelectLesson; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.muhammadafiffauzi.abma.LevelListActiv...
true
931dc18ad147cc0d98a633bb2661e5ddb425a540
Java
LLLzzzCCC/antun-rest-app
/antun-rest-app/src/main/java/com/zdjy/bigdata/antun/service/ProductService.java
UTF-8
183
1.742188
2
[]
no_license
package com.zdjy.bigdata.antun.service; import com.zdjy.bigdata.antun.domain.Product; public interface ProductService { Product findByChannelCode(String productCode); }
true
45fe38835cd7ac6ba51b69e31f3b9491915df681
Java
Gemabit/vhost-manager
/vhostmanager/src/com/gemabit/vhostmanager/utils/PropertiesHandler.java
UTF-8
2,640
2.78125
3
[]
no_license
/** * vHost - Virtual Host Manager. * * @copyright © Gemabit <www.gemabit.com> 2014 * @license Apache License, Version 2.0 * * Copyright 2014 Gemabit * * 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 ...
true
be3ca2d0f1b8e817c4df2f4dd52c8ab72ca6185e
Java
apache/hadoop
/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/metrics2/lib/TestMutableRollingAverages.java
UTF-8
6,717
2.25
2
[ "CC-PDDC", "CC0-1.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "CDDL-1.0", "GCC-exception-3.1", "MIT", "EPL-1.0", "Classpath-exception-2.0", "BSD-3-Clause", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-pu...
permissive
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
true
6cbe633d44e976ec95113bc1e0a180e4a44addd1
Java
HonglaingIT/MyScheduleApp
/app/src/main/java/com/example/myscheduleapp/AddTaskActivity.java
UTF-8
2,113
2.328125
2
[]
no_license
package com.example.myscheduleapp; import android.content.Intent; import android.os.Bundle; import android.os.PersistableBundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.goog...
true
d7813931371d0bba4aaeefae3876573a9693bf32
Java
lxf-00/JavaWeb
/_Redis/src/www/jedis/test/JedisTest.java
UTF-8
4,605
2.9375
3
[]
no_license
package www.jedis.test; import org.junit.After; import org.junit.Before; import org.junit.Test; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; import www.jedis.util.JedisPoolUtils; import java.util.List; import java.util.Map; import java.util.Set; ...
true
2c3061f73dbe7c3948115b08300fdf0406f3901a
Java
trcooke/adventofcode-2020
/src/test/java/com/trcooke/adventofcode2020/Day06Test.java
UTF-8
475
2.171875
2
[ "MIT" ]
permissive
package com.trcooke.adventofcode2020; import org.junit.Test; import java.io.IOException; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.*; public class Day06Test { private Day06 day06 = new Day06(); @Test public void part1CoveringTest() throws IOException { assertTha...
true
90a6d23fdcb991e8b32a468fdb53b72f4ff34907
Java
maybew/HiWHU
/HiWHU/src/com/hiwhu/UI/InfoActivity.java
GB18030
2,750
2.28125
2
[]
no_license
package com.hiwhu.UI; import com.hiwhu.tool.UpdateManager; import com.hiwhu.widget.FuncImageButton; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.net.ConnectivityManager; import android.os.Bundle; import android.os.Handler; import android.os.Message; im...
true
c16c4f7c363b39566c0ba36dbae1b9115123b79a
Java
axereliat/school-java-spring-web-app
/src/main/java/com/school/domain/exceptions/AccessDeniedException.java
UTF-8
103
1.617188
2
[]
no_license
package com.school.domain.exceptions; public class AccessDeniedException extends RuntimeException { }
true
c63c3ce5442165bec0e4846783fbaebcfdc8b2c8
Java
MAGNUSGAO/COMP250-A1-TEST
/assignment1/BACKUP_test.java
UTF-8
5,282
3.5
4
[]
no_license
package assignment1; import java.util.Arrays; public class BACKUP_test { // Test the output of Basket toString // This method tests whether the program outputs "-" for prices when a product's price is 0 (aka Free!) public static void test_Basket_toString() { Basket basket = new Basket(); bask...
true
2e214bdae96fa7d456a735192a144af5f3283e67
Java
TeodoraMargau18/CTS
/s2/src/ro/ase/cts/clase/Student.java
UTF-8
797
2.9375
3
[]
no_license
package ro.ase.cts.clase; public class Student extends Aplicant { protected String facultate; protected int anStudii; private static float sumaFinantata = 20; public Student() { super(); } public void setFacultate(String facultate) { this.facultate = facultate; } public void setAn_studii(int an_studii) ...
true
1319792a058f05885b1f78a0e8e04b20b3e7c46a
Java
phette23/Equella
/Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/equella/viewers/AbstractNewWindowConfigDialog.java
UTF-8
4,084
1.882813
2
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "LicenseRef-scancode-jdom", "GPL-1.0-or-later", "ICU", "CDDL-1.0", "LGPL-3.0-only", "LicenseRef-scancode-other-permissive", "CPL-1.0", "MIT", "GPL-2.0-only", "Apache-2.0", "NetCDF", "Apache-1.1", "EPL-1.0", "Classpath-exception-2....
permissive
/* * Copyright 2017 Apereo * * 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 wr...
true
6b1a0aedf613f4b528481a5efff4b9cc75445ef1
Java
VoVanHieu-1998/code_webToeic
/src/main/java/com/dacnpm/toeic2020/Controller/Rest/RestPart7Controller.java
UTF-8
2,299
2.171875
2
[]
no_license
package com.dacnpm.toeic2020.Controller.Rest; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org....
true
36bb361a9ca36941c9d005f2e41e3baaca1c7615
Java
Jacobo0312/Flag-In-Console
/src/model/Flag.java
UTF-8
1,688
3.21875
3
[]
no_license
package model; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; public class Flag { public final static String ESC = "\u001b["; // Initial positions public final static int YELLOW = 1; public final static int BLUE = 11; public final static int RED = 16...
true
343dfd5331836d6941cbdde2105ed914cd02e7db
Java
YuryYaroshevich/JSF
/src/com/epam/ta/exception/TATechnicalException.java
UTF-8
227
1.742188
2
[]
no_license
package com.epam.ta.exception; public abstract class TATechnicalException extends TAException { private static final long serialVersionUID = 4441235527304074970L; public TATechnicalException(Exception e) { super(e); } }
true
9d2e1e52ba236232ac3a06978e7efa7daa46ac8f
Java
lihui580/TestServer
/src/main/java/com/itaoniu/testserver/business/role/model/RoleModel.java
UTF-8
1,170
2.03125
2
[]
no_license
package com.itaoniu.testserver.business.role.model; import java.util.Date; public class RoleModel { private Long id; private String uuid; private String number; private String name; private int rank; private Date createTime; private Date updateTime; private int exist; public Long getId() { return id; } ...
true
6c3ac6e53bc752e9dce7a1fe29d1b458c40480a2
Java
Open-IoT-Service-Platform/oisp-gearpump-rule-engine
/src/main/java/com/intel/ruleengine/gearpump/apiclients/alerts/DashboardAlertsApi.java
UTF-8
3,972
2.109375
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2016 Intel Corporation * * 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
e474d4fd732f69053a0a6b48345d6f94f75011f6
Java
PacktPublishing/Mastering-Spring-5.1
/Chapter02/src/main/java/com/mastering/spring/business/BusinessService.java
UTF-8
150
1.914063
2
[ "MIT" ]
permissive
package com.mastering.spring.business; import com.mastering.spring.beans.User; public interface BusinessService { long calculateSum(User user); }
true
73a172b1873786a7387d63d3f1c3a1a3ee6413b4
Java
warnerliu/ViewDraw
/app/src/main/java/com/warner/viewdraw/view/PaintXfermodeTestView.java
UTF-8
2,497
2.296875
2
[]
no_license
package com.warner.viewdraw.view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.RectF; import android.util.AttributeSet; import android.view.View; ...
true
16652fb602b76bb428dc336d7781fe6b663ec6d9
Java
luuh-oliveira/ds1m-estacionamento
/src/br/com/estacionamento/arquivos/App.java
MacCentralEurope
951
2.328125
2
[]
no_license
package br.com.estacionamento.arquivos; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.UIManager.LookAndFeelInfo; import br.com.estacionamento.ui.FrameMovimento; public class App { public static void main(String[] args) { try { //aparncia do SO // UIM...
true
3deb7d2329bc424bee3e0ad72e888052150905d0
Java
aidnurs/Java-Calculator
/src/swing/SwingAccumulator.java
UTF-8
1,230
3.25
3
[]
no_license
package swing; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class SwingAccumulator extends JFrame{ private JTextField tfInput, tfOutput; private int sum=0; public SwingAccumulator() { Container panel=getContentPane(); panel.setLayout(new GridLayout(2,2,5,5)); panel.add(new...
true
7df639382062e75798d89df0218e3c55e90bbb78
Java
Data-Q7/WebServices
/src/main/java/interfaces/impls/SearchImpl.java
UTF-8
1,413
2.640625
3
[]
no_license
package interfaces.impls; import java.sql.SQLException; import java.util.ArrayList; import java.util.Calendar; import java.util.logging.Level; import java.util.logging.Logger; import database.CityDB; import database.FlightDB; import interfaces.Search; import objects.Flight; import spr.objects.City; import utils.GMTCal...
true
51f319f30d1a845951a8618f0132e60ed4f455fd
Java
Sunsanity/miaosha
/src/main/java/com/miaoshaproject/miaosha/service/UserService.java
UTF-8
489
1.820313
2
[]
no_license
package com.miaoshaproject.miaosha.service; import com.baomidou.mybatisplus.extension.service.IService; import com.miaoshaproject.miaosha.db.User; import com.miaoshaproject.miaosha.error.BusinessException; import com.miaoshaproject.miaosha.response.CommonReturnType; /** * <p> * 服务类 * </p> * * @author jobob * @...
true
b3ea09b4537e791ad78f8f74546d0c5c05c7b6f2
Java
bellmit/dingyi
/pig-modules/pig-yd-service/src/main/java/com/zhidianfan/pig/yd/moduler/resv/controller/BusinessCustomerAnalysisInfoTaskController.java
UTF-8
1,110
1.898438
2
[]
no_license
package com.zhidianfan.pig.yd.moduler.resv.controller; import com.zhidianfan.pig.yd.moduler.resv.dto.CommonRes; import com.zhidianfan.pig.yd.moduler.resv.task.BusinessCustomerAnalysisTask; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springf...
true
d8812ab9c302a27c4e4779e026603d5215ab3239
Java
Moriarty0909/mytest
/src/main/java/com/ccssoft/controller/TurnController.java
UTF-8
1,201
2.265625
2
[]
no_license
package com.ccssoft.controller; import com.ccssoft.model.User; import com.ccssoft.service.IUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; im...
true
3c49e659f45783b6167e06805e22513d0c383212
Java
bakanov/geo2tag
/src/tracker/clients/android/src/ru/spb/osll/gui/RadioButtonDialog.java
UTF-8
912
2.6875
3
[]
no_license
package ru.spb.osll.gui; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; public class RadioButtonDialog{ protected Context myContext; private String myTitle; private String[] myItems; private int mySelectedItem; public RadioButtonDialog(Context context, ...
true
94dd2a3ae56ca650e6302cd7c12f6667bdc58ec3
Java
hengdii/practice
/src/main/java/com/jiaty/demo/lock/SynchronizedTest.java
UTF-8
2,149
3.265625
3
[]
no_license
package com.jiaty.demo.lock; import com.jiaty.demo.design.patterns.singleton.SingletonFactory; import lombok.SneakyThrows; import org.apache.tomcat.util.threads.ThreadPoolExecutor; /** * @program: practice * @description: * @author: Jiaty * @create: 2021-03-25 11:13 **/ public class SynchronizedTest { /** ...
true
75fe2ef65dfc4e81fa7f41347c38c2266b782fb5
Java
sys-marsaoui/mobileTGT
/src/com/esprit/pidev/services/OrganisationsService.java
UTF-8
6,599
2.234375
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.esprit.pidev.services; import com.codename1.io.CharArrayReader; import com.codename1.io.ConnectionRequest; import com.code...
true
c82ba59c1c0fb01c8ea41979e7391f9b7a8e14c0
Java
IssacChueng/firstRepository
/classestest/src/main/java/com/issac/administrator/classestest/BitMapLoader.java
UTF-8
5,433
2.375
2
[]
no_license
package com.issac.administrator.classestest; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.os.Handler; import android.os.Message; import android.util.Log; import android.util.LruCache; import android.widget.ImageView; import android.widget.ListView; ...
true
678f71a010e457420221a43e2bf054cb34a48c07
Java
luobin1/flowerWorld_v2
/src/main/java/com/flower/service/PoveSerivce.java
UTF-8
153
1.804688
2
[]
no_license
package com.flower.service; import java.util.List; import com.flower.entity.Pove; public interface PoveSerivce { public List<Pove> findAllPove(); }
true
43dd1d9c14f9d9bd24d9d5fddcbdd66a647bccfd
Java
Novelot/demo_gps
/app/src/main/java/com/novelot/demo/gps/LocationUpdatesListener.java
UTF-8
823
2.125
2
[]
no_license
package com.novelot.demo.gps; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; import android.util.Log; /** * Created by 刘云龙 on 2016/5/20. */ public class LocationUpdatesListener implements LocationListener { @Override public void onLocationChanged(Locati...
true
d8599bafa8d9ccd5f92fe7b284993a95e29b839a
Java
sairamsagar7/HexaSept
/lambdaexpressions (1)/Lamdba3.java
UTF-8
284
3.078125
3
[]
no_license
interface ITest { int mult(int a,int b); } public class Lamdba3 { public static void main(String[] args) { ITest t1=(a,b)->(a*b); System.out.println("Mult is " +t1.mult(12,5)); ITest t2=(int a,int b)->{ return (a+b); }; System.out.println(t2.mult(12,5)); } }
true
e45940a7fc021cfb97370e521dc4884f73a50b33
Java
abejfehr/magic-realm
/src/com/magicrealm/client/ui/screen/Lobby.java
UTF-8
12,412
2.125
2
[ "MIT" ]
permissive
package com.magicrealm.client.ui.screen; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import j...
true
a0645647a7a760ab5bc7b56ad106ed786f9fadae
Java
gradesystem/grade-upload
/src/main/java/org/grade/client/upload/dsl/Dsl.java
UTF-8
648
1.960938
2
[]
no_license
package org.grade.client.upload.dsl; import javax.ws.rs.WebApplicationException; import org.grade.client.upload.Deployment; import org.grade.client.upload.UploadType; public class Dsl { @FunctionalInterface public static interface TypeClause { TargetClause with(UploadType type); } @FunctionalInterfac...
true
3bf07bb2bac5fb7de6388a75906a19836ab69345
Java
tapisha29/python
/HSDuplicateLookbookTest.java
UTF-8
2,153
2.390625
2
[]
no_license
package com.highstreet.login.auto.test; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import com.highstreet.login.auto.util.HighStreetConstants; public class HighStreetDuplicateLookbookTest { sta...
true
230cb2c1fb041d1624c72b0cdf8ca87bb1124229
Java
sunvodz/SEPayment
/server/src/main/java/com/application/SE/Entity/Payer.java
UTF-8
553
2.328125
2
[]
no_license
package com.application.SE.Entity; import lombok.*; import javax.persistence.*; @Data @Entity @Getter @Setter @NoArgsConstructor @ToString @EqualsAndHashCode @Table(name="Payer") public class Payer { @Id @SequenceGenerator(name = "payer_seq", sequenceName = "payer_seq") @GeneratedValue(strategy = Genera...
true
1f2c6d7b64f405beeacda595f254393e195c9a80
Java
bubblehack/onlinecourts2017
/src/ilt/playground/ClauseParser.java
UTF-8
4,460
2.609375
3
[]
no_license
package ilt.playground; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Scanner; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPan...
true
7d0bcb461da8346d13d5a8bc92cc436852549785
Java
xian1522/codegen20190601
/codegen/src/main/java/com/wj/codegen/javabean/InnerCalss.java
UTF-8
3,460
2.640625
3
[]
no_license
package com.wj.codegen.javabean; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import com.wj.codegen.util.OutputUtilities; public class InnerCalss extends JavaElement { private List<Field> fields; private List<Method> me...
true
4aaa4748af4a0b89ea42039ace2b3450a9f257b8
Java
arsuriya/akka-actor-io
/transmitter/src/main/java/net/ars/io/actor/NoE.java
UTF-8
1,184
2.171875
2
[ "Unlicense" ]
permissive
package net.ars.io.actor; import scala.concurrent.Await; import scala.concurrent.Future; import akka.actor.ActorRef; import akka.actor.ActorSelection; import akka.actor.Props; import akka.util.Timeout; import com.typesafe.config.Config; public class NoE extends ArsUntypedSupervisorActor { private final int deviceE...
true
6eda20f74a6271b348446296fdcd7baaadbdc013
Java
kSzczuchniak/TestAutomationFW
/src/main/java/Testing/loginPage.java
UTF-8
1,718
2.03125
2
[]
no_license
package Testing; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; //import pageObjects.ForgotPassword; public class loginPage { public WebDriver driver; By signin=By.xpath("//div[@class='user-links']/a"); By email=By.xpath("//input[@id='username']"); B...
true
34be4af9917601b29041aa651a68c9364c7761c1
Java
uk-gov-mirror/companieshouse.dissolution-api
/src/test/java/uk/gov/companieshouse/fixtures/BarcodeFixtures.java
UTF-8
599
2.171875
2
[ "MIT" ]
permissive
package uk.gov.companieshouse.fixtures; import uk.gov.companieshouse.model.dto.barcode.BarcodeRequest; import uk.gov.companieshouse.model.dto.barcode.BarcodeResponse; public class BarcodeFixtures { public static BarcodeRequest generateBarcodeRequest() { final BarcodeRequest request = new BarcodeRequest()...
true
794df3c14f9a81a9f3b2e2613578ea4a7ad2b696
Java
linkhub-sdk/popbill.sdk.java
/src/main/java/com/popbill/api/FaxService.java
UTF-8
63,287
2.109375
2
[ "MIT" ]
permissive
package com.popbill.api; import java.io.File; import java.util.Date; import com.popbill.api.fax.FAXSearchResult; import com.popbill.api.fax.FaxResult; import com.popbill.api.fax.Receiver; import com.popbill.api.fax.SenderNumber; /** * Fax Service Interface. * * @author KimSeongjun * @version 1.0.0 */ public in...
true
bf0de2ac966e8b499c02faff126de63410663499
Java
Sanam-Lama/AsyncTaskExample
/app/src/main/java/com/example/asynctask/MainActivity.java
UTF-8
3,710
3
3
[]
no_license
package com.example.asynctask; import android.app.ProgressDialog; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; pub...
true
c9ce36e53968f8497ee40ce8bf4bafdc24abfd10
Java
G-Pride/SpringCloud
/config-consumer-ribbon-hystrix/src/main/java/com/hystrix/demo/controller/HystrixController.java
UTF-8
767
1.859375
2
[]
no_license
/** guozh * 2019年9月8日 */ package com.hystrix.demo.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import org...
true
b4e4792f2403d99e80535113348dad33aa7e333e
Java
ltg263/LtgMvpRxJava
/app/src/main/java/com/ltg/ltgmvprxjava/ui/fragment/mainHome/MainHomeContract.java
UTF-8
467
1.8125
2
[]
no_license
package com.ltg.ltgmvprxjava.ui.fragment.mainHome; import com.ltg.ltgmvprxjava.mvp.BasePresenter; import com.ltg.ltgmvprxjava.mvp.BaseView; /** * MVPPlugin * 邮箱 784787081@qq.com */ public class MainHomeContract { interface View extends BaseView { void startLoginC(String ok); void startLoginS(...
true
65c18a90170cfed76f0d033cd789dbc375bde946
Java
shygoo/emuname
/emuname/src/emuname/ENMethod.java
UTF-8
96
1.640625
2
[ "MIT" ]
permissive
package net.shygoo.emuname; public abstract interface ENMethod { public void run(ENEvent e); }
true
824f0580f1d9b11a5f42da6f0cac3e11c6baca1f
Java
zh8637688/ChatView
/widget/src/main/java/cz/chatview/uitls/FIFOList.java
UTF-8
3,105
3.109375
3
[]
no_license
package cz.chatview.uitls; import android.util.Log; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; /** * <先进先出列表> * * @author haozhou */ public class FIFOList<T> { /** * 同步锁 */ private Object mLock = new Object(); private ArrayList<T> mDatas = new...
true
1482a00ad45bd2334d2035f60aa0a9543aa44b5c
Java
xiaomaomogu/PicqBotX
/src/test/java/cc/moecraft/test/fools/commands/CommandHelp.java
UTF-8
1,130
2.078125
2
[ "MIT" ]
permissive
package cc.moecraft.test.fools.commands; import cc.moecraft.icq.command.CommandProperties; import cc.moecraft.icq.command.interfaces.GroupCommand; import cc.moecraft.icq.event.events.message.EventGroupMessage; import cc.moecraft.icq.sender.message.components.ComponentImage; import cc.moecraft.icq.user.Group; import cc...
true