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
ce46617f891dbbd89b9e9a79322bdb48a6f76a48
Java
lestseeandtest/Delivery
/sources/p076c/p112d/p134b/p135a/p235c/p237d/p238a/C6201c.java
UTF-8
6,056
1.554688
2
[]
no_license
package p076c.p112d.p134b.p135a.p235c.p237d.p238a; import com.google.api.client.auth.oauth2.C7208a; import com.google.api.client.auth.oauth2.C7208a.C7209a; import com.google.api.client.auth.oauth2.C7208a.C7210b; import com.google.api.client.auth.oauth2.C7215f; import com.google.api.client.auth.oauth2.C7221i; import co...
true
6765cbbf2d650fd38740bf9d0d4e3b61e07287e0
Java
jncorporate1/DunkeyDelivery-Android
/app/src/main/java/app/com/dunkeydelivery/abstracts/EventBusFragment.java
UTF-8
1,076
2.109375
2
[]
no_license
package app.com.dunkeydelivery.abstracts; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import app.com.dunkeydelivery.activities.Activities; /** * Created b...
true
2bd96b5f94ccf4506d77a9ab91a13a573a61be8c
Java
avh4/outline-android
/app/src/main/java/net/avh4/outline/events/Add.java
UTF-8
2,742
2.609375
3
[]
no_license
package net.avh4.outline.events; import android.support.annotation.NonNull; import com.fasterxml.jackson.core.JsonGenerator; import net.avh4.Event; import net.avh4.json.FromJsonObject; import net.avh4.json.FromJsonValue; import net.avh4.json.JsonObjectReader; import net.avh4.json.JsonValueReader; import net.avh4.outli...
true
1f4bbc15fb6899bec6ede29fc88f47bd61df1ed2
Java
youngmonkeys/ezyhttp
/ezyhttp-server-core/src/main/java/com/tvd12/ezyhttp/server/core/util/DoPostAnnotations.java
UTF-8
901
2.046875
2
[ "Apache-2.0" ]
permissive
package com.tvd12.ezyhttp.server.core.util; import com.tvd12.ezyfox.io.EzyStrings; import com.tvd12.ezyhttp.core.constant.Constants; import com.tvd12.ezyhttp.core.constant.ContentTypes; import com.tvd12.ezyhttp.server.core.annotation.DoPost; public final class DoPostAnnotations { private DoPostAnnotations() {} ...
true
cfd2f947d7f30bede0d867695a317583714e0dd1
Java
ti-net/test
/src/main/java/com/tinet/test/lizheng/Test.java
UTF-8
317
1.570313
2
[]
no_license
package com.tinet.test.lizheng; public class Test { public static void main(String[] args) { System.out.println("2016-8-20 第一次分支提交"); System.out.println("2016-8-20 第二次分支提交"); System.out.println("2016-8-20 第三次分支提交"); System.out.println("改了这个文件"); } }
true
fb46016257171494d9bbaf5be12a2155653e13ea
Java
bellmit/CEPM360
/src/com/pm360/cepm360/app/common/custinterface/CustomViewInterface.java
UTF-8
154
1.554688
2
[]
no_license
package com.pm360.cepm360.app.common.custinterface; public interface CustomViewInterface extends BaseWidgetInterface { public void setDefaultData(); }
true
81fc1b59d7d43c0529844c22a6351a15b5dbb50e
Java
itsolutionscorp/AutoStyle-Clustering
/assignments/java/proj1/src/605/ngordnet/WordNet.java
UTF-8
2,550
2.828125
3
[]
no_license
package ngordnet; import edu.princeton.cs.introcs.In; import java.util.HashMap; import java.util.Set; import java.util.TreeSet; import java.util.ArrayList; import edu.princeton.cs.algs4.Digraph; public class WordNet { private HashMap<Integer, ArrayList<String>> wordID ...
true
fa56933d91ef85b17f9bd76b1dd5096b219aeaef
Java
Azure/azure-sdk-for-java
/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/models/Sims.java
UTF-8
12,034
1.90625
2
[ "LicenseRef-scancode-generic-cla", "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-or-later", "CC0-1.0", "BSD-3-Clause", "UPL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mobilenetwork.models; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure....
true
5703fa06745f18f410c72a9d4d6c1140b8c0daec
Java
IrynaSkiba/Booking
/src/main/java/itechart/booking/repository/TariffRepository.java
UTF-8
303
1.945313
2
[]
no_license
package itechart.booking.repository; import itechart.booking.model.Tariff; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface TariffRepository extends JpaRepository<Tariff,Long> { Tariff getById(Long id); }
true
5fecc625818f1e998554580a029bc9cacdf27f69
Java
yuki0317/Kibrary
/src/main/java/io/github/kensuke1984/kibrary/inversion/Physical1DParameter.java
UTF-8
1,975
2.8125
3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
package io.github.kensuke1984.kibrary.inversion; import io.github.kensuke1984.kibrary.util.spc.PartialType; /** * * Elastic parameter (one dimension) * 1次元として使う 摂動点の位置(半径位置)、 摂動の種類(PartialType) Unknown parameter for 1D weighting * should be a thickness of a layer * <p> * This class is <b>IMMUTABLE</b> * * ...
true
62d958e4526d55cf4fc8f0e2a16352bf22d57e12
Java
lovelyunsh/AlgoJava
/백준/src/Gold/G3_2933미네랄.java
UTF-8
5,501
3.28125
3
[]
no_license
package Gold; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Queue; import java.util.StringTokenizer; public class G3_2933미네랄 { static char map[][]; static int R, C; static int dr[] = {0, -1,...
true
7ea731017e914acd63b6fcd63f4193703ce75546
Java
HamZigga/caesar-cipher
/src/com/company/service/CaesarCipherService.java
UTF-8
1,310
3.1875
3
[]
no_license
package com.company.service; public class CaesarCipherService { public static char[] decryption(String textForDecryption, int encryptionKey, final char[] LOWERCASE_ALPHABET_ARRAY, final char[] UPPERCASE_ALPHABET_ARRAY) { char[] textChar = textForDecryption.toCharArray(); for (int i = 0; i < textC...
true
e5c9dcc25d40a5566dd328c1aa0b281d8024961c
Java
sallykrwi/EnglishForKids
/app/src/main/java/com/lotus/englishforkids/learn5.java
UTF-8
1,944
2.0625
2
[]
no_license
package com.lotus.englishforkids; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.view.View; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.Button; i...
true
792cf7e9538997378c6d0b1b8980a857819b9b22
Java
Nedelosk/Modular-Machines
/src/main/java/modularmachines/api/recipes/IToolMode.java
UTF-8
106
1.945313
2
[ "MIT" ]
permissive
package modularmachines.api.recipes; public interface IToolMode { int ordinal(); String getName(); }
true
ae5f95538195193b8bd63d160101249187b58524
Java
rrdlpl/uva
/src/ProfessorLazy.java
UTF-8
1,098
2.984375
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class ProfessorLazy { public static void main(String []args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String...
true
fce6330194a90b6918c28964d7f5864e2f3b2044
Java
cha0107/springboot-mybatis-jpa-oracle
/src/main/java/com/transglobe/demo/model/TabAttr.java
UTF-8
1,837
2.203125
2
[]
no_license
package com.transglobe.demo.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.NotB...
true
2e04b12d916d98c6cab62f497202007139317c75
Java
cnsyear/java-juc
/src/main/java/com/cnsyear/day01/thread/ThreadSort.java
UTF-8
825
3.390625
3
[]
no_license
package com.cnsyear.day01.thread; /** * @Description: 线程顺序 * @Author: 趙小傑~~ * @Date: 2018/10/26 14:16 */ public class ThreadSort { public static void main(String[] args) throws InterruptedException { Thread thread1 = new Thread(()->{ System.out.println("thread 1"); }); Thre...
true
96443f7269dd163aef2037d6f2c336959857d9b1
Java
VinsonGuo/qihuoba
/app/src/main/java/com/yjjr/yjfutures/utils/DoubleUtil.java
UTF-8
3,364
2.96875
3
[]
no_license
package com.yjjr.yjfutures.utils; import org.apache.commons.lang3.math.NumberUtils; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.NumberFormat; /** * Created by hou on 2015/8/14. */ public class DoubleUtil { public static double parseDouble(String parserDouble) { try { ...
true
cdabe44c11ebe569ff5e3239e5fe80b7cc0c8fa2
Java
albertoirurueta/irurueta-numerical
/src/main/java/com/irurueta/numerical/optimization/DerivativeLineMultiOptimizer.java
UTF-8
14,082
2.5625
3
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2012 Alberto Irurueta Carro (alberto@irurueta.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
true
58a9fcac37f3cb232a03dd39f47abab80adae250
Java
ref-humbold/FITA-View
/src/main/java/fitaview/automaton/traversing/TopDownTraversing.java
UTF-8
2,528
2.9375
3
[ "MIT" ]
permissive
package fitaview.automaton.traversing; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Deque; import java.util.Map; import java.util.Queue; import fitaview.automaton.IllegalVariableValueException; import fitaview.automaton.Variable; import fitaview.tree.NodeType; import fitaview.tree.TreeNode; ...
true
bc2e50e6d0e9c9545bc670e4888568809684a451
Java
servicecatalog/oscm
/oscm-security/javasrc/org/oscm/security/ADMLoginModule.java
UTF-8
3,651
2.265625
2
[ "LicenseRef-scancode-proprietary-license", "CDDL-1.0", "MIT", "W3C", "GPL-1.0-or-later", "LGPL-2.0-or-later", "CDDL-1.1", "LGPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "Apache-1.1", "GPL-2.0-only", "Apache-2.0", "PostgreSQL", "EPL-1.0", "LicenseRef-scancode-unknown", ...
permissive
/******************************************************************************* * * Copyright FUJITSU LIMITED 2018 * * Author: pock ...
true
fcd6bfb0ccdd1ee5f78028a36f87972d663a5514
Java
kwon37xi/research-java8
/java-8-impatient/src/main/java/ch02_stream/exec/Exec13.java
UTF-8
881
3.421875
3
[]
no_license
package ch02_stream.exec; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; /* * 12번 문제를 filter/groupingBy,counting 과 조합 */ public class Exec13 { ...
true
29844df4f3344e91b38035d27537a2da195b2db6
Java
JoachimSall/approche-objet
/src/fr/diginamic/testenumeration/TestContinentAvecEnum.java
UTF-8
929
2.921875
3
[]
no_license
package fr.diginamic.testenumeration; import java.util.ArrayList; import java.util.List; import fr.diginamic.testenumeration.Ville; import fr.diginamic.testenumeration.Continent; public class TestContinentAvecEnum { public static void main(String[] args) { // TODO Auto-generated method stub List<Ville> ListeVi...
true
82d13cf260c62577b33007c8a0678f1c7e686c1c
Java
amarendra108/ehealthsystemamar
/eHealthSystemWeb/src/main/java/nirmalya/aathithya/webmodule/common/utils/StringConstands.java
UTF-8
232
1.585938
2
[]
no_license
package nirmalya.aathithya.webmodule.common.utils; public final class StringConstands { private StringConstands() { throw new IllegalStateException("Utility class"); } public static final String USERID = "USER_ID"; }
true
40289fd84c533cb80fe5dc393bd2e8b40fa70e14
Java
Ayushbendwal3/Java-Advance-Assignment3
/src/main/java/com/nagarro/javaAdvance/assignment3/servlet/ForgetPass.java
UTF-8
1,984
2.59375
3
[]
no_license
package com.nagarro.javaAdvance.assignment3.servlet; import java.io.IOException; import java.io.Serial; import javax.persistence.TypedQuery; import javax.servlet.ServletException; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servle...
true
dbbcc1c4c47aafa4eb4cf32cf0ac625da6f8268e
Java
MTM00/PAT
/radix/Main.java
UTF-8
1,915
3.296875
3
[]
no_license
package radix; import java.util.HashMap; import java.util.Scanner; public class Main { HashMap<Character,Integer> map; public Main() { this.map = new HashMap<Character,Integer>(); for(int i = 0; i <= 9; i++) { map.put((char)('0'+i), i); } for(int j = 0; j <=25; j++) { map.put((char)('a'+j), 10+j); }...
true
267ae0350724eee1006eaf692e0d21af938353e9
Java
MaximAndRandomNumbers/FirstSpringApp
/src/main/java/ru/kuznetsov/stories/config/SecurityConfig.java
UTF-8
1,826
2.046875
2
[]
no_license
package ru.kuznetsov.stories.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder...
true
87698d0fc9f711c87064cf45b9a860c0b1cbb457
Java
scratches/spring-data-gazillions
/src/main/java/hello/service/Customer989Service.java
UTF-8
219
1.546875
2
[]
no_license
package hello.service; import org.springframework.stereotype.Service; import hello.repo.Customer989Repository; @Service public class Customer989Service { public Customer989Service(Customer989Repository repo) { } }
true
e5fd1f6c3af4280ae1cd0502602e14446dca6d2f
Java
YaburovVV/lord-of-the-desert
/src/com/lotd/scanarioLoader/scenario/actions/Failed.java
UTF-8
334
1.875
2
[]
no_license
package com.lotd.scanarioLoader.scenario.actions; import com.lotd.scanarioLoader.Print; import com.thoughtworks.xstream.annotations.XStreamAlias; @XStreamAlias("failed") public class Failed extends Action { @Override public void apply() { } @Override public void print() { Print.print("Failed - game o...
true
5b9229d0062b615e60a027ff5b09a6dff1e8432c
Java
fgulan/NeuroAsteroids
/src/hr/fer/zemris/sm/evolution/representation/neuralNet/DeltaDistance.java
UTF-8
2,423
2.828125
3
[]
no_license
package hr.fer.zemris.sm.evolution.representation.neuralNet; import hr.fer.zemris.sm.evolution.population.Specie; import hr.fer.zemris.sm.evolution.representation.neuralNet.genotype.ConnectionGenotype; import hr.fer.zemris.sm.evolution.representation.neuralNet.genotype.NeuronConnection; /** * This class is used to m...
true
35fa7a9ce21baed9cd01bb081c7ec602475c8080
Java
praveenkumar11nov/BootApp
/src/main/java/com/example/demo/Model/Payments.java
UTF-8
1,543
2.171875
2
[]
no_license
package com.example.demo.Model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence.Table; @NamedQueries({ @NamedQuery(name="Payments.getAllPayments"...
true
2a6952a95c7f8f04e4c59e1cdb8731df4631daf2
Java
CechinaDenis/HomeWork
/Home_Works/Home_Works/src/employee_app/gui/service/Months.java
UTF-8
875
3.046875
3
[]
no_license
package employee_app.gui.service; /** * * @author Denis Cechina */ public enum Months { Jan ("Jan ( 01 )"), Feb ("Feb ( 02 )"), Mar ("Mar ( 03 )"), Apr ("Apr ( 04 )"), May ("May ( 05 )"), Jun ("Jun ( 06 )"), Jul ("Jul ( 07 )"), Aug ("Aug ( 08 )"), Sep ("Sep ( 09 ...
true
e4de5fdb63637f0c18dfdc6e05cc8d570c1850fb
Java
JaberBabaki/NetPood
/app/src/main/java/com/netpood/admin/netpoodapp/database/DataFakeMainItem.java
UTF-8
9,606
2.078125
2
[]
no_license
package com.netpood.admin.netpoodapp.database; import android.content.Context; import java.util.ArrayList; /** * Created by jaber Babaki on 7/21/2016. */ public class DataFakeMainItem { public static ArrayList<PostItem> getData(Context context){ ArrayList<PostItem> posts=new ArrayList<>(); for(...
true
f1132fbb33fa66954c670199f4f82061bac11f7f
Java
TranThanhMinh/clientfirst
/app/src/main/java/anhpha/clientfirst/crm/adapter/CalendarsAdapter.java
UTF-8
2,881
2.328125
2
[]
no_license
package anhpha.clientfirst.crm.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.Calendar; import java.util.List; import anhpha.clientfir...
true
77892062bbbf3c1de425abf789ea29b271baa2e6
Java
naeidxvTools/hibernate_2
/src/net/imwork/zhanlong/hibernate6/HibernateTest.java
UTF-8
2,769
2.828125
3
[]
no_license
package net.imwork.zhanlong.hibernate6; import net.imwork.zhanlong.util.HibernateUtil; import org.hibernate.Session; import org.hibernate.Transaction; import java.util.HashSet; import java.util.Set; /** * @author Administrator */ public class HibernateTest { public static void main(String[] args) { // ...
true
d19c1abbf4de3ca65e55954d8caf20940ae1e795
Java
twicks017/twicks
/Twickr/app/src/main/java/com/example/appleworksltd/twickr/DataObject/DataObject.java
UTF-8
6,458
2.0625
2
[]
no_license
package com.example.appleworksltd.twickr.DataObject; /** * Created by appleworksltd on 18/03/2017. */ public class DataObject { int id,rating; String name; String venue; String aproved; String date; String description; String imageUrl; String category; String promoter; String...
true
8ff91124cd8b4d36a098380367cb8ccb8caf01ba
Java
ramirezraph/QuizPlusPlusV2
/app/src/main/java/com/student/ramirez/quizplusplus/Quiz.java
UTF-8
1,717
2.578125
3
[]
no_license
package com.student.ramirez.quizplusplus; /** * Created by Ramirez on 1/26/2018. */ public class Quiz { private String quiz_id; private String quiz_title; private String quiz_owner; private String quiz_desc; private String quiz_questionsize; private String quiz_timer; public Quiz() { ...
true
1b06f910d1a1879b3873a0dd00be71c5450a2915
Java
leibing8912/BestPractice
/app/src/main/java/com/yy/bestpractice/dispatchingevents/CustomViewGroup.java
UTF-8
1,271
2.59375
3
[ "Apache-2.0" ]
permissive
package com.yy.bestpractice.dispatchingevents; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.widget.LinearLayout; /** * custom view group for dispatch events */ public class CustomViewGroup extends LinearLayout { privat...
true
3a9c9f0ac8ff25a73b21e276088f28b5703318a4
Java
ReaLLLL/LeetCode
/src/com/leetcode/section2/Solution103.java
UTF-8
1,417
3.40625
3
[]
no_license
package com.leetcode.section2; import java.util.LinkedList; import java.util.List; import java.util.Queue; /** * Given a binary tree, return the zigzag level order traversal of its nodes' values. * (ie, from left to right, then right to left for the next level and alternate between). * * @author alexsong * @vers...
true
2fa798f4dce0b95952f1b7a4b571e795573c026a
Java
brandonong66/APCS
/Lesson A09/Lab A9.1/Fibonacci.java
UTF-8
425
3.265625
3
[]
no_license
/** * * @author Brandon Ong * Period #3 */ /** Class for finding fibonacci number */ public class Fibonacci { /** * takes in a number n and finds the fibonacci number for that position * @param n - position number * @return - fibonacci number */ public int fib(int n) { //Your code goes here if(n...
true
aa96ee132aa31008713beeec59c7119ed572db45
Java
matheusfc77/Exercicios-POO
/Lista2EstruturasdeComando/src/Lista2EstruturasdeComando/Ex17.java
UTF-8
1,495
3.5625
4
[]
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 Lista2EstruturasdeComando; import java.util.Scanner; /** * * @author mathe */ public class Ex17 { public...
true
c66ea75112794c43740382d0c52613483dbfdfcd
Java
zyq11223/MyProjects
/[局域网工具箱]局域网抓包与网络攻击工具/源代码/源代码/HandleJpcap/Packages.java
UTF-8
2,308
2.296875
2
[]
no_license
package HandleJpcap; public class Packages { public int ID; public String version; //版本 public String priority; //优先权 public String header_length; //头长度 public String rsv_tos; //服务类型 public String TF; //区分服务:最大的吞吐量 public String RF; //区分服务:最高的可靠性 public String total_length; //数据包总长...
true
f967a48a0b222aec717d3385dfc74de55d6c64cc
Java
fr222cy/multi-docker
/src/main/java/se/filiprydberg/movie/importer/MovieImporter.java
UTF-8
3,496
2.734375
3
[]
no_license
package se.filiprydberg.movie.importer; import com.univocity.parsers.tsv.TsvParser; import com.univocity.parsers.tsv.TsvParserSettings; import se.filiprydberg.movie.model.Movie; import se.filiprydberg.movie.repository.MovieRepository; import java.io.File; import java.io.FileInputStream; import java.io.IOException; im...
true
a97cbe0f94e370c2cf4f0d094f7e2ea4d4f8284a
Java
AT-05/sfdc
/src/main/java/salesforce/salesforceapp/ui/quotes/AddQuoteLineItemPageLight.java
UTF-8
1,732
2.28125
2
[]
no_license
package salesforce.salesforceapp.ui.quotes; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.CacheLookup; import org.openqa.selenium.support.FindBy; import salesforce.salesforceapp.entities.p...
true
dfc719cb1cda48e46824eba9e3191a0b821a2932
Java
moutainhigh/eis
/standard/src/com/maicard/money/dao/AwardDao.java
UTF-8
683
1.90625
2
[]
no_license
package com.maicard.money.dao; import java.util.List; import org.springframework.dao.DataAccessException; import com.maicard.money.criteria.AwardCriteria; import com.maicard.money.domain.Award; public interface AwardDao { int insert(Award award) throws DataAccessException; int update(Award award)...
true
f7cea6c70ccd7df97c57345dae825b514a330ff5
Java
DUMAS67/Test-JPA
/src/main/java/TestConnexionJdbc.java
UTF-8
2,348
2.921875
3
[]
no_license
import java.util.Set; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import fr.diginamic.recensement.entites.Client; import fr.diginamic.recensement.entites.Emprunt; import fr.diginamic.recensement.entites.Livre; public class Tes...
true
4e5174af7d32509bb659120dd2ae925357813949
Java
pappist/guvnor
/guvnor-webapp/src/main/java/org/drools/guvnor/client/widgets/drools/decoratedgrid/SelectedCellValueUpdater.java
UTF-8
920
1.929688
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2011 JBoss 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 to in ...
true
cdd7c671c0efb0c72563bf4979384f87670e38b9
Java
alancota/gateway-developer-plugin
/gateway-export-plugin/src/main/java/com/ca/apim/gateway/cagatewayexport/tasks/explode/linker/IdentityProviderLinker.java
UTF-8
1,896
2.09375
2
[ "MIT" ]
permissive
/* * Copyright (c) 2018 CA. All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.ca.apim.gateway.cagatewayexport.tasks.explode.linker; import com.ca.apim.gateway.cagatewayconfig.beans.Bundle; import com.ca.api...
true
46f3d0861dff7d4ab9e972f8decfc1b384535a6c
Java
jsmith4925/Misc-Uni-Repository
/archive/Year 2/CS-230/A3/Artatawe-master/Artatawe-master/src/users/Sculpture.java
UTF-8
1,545
2.640625
3
[]
no_license
package users; /** * @author Sam Huxtable */ public class Sculpture extends Artwork { private double depth; private String material; private String[] adPhotos; /** * Constructs and instance of sculpture * @param seller * @param title * @param description * @param photo ...
true
0856aa45f8d7d0a5f65db79956f36b462e662c26
Java
sirisha-akula/CoreJavaRepo
/src/JDK8Streams/Student.java
UTF-8
715
3.71875
4
[]
no_license
package JDK8Streams; /* * Java 8 Stream's map: method is intermediate operation and consumes single element * form input Stream and produces single element to output Stream. * It simply used to convert Stream of one type to another. * * Map applies the mapper function on input Stream and generates the output Str...
true
741bab27d945446647ab3bb597f7c540cfb36c38
Java
shennarwp/NotizTuring
/src/test/java/notizverwaltung/validators/StringValidatorTest.java
UTF-8
1,776
3.203125
3
[]
no_license
package notizverwaltung.validators; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Testklasse fuer die Klasse StringValidator * * @author Tobias Gottschalk * @author Michelle Blau * * @version 1.0 */ class StringValidatorTest { /** * Testet, ob eine die Me...
true
e3d93b565340c27ac69a0e5bb15c14a04636a8e1
Java
JAWAwesome/Scouting
/app/src/main/java/com/production/jared/scouting/AutoMain.java
UTF-8
35,589
2.09375
2
[]
no_license
package com.production.jared.scouting; import android.app.Activity; import android.app.Dialog; import android.os.Handler; import android.support.v4.app.Fragment; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.LayoutInflater; import ...
true
d934a6a5f41caea02223d2335dd7bd036c532843
Java
CS-SI/Orekit
/src/test/java/org/orekit/propagation/events/NegateDetectorTest.java
UTF-8
3,554
2.203125
2
[ "MIT", "EPL-1.0", "Apache-2.0" ]
permissive
/* Copyright 2002-2023 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
true
16b0bb02fe51a151ae0c790c5432f953f92da712
Java
shawtung/Startup
/src/C.java
UTF-8
643
3.34375
3
[]
no_license
import java.util.*; public class C { public static void main(String[] args) { Map<String, List<Object>> map = new HashMap<String, List<Object>>(); List<Object> aList = new ArrayList<Object>(); aList.add(new A()); aList.add(new A()); map.put("1", aList); List<Object> bList = new ArrayList<Object>(); b...
true
5a7ad930a288c49e421edc0598b9aeb636edaf41
Java
V1c3nt3/AppGenesis
/app/src/main/java/br/edu/vicente/appgenesis/dao/PadraoDAO.java
UTF-8
3,117
2.78125
3
[]
no_license
package br.edu.vicente.appgenesis.dao; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; import java.util.List; import br.edu.vicente.appgenesis.model.Padrao; public class PadraoDAO { /...
true
f47f5e04c3efdc78496025adceb3947aecc6a3b4
Java
AlinRobot/webserviceInvoker
/src/main/java/cn/sonshou/wsinvoker/lang2/wsa/endpointreference/EndpointReference.java
UTF-8
1,012
2.65625
3
[]
no_license
package cn.sonshou.wsinvoker.lang2.wsa.endpointreference; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * WSA 端点引用 * @author sonshou */ public class EndpointReference { private List<ReferenceProperty> referenceProperties = new ArrayList<>(); private String namespace; public S...
true
de969080b7c2f114e5d39beabf5e4764eee34702
Java
zhaojunkai123/APP
/zhaojunkai/src/com/cn/service/StaffService.java
UTF-8
574
2.125
2
[]
no_license
package com.cn.service; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.cn.dao.StaffMapper; import com.cn.pojo.Staff; import com.cn.util.Pager; @Service("staffService") public class StaffService { @Resource(name="staffMapper") private StaffMapper staffM...
true
802850147f9fb726c5316c82cc749c7d1043a3e8
Java
VinodSKumar/onos-build
/yang-tools/plugin/tool/src/main/java/org/onosproject/yangutils/tool/exception/YangToolException.java
UTF-8
2,135
2.3125
2
[]
no_license
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
true
f81fa3721f3b37f9140cbbf675f140feaf9011f3
Java
Gatttest/shapeflyer-master
/shapeflyer-sample/src/main/java/com/cipherthinkers/shapeflyer_sample/SelectShapeActivity.java
UTF-8
5,798
2.234375
2
[ "Apache-2.0" ]
permissive
package com.cipherthinkers.shapeflyer_sample; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import com.cipherthinkers.shapeflyer.ShapeF...
true
370986710ae73398801e7b96bd63efbeb805600d
Java
finnhobson1/WeTheCuriousWebApp
/TurboConsent/src/main/java/com/turboconsulting/Security/MyUser.java
UTF-8
950
2.296875
2
[ "MIT" ]
permissive
package com.turboconsulting.Security; import com.turboconsulting.Entity.Account; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.User; import java.util.HashSet; import java.util.S...
true
6a190b1ad43d399db286d6687e35fff522e14416
Java
PupkovEgor/kr24
/src/main/java/auth/UserPut.java
UTF-8
1,501
2.921875
3
[]
no_license
package auth; import java.util.ArrayList; import java.util.List; public class UserPut { private final List<User> store = new ArrayList<>(); public User getUserByLoginPassword(final String login, final String password) { User result = new User(); for (User user : store) { ...
true
6783ec2dbad910f92e5cecda7636db57fa946512
Java
BrownC98/BCSD_Spring
/src/main/java/commons/interceptor/LoginInterceptor.java
UTF-8
1,858
2.453125
2
[]
no_license
package commons.interceptor; import org.springframework.ui.ModelMap; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
true
f2f9fcffd8f3da5bb6d0bca57180f02770d8e8c4
Java
cerner/common-kafka
/common-kafka/src/main/java/com/cerner/common/kafka/KafkaExecutionException.java
UTF-8
822
2.328125
2
[ "Apache-2.0" ]
permissive
package com.cerner.common.kafka; import java.io.IOException; import java.util.concurrent.ExecutionException; /** * Wrapper exception to indicate an error occurred while trying to submit to the destination * brokers. The exception may or not be recoverable. To see the list of possible exceptions encompassed can be f...
true
90fc46d80eec40135e63fefb2f4643c6d042354d
Java
asfajash/SriChakra
/shrichakra/src/main/java/com/ml/dbdao/DBDaoImpl.java
UTF-8
21,349
2.28125
2
[]
no_license
package com.ml.dbdao; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; ...
true
aa687ca7d44a469600497a4557439d947b38f9df
Java
PalakGupta5/kafeneio
/src/main/java/com/kafeneio/model/ModeOfPayment.java
UTF-8
920
2.3125
2
[]
no_license
package com.kafeneio.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="KAFENEIO_MODE_OF_PAYMENT") public class ModeOfPayment { ...
true
23d92f06dd756a53f481f9bb4d3186c8004f1042
Java
gpzhang/java-demo
/src/main/java/algorithm/tree/t6/Solution06.java
UTF-8
1,423
3.90625
4
[]
no_license
package algorithm.tree.t6; import java.util.Arrays; //旋转数组,分块有序,求出每一块中的最小值,进行下一块比较即可 public class Solution06 { public int minNumberInRotateArray(int[] array) { if (array == null || array.length == 0) { return 0; } int length, low, high, mid = 0; length = array.length; low = 0; high = length - 1; i...
true
278d5a64af5e4aad5175404b31201be6643db615
Java
psinghcan/base-webapp-batch
/src/main/java/com/psinghcan/basewebappbatch/batch/receipt/step3/Step3Tasklet.java
UTF-8
1,705
2.25
2
[]
no_license
package com.psinghcan.basewebappbatch.batch.receipt.step3; import com.psinghcan.basewebappbatch.repository.primary.DealRepository; import org.springframework.batch.core.StepContribution; import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import...
true
eaae700e8c12660e572c5c8c35f06eac63701de6
Java
moutainhigh/jkzx1
/servers/quant-server/quantlib/src/main/java/tech/tongyu/bct/service/quantlib/financial/instruments/options/DigitalCash.java
UTF-8
1,825
2.453125
2
[]
no_license
package tech.tongyu.bct.service.quantlib.financial.instruments.options; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import tech.tongyu.bct.service.quantlib.common.annotations.BctQuantSerializable; import tech.tongyu.bct.service.quantlib.common.enums.Option...
true
66eabfe1f140623aecd625362aece0b39cadda45
Java
LeonardoBsuir/signaly
/src/main/java/by/bsuir/ui/view/graphic/chart/GraphPainter.java
UTF-8
217
1.8125
2
[]
no_license
package by.bsuir.ui.view.graphic.chart; import by.bsuir.ui.view.graphic.view.GraphicView; import java.awt.Graphics; public interface GraphPainter { void paint(GraphicView graphicView, Graphics graphDrawer); }
true
0689ceab90cca2136eda0a5aea44eceb677f06f4
Java
nchen2211/JavaProjects
/Project4/Transaction.java
UTF-8
10,544
3.15625
3
[]
no_license
import java.util.Scanner; public class Transaction { private int transactionNum, amountInChips, totalCash, totalBet; private int oneOnHand, fiveOnHand, tfiveOnHand, hundredOnHand; private int [] betOne; private int [] betFive; private int [] betTfive; private int [] betHundred; private int betOnNumber, betCo...
true
914569a030731c35a1a913773a5ebec4eeff46e4
Java
gonzatorte/2015-AE-Gisel-Gonza
/Lab/mandaderos/scheduler/src/Map/Api/DistanceWebCrawler.java
UTF-8
8,913
2.28125
2
[]
no_license
package Map.Api; import Map.LightDistanceTable; import Map.Place; import com.almworks.sqlite4java.SQLiteConnection; import com.almworks.sqlite4java.SQLiteException; import com.almworks.sqlite4java.SQLiteStatement; import java.io.BufferedInputStream; import java.io.File; import java.io.IOException; import java.io.Input...
true
a22643b441ad1cac9933f795b6a4afbe41f2cdbf
Java
nikolaus013/LocalImpl
/Storage/src/main/java/LocalStorageImpl/Storage/BasicOps.java
UTF-8
4,420
2.671875
3
[]
no_license
package LocalStorageImpl.Storage; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.nio.file.NoSuchFileException; import org.apache.commons.io.FileUtils; import java.nio.file.*; import file.FileBasicOperation; import java...
true
8e13f54729d838abfe6cefa2e815e05b0a517f4c
Java
abdullah12/java
/event-handling.java
UTF-8
319
2.796875
3
[]
no_license
mylabel = new Label("Push a Button"); Button btn = new Button("change Label"); // Handle the action events for the First button. btn.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent ae) { Label.setText("button was clicked."); } });
true
0a54ca648e698de90b6b17ae5a71e32709846e23
Java
TheFatPanda97/Skip-The-Wait
/src/com/company/frame.java
UTF-8
6,171
2.5
2
[]
no_license
package com.company; import javax.swing.*; import java.awt.*; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; public class frame extends JFrame { static Color yellow = Color.decode("#FDD835"); static Color blue = Color.decode("#01579B"); CardLayout cl = new CardLayout(); JPan...
true
7e93a0a1205240def4ee2612ef9c1fc51a58a855
Java
v777779/jbook
/src/ch17/ex01/integra/Letters.java
UTF-8
998
3.25
3
[]
no_license
package ch17.ex01.integra; import lib.utils.IGenerator; import lib.utils.Pair; import java.util.Iterator; /** * Created by V1 on 3/27/2017. */ public class Letters implements IGenerator<Pair<Integer, String>>, Iterable<Integer> { private int size = 9; // размер генератора private int number = 1; ...
true
260bf7b20a4484b720e5a5f3bfcb5c65b99c8eda
Java
infinispan/infinispan
/core/src/main/java/org/infinispan/commands/remote/recovery/TxCompletionNotificationCommand.java
UTF-8
7,191
1.640625
2
[ "Apache-2.0", "LicenseRef-scancode-dco-1.1" ]
permissive
package org.infinispan.commands.remote.recovery; import static org.infinispan.commons.util.Util.toStr; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.concurrent.CompletionStage; import ...
true
9064ecc480c0a60668aa3492e8cb7f8a9ad54d6b
Java
KumarSaurabh604/RedBus_Assignment
/RedbusAssignment/src/test/java/TestFile/ModifyDateTest.java
UTF-8
2,075
2.28125
2
[]
no_license
package TestFile; import java.util.concurrent.TimeUnit; import org.apache.log4j.Logger; import org.testng.Assert; import org.testng.SkipException; import org.testng.annotations.Test; import PageFile.SearchBus_Page; import PageFile.ModifyDatePage; import Utils.BaseFIle; public class ModifyDateTest exten...
true
619179598791cba4952131bbc2510e303d327be0
Java
Spotlight-Technologies/Ingot
/app/src/main/java/com/spotlightapps18/masterielts/Adapters/VocabularyDetailsAdapter.java
UTF-8
5,175
2.265625
2
[]
no_license
package com.spotlightapps18.masterielts.Adapters; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widge...
true
ab68efd0ffb4f6ceeadde6e777729d9b78e5362b
Java
Jonneykang/dm-sprint2.0
/dm-common/dm-common-client/src/main/java/cn/dm/client/RestDmUserClient.java
UTF-8
2,159
1.664063
2
[]
no_license
package cn.dm.client; import cn.dm.pojo.DmUser; import cn.dm.fallback.DmUserClientFallBack; import java.util.List; import java.util.Map; import cn.dm.config.DmConfiguration; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; import org.springfr...
true
41ad5e6e5085a02acd052d705a8aa32cd537aef8
Java
Prithviprasad1997/hiringWheels
/src/main/java/com/upgrad/hiringWheels/services/UserService.java
UTF-8
401
2.046875
2
[]
no_license
package com.upgrad.hiringWheels.services; import com.upgrad.hiringWheels.Exception.UserAlreadyExistsException; import com.upgrad.hiringWheels.Exception.UserNotFoundException; import com.upgrad.hiringWheels.entities.Users; public interface UserService { public Users createUser(Users users) throws UserAlreadyExists...
true
5989e8b6e2c8c36420224242ec44b8d5bb3d60de
Java
Mando72/codeup-java-exercises
/src/grades/GradesApplication.java
UTF-8
3,398
3.34375
3
[]
no_license
package grades; import java.util.HashMap; import java.util.Scanner; public class GradesApplication { // method public static void CommandLineGame(HashMap<String, Student> students){ int total = 0; System.out.println("Welcome!"); System.out.println("Here are the students from GitHub."); ...
true
b2983298782e1ade66af943c4df15292a420221f
Java
rjuergen/bank
/src/main/java/de/jreichl/service/web/ITransactionWS.java
UTF-8
656
1.96875
2
[]
no_license
/* * License: Free to use. It's just a small project. * Feel free and use everything you want * */ package de.jreichl.service.web; import de.jreichl.service.exception.TransactionFailedException; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; /** * * @author Jür...
true
b1343e0445bded0d19216f98a9207f8a55bd1498
Java
Ezequiel-Ferreira/trabalho-testes-unitarios
/src/test/java/br/com/aula/BancoTest.java
UTF-8
5,791
2.84375
3
[]
no_license
package br.com.aula; import static org.junit.Assert.assertEquals; import java.util.Arrays; import org.junit.Assert; import org.junit.Test; import br.com.aula.exception.ContaJaExistenteException; import br.com.aula.exception.ContaNaoExistenteException; import br.com.aula.exception.ContaSemSaldoException; import br.c...
true
c9b0cf505f3a6f7fa2eda5efb295e25cfa742d51
Java
EightPillars/PathwayEditor
/src/org/pathwayeditor/visualeditor/selection/CentralSelectionHandle.java
UTF-8
1,890
2.078125
2
[ "Apache-2.0" ]
permissive
/* Licensed to the Court of the University of Edinburgh (UofE) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The UofE licenses this file to you under the Apache License, Version 2.0 (the "License")...
true
676525dd8b9a11bd8e39467d59372c3a5e4540e8
Java
Yimizhao/bookstore
/src/main/java/com/zym/bookstore/service/BookService.java
UTF-8
717
2
2
[]
no_license
package com.zym.bookstore.service; import com.zym.bookstore.domain.Book; import com.zym.bookstore.domain.ShoppingCart; import com.zym.bookstore.web.CriteriaBook; import com.zym.bookstore.web.Page; public interface BookService { public Page<Book> getPage(CriteriaBook criteriaBook); public Book getBook(int...
true
8839bf91738b9a1f7eb022613d95cc75cff3d0b7
Java
bmilcke/simplecsv
/src/test/java/me/landmesser/simplecsv/types/EnumConverterContainer.java
UTF-8
331
2.140625
2
[ "Apache-2.0" ]
permissive
package me.landmesser.simplecsv.types; import me.landmesser.simplecsv.CSVUseConverter; public class EnumConverterContainer { @CSVUseConverter(TestEnumConverter.class) private TestEnum myEnum; public TestEnum getMyEnum() { return myEnum; } public void setMyEnum(TestEnum myEnum) { this.myEnum = myE...
true
bf3e3942c0dfd66b95a9333165719abd40a01bae
Java
konovaliuk/Ponochevnii_Servlet_CruiseCompany_8
/src/main/java/ua/study/poject/cruise/persistance/dao/TicketDao.java
UTF-8
1,036
2.78125
3
[]
no_license
package ua.study.poject.cruise.persistance.dao; import ua.study.poject.cruise.entity.Ticket; import ua.study.poject.cruise.exceptions.GeneralCheckedException; import java.util.List; /** * The interface TicketDao defines an interaction contract with a Ticket entity */ public interface TicketDao { /** * Th...
true
1ee4463a2ab851001955aae325736b5b2ac4d3c6
Java
cckmit/com
/com/sunshine/monitor/system/ws/util/HeaderInterceptor.java
UTF-8
535
2.03125
2
[]
no_license
package com.sunshine.monitor.system.ws.util; import org.apache.cxf.binding.soap.SoapMessage; import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Message; import org.apache.cxf.phase.AbstractPhaseInterceptor; import org.apache.cxf.phase.Phase; public class HeaderInterceptor extends AbstractPhaseInte...
true
71cb2a08c3e0ccb56a6561f793fe229afad94fd8
Java
JorgeMartinezSepulveda/Practica_Entornos
/practica_2018-19/src/main/java/spacewar/WebsocketGameHandler.java
UTF-8
14,601
2.546875
3
[]
no_license
package spacewar; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent....
true
5f4a8c70e3fc4cac4a878e91f75e95fc852a3124
Java
abcgyb/demo
/demo-java8/src/main/java/com/example/demojava8/designmethod/abstractfactory/animal/Cat.java
UTF-8
239
2.578125
3
[]
no_license
package com.example.demojava8.designmethod.abstractfactory.animal; /** * @ClassName: Cat * @Description: 动物猫类接口 * @Author: GaoYueBin * @Date: 2019-12-06 16:18 * @Version 1.0 **/ public interface Cat { void eat(); }
true
0cf546a6b4e0b35a298fe6b6b32f9b7ed368927e
Java
wp529/EnglishApp
/src/main/java/com/pzhu/english/activity/GuideActivity.java
UTF-8
2,925
2.28125
2
[]
no_license
package com.pzhu.english.activity; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.util.Log; i...
true
e0acecca6d73bc0bd7f2fcaf8008ac91b9bd78c4
Java
mengxuying0426/xiangmu
/YanXiaoPei3/qqdemo/src/main/java/com/example/yanxiaopeidemo/Activity4/PaySucessActivity.java
UTF-8
1,094
1.984375
2
[]
no_license
package com.example.yanxiaopeidemo.Activity4; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import com.example.yanxiaopeidemo.R; public class PaySucessActivity extends AppCompatActivity { privat...
true
ab5e4d0ee584dff6ebdb44cba2ec453ea50de211
Java
andrew-sa/workspace-TesiTriennale
/TesiTriennale/src/servlets/DeleteInsertedData.java
UTF-8
4,029
2.640625
3
[]
no_license
package servlets; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServle...
true
a7f54570f4c8c3b1e7b00de8f10076a2445dc118
Java
liueleven/design-pattern
/src/main/java/com/liuleven/designpattern/headfirst20200510/chapter2/v1/Observer.java
UTF-8
239
2.71875
3
[]
no_license
package com.liuleven.designpattern.headfirst20200510.chapter2.v1; /** * @description: 观察者 * @date: 2020-05-17 10:07 * @author: 十一 */ public interface Observer { void update(float temp,float humidity, float pressure); }
true
2593ac5c726eae94ae7afea4e05320564618d7f6
Java
the-feds/LetsGetFed
/app/src/main/java/com/example/arvth/letsgetfed/Freezer.java
UTF-8
4,816
2.328125
2
[]
no_license
package com.example.arvth.letsgetfed; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.content.LocalBroadcastManager; import android.support.v7.app.AppCompatActivity; import ...
true
6313586e256ab6f202942815a5b3765705bc8139
Java
Hellcode48/CS-CoreLib2
/src/main/java/io/github/thebusybiscuit/cscorelib2/chat/json/ClickEventAction.java
UTF-8
292
1.929688
2
[ "MIT" ]
permissive
package io.github.thebusybiscuit.cscorelib2.chat.json; import java.util.Locale; public enum ClickEventAction { SUGGEST_COMMAND, RUN_COMMAND, OPEN_URL, COPY_TO_CLIPBOARD; @Override public String toString() { return name().toLowerCase(Locale.ROOT); } }
true
441aa383de7321b368aa9917dfc7d0672be5f650
Java
viclix10/AVTweetsApp
/app/src/main/java/com/codepath/apps/avtweetsapp/models/CurrentUser.java
UTF-8
4,318
2.28125
2
[]
no_license
package com.codepath.apps.avtweetsapp.models; import android.os.Parcel; import android.os.Parcelable; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import org.json.JSONException; import org.json.JSONObject; @Table(name = "CurrentUser") public class CurrentUser implements Par...
true
2c6470a3ab4211ca197508a43e69bc1ff4e08ce4
Java
natokratos/fiap-containerization
/src/main/java/com/fiap/api/types/SeedType.java
UTF-8
82
1.640625
2
[]
no_license
package com.fiap.api.types; public enum SeedType { ORDER, ORDER_ITEM, EMPTY }
true
37eef7853924c75bf8051ceb770907b655a754a1
Java
meituan/Firefly
/library/src/main/java/com/meituan/firefly/Types.java
UTF-8
6,648
2.9375
3
[ "Apache-2.0" ]
permissive
package com.meituan.firefly; import java.io.Serializable; import java.lang.reflect.*; import java.util.Arrays; /** * Utils for type resolve.<br> * Copy a lot of code from Gson shamelessly. */ public class Types { public static Class<?> getRawType(Type type) { if (type instanceof Class<?>) { ...
true
ffc2ea098d8c392f7c32dfc44ea811d09d3fe113
Java
jing201151603/NDK
/Live/app/src/main/java/com/dxhj/live/params/VideoParam.java
UTF-8
1,222
2.5
2
[]
no_license
package com.dxhj.live.params; /** * author: 陈永镜 . * date: 2017/8/8 . * email: jing20071201@qq.com * <p> * introduce:视频数据参数 */ public class VideoParam { private int width; private int height; private int cameraId; //码率 private int bitratel = 480000;//比特率480kbps //帧频 private int fps = ...
true