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
71989393a37736c73d733ff2943ac579c3edbe06
Java
Kkorrru/Look-Note
/app/src/main/java/com/example/looknote/ListViewAdapter.java
UTF-8
2,478
2.390625
2
[]
no_license
package com.example.looknote; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; public class ListViewAdapter exten...
true
26c71f3f4cc6c203827049bf156a0b8f4843f152
Java
mcdiae/kludje
/kludje-experimental/src/main/java/uk/kludje/experimental/collect/array/SingletonIterator.java
UTF-8
1,121
2.515625
3
[ "Apache-2.0" ]
permissive
/* * Copyright 2015 McDowell * * 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 writ...
true
8c00fd77ba6bd77234d8443a44b6eac68fad231c
Java
QiJiYinQiao/workspaces
/oasys/.svn/pristine/28/2884edbf12f75d54e0e8463ddd555d304bedf60c.svn-base
UTF-8
8,749
1.820313
2
[]
no_license
package com.oasys.model; // Generated 2015-12-11 13:36:55 by Hibernate Tools 4.0.0 import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Id; import javax.per...
true
e411060ea7a53a66c1b062f183bfcc34dcfa77f5
Java
luckysoftgo/datax-sync
/datax-admin/src/main/java/com/application/base/admin/service/impl/DataxPluginServiceImpl.java
UTF-8
597
1.5625
2
[]
no_license
package com.application.base.admin.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.application.base.admin.entity.DataxPlugin; import com.application.base.admin.mapper.DataxPluginMapper; import com.application.base.admin.service.DataxPluginService; import org.springframework...
true
feb2241cd5d13b14e41b5b08b6ec4fd7c19ae9b6
Java
ThiFeonir/estrutura-de-dados-2
/src/SIMPLEX/Linha.java
UTF-8
1,456
3.28125
3
[]
no_license
package SIMPLEX; import java.util.ArrayList; /** * Created by thial on 03/09/2017. */ public class Linha { double menor = 0; private ArrayList<Double> valores = new ArrayList<>(); public Linha(double[] array){ for (int i = 0; i <array.length ; i++) { valores.add(array[i]); }...
true
55cae291618377326fa495949b120ba43ca29b3c
Java
balaudt/zi
/src/main/java/zi/jam/y15/qual/CNew.java
UTF-8
2,989
2.703125
3
[]
no_license
package zi.jam.y15.qual; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.util.Stack; import org.apache.commons.lang3.text.StrBuilder; import com.google.common.collect.ImmutableMap; public class CNew { public static final...
true
4635b5e253153f061db941cb21847bce83d8df8e
Java
damogui/jbl_app_back
/core/src/main/java/hmap/core/signReceive/service/ISignReceiveService.java
UTF-8
477
1.609375
2
[]
no_license
package hmap.core.signReceive.service; import hmap.core.signReceive.dto.SignReceiveDTO; import net.sf.json.JSONObject; import java.util.Map; /** * @describe: * @author: guanqun.guo * @email: guanqun.guo@hand-china.com * @date: Create in 11:59 2017/6/1 */ public interface ISignReceiveService { /** * @...
true
78771831b8bac810784f9304b3e56a377d67a8b1
Java
coffey6/maintain
/src/main/java/online/zhaopei/myproject/sqlprovide/ecssent/GoodSqlProvide.java
UTF-8
8,779
1.9375
2
[ "MIT" ]
permissive
package online.zhaopei.myproject.sqlprovide.ecssent; import java.io.Serializable; import org.apache.ibatis.jdbc.SQL; import com.alibaba.druid.util.StringUtils; import online.zhaopei.myproject.domain.ecssent.Good; public class GoodSqlProvide implements Serializable { /** * serialVersionUID */ private static ...
true
a651500327937d2e3e54b8ebe3795b2f515e667d
Java
Naty558/Construccion_De_Software1
/src/SEMANA06_TEORICO/Ejercicio07.java
UTF-8
1,017
2.75
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package SEMANA06_TEORICO; import java.util.ArrayList; import java.util.Iterator; /** * * @author NATY */ class persona{ privat...
true
75d9cc978e35bc1415aaa0aab4e9c6176870b1e3
Java
bremerle3/cse431
/cse431-spring16-bremer/Labs/4/src/lab8/RefType.java
UTF-8
1,672
2.875
3
[]
no_license
package lab8; import java.util.Vector; import lab7.*; import java.util.Enumeration; import java.util.StringTokenizer; public class RefType extends TypeBridge { public Vector rname; public RefType (Vector rname) { this.rname = rname; } public RefType(String s) { this(encode...
true
28b57e3113dfd22541aee895f4b9dbb5c2dc3649
Java
LayneMobile/Stash
/library/stash/src/main/java/stash/subscribers/BaseSubscriber.java
UTF-8
3,393
2.265625
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2016 Layne Mobile, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
true
9a8f432e07a9df7d1a7fa1f51b6b4af214413de9
Java
asamm/lomaps-generator
/osmToolsBasic/src/main/java/com/asamm/osmTools/mapConfig/MapSource.java
UTF-8
1,872
2.65625
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.asamm.osmTools.mapConfig; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * * @author volda */ public class MapSource { // define xml file pri...
true
5d89951f788b36a5dfa06576addcb3a8ca2c8b7a
Java
iantal/AndroidPermissions
/apks/malware/app71/source/com/lepeng/fastjson/parser/deserializer/ClassDerializer.java
UTF-8
1,032
2.203125
2
[ "Apache-2.0" ]
permissive
package com.lepeng.fastjson.parser.deserializer; import com.lepeng.fastjson.JSONException; import com.lepeng.fastjson.parser.DefaultJSONParser; import com.lepeng.fastjson.parser.JSONLexer; import com.lepeng.fastjson.util.TypeUtils; import java.lang.reflect.Type; public class ClassDerializer implements ObjectDeseria...
true
2fb6f7715fd705c30389e1a3be954717e9de82d3
Java
WeTheInternet/xapi
/io/src/main/java/xapi/io/api/StringReader.java
UTF-8
2,906
2.90625
3
[ "BSD-3-Clause" ]
permissive
package xapi.io.api; import xapi.collect.fifo.Fifo; import xapi.collect.fifo.SimpleFifo; import xapi.log.X_Log; import xapi.string.X_String; /** * An implementation of {@link LineReader} designed to stream lines of text to one or more * delegate LineReaders. It also stores all input so that a new LineReader can be...
true
c8cd7832ce82bd29701e6cd962759e6626c5581a
Java
LilBreivik/ManagingTool
/resources/src/main/java/resources/components/elements/POJO/Schedule/LectureSchedulePOJOalt.java
UTF-8
1,080
2.1875
2
[]
no_license
package resources.components.elements.POJO.Schedule; import java.util.List; import resources.components.elements.POJO.Lecture.Timing.LectureDayTimingsPOJO; public class LectureSchedulePOJOalt { private String lectureName; private String lectureNameShortcut; private boolean isPractice; private List<Lectu...
true
e4800882b2628f4c910fe022f6afa846bd8266c6
Java
welin8154/HA
/src/ntou/hearingaid/sound/Speaker.java
UTF-8
5,127
2.328125
2
[]
no_license
package ntou.hearingaid.sound; import java.util.ArrayList; import ntou.hearingaid.parameter.Parameter; import ntou.hearingaid.peformance.PerformanceParameter; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.util.Log; /* * 將處理完成聲音進行輸出...
true
71c626b867a5099a5a226eb027710fe7b53836d4
Java
ashah23/game-project
/apcs/Driver.java
UTF-8
261
2.0625
2
[]
no_license
/*Name: *Date: *Period: *Teacher: *Description: */ package apcs; public class Driver { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("hello dylan"); } }
true
b2b263bb37cfe8414d05c4c750170f5c2b1414eb
Java
vannhan1345/C0220G1-NguyenVanNhan-module2
/java-web/Case_Study/case_study_furama/src/main/java/com/codegym/model/ContractDetail.java
UTF-8
1,344
2.484375
2
[]
no_license
package com.codegym.model; import javax.persistence.*; @Entity public class ContractDetail { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String number; private String amount; @ManyToOne private AccompanyingService accompanyingService; @ManyToOne ...
true
a7156c21db8a3ca554568115f6f8c6c6d2725cd4
Java
JustRyaan/library_jre8
/src/CD.java
WINDOWS-1252
1,427
3
3
[]
no_license
import java.time.Duration; public class CD extends ElectronicMedia { private CDType type; private Integer numTracks; private String artist; public CD(String stockID, String title, Double price, String publisher, String runtime, String typeofCase, CDType type, Integer numTracks, String ar...
true
d666ebb038b69e18bc690f6aab6e13f7f3c0628e
Java
ianujjain/HybridFramework
/HybridFramework/Main/main/Main.java
UTF-8
5,560
2.140625
2
[]
no_license
package main; import java.io.File; import java.io.IOException; import java.util.HashMap; import org.apache.log4j.Logger; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import com.aventstack.e...
true
ed8fee6b68b70aeb66c0465fd9340263134565fc
Java
IvanGreen/quiz
/src/main/java/studio/fabrique/quiz/services/QuizQuestionService.java
UTF-8
937
2.375
2
[]
no_license
package studio.fabrique.quiz.services; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import studio.fabrique.quiz.entities.Question; import studio.fabrique.quiz.entities.QuizQuestion; import studio.fabrique.quiz.repositories.QuizQuestionRepository; import...
true
8a647fd4f82bdf7e496eb6fed7d5e42eec873802
Java
songmingjun3/article
/Article/src/bean/Category.java
UTF-8
328
2.1875
2
[]
no_license
package bean; import annotation.Column; import annotation.Table; @Table(tableName = "t_category") public class Category { @Column(field ="category_id",type ="int(2)",defaultNull=false,primaryKey=true) private Integer categoryId; @Column(field="category_name",type = "varchar(20)") private String categoryNa...
true
5691528c3e91d2fec7a3b487a4e90fa8ab2ee922
Java
hsmnn/M526
/Theme2/Serie1/ex2/src/main/java/ch/epai/ict/m526/theme2/serie1/Composee.java
UTF-8
571
3.359375
3
[]
no_license
package ch.epai.ict.m526.theme2.serie1; public class Composee extends Piece { private int nombreMax; Composee(String nom, int nombreMax) { super(nom); this.nombreMax = nombreMax; } public int tailleMax() { return this.nombreMax; } public int taille() { return ...
true
aee9993da2a22adbc29bd9e23b9dd51c6f21c308
Java
AlfredLee1991/study
/src/main/java/com/framework/validate/role/MyRoleValidate.java
UTF-8
662
1.9375
2
[]
no_license
package com.framework.validate.role; import org.aspectj.lang.JoinPoint; import org.springframework.stereotype.Repository; import com.framework.validate.annotation.UserRole; import com.framework.validate.result.ValidateResult; /** * 功能描述:添加功能描述.<br/> * * #date: 2016年10月11日 上午8:49:50<br/> * #author 李旭...
true
822dd2c006c6ca4d6cb1da24291f27f821a18861
Java
iorproject/IOR
/src/ReceiptBodyRecognition/IReceiptBodyRecognition.java
UTF-8
371
2.03125
2
[]
no_license
package ReceiptBodyRecognition; public interface IReceiptBodyRecognition { // List<ApproveIndicator> getApprovedIdentifiers(); // String getTotalIdentifier(); String getTotalPrice(); boolean recognize(String content); // void setApproveIndicators(List<ApproveIndicator> approveIndicators); // void s...
true
ea3572ffc8ed86bfcbed88a3fe276f2bb71f48d1
Java
ystory/ehcache-core-2.6.11
/src/test/java/net/sf/ehcache/distribution/MulticastRMIPeerProviderTest.java
UTF-8
7,255
2
2
[]
no_license
/** * Copyright 2003-2007 Terracotta, 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 ...
true
ad99706097eb99d76be58bab3e6cc1d9375b0de6
Java
MounikaChava304/CS680
/hw03/test/src/edu/umb/cs680/hw03/StudentTest.java
UTF-8
2,318
2.859375
3
[]
no_license
package edu.umb.cs680.hw03; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import org.junit.jupiter.api.Test; public class StudentTest { @Test public void InStateStudentStatusisINSTATE() { Student intl = Student.createinStateStudent("M...
true
6866f3b2e1916c45dd3ddf70aa01000acacc457c
Java
wppfiyy/myapplication
/src/main/java/com/example/myapplication/contract/MyContract.java
UTF-8
581
1.882813
2
[]
no_license
package com.example.myapplication.contract; import com.example.myapplication.Ben.BannerBen; import com.example.myapplication.base.BaseModel; import com.example.myapplication.base.BaseView; import com.example.myapplication.net.CallBackInterface; public class MyContract { public interface IMainView extends BaseView...
true
027b8c500654ca79780ce99337c6864aa0706aaa
Java
yuf1011/jfs
/src/jfs/authentication/ntlm/message/NtlmMessageTypeValues.java
UTF-8
250
2.078125
2
[]
no_license
package jfs.authentication.ntlm.message; public class NtlmMessageTypeValues { public static final int NtLmNegotiate = 0x00000001; public static final int NtLmChallenge = 0x00000002; public static final int NtLmAuthenticate = 0x00000003; }
true
3532891be3fde01860f48c96dafd16832333d018
Java
mominirfan1990/GitJavaWorkplace
/Demos/loopassignment/src/whileloop.java
UTF-8
3,118
3.65625
4
[]
no_license
/* public class whileloop { public static void main(String[] args) { int i=1; while(i<10) { System.out.println("Hello"); i++; // i=i+1; // i+=1; } } } */ /* public class whileloop { public static void main(String[] args) { int i=110; while(i>=106) { System.out.println("Hello" + i...
true
64ae1cbcedc90cd50482838e11762b98c1bf2106
Java
Shivani69/SeleniumTrainingSession
/src/com/test/utility/TestUtil.java
UTF-8
1,301
2.640625
3
[]
no_license
package com.test.utility; import java.util.ArrayList; import com.excel.utility.Xls_Reader; public class TestUtil { static Xls_Reader reader; public static <reader> ArrayList<Object[]> getDataFromExcel() { ArrayList<Object[]> myData = new ArrayList<Object[]>(); try { reader = new Xls_Reader("C:/...
true
c3321cd7977147619b1f595a6c8f11d1a4a0be1a
Java
notCnectd/practice-java-leetcode
/src/com/bsdl/medium/_0430/Flatten_a_Multilevel_Doubly_Linked_List.java
UTF-8
1,347
3.609375
4
[]
no_license
package com.bsdl.medium._0430; import java.util.Stack; /* // Definition for a Node. class Node { public int val; public Node prev; public Node next; public Node child; }; */ class Node { public int val; public Node prev; public Node next; public Node child; } class Flatten_a_Multile...
true
6a92666ff401042d8e0499ca2b6bc55a08a1cbb6
Java
dsivaraman/userInfo
/src/main/java/com/siva/standup/userInfo/model/AccountProfile.java
UTF-8
1,889
2.328125
2
[]
no_license
package com.siva.standup.userInfo.model; import javax.persistence.*; import java.io.Serializable; @Entity @Table(name = "AccountProfile") public class AccountProfile implements Serializable { private long id; private String name; private String userName; private String password; private String co...
true
8caa2af1615ace7cb526979dd4191ec4cfacc4bf
Java
bdjss/dubbo-server
/src/main/java/org/david/dubbo/service/impl/HelloServiceImpl.java
UTF-8
410
2.3125
2
[]
no_license
package org.david.dubbo.service.impl; import org.david.dubbo.service.HelloService; /** * @author david * @date 2015.2.10 */ public class HelloServiceImpl implements HelloService { /** * 暴露的接口 * * @param name * @return */ @Override public String sayHello(String name) { ...
true
54ec07d44c137e20dc6656473fbd5661cff90a70
Java
tiwari-gaurav/FlipImage
/app/src/main/java/com/flipimage/response/Photo.java
UTF-8
11,827
1.835938
2
[]
no_license
package com.flipimage.response; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Photo implements Parcelable { @SerializedName("id") @Expose private Str...
true
dcda69928693625720245ac23c0b65fa7247fae1
Java
yugi0922/Laboratory
/java_gold/src/java_gold/chapter5/Sample5_18_6.java
UTF-8
302
2.859375
3
[]
no_license
package java_gold.chapter5; import java.util.stream.IntStream; import java.util.stream.Stream; public class Sample5_18_6 { public static void main(String[] args) { //6 IntStream -> Stream<Integer> IntStream stream6o = IntStream.of(1, 2, 3); Stream<Integer> stream6n = stream6o.boxed(); } }
true
942d8e2e5cdf941a7ed4403c1592f19d5564e661
Java
escapin/givenClauseLoop
/src/givenClauseLoop/core/Unifier.java
UTF-8
8,662
3.40625
3
[]
no_license
package givenClauseLoop.core; import java.util.*; import givenClauseLoop.bean.*; /** * @author Enrico Scapin * */ public class Unifier { /** * Returns a Map<Variable, Term> representing the most general unifier, MGU (i.e. * a set of variable/term pairs) or null which is used to indicate a failure to * fi...
true
c9e36dd4d7f72e0fbec31bfb7cf8e20b1da58395
Java
xieliang/spliceengine
/db-testing/src/test/java/com/splicemachine/dbTesting/unitTests/harness/BasicUnitTest.java
UTF-8
3,018
2.34375
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
/* * Apache Derby is a subproject of the Apache DB project, and is licensed under * the Apache License, Version 2.0 (the "License"); you may not use these files * 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 ...
true
4c2a65e4ac080b700240a7dbd5923aaca92dd6ed
Java
06112497liu/ssm
/common-dao/src/main/java/com/bbd/dao/WarnNotifierExtDao.java
UTF-8
569
1.78125
2
[]
no_license
package com.bbd.dao; import com.bbd.domain.WarnNotifier; import com.bbd.domain.WarnNotifierExample; import com.mybatis.domain.PageBounds; import org.apache.ibatis.annotations.Param; import java.util.List; public interface WarnNotifierExtDao { /** * 删除指定配置id下的预警通知人 * @param settingId * @return ...
true
3886d89a25b881d948f8ec77c410434ed36bb7e2
Java
T-Campbell18/Princeton
/COS226/Wordnet/DeluxeBFS.java
UTF-8
5,277
3.078125
3
[]
no_license
import java.util.Hashtable; import edu.princeton.cs.algs4.Digraph; import edu.princeton.cs.algs4.Queue; import edu.princeton.cs.algs4.Stack; public class DeluxeBFS { private static final int INFINITY = Integer.MAX_VALUE; private Hashtable<Integer, Boolean> marked; private Hashtable<Integer, Integer> edgeT...
true
cc50825712d95d526024611518a44391d89c238d
Java
hexianzhi/BookCollection
/app/src/main/java/com/example/gedune/bookcollection/net/MyHttpCallback.java
UTF-8
386
2.015625
2
[]
no_license
package com.example.gedune.bookcollection.net; import okhttp3.Call; /** * Created by zhengwen on 16/12/6. */ public interface MyHttpCallback<T> { /*** * 请求成功,httpcode 200,业务code ==1 * * @param data */ public void onResponse(Call call, Object data); /** * @param e */ ...
true
af2e0c8ed99917cacaf4bbb99a0f5a547696c609
Java
39179219huangtao/HuangTaoBlog
/JavaProject/hyc/hyc-order/order-api/src/main/java/com/hyc/shop/order/OrderCommentService.java
UTF-8
1,591
1.875
2
[]
no_license
package com.hyc.shop.order; import com.hyc.shop.order.bo.*; import com.hyc.shop.order.dto.OrderCommentCreateDTO; import com.hyc.shop.order.dto.OrderCommentPageDTO; import com.hyc.shop.order.dto.OrderCommentStateInfoPageDTO; import com.hyc.shop.order.dto.OrderCommentTimeOutPageDTO; import java.util.List; /** * 订单评...
true
47575f7f670098cfb1e16c0cdd632c97b67f7b30
Java
fuhongliang/Android-MeiWei
/app/src/main/java/com/ifhu/meiwei/ui/activity/order/OrderActivity.java
UTF-8
2,041
2.0625
2
[]
no_license
package com.ifhu.meiwei.ui.activity.order; import android.os.Bundle; import android.support.annotation.Nullable; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import com.ifhu.meiwei.R; import com.ifhu.meiwei.adapter.OrderAdapter; import com.ifhu.meiwei.bean.BaseEntity; i...
true
b82c1b4aa1563327d5e50101ca0430f04833a8c3
Java
hyb1234hi/reverse-wechat
/weixin6519android1140/src/sourcecode/com/tencent/mm/ui/KeyboardLinearLayout.java
UTF-8
2,841
1.820313
2
[]
no_license
package com.tencent.mm.ui; import android.content.Context; import android.util.AttributeSet; import com.tencent.gmtrace.GMTrace; import com.tencent.mm.sdk.platformtools.w; import com.tencent.mm.ui.base.OnLayoutChangedLinearLayout; public class KeyboardLinearLayout extends OnLayoutChangedLinearLayout { public Stri...
true
068f22cee9bbfa2096e8b7eec92d9b3c6708dfed
Java
surenpi/phoenix.webui.framework
/src/main/java/org/suren/autotest/web/framework/jdt/SuRenCompilerRequestor.java
UTF-8
2,775
2.15625
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
true
cddfdc12f8ee664073cde5dc3d8997b329f4ef04
Java
yyi/Spring-Security-Third-Edition
/Chapter13/chapter13.02-calendar/src/main/java/com/packtpub/springsecurity/web/access/expression/CustomWebSecurityExpressionRoot.java
UTF-8
798
2.203125
2
[ "MIT" ]
permissive
package com.packtpub.springsecurity.web.access.expression; import org.springframework.security.core.Authentication; import org.springframework.security.web.FilterInvocation; import org.springframework.security.web.access.expression.WebSecurityExpressionRoot; import javax.transaction.NotSupportedException; /** * @cr...
true
6553e09aae3392820557554f3fde4aecfb6cf1e9
Java
kingtian123456/goldtest
/src/com/entity/News.java
UTF-8
4,566
2.140625
2
[]
no_license
package com.entity; import java.util.Date; import java.util.List; public class News { private Integer newsId;//文章ID private Integer sortId;//所属类别ID private String newsTitle;//文章标题 private String newsIntro;//简介 private String newsAuthor;//作者 private String newsCopyfrom;/...
true
46fe6f7a35a8415bb1725be745cf19fbb6348ea4
Java
Movilizer/movilizer-webservice
/src/main/java/com/movilizer/mds/webservice/models/maf/communications/MafGenericResponse.java
UTF-8
665
2.0625
2
[ "Apache-2.0" ]
permissive
package com.movilizer.mds.webservice.models.maf.communications; import com.movilizer.mds.webservice.models.maf.MafGenericScript; public class MafGenericResponse extends MafResponse { ; private MafGenericScript genericScript; public MafGenericResponse(boolean successful, String errorMessage, ...
true
f2ac6b35bdfe9743445ad87e8084d76c28793568
Java
ayushjain7/hashTable
/HashCode.java
UTF-8
2,148
3.34375
3
[]
no_license
/** * Created by ayush on 10/9/15. */ public class HashCode { private String[] keys; private Object[] values; private int size; private int numberOfElements; public HashCode(int size){ this.size = size; this.keys = new String[size]; this.values = new Object[size]; } ...
true
f715ce24008ee7d0c87d3df52829dea9de99d926
Java
NikkiaOwens/Polymorphism-Farm
/src/test/java/com/zipcodewilmington/froilansfarm/Friday.java
UTF-8
3,428
3.09375
3
[]
no_license
package com.zipcodewilmington.froilansfarm; import com.zipcodewilmington.froilansfarm.Animal.Chicken; import com.zipcodewilmington.froilansfarm.Animal.Horse; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; public class Friday { Farm froilansFarm = new Farm(); ...
true
938e89ba10944ce03398360593d0bc4e457c9714
Java
project-socialcar/android-app
/SocialCar/app/src/main/java/eu/h2020/sc/ui/drawer/DrawerBuilder.java
UTF-8
2,759
2.296875
2
[ "MIT" ]
permissive
package eu.h2020.sc.ui.drawer; import android.content.res.TypedArray; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import java.util.ArrayList; import java.util.List; import eu.h...
true
147f343314ca363e605b2cfd2b745f606d43161c
Java
djgonza/Programacion
/UT3/Practicas/MaquinaExpendedoraMejorada/MáquinaExpendedora.java
ISO-8859-1
2,983
3.65625
4
[ "MIT" ]
permissive
/** * Este proyecto modela una sencilla mquina expendedora de billetes. * El precio del ticket se especifica via el constructor. * Los objetos verifican que un usuario solo introduce cantidades positivas de dinero y solo * emiten un ticket si se ha introducido suficiente dinero */ public class MquinaExpendedor...
true
4f0843066be67aba8c2cfe4f2a8f308134a873cb
Java
d591342/domino-jnx
/domino-jnx-jna/src/main/java/com/hcl/domino/jna/internal/views/ViewFormatDecoder.java
UTF-8
15,988
1.828125
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * ========================================================================== * Copyright (C) 2019-2021 HCL America, Inc. ( http://www.hcl.com/ ) * All rights reserved. * ========================================================================== * Licensed under the Apache License, Ve...
true
016b3fdcfed1e02c147d69d689561340aa4c421c
Java
sgalindocifpfbmoll/WordListSearch
/app/src/main/java/com/android/example/wordlistsql/WordItem.java
UTF-8
668
2.40625
2
[ "Apache-2.0" ]
permissive
package com.android.example.wordlistsql; public class WordItem { private int mId; private String mWord; private String definition; public WordItem() { } //<editor-fold desc="Getters and Setters"> public int getmId() { return mId; } public void setmId(int mId) { th...
true
725db192b3cf4b233e892044fa9af1fb860de5dc
Java
akash-gupta-146/IPSAA-v2.0
/src/main/java/com/synlabs/ipsaa/jpa/ZoneRepository.java
UTF-8
277
1.945313
2
[]
no_license
package com.synlabs.ipsaa.jpa; import com.synlabs.ipsaa.entity.center.Zone; import org.springframework.data.jpa.repository.JpaRepository; public interface ZoneRepository extends JpaRepository<Zone, Long> { Zone findOneByName(String zone); int countByName(String name); }
true
59db639569d64fd5c7a3a242e6661928ee7ac107
Java
lautit/elt_training
/Java/evaluacion_java_tejerina/src/edu/evalucion/java/utils/PedidoUtils.java
UTF-8
1,696
3.078125
3
[ "MIT" ]
permissive
package edu.evalucion.java.utils; import java.sql.Date; import java.util.Random; import edu.evalucion.java.dao.GestorDePedidos; import edu.evalucion.java.dao.exceptions.GestorDePedidosException; import edu.evalucion.java.objects.ItemPedido; import edu.evalucion.java.objects.Pedido; public class PedidoUtils { priv...
true
f8a7e804dfa24c7aff0ab8cfe5fbec26167eedc7
Java
4AAAA/JavaDemo
/src/dahuasjms/strategy/refact2/CashContext.java
UTF-8
1,051
3.390625
3
[]
no_license
package dahuasjms.strategy.refact2; import dahuasjms.strategy.refact2.impl.CashNormal; import dahuasjms.strategy.refact2.impl.CashRebate; import dahuasjms.strategy.refact2.impl.CashReturn; /** * 策略模式-上下文 * 结合简单工厂模式创建对象,把客户端选择对象的switch语句后移 * @author Macx * */ public class CashContext { /** * 声明策略对象 */ pr...
true
99e18c6b5c2a6741a9e4ae081cf32dbe38f18a45
Java
hjd7893git/idea_web
/src/com/util/Id.java
UTF-8
234
2.265625
2
[]
no_license
package com.util; public final class Id { private static String username; public static int id=1; public static String getUsername() { return username; } public static void setUsername(String user) { username = user; } }
true
ed83b735750361bbd4db7fb9626b51cc883ae744
Java
sander-adhese/prebid-server-java
/src/test/java/org/prebid/server/validation/ResponseBidValidatorTest.java
UTF-8
4,568
2.296875
2
[ "Apache-2.0" ]
permissive
package org.prebid.server.validation; import com.iab.openrtb.response.Bid; import org.junit.Before; import org.junit.Test; import org.prebid.server.bidder.model.BidderBid; import org.prebid.server.proto.openrtb.ext.response.BidType; import org.prebid.server.validation.model.ValidationResult; import java.math.BigDecim...
true
bb612b142d232b53fa2da8d99e28e28cd074cdfd
Java
AraxieMR/SimplePetAPI
/src/main/java/com/manheim/apprenticeship/service/PetsService.java
UTF-8
1,680
2.515625
3
[]
no_license
package com.manheim.apprenticeship.service; import com.manheim.apprenticeship.dao.model.Human; import com.manheim.apprenticeship.dao.model.Pets; import com.manheim.apprenticeship.dao.repository.PetsRepository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation...
true
cbfc2d20e31de0348730722478bcac296703c188
Java
stbland/stbland
/phonebook-gwt/trunk/src/main/java/org/stbland/phonebookgwt/server/PersonServiceImpl.java
UTF-8
2,520
2.671875
3
[]
no_license
package org.stbland.phonebookgwt.server; import java.util.AbstractList; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.stbland.phonebookgwt.bean.PersonDto; import org.stbland.phonebookgwt.client.service.PersonService; import org.stbland.phonebookgwt.shared.logger.Log...
true
9880a4122501b6c7cbffc86be9e397972c30dbd7
Java
zazilibarra/Herencia-y-Polimorfismo
/EjercicioPromedios/Planeta.java
UTF-8
472
2.734375
3
[]
no_license
import java.util.ArrayList; import java.util.Iterator; public class Planeta { private ArrayList<Pais>paises; public Planeta() { paises = new ArrayList<Pais>(); } public void añadePais(Pais p) { paises.add(p); } public float calculaPromHabitantes() { ...
true
845221c5f37bc031faca698ebb075cd447ec7ce4
Java
vandana00raj/jenkdemo
/jenksdemo/src/main/java/com/fiserv/controller/democontroller.java
UTF-8
138
1.6875
2
[]
no_license
package com.fiserv.controller; public class democontroller { public void display() { System.out.println("Welcome to Jenkins!"); } }
true
9a529e8b8efe82cfda2b42db861bd9cc4b87b5c5
Java
whatafree/JCoffee
/benchmark/bigclonebenchdata_completed/18991846.java
UTF-8
1,218
3.09375
3
[]
no_license
class c18991846 { public static void copyFile(File oldFile, File newFile) throws Exception { newFile.getParentFile().mkdirs(); newFile.createNewFile(); FileChannel srcChannel =(FileChannel)(Object) (new FileInputStream(oldFile).getChannel()); FileChannel dstChannel =(FileChannel)...
true
51d59a187cca6e97fd4a399c6aff16e9f567bb68
Java
vtinmetrics/SecureEdges
/SecureEdges2/src/br/com/secureedges/testes/Tipo_DispositivoDAOTeste.java
ISO-8859-1
1,635
2.359375
2
[]
no_license
package br.com.secureedges.testes; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.junit.Ignore; import org.junit.Test; import br.com.secureedges.core.dao.Tipo_DispositivoDAO; import br.com.secureedges.domain.Dispositivo; import br.com.secureedges.domain.Entidad...
true
cb8b80e6835da00e740c110e8ba49d5892902b33
Java
activateslikestacos/Banana
/src/us/thetaco/banana/commands/ToggleStaffModeCommand.java
UTF-8
1,785
2.828125
3
[]
no_license
package us.thetaco.banana.commands; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import us.thetaco.banana.Banana; import us.thetaco.banana.utils.Lang; public class ToggleStaffModeComma...
true
72b2f0ab933554dcf2e54826919bc1532100942e
Java
helospark/light-di
/src/main/java/com/helospark/lightdi/properties/converter/LongPropertyConverter.java
UTF-8
291
2.109375
2
[ "MIT" ]
permissive
package com.helospark.lightdi.properties.converter; import com.helospark.lightdi.properties.PropertyConverter; public class LongPropertyConverter implements PropertyConverter<Long> { @Override public Long convert(String property) { return Long.valueOf(property); } }
true
112eb1466f7c4d9f6fa94c6c1f018bd3b1a780cf
Java
rizalkusumajatinugroho/SimpleMovieApp
/app/src/main/java/com/smu/simplemovieapp/view/DownloadService.java
UTF-8
5,356
2.234375
2
[]
no_license
package com.smu.simplemovieapp.view; import android.app.Service; import android.content.Intent; import android.os.AsyncTask; import android.os.IBinder; import android.util.Log; import android.widget.Toast; import com.smu.simplemovieapp.db.DA_movie_detail; import com.smu.simplemovieapp.db.DA_movie_header; import com.s...
true
60b95e6a25a43aa6c4e0ae2de926c04666d1d422
Java
raguiarperez/Boletin-17
/Boletin17_1/src/boletin17_1/Boletin17_1.java
UTF-8
326
2.09375
2
[]
no_license
package boletin17_1; /** * * @author raguiarperez */ public class Boletin17_1 { public static void main(String[] args) { Gato gat=new Gato(); Mamífero mam=new Mamífero(); Papagaio pap=new Papagaio(); gat.caminar(); gat.nadar(); pap.caminar(); } ...
true
4a81860ded6dcf76bbc0521cc5ad6b652aca032a
Java
joel199583/EA103G4
/src/listeners/BookshopInitializer.java
UTF-8
7,191
2.140625
2
[]
no_license
package listeners; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming...
true
7a5d8d99946fa96798526918e22b541a7731a860
Java
gokulnarayanan95/FoodWasteManagement
/FoodWasteManagement/FoodWasteManagement/src/userinterface/Restaurant/SearchUpdateFoodItemJPanel.java
UTF-8
13,614
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 userinterface.Restaurant; import Business.Enterprise.RestaurantEnterprise; import Business.FoodItem.FoodItem; import Business....
true
1f22370818ddcbdb251dc6304413364854ea8a28
Java
Lehmakomm/Snake
/src/ee/itcollege/snake/game/GameField.java
UTF-8
1,642
3.0625
3
[]
no_license
package ee.itcollege.snake.game; import java.util.Timer; import java.util.TimerTask; import ee.itcollege.snake.elements.Apple; import ee.itcollege.snake.elements.Snake; import ee.itcollege.snake.lib.CollisionDetector; import javafx.application.Platform; import javafx.scene.control.Label; import javafx.scene.layout.Pa...
true
401040e266e453c8b9643ef58c8cc0cfaef5a9f0
Java
nostalgiaguy/SampleGit
/SampleGit/src/com/nostalgiaguy/coreconceptpage2/FinalClass.java
UTF-8
579
3.34375
3
[]
no_license
package com.nostalgiaguy.coreconceptpage2; //remove the comment and see what happens class A4 { //extends B{ public A4(){ System.out.println("I M HERE"); } } //! class Further extends B {} //error: Cannot extend final class 'B' final class B{ int i = 7; int j = 1; A4 x = new A4(); void ...
true
2b0a69ef4cabb2e7e6e62f5f42621a5c7e96765e
Java
yana-chaputina/SQLiteConnector
/src/test/java/ru/rosbank/javaschool/datasource/SqliteConnectorTests.java
UTF-8
4,499
2.015625
2
[]
no_license
package ru.rosbank.javaschool.datasource; import lombok.val; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver; import org.springframework.beans.factory.config.RuntimeBeanReference; import org.springframework.beans.factory.groovy.GroovyB...
true
20ae718131af3403f0eba5fb6fb315c1e23fa234
Java
Ksu1995/Dictionary
/app/src/main/java/com/ksenia/dictionary/data/network/data/TranslationResponse.java
UTF-8
407
2.03125
2
[]
no_license
package com.ksenia.dictionary.data.network.data; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by Samsonova_K on 31.05.2017. */ public class TranslationResponse { @JsonProperty("code") private int mResponseCode; TranslationResponse(int returnCode) { mResponseCode = returnCode; } Tra...
true
8894e5eb7931e0ed00b880b4e6ea9ec2fcaf1e8b
Java
wangadmin123/httpApp
/tyyh/src/cn/tyyhoa/pojo/OaXsbDailypaper2.java
UTF-8
1,402
2.09375
2
[]
no_license
package cn.tyyhoa.pojo; import java.util.Date; public class OaXsbDailypaper2 { //ID private Integer lifeID; //预习总个数 private Integer preparationCount; //上机总个数 private Integer obuCount; //课后共个数 private Integer homeworkCount; //年级ID编号 private Integer grade_id; //录入时间 p...
true
aa7b08b2852c9257a33d07ef008eb40ce6aac733
Java
cloudlu/lytz
/src/test/java/com/lytz/demo/PasswordServiceTest.java
UTF-8
1,082
2.15625
2
[]
no_license
/** * */ package com.lytz.demo; import static org.junit.Assert.*; import java.io.IOException; import lombok.extern.log4j.Log4j2; import org.apache.shiro.authc.credential.PasswordService; import org.junit.Test; /** * @author cloudlu * */ @Log4j2 public class PasswordServiceTest { private PasswordService ...
true
c4f2fef110254369bd78905e344015789aa80ef3
Java
sharan-sripada/Spring-CRM-REST
/src/main/java/com/springdemo/rest/CustomerRestController.java
UTF-8
1,573
2.4375
2
[]
no_license
package com.springdemo.rest; import com.springdemo.entity.Customer; import com.springdemo.service.CustomerService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping("/api") public class CustomerRest...
true
ab15d550d47812f02deb878771e49df946cb70ae
Java
colima/Acquire
/acquire/catissue-persistence/src/main/java/edu/wustl/catissuecore/namegenerator/LabelTokenForPpiUId.java
UTF-8
1,575
2.359375
2
[]
no_license
package edu.wustl.catissuecore.namegenerator; import edu.wustl.catissuecore.domain.Specimen; import edu.wustl.catissuecore.util.SpecimenUtil; import edu.wustl.common.util.KeySequenceGeneratorUtil; import edu.wustl.common.util.logger.Logger; import edu.wustl.dao.exception.DAOException; /** * The Class Labe...
true
cfad597c76963ff014f4dc102cac285a84f08eed
Java
zhangbin1995/leetcode
/leetcode/src/lc201_400/LeetCode300.java
UTF-8
892
3.25
3
[]
no_license
package lc201_400; /** * 最长上升子序列 * https://leetcode-cn.com/problems/longest-increasing-subsequence/submissions/ * 给定一个无序的整数数组,找到其中最长上升子序列的长度。 * * @author binzhang * @date 2019-08-17 */ public class LeetCode300 { public int lengthOfLIS(int[] nums) { if (nums.length <= 1) { return nums.len...
true
3c6b67484b1bc180df6e63bd6c06e79f61acee11
Java
adrianoqueiroz/owls-api
/src/test/java/org/mindswap/utils/ProcessDataFlowTest.java
ISO-8859-1
14,267
1.507813
2
[ "MIT" ]
permissive
/* * Created 29.10.2009 * * (c) 2009 Thorsten Mller - University of Basel Switzerland * * The MIT License * 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, includin...
true
bfbc8e8cc8b060019d8e025e0d57517befffe7ee
Java
CSSE490-Android-Development/SQLite-ScoreApp
/src/edu/rosehulman/example/ShowScores.java
UTF-8
3,810
2.359375
2
[]
no_license
package edu.rosehulman.example; import java.util.ArrayList; import java.util.Collections; import java.util.List; import android.app.Activity; import android.app.Dialog; import android.content.ContentValues; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuI...
true
15bf0d88faf4748554a18fcda50bd11194cab596
Java
unknow509/AppBanRuouJavaSwing
/src/Process/Item.java
UTF-8
423
2.0625
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 Process; /** * * @author admin */ public class Item { public int id; public String des; public Item() { } ...
true
0b3d2f0bf8695529d73d15939db51bfb783d0969
Java
abhinav0419/moborgmap
/src/main/java/com/mob/service/impl/TitleServiceImpl.java
UTF-8
591
1.984375
2
[]
no_license
package com.mob.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.mob.model.Title; import com.mob.repository.TitleRepository; import com.mob.ser...
true
db9c1a2ea42e9bf19a07b39db1772486d9951452
Java
the-widmore/WQmsg
/src/com/coderqi/publicutil/voice/Tip.java
UTF-8
153
1.609375
2
[]
no_license
package com.coderqi.publicutil.voice; import android.util.Log; public class Tip { public static void log(String msg) { Log.i("调试", msg); } }
true
d084877647eed1c2f2b217471d39f87b23c4d071
Java
M-CREATE-ART/HWTABS
/src/main/java/app/HW10/Entity/Human.java
UTF-8
3,930
3.265625
3
[]
no_license
package app.HW10.Entity; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.Period; import java.time.ZoneId; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; public class Human { private String name; private String surname;...
true
6b34281b33510bc83ef9d7be1ad8829d53088a6f
Java
moodrain/secondhand-trade
/src/main/java/muyu/trade/enumeration/GoodsStatus.java
UTF-8
467
2.578125
3
[]
no_license
package muyu.trade.enumeration; public enum GoodsStatus { selling(1, "已上架"), trading(2, "交易中"), sold(3, "已卖出"); private String info; private Integer num; GoodsStatus(Integer num, String info) { this.info = info; this.num = num; } public String toString() { retur...
true
8572e8b8178c31e3ddfc9731924f3658d404a495
Java
MinorGlitch/Java-Fundamentals
/Java OOP Advanced/Problems/Dependency Inversion And Interface Segregation - Exercises/src/main/java/models/engines/SterndriveEngine.java
UTF-8
537
2.9375
3
[]
no_license
package models.engines; public class SterndriveEngine extends BaseEngine { private static final int Multiplier = 7; private int cachedOutput; public SterndriveEngine(String model, int horsepower, int displacement) { super(model, horsepower, displacement); } public int getOutput() { ...
true
127faaf6dd584584060bad381010ebba843a724c
Java
qannoufoualid/Book-Maker
/src/main/java/com/ihm18/bookmaker/presentation/historycomponent/HistoryPresenter.java
UTF-8
1,124
2.109375
2
[]
no_license
package com.ihm18.bookmaker.presentation.historycomponent; import java.net.URL; import java.util.ResourceBundle; import javax.inject.Inject; import com.ihm18.bookmaker.presentation.centralcomponent.CentralModel; import javafx.beans.property.Property; import javafx.event.ActionEvent; import javafx.fxml.FXML; import ...
true
893491d76116c5b26ab3c415fada35d58c8e65ca
Java
nastyada/patterns
/src/factory/simple/Knight.java
UTF-8
216
2.421875
2
[]
no_license
package factory.simple; public class Knight extends Character { public Knight() { name = "Knight"; speed = 10; force = 10; health = 8; artifacts.add("Sword"); artifacts.add("Arrow"); } }
true
354d35b852c464d9c3ad3cb670d6b175766c48e4
Java
psendil/Java-Static-Method
/src/main/java/DoubleIt.java
UTF-8
400
3.625
4
[]
no_license
/** * Created by psenthil on 3/28/17. */ public class DoubleIt { public static void main(String[] args) { int doubleOfDigit; doubleOfDigit = doubleIt(7); System.out.println("Double of given number is :" + doubleOfDigit); } public static int doubleIt(int parameter){ int...
true
a09eabd0031358432128d3e1894fb3f57ab22aa2
Java
msarfrazcss/snippetA
/java/DepartmentController.java
UTF-8
3,340
2.28125
2
[]
no_license
package com.ats.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.b...
true
48102afe025066a4bdc10103ab81d923883ca013
Java
mendox74/dateoperation
/src/main/java/prototype/repository/DateOperationRepository.java
UTF-8
1,418
2.265625
2
[]
no_license
package prototype.repository; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Update; import org.apache.ibatis.annotations.Delete; import prototype.domain.DateO...
true
b9eb4231053118ac6b21ae08f5a06df0c9cb22d3
Java
JiminWen/LeetcodePractice
/229. Majority Element II.java
UTF-8
862
2.859375
3
[]
no_license
public class Solution { public List<Integer> majorityElement(int[] nums) { List<Integer> res=new ArrayList<>(); if(nums==null||nums.length==0) return res; int max1=nums[0],max2=nums[0]; int count1=0,count2=0; for(int temp:nums){ if(temp==max1){ count1++; } els...
true
58d1bb39432b4d1d5222f6ba1fba75b3139278a2
Java
andraapopescu/my-project
/src/main/java/application/demo/ui/layouts/view/MessagePopop.java
UTF-8
7,540
2.328125
2
[]
no_license
package application.demo.ui.layouts.view; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; i...
true
8b471de1c4688863b619e50854f522134812c2a1
Java
dennisvoliver/minecraft
/net/minecraft/entity/ai/RangedAttackMob.java
UTF-8
171
2.09375
2
[]
no_license
package net.minecraft.entity.ai; import net.minecraft.entity.LivingEntity; public interface RangedAttackMob { void attack(LivingEntity target, float pullProgress); }
true
ef00b4f250c5a105fa9eca59bcd848696d518c8d
Java
liubinchu/leetcode
/src/main/java/com/leetcode/OfferSord36_25.java
UTF-8
3,877
3.53125
4
[]
no_license
package com.leetcode; import java.util.HashMap; import java.util.Map; /** * @author liubi * @date 2018-12-09 21:35 **/ public class OfferSord36_25 { /**思路一: * 算法分析: 注意: 叶子节点 的左右 指针 应该 指向祖先节点 * 左指针指向; 最后一个由右指针产生他/或者他的祖先 的 祖祖先节点 * 右指针指向; 最后一个由左指针产生他/或者他的祖先 的 祖祖先节点 * @param p * @return ...
true
93b9b6f9ad985ad9b0b41cb0febba4ffe83efdca
Java
hanlizhihao/management-system
/src/main/java/com/changjiang/entity/WorkstationRecord.java
UTF-8
3,183
2.1875
2
[]
no_license
package com.changjiang.entity; public class WorkstationRecord { private Integer id; private Integer userId; private String userName; private String userPhone; private java.util.Date goWorkTime; private java.util.Date leaveWorkTime; private Integer counterId; private Integer sonAreaId; ...
true
a1ddfae456941c4bfd27b01d6755eddd1e0b23cf
Java
tt328307109/HLB_Studio
/HLBPay/src/com/lk/qf/pay/posloan/PolyLoansTabHostActivity.java
UTF-8
3,857
2.0625
2
[]
no_license
package com.lk.qf.pay.posloan; import com.lk.bhb.pay.R; import com.lk.qf.pay.fragment.PolyLoanHKListFragment; import com.lk.qf.pay.fragment.MyPolyLoanFragment; import com.lk.qf.pay.wedget.CommonTitleBar; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import an...
true
4824555d5bf840977c6516416340123d4ec34cfe
Java
729533572/reader
/app/src/main/java/com/yn/reader/model/home/HomeGroup.java
UTF-8
370
1.804688
2
[ "MIT" ]
permissive
package com.yn.reader.model.home; import com.yn.reader.model.BaseData; /** * 首页导航所有信息 * Created by sunxy on 2017/12/26. */ public class HomeGroup extends BaseData { private HomeList data; public HomeList getData() { return data; } public void setData(HomeList data) { ...
true