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
3e8e18b23836ddd41a74fe00d9c4267b07ff0f2c
Java
kant/android-mvp
/mvp/src/main/java/com/moovel/mvp/lifecycle/LifecycleEventScheduler.java
UTF-8
3,764
2.203125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2017 moovel Group GmbH * * 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
d2e6d40510c843cfe06b12431faa633d81e69b6e
Java
CarlosCarrillo13/invoice-core-item
/invoicecore-item/src/main/java/com/invoicecore/item/invoicecore/item/dataprovider/dao/ItemCategoryDao.java
UTF-8
537
2.03125
2
[]
no_license
package com.invoicecore.item.invoicecore.item.dataprovider.dao; import lombok.*; import javax.persistence.*; import java.util.List; @Table @Getter @Setter @Builder @NoArgsConstructor @AllArgsConstructor @Entity(name = "category") public class ItemCategoryDao { @Id @GeneratedValue(strategy = GenerationType.A...
true
a31d673826fa6a00518cfd00b40e4edf5266ad41
Java
CodingMankk/019-GsonPro
/app/src/main/java/com/codingmankk/www/gsonpro/Entity/AuthoritySample.java
UTF-8
520
1.679688
2
[ "Apache-2.0" ]
permissive
package com.codingmankk.www.gsonpro.Entity; /** * ================================================ * 版 本: * 创建日期: * 描 述: * 修订历史: * ================================================ */ public class AuthoritySample { final String finalFiled = "final"; static String staticFiled = "static"; public...
true
7a30d342bf69ae1c9cb412ede6e041c8f545c591
Java
wuyichen24/spring-microservices-in-action
/service/smia-licensing-service/src/java/com/thoughtmechanix/licenses/services/LicenseService.java
UTF-8
9,297
1.929688
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2019 Wuyi Chen. * * 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 i...
true
1a2b9e7d0276313c7f071bdc38cbe4cfd6399d38
Java
gonzalogrisafi/programmable-search-engine
/src/ar/edu/ubp/das/beans/indexation/ServiceBean.java
UTF-8
1,076
2.3125
2
[]
no_license
package ar.edu.ubp.das.beans.indexation; import javax.json.bind.annotation.JsonbTransient; public class ServiceBean extends StatusBean { private Integer serviceId; private Integer userId; private String Url; private String protocol; @JsonbTransient public Boolean isValid() { return this.Url != null && ...
true
298490c1f67d8f2464766a6279d5bb25cffa5997
Java
pcm32/TransATor-java
/PKStructureGenerator/src/main/java/uk/ac/ebi/cheminformatics/pks/sequence/feature/KSDomainSeqFeature.java
UTF-8
458
1.875
2
[]
no_license
package uk.ac.ebi.cheminformatics.pks.sequence.feature; import uk.ac.ebi.cheminformatics.pks.parser.FeatureFileLineParser; /** * Created with IntelliJ IDEA. * User: pmoreno * Date: 19/4/15 * Time: 22:13 * To change this template use File | Settings | File Templates. */ public class KSDomainSeqFeature extends Do...
true
2c10f5fa462adcd640fa2ae3e292234d2fd37c5e
Java
zhanght86/beadwalletloanapp
/src/main/java/com/waterelephant/drainage/entity/xianJinCard/ZmVerify.java
UTF-8
1,101
1.929688
2
[]
no_license
package com.waterelephant.drainage.entity.xianJinCard; /** * Module: ZmVerify.java * * @author huangjin * @since JDK 1.8 * @version 1.0 * @description: <描述> */ public class ZmVerify { private int zmxy_score;// 芝麻信用分 // private List<ZmxyWatchInfo> zmxy_watch_info;// 行业关注名单 private String zmxy_openid;// 芝麻信用o...
true
37d050a09decae43264b79be25a95255f3e1d966
Java
MeenakshiGautam-LA/testproject
/app/src/main/java/com/sisindia/mysis/SalarySlipLandingActivity.java
UTF-8
836
1.8125
2
[]
no_license
package com.sisindia.mysis; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.RelativeLayout; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; public class SalarySlipLandingActivity extends AppCompatActivity implements View.O...
true
6dec09a0d1c0da74770c4fc48ab2169613f82bf8
Java
frankoid/impatient
/src/main/java/org/devrx/impatient/ch2/ex4/JavaVersion.java
UTF-8
179
2.359375
2
[]
no_license
package org.devrx.impatient.ch2.ex4; public class JavaVersion { public static void main(String[] args) { for (int i = 10; i >= 0; i--) System.out.println(i); } }
true
da8bb25d99809438d7c734b3ef4a102754915b2b
Java
thistehneisen/cifra
/src/apk/io/intercom/com/bumptech/glide/load/engine/H.java
UTF-8
1,149
1.726563
2
[]
no_license
package io.intercom.com.bumptech.glide.load.engine; import android.os.Handler; import android.os.Handler.Callback; import android.os.Looper; import android.os.Message; import io.intercom.com.bumptech.glide.h.j; /* compiled from: ResourceRecycler */ class H { /* renamed from: a reason: collision with root package...
true
cc9a87581ddac2b4a7267fd95638a8dd5df694b1
Java
bellmit/zhjgpt_jzgl
/src/main/java/com/jc/system/dic/dao/impl/DicDaoImpl.java
UTF-8
673
2.015625
2
[]
no_license
package com.jc.system.dic.dao.impl; import com.jc.foundation.dao.impl.BaseServerDaoImpl; import com.jc.system.dic.dao.IDicDao; import com.jc.system.dic.domain.Dic; import org.springframework.stereotype.Repository; import java.util.List; /** * @author Administrator * @date 2020-06-30 */ @Repository p...
true
3c3a655efdfe5f393d8c43f9aa94790a77cbb576
Java
shuashuashua123/code-reference
/xcode-2017-reference/git-oj/oj-interval.java
UTF-8
29,411
3.453125
3
[]
no_license
http://www.cs.umd.edu/class/fall2017/cmsc451-0101/Lects/lect07-greedy-sched.pdf * Interval scheduling problem - Earliest Finish First (EFF) // Maximum Length of Pair Chain /* You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can ...
true
8b5f455752fb3b8dfcf83350fbe764c563446e1f
Java
RelaxedCat1/Zero_To_Hero
/Zero_To_Hero_v2_Edward_Molina_AA/src/ZeroToHeroMain.java
UTF-8
1,058
2.359375
2
[]
no_license
public class ZeroToHeroMain { /* * Created by Edward Molina A Game made with love, effort and hard work Due to * limited time and manpower, the game is not yet great however, it is complete. * An Alternative Assessment for the last quarter */ // Instantiate Classes GUI gui = new GUI(); Sound sound = new S...
true
2d89f5946098e27f7e339db09db1f7b1e35b4420
Java
LukaszFigiel/nbc
/service/src/main/java/pl/com/nbc/recruitment/figiel/investfund/service/model/ValidationResult.java
UTF-8
1,412
2.515625
3
[]
no_license
package pl.com.nbc.recruitment.figiel.investfund.service.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Created by lukaszf on 2017-07-18. */ public class ValidationResult implements Serializable{ private static final long serialVersionUID = 5883198960365245840L; ...
true
17ce2a1b383d87fca9945becdb764b4d49995f9f
Java
xeon-ye/project-1
/om-base-parent/om-shared-model/src/main/java/com/lyzd/om/shared/entity/admin/MyJob.java
UTF-8
467
1.710938
2
[]
no_license
package com.lyzd.om.shared.entity.admin; import com.lyzd.om.shared.model.BaseEntity; import lombok.Data; /** * @author Thinker * */ @Data public class MyJob extends BaseEntity { private static final long serialVersionUID = 8925514045582234222L; private Integer jobId; private String jobName; pr...
true
e193ed3e73fc3dc7732fd8cedb55d4e5321654dd
Java
slusek/Strata
/modules/function/src/test/java/com/opengamma/strata/function/calculation/swap/SwapFunctionGroupsTest.java
UTF-8
5,044
1.773438
2
[ "Apache-2.0" ]
permissive
/** * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.function.calculation.swap; import static com.opengamma.strata.basics.currency.Currency.GBP; import static com.opengamma.strata.basics.date.DayCounts.ACT...
true
ced51705220c71fc831900482494fd32ba0359bc
Java
HuyaAuto/jsoagger-fx
/jsoagger-jfxcore-engine/src/main/java/io/github/jsoagger/jfxcore/components/search/controller/SearchFormController.java
UTF-8
5,249
1.851563
2
[ "Apache-2.0" ]
permissive
/*- * ========================LICENSE_START================================= * JSoagger * %% * Copyright (C) 2019 JSOAGGER * %% * 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 * * ...
true
7187189cd5b704b55a897b92575a7f44a2eb764e
Java
luisjafet/Distribuido
/proyecto_final/src/proyecto_final/Sender.java
UTF-8
2,326
2.953125
3
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package proyecto_final; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import ja...
true
8c03da442ed9d3857f373269ed379b7c0906924f
Java
DaveNFS/UMLSTest
/Workspace/Medical TREC/src/QueryProcessorUpdate.java
UTF-8
8,115
2.453125
2
[]
no_license
import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Scanner; import UtsMetathesaurusContent.UtsFault_Exception; public class QueryProcessorUpdate { UMLSAccess ua = new UMLSAccess(); private HashMap<Int...
true
4e85440dc201b4d7cbe63376a8ecb4115a5e598d
Java
cckmit/Craftsman
/Craftsman/src/com/tcode/business/member/dao/impl/MemberCarDaoImpl.java
UTF-8
3,511
2.390625
2
[]
no_license
package com.tcode.business.member.dao.impl; import java.io.Serializable; import java.util.List; import org.hibernate.criterion.DetachedCriteria; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import org.springframework.stereotype.Component; import com.tcode.business.memb...
true
fea8b809f1a9b5ee897f7c2068e293066bd5f3a6
Java
igors48/nmdParser
/test/work/unit/constructor/processor/SetterProcessorTest.java
WINDOWS-1251
6,704
2.546875
3
[]
no_license
package work.unit.constructor.processor; import constructor.objects.processor.VariableProcessor; import constructor.objects.processor.setter.SetterProcessor; import debug.snapshot.NameValuePair; import debug.snapshot.ProcessorSnapshot; import junit.framework.TestCase; import variables.Variables; import java.util.List...
true
cf131c3a56740f97b7d01f1ab2b35895579e201a
Java
AjinkyaVir/Map
/src/com/company/treemap/treemapexamlefour/MyComp.java
UTF-8
242
2.296875
2
[]
no_license
package com.company.treemap.treemapexamlefour; import java.util.Comparator; public class MyComp implements Comparator<Product> { @Override public int compare(Product o1, Product o2) { return -o1.id.compareTo(o2.id); } }
true
716a03c7a3b4dc7b999343c05a6a724216f54686
Java
MAI-302/sandbox
/NKRUS/Java/src/Class1.java
UTF-8
1,564
3.59375
4
[]
no_license
import java.util.Arrays; /** * Created by NKRUS on 24.04.14. */ public class Class1 { public static void main(String[] args) throws Exception { double[] nums = {2, 7, 9, 4, 15, 1, 8}; double[] newnums = new double[nums.length]; System.out.println("----------- Элементы исходного масси...
true
45341c9018212e528e27980fc223339f7509e1eb
Java
saa14-archived-projects/BusReservation
/src/bus/servlets/ConfirmServlet.java
UTF-8
2,650
2.5
2
[]
no_license
package bus.servlets; import java.io.IOException; import java.io.PrintWriter; import java.sql.Date; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import ...
true
d87894706a4fe2e51b29b1f29c34949de5250c68
Java
SouthRobotics/2019Robotics
/2019/src/org/usfirst/frc/team6969/robot/commands/TestMovementCommand.java
UTF-8
8,196
2.46875
2
[]
no_license
/**written by Rishi Astra. If you have questions about the code or the code makes no sense ask me**/ /** * Best way to test this script would be to disable all other movement. * Expected calls to methods: * Initialize when robot turns on * Execute when robot is on and not finished * * ||||If i misunderstood when...
true
e146258ca4214b86a247e25e198453c6998b4840
Java
fooker/ospl
/ospl/src/org/ospl/converter/ByteValueConverter.java
UTF-8
291
2.34375
2
[]
no_license
package org.ospl.converter; import org.ospl.ValueConverter; public class ByteValueConverter extends ValueConverter { public ByteValueConverter() { super(Byte.TYPE); } @Override public Object parse(final String valueString) { return Byte.parseByte(valueString); } }
true
c0b54dbcebd00da532fa4f445ede3cb546e77e4b
Java
Razarion/razarion
/razarion-dev-tools/src/main/java/com/btxtech/webglemulator/razarion/DevToolGuiTipVisualizationService.java
UTF-8
1,277
2.1875
2
[]
no_license
package com.btxtech.webglemulator.razarion; import com.btxtech.uiservice.tip.visualization.AbstractGuiTipVisualization; import com.btxtech.uiservice.tip.visualization.GuiTipVisualizationService; import com.btxtech.uiservice.tip.visualization.SplashTipVisualization; import javax.enterprise.context.ApplicationScoped; ...
true
2c31d550c8b545349136c9294ed675c9ecc685ba
Java
aws/aws-sdk-java
/aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/AmazonChimeAsyncClient.java
UTF-8
270,874
2.109375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
true
0c720fdcd30471dc45940633438b52fb524151fa
Java
alexsderkach/site-indexer
/src/main/java/ua/devchallenge/domain/Website.java
UTF-8
261
1.8125
2
[]
no_license
package ua.devchallenge.domain; import lombok.Builder; import lombok.Value; @Value @Builder public class Website { String url; String prevButtonXPath; String nextButtonXPath; String linkXpath; int maxScanDepth; double latestPercent; }
true
fae0a58bc4e64eab0942f501db440e32f07ae952
Java
wanglj7525/menushow
/app/utils/SQLDateSerializer.java
UTF-8
469
2.46875
2
[]
no_license
package utils; import java.lang.reflect.Type; import java.sql.Date; import com.google.gson.JsonElement; import com.google.gson.JsonPrimitive; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; public class SQLDateSerializer implements JsonSerializer<Date> { @Override ...
true
3be4b859a4418ab84b933ffa96865599cf735d08
Java
vanpuyenbroeck/Udemy_JavaMasterclass
/src/Chapter4/ex4_29.java
UTF-8
1,039
3.796875
4
[]
no_license
package Chapter4; import java.util.HashMap; import java.util.Map; public class ex4_29 { public static void main(String[] args) { Map<String,Integer> playersAndScores = new HashMap<>(); playersAndScores.put("John", 1500); playersAndScores.put("Bob", 900); playersAndScores.put("Alice...
true
a46a2428d3185ebe15612e9df89f25eb7c36a2c4
Java
cul/hrwa_manager
/src/main/java/edu/columbia/ldpd/hrwa/marc/z3950/Client.java
UTF-8
1,370
2.28125
2
[]
no_license
package edu.columbia.ldpd.hrwa.marc.z3950; import java.util.Map; public class Client { private final Object m_sock = null; private String[] m_dbNames = null; public Client(String host, int port, String[] options){ } public void setDbNames(String [] dbNames) { m_dbNames = dbNames; ...
true
9d79a5ff19041ebec827515e70b91fb1ba54ebb5
Java
JohnBogdan1/Interpreters
/Interpreter-in-Java-for-IMP-language/impInterpreter/EvaluateCondition.java
UTF-8
843
3.453125
3
[]
no_license
package impInterpreter; /** * Clasa care extinde un decorator pentru program. Verifica daca o conditie este * adevarata, evaluand expresia. Conditia contine atat operatorul "<", cat si * "==". Returneaza 1 daca doua conditia este adevarata, altfel 0. De asemenea * accepta un visitor. * * @author Johnny ...
true
bbe02d9ebae54a226ef93a901c5b2655bef983bd
Java
copyNdpaste/TinyWeather
/tinyweather/src/main/java/com/example/tinyweather/WeatherForecast.java
UTF-8
13,651
2.375
2
[ "Apache-2.0" ]
permissive
package com.example.tinyweather; import android.os.AsyncTask; import android.util.Log; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Comparator; import java.util.Date; import ...
true
30b1950c251d5257498d92fa3dda3728be7d1602
Java
weichunhu/trace
/trace-web-plugin/src/main/java/com/trace/web/interceptor/registry/TraceWebInterceptorRegistry.java
UTF-8
612
1.890625
2
[ "Apache-2.0" ]
permissive
package com.trace.web.interceptor.registry; import com.trace.web.interceptor.TraceWebInterceptor; import org.springframework.stereotype.Component; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; /** * T...
true
6d322cd66db22035b545cd19d0413c2e0263cb92
Java
pared/find_sequence
/src/main/java/Numbers.java
UTF-8
975
2.953125
3
[]
no_license
import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; /** * Created by pawel on 09.07.15. */ public class Numbers { private static final BiMap<Integer,int[]> geneStorage; static { BiMap<Integer,int[]> biMap = HashBiMap.create(); biMap.put(1,new int[] {0,0,0,0}); ...
true
701296a87794392f3e6926160c7b52ce05ed86c1
Java
huangmiao/netty
/src/main/java/com/mhuang/common/server/AbstractNettyServer.java
UTF-8
471
2.0625
2
[ "Apache-2.0" ]
permissive
package com.mhuang.common.server; import com.mhuang.common.model.Port; /** * * @Description netty 服务 抽象 * @author mHuang * @date 2015年7月16日 下午5:52:54 * @version V1.0.0 */ public abstract class AbstractNettyServer extends Port implements MyNettyServer{ private static final long serialVersionUID ...
true
fe51043a95984e11da0110375e99e3744f72b925
Java
LingSaM1/gmd-shopping
/springcloud-02-shopping-common/src/main/java/com/springcloud/entity/Class2.java
UTF-8
553
2.09375
2
[]
no_license
package com.springcloud.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * GOODS表对应的实体类,用于保存表中一行类别二信息 * @author Administrator * */ @Data @AllArgsConstructor @NoArgsConstructor public class Class2 { /** * 类别二编号 */ private Integer class2Id; ...
true
c24290287260fa8aee1a9b311abfcfe41ad0c1e1
Java
zhangchuanle/kensite_cms
/src/main/java/com/seeyoui/kensite/framework/oa/leave/controller/LeaveController.java
UTF-8
6,082
1.867188
2
[ "Apache-2.0" ]
permissive
package com.seeyoui.kensite.framework.oa.leave.controller; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.activiti.engine.RuntimeService; import org.activiti.engine.TaskService...
true
97132d6d98edfe7c0b46fa9d33a108903be5a835
Java
Seokho96/springSecurityPractice
/springSecurity/src/bit/com/a/controller/LoginController.java
UTF-8
445
1.742188
2
[]
no_license
package bit.com.a.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class LoginController { @RequestMapping(value = "/secu/loginPage") public String page() throws Exception{ return "/secu/loginPage"; } @RequestMappi...
true
f4a96260196aa35d7ba0be97c668a5e79370224d
Java
VitalyPorsev/JavaGuru1
/src/main/java/students/alex_kalashnikov/lesson_6/level_4/task_21/TwoDimensionalArray.java
UTF-8
791
3.65625
4
[]
no_license
package students.alex_kalashnikov.lesson_6.level_4.task_21; import java.util.Arrays; class TwoDimensionalArray { public int[][] create(int length) { return new int[length][length]; } public void fillRandomly(int[][] array) { for (int j = 0; j < array.length; j++) { for (int i...
true
e34eccfaf2029d91314698c5d3291b3cf91360d9
Java
xm-online/xm-commons
/xm-commons-domainevent/src/test/java/com/icthh/xm/commons/domainevent/service/EventPublisherTest.java
UTF-8
1,988
2.140625
2
[ "Apache-2.0" ]
permissive
package com.icthh.xm.commons.domainevent.service; import com.icthh.xm.commons.domainevent.config.DbSourceConfig; import com.icthh.xm.commons.domainevent.config.XmDomainEventConfiguration; import com.icthh.xm.commons.domainevent.domain.DomainEvent; import org.junit.Before; import org.junit.Test; import org.mockito.Mock...
true
a847f3ed5dbf18fb88ca45b779a87e15b2864010
Java
androidkf93/DEMO
/app/src/main/java/shop/fly/com/demo/AModule.java
UTF-8
259
1.601563
2
[]
no_license
package shop.fly.com.demo; import com.google.gson.Gson; import dagger.Module; import dagger.Provides; /** * Created by Administrator on 2017/6/12. */ @Module public class AModule { @Provides public A provideA(){ return new A(); } }
true
e3b8f0ed11b670b1fac821e8bfc3f17720d0a99f
Java
620513/hw2-2
/src/Car.java
UTF-8
231
2.5
2
[]
no_license
/** * Created by ThelmaAndrews on 9/23/16. */ public class Car extends Vehicle { Car() { String convertible = ""; Vehicle c = new Vehicle(); c.printVehicle("Car"); } }
true
1c31945080ff6bc84fe38da6497e7b7e548e4b09
Java
laiis/jme-ext
/src/test/java/texture/TestLoadTextureAsync.java
UTF-8
1,173
2.171875
2
[]
no_license
package texture; import com.jayfella.jme.extension.SingletonJmeApplication; import com.jme3.material.Material; import com.jme3.material.Materials; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; import com.jme3.system.AppSettings; public class TestLoadTextureAsync extends SingletonJmeApplication { ...
true
65a66a2fba64b6ac8c459741c7532f615556eb8a
Java
SueOcho/EntradasHoy
/src/main/java/com/isil/controller/SalaController.java
UTF-8
2,594
2.15625
2
[]
no_license
package com.isil.controller; import com.isil.model.Sala; import com.isil.service.CineSedeService; import com.isil.service.SalaService; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.an...
true
cf9d495947cc61beb29357d2419d4181905772f9
Java
silotto/coding-expercise
/src/main/java/com/expercise/configuration/RedisConfiguration.java
UTF-8
3,291
2.171875
2
[]
no_license
package com.expercise.configuration; import com.expercise.service.cache.JsonRedisTemplate; import com.expercise.service.cache.ObjectRedisTemplate; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; ...
true
61932a5bf075685440cb193931227793bebe6feb
Java
deepcloudlabs/dcl204-2020-apr-13
/core-banking/src/com/example/banking/domain/AccountStatus.java
UTF-8
302
2.375
2
[ "MIT" ]
permissive
package com.example.banking.domain; /** * @author Binnur Kurt <binnur.kurt@gmail.com> */ public enum AccountStatus { ACTIVE(100), BLOCKED(200), PASSIVE(300); private final int code; private AccountStatus(int code) { this.code = code; } public int getCode() { return code; } }...
true
a1b2604132146b12a0be010fb170e53bb13e7687
Java
graeme-dougal/vendingMachine
/src/main/java/com/tiderian/vending/machine/exception/VendingMachineException.java
UTF-8
300
2.25
2
[]
no_license
package com.tiderian.vending.machine.exception; /** * Created by graeme.dougal on 19/02/2017. * * Base Class for Vending Machine Exceptions */ public abstract class VendingMachineException extends Exception { public VendingMachineException(String message) { super(message); } }
true
df2bb28cb554b90f1da84865ff54739602a306ab
Java
huangyz0918/AndroidWM
/androidwm/src/main/java/com/watermark/androidwm/bean/WatermarkImage.java
UTF-8
4,722
2.359375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2018 Yizheng Huang * * 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 la...
true
1e9bff609b1d66d8d8ec0135a10f732f819b6864
Java
kbly538/introduction-to-java-daniel-liang-12th-edition
/src/chapter08/array2d/exercises/Exercise_08_36.java
UTF-8
4,100
4.125
4
[]
no_license
/* (Latin square) A Latin square is an n-by-n array filled with n different Latin letters, each occurring exactly once in each row and once in each column. Write a program that prompts the user to enter the number n and the array of characters, as shown in the sample output, and checks if the input array is a Latin squ...
true
2aaa47d69c53003002f57e3116242a81b5d2346e
Java
SlavikTymchyshyn/mySpringDataBase
/SpringStart2/src/main/java/com/entity/TovarAmount.java
UTF-8
2,957
2.296875
2
[]
no_license
package com.entity; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax....
true
b36ee413e10f232bd9ff74196b7d5c76b37a3be7
Java
donadonny/rate_spoken_english
/CoCubesSpeechEvalutionTest/src/com/cocubes/speech/word/WordClass.java
UTF-8
1,866
2.75
3
[]
no_license
package com.cocubes.speech.word; import edu.cmu.sphinx.result.WordResult; public class WordClass { private String word; private float durationOfUtterance; private float startTimeOfUtterance; private float endTimeOfUtterance; private WordResult wordResult; private boolean isValidPause; pri...
true
119ba6bd654fdaa7a63aafb5215c73fbe0450277
Java
thiagoalbertins/projeto-unit-angular10-spring
/projeto-loja-unit-spring/src/main/java/com/example/projetolojaunit/controllers/VendaController.java
UTF-8
3,565
2.234375
2
[]
no_license
package com.example.projetolojaunit.controllers; import java.time.LocalTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.spring...
true
f4d3b7f602ef5d9a185fae1dea0379879d39e125
Java
nadineio/java-intro
/Project 4 - Control Structures/Project 4 Part 3 (with st. meth.)/src/CountingChange.java
UTF-8
1,914
3.65625
4
[]
no_license
import java.util.Scanner; public class CountingChange { // Written by: Nadine Mansour (Project 4 Part 3) // Determines whether the monetary value of coins provided by the user equals sum; if not, allows user one more try // Uses a static method to prompt the user for the coins and return the monetary va...
true
aed6338566df9cf5c02a056ca0814f704cca9fd3
Java
HubSpot/mbknor-jackson-jsonSchema
/src/test/scala/com/kjetland/jackson/jsonSchema/testData/PojoWithJsonSerializer.java
UTF-8
1,852
2.484375
2
[ "MIT" ]
permissive
package com.kjetland.jackson.jsonSchema.testData; import java.time.LocalDate; import java.util.Objects; import com.kjetland.jackson.jsonSchema.testData.utils.LocalDateSerializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.da...
true
bc8171f48f0e265a59bb4158580105e253dd0563
Java
babski/subject-declaration
/src/main/java/pl/mbab/subjectdeclaration/model/user/Semester.java
UTF-8
876
2.859375
3
[]
no_license
package pl.mbab.subjectdeclaration.model.user; public enum Semester { I(new String[]{"210100", "210110"}, 16.5, 0.0), II(new String[]{}, 12.0, 12.0), III(new String[]{}, 12.0, 9.0), IV(new String[]{}, 0.0, 9.0); private String[] compulsorySubjects; private double field1Ects; private double...
true
a6d5d75b778258635d50fe4799ea1f16780e1b54
Java
JiaoXR/hello-algorithm
/src/com/jaxer/algorithm/leetcode/linkedlist/Solution21.java
UTF-8
1,312
3.546875
4
[]
no_license
package com.jaxer.algorithm.leetcode.linkedlist; /** * 合并两个有序链表:https://leetcode-cn.com/problems/merge-two-sorted-lists/ * * @author jiaoxiangru * @since 2021/9/16 22:08 */ public class Solution21 { /** * 递归 */ public ListNode mergeTwoLists02(ListNode l1, ListNode l2) { if (l1 == null ||...
true
cedf9fb11573f7f867e6cf0b8901bc151f2b20b2
Java
xl2401/oj
/rewrite/3Sum.java
UTF-8
1,115
3.125
3
[]
no_license
public class Solution { public List<List<Integer>> threeSum(int[] num) { int N = num.length; Arrays.sort(num); List<List<Integer>> res = new ArrayList<List<Integer>>(); int i = 0; while (i < N-2) { int cur = num[i]; int target = (-1) * cur; ...
true
87b13f8eeb54aec1a9c067011dc971a79e3a6c9b
Java
rbygrave/sourceforge-ebean
/ebean/tags/v1.2.0/src/com/avaje/ebean/server/lib/cache/Validator.java
UTF-8
1,920
2.46875
2
[]
no_license
/** * Copyright (C) 2006 Robin Bygrave * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. ...
true
d1dcae52e460b45c5199cde4f67e664916016b2a
Java
Nenco1993/ExchangeRatesApp
/app/src/main/java/com/example/neven/exchangeratesapp/activities/BaseActivity.java
UTF-8
437
1.773438
2
[]
no_license
package com.example.neven.exchangeratesapp.activities; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.neven.exchangeratesapp.MyApplication; public class BaseActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
true
37289d6636e09cd26818827dc15dc85e4cc9b6a6
Java
honeysingh1/Progams
/com.honeysingh1.programs/src/CodeEval/WithoutRep.java
UTF-8
1,120
2.953125
3
[]
no_license
package CodeEval; //https://www.codeeval.com/open_challenges/173/ import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class WithoutRep { public static void main (String[] args) throws IOException { File file = new File(args[0]); ...
true
4652c17a9b343705e5bf9d873f5322f5291023ae
Java
JesseMart/qaExercises
/flowChart.java
UTF-8
281
3.390625
3
[]
no_license
public class flowChart { public static void main(String[] args) { // Calculator int x = 20; int y = 5; if(x < y) { System.out.println("The division could not be performed"); } else { System.out.println("The result of this divsion is " + x / y); } } }
true
c56ec92d5c2fdd3875a3357d973d80ee5fe82abb
Java
tejalnaik10/BJSSAutomation
/BJSSTestAutomation/src/test/java/gluecode/Test1_PurchaseItemsSteps.java
UTF-8
1,283
2.296875
2
[]
no_license
package gluecode; import cucumber.TestContext; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import pageObjects.CheckoutPO; import pageObjects.ItemDetailsPagePO; public class Test1_PurchaseItemsSteps { ItemDetailsPagePO objItemDetails; CheckoutPO o...
true
c4a3291fb0cae4194fba3814c0f73eb512dda6b4
Java
I54m/The-Punisher
/src/main/java/me/fiftyfour/punisher/bungee/commands/IpHistCommand.java
UTF-8
6,362
2.296875
2
[]
no_license
package me.fiftyfour.punisher.bungee.commands; import me.fiftyfour.punisher.bungee.PunisherPlugin; import me.fiftyfour.punisher.bungee.handlers.ErrorHandler; import me.fiftyfour.punisher.bungee.managers.DatabaseManager; import me.fiftyfour.punisher.universal.exceptions.DataFecthException; import me.fiftyfour.punisher....
true
74dc8ed8aa3005a0fd6897cb93af5c4e128cc309
Java
activeliang/tv.taobao.android
/sources/com/alibaba/motu/videoplayermonitor/fluentStatistics/FluentStatisticsInfo.java
UTF-8
782
2.21875
2
[]
no_license
package com.alibaba.motu.videoplayermonitor.fluentStatistics; import com.alibaba.motu.videoplayermonitor.VPMConstants; import java.util.HashMap; import java.util.Map; public class FluentStatisticsInfo { public Map<String, Double> extStatisticsData = null; public double playFluentSlices; public double play...
true
29b25dcdccd75c258e3a0e675fa1a2c60e734032
Java
osg3group2/MealsApp
/app/src/main/java/id/osg3group2/mealsapp/model/ListCategoryData.java
UTF-8
1,163
2.5
2
[]
no_license
package id.osg3group2.mealsapp.model; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; public class ListCategoryData implements Parcelable { @SerializedName("strCategory") private String strCategory; public void setStrCategory(String strCategory){ this...
true
584c16a416570c0249e9f2bbc2ecddbc8c2e4d3c
Java
cjthatcher/UnhandledExceptions
/Ants/src/Model/Nest.java
UTF-8
323
2.921875
3
[]
no_license
package Model; public class Nest { Colony itsColony; GroundCell itsGroundCell; public Nest(Colony c, GroundCell gc) { this.itsGroundCell = gc; this.itsColony = c; } public GroundCell getGroundCell() { return itsGroundCell; } public Colony getColony() { return itsColony; } ...
true
3c20b46613ed73793217a33de5522ef6486ab8d8
Java
petrenkoas83/JEC811_Collection
/Collection/import/OnlineMediaStore/com/ibm/DigitalVideoDisc.java
UTF-8
654
2.609375
3
[]
no_license
package com.ibm; public class DigitalVideoDisc extends Media { private String director; private int length; public DigitalVideoDisc() { super(); // TODO Auto-generated constructor stub } /** * @return Returns the director. */ public String getDirector() { return director; } /** * @p...
true
86cb299a875d163ff9773e498ce624f401b5ec1b
Java
HamsterBonus/core
/common/src/main/java/hamster/error/SystemException.java
UTF-8
244
2.140625
2
[]
no_license
package hamster.error; public class SystemException extends ApplicationException { private static final long serialVersionUID = 1L; public SystemException(String message) { super(message, "system.error"); } }
true
205a774f8591517bbda27ccbaf26a02cee4931d5
Java
zmughal/robot-michael-eric
/XML_Handler.java
UTF-8
5,340
2.09375
2
[]
no_license
import org.simpleframework.xml.*; import org.simpleframework.xml.load.*; import java.util.List; @Root(name="Reply",strict=false) class RegisterReply { @Attribute(name="Status",required=true) private String status; @Element(name="Parameters",required=false) private String Paramaters; @Attribute(name="SimTim...
true
e4967a72d5aeaf6b97c913e18ea39b642de2f6af
Java
Conanjun/HK_CPDT
/src/com/cwn/wizbank/persistence/KnowVoteDetailMapper.java
UTF-8
299
1.898438
2
[]
no_license
package com.cwn.wizbank.persistence; import java.util.List; import com.cwn.wizbank.entity.KnowVoteDetail; public interface KnowVoteDetailMapper extends BaseMapper<KnowVoteDetail>{ List<KnowVoteDetail> selectAll(KnowVoteDetail knowVoteDetail); void insert(KnowVoteDetail knowVoteDetail); }
true
781d475d9ae6df63060598f3f2c9ecdcea9db756
Java
novozhilov-a/Blogs
/src/main/java/com/veeam/interview/novozhilov/blogs/model/AuthorNotFoundException.java
UTF-8
383
2.0625
2
[]
no_license
package com.veeam.interview.novozhilov.blogs.model; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.NOT_FOUND) public class AuthorNotFoundException extends RuntimeException { public AuthorNotFoundException(Long AuthorId) { ...
true
9f2593e9c2d4614cbb9802251df4605bda7addf5
Java
Water-Drop/iprs
/Code/IPRS/src/servlet/ConferenceServlet.java
UTF-8
1,647
2.234375
2
[]
no_license
package servlet; import java.io.IOException; import java.util.List; import javax.ejb.EJB; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import model...
true
f56d83faade570e1cf87169fa63e8c89217f178d
Java
led-os/GuoLaiWan
/guolaiwan/src/main/java/com/guolaiwan/ui/activity/PicTextDetailActivity.java
UTF-8
10,798
1.625
2
[]
no_license
package com.guolaiwan.ui.activity; import android.content.Context; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.TextUti...
true
3fe3d676e0520710dbbaefebfbcf82800932c486
Java
cookker/booksearch
/src/main/java/com/ms/ex/booksearch/booksearch/common/ExceptionHandler.java
UTF-8
1,466
1.914063
2
[]
no_license
package com.ms.ex.booksearch.booksearch.common; import com.ms.ex.booksearch.booksearch.common.error.ApiException; import com.ms.ex.booksearch.booksearch.common.error.SystemErr; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSou...
true
2288064cec99e546e4c645ca9de931e8b182c026
Java
IgorYunusov/Mega-collection-cpp-1
/Java与模式/src/com/javapatterns/strategy/booksales/DiscountStrategy.java
UTF-8
137
2.328125
2
[]
no_license
package com.javapatterns.strategy.booksales; abstract public class DiscountStrategy { abstract public double calculateDiscount(); }
true
636a9e645c2aba45d9c1395058947d518d3cd5dc
Java
jintoga/Dat
/DictionaryPatterns/src/models/Language.java
UTF-8
1,332
3.25
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package models; import DelegationPattern.AddWord; import java.util.ArrayList; /** * * @author DAT */ public class Language extends Dictionary implements AddWord { private ArrayList<Word> listword = null; ...
true
6086c2a7175ea7baba084b9b6036f08a80aa816f
Java
ewized/skillsusa-regional-2016
/src/grades/Course.java
UTF-8
1,969
3.78125
4
[]
no_license
package grades; import java.util.Objects; /** * The class that represents a course that the student is taken */ public class Course { // Name of the course private String name; // The number of units for this course private double unit; // The grade percentage private double grade; publ...
true
d0a82ae82a4bc8822c416c74b0dd258d67045dc2
Java
ZeljkoAndrijasevic/ITBootcamp_Final_-Project
/src/pages/Meal_Page.java
UTF-8
424
1.773438
2
[]
no_license
package pages; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui.WebDriverWait; public class Meal_Page extends Basic_Page{ public Meal_Page(WebDriver driver, JavascriptExecutor js, WebDriverWait...
true
60b4c9ebdcc51c281041452a00af4c8ea7e0b589
Java
AnisB/GHome
/ServerGHome/src/serverghome/ComClient.java
UTF-8
7,030
2.453125
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package serverghome; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.security.PrivateKey; import java.security.PublicKey; import java.util.logging.Level; import java.util.logging.Logg...
true
3518a706e68c73ba3960d4e79c020b405a06aca9
Java
hanktom/cjcu-photo
/app/src/main/java/com/tom/photo/LoginActivity.java
UTF-8
2,587
2.265625
2
[]
no_license
package com.tom.photo; import android.content.DialogInterface; import android.support.annotation.NonNull; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import ...
true
7c0cf39c1ec6c4c93f45c689ce16e592397f03b5
Java
kanchanahegde/Java_Projects
/Planetarium/src/StarType.java
UTF-8
328
2.671875
3
[]
no_license
public enum StarType { MAIN_SEQUENCE("Main Sequence Star"), GAINT_STAR("Gaint Star"), SUPERNOVA_STAR("Supernova Star"); private final String toString; private StarType(String toString) { this.toString = toString; } public String toString(){ return toString; ...
true
281bc36947832a3d1067480097640eb1b51b0f52
Java
sensei-wu/java-examples
/src/main/java/java8/lambdas/MyTask.java
UTF-8
163
2.21875
2
[]
no_license
package java8.lambdas; public class MyTask implements Runnable { @Override public void run() { System.out.println("Running a tough job"); } }
true
633bd3ee3e7889ae2627fc3524d78f462e19f037
Java
tortuoise/HeadHunterSearch
/app/src/main/java/ru/hh/headhuntersearch/async/loader/CachedVacanciesAsyncLoader.java
UTF-8
1,034
2.265625
2
[]
no_license
package ru.hh.headhuntersearch.async.loader; import android.content.Context; import android.os.Bundle; import java.util.List; import ru.hh.headhuntersearch.data.db.VacancyCacheHelper; import ru.hh.headhuntersearch.entity.vo.VacancyPageVO; import ru.hh.headhuntersearch.entity.vo.VacancyVO; import ru.hh.headhuntersear...
true
95610585fc268f1f724ca9f6f358e200480b68d7
Java
nemudrena/YourSafeBox
/app/src/main/java/com/example/myapp/ListOfWays.java
UTF-8
4,250
2.859375
3
[]
no_license
package com.example.myapp; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class ListOfWays { private Map<String, String> map; private ArrayList<Map<String, String>> titleDataList; private ArrayList<ArrayList<Map<String, String>>> expListDetail; //конструктор формир...
true
41513677bc15fd74ae7afa793ef52ad82d5c63bd
Java
DEAN-Lee/basic-course
/course-pattern/src/main/java/com/deanlee/course/pattern/strategy/TheStrategy.java
UTF-8
200
2.59375
3
[]
no_license
package com.deanlee.course.pattern.strategy; public class TheStrategy implements Strategy { @Override public void strategyMethod() { System.out.println("策略类一执行"); } }
true
d63171590ae010657eb0c13b4741a13cf2d63c06
Java
hanrenrui/FrameBulding
/app/src/main/java/oysd/com/framebulding/activity/base/BaseActivity.java
UTF-8
1,307
2.09375
2
[]
no_license
/* * * * * ******************************************************* * * * * @文件名称:BaseActivity.java * * @文件作者:ouyangshengduo Copyright(c) 2017. All rights reserved. * * @创建时间:17-3-21 下午10:04 * * @文件描述: * * @修改历史:Last modified 17-3-21 下午10:04 ******************************************************** * */ ...
true
8cedebfd5ff7ba51c612cce1da48ba0b8e65212d
Java
complexmathguy/realmethods-core-framework
/src/main/java/com/framework/common/mgr/FrameworkManagerFactory.java
UTF-8
2,963
2.46875
2
[]
no_license
/************************************************************************ * Copyright 2012-2017 realMethods, Inc. All rights reserved. * This software is the proprietary information of realMethods Inc. * Use is subject to license terms. *************************************************************************/ ...
true
f430b17d0f3229d3f68f38842154e5ef7e07b696
Java
erid-rahmad/Eproch
/src/test/java/com/bhp/opusb/domain/CBankTest.java
UTF-8
641
2.25
2
[]
no_license
package com.bhp.opusb.domain; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; import com.bhp.opusb.web.rest.TestUtil; public class CBankTest { @Test public void equalsVerifier() throws Exception { TestUtil.equalsVerifier(CBank.class); CBank cBank1 ...
true
437f7dfb93e87185dfaf61357bcde8f98326955f
Java
liuhuan2015/DesignPatternLearn
/builderpattern/src/main/java/com/liuh/builderpattern/MainActivity.java
UTF-8
578
2.234375
2
[]
no_license
package com.liuh.builderpattern; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { Student stu; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView...
true
e89b0eb1981dc030dad6a7619df64eaecadba4c6
Java
MaxNeedsSnacks/Interactio
/src/main/java/ky/someone/mods/interactio/integration/jei/categories/ItemAnvilSmashingCategory.java
UTF-8
5,534
2.15625
2
[ "MIT" ]
permissive
package ky.someone.mods.interactio.integration.jei.categories; import com.google.common.collect.ImmutableList; import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.PoseStack; import ky.someone.mods.interactio.Interactio; import ky.someone.mods.interactio.Utils; import ky.someone.mods.intera...
true
10bd5f094139be3a39c29dade4d84ba200b755b9
Java
GustavoCancelier/final-sql
/src/main/java/br/com/triersistemas/jovemdevdb/service/CadicompService.java
UTF-8
561
1.820313
2
[]
no_license
package br.com.triersistemas.jovemdevdb.service; import java.util.List; import org.springframework.stereotype.Service; import br.com.triersistemas.jovemdevdb.dto.CadccompDto; import br.com.triersistemas.jovemdevdb.dto.CadicompDto; import br.com.triersistemas.jovemdevdb.entity.CadccompId; import br.com.triersistemas....
true
42d66c7db8410d582481ba636d8dadf421e728b2
Java
mgargas/CarSystem
/src/main/agh/cs/lab1/BoundingBox.java
UTF-8
590
3.25
3
[]
no_license
package agh.cs.lab1; public class BoundingBox { private int minx; private int miny; private int maxx; private int maxy; BoundingBox(Position p1){ minx=p1.x; miny=p1.y; maxx=p1.x; maxy=p1.y; } public void grow(Position p){ minx=Math.min(p.x,minx); ...
true
53852303b8bc05809ba3959b0714695cb74e430f
Java
ZarenFW/Lumens
/src/main/java/com/Zaren/Lumens/tile/TileEntityHellbornCelestial.java
UTF-8
354
1.976563
2
[ "MIT" ]
permissive
package com.Zaren.Lumens.tile; import com.Zaren.Lumens.tools.CelestialPanelLevel; import com.Zaren.Lumens.util.RegistryHandler; public class TileEntityHellbornCelestial extends TileEntityCelestialBlock { public TileEntityHellbornCelestial() { super(CelestialPanelLevel.HELLBORN, RegistryHandler.HELLBO...
true
b0e26495b1c7ee061c9fc3f42646125f6ea8d0ec
Java
rclik/designpatterns
/src/main/java/com/rcelik/creational/factorymethod/computer/PersonalComputer.java
UTF-8
445
3.09375
3
[]
no_license
package com.rcelik.creational.factorymethod.computer; public final class PersonalComputer extends Computer{ protected PersonalComputer(String ram, String cpu, String hdd) { super(ComputerType.PC, ram, cpu, hdd); } @Override public String getHdd() { return hdd; } @Override ...
true
e5206d254b312b3e8f869d5197216f5d216f118d
Java
295286769/yiqijinew
/app/src/main/java/com/yiqiji/money/modules/property/adapter/PropertyAdapter.java
UTF-8
14,511
1.796875
2
[]
no_license
package com.yiqiji.money.modules.property.adapter; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import androi...
true
b421fa59a2e6f36f3670c0d36dab2d61703c9241
Java
ZoranLi/wechat_reversing
/com/tencent/mm/storage/a/d.java
UTF-8
1,907
1.757813
2
[]
no_license
package com.tencent.mm.storage.a; import com.tencent.mm.e.b.ap; import com.tencent.mm.sdk.e.c.a; import java.lang.reflect.Field; public final class d extends ap { protected static a gTP; protected final a sY() { return null; } static { a aVar = new a(); aVar.hXH = new Field[7...
true
facda5cb834ab820a2055fbec53c507972bd8802
Java
daoren0316/iadmin
/src/cc/kokoko/server/ibutler/domain/dto/ShopDTO.java
UTF-8
3,828
2
2
[]
no_license
/* */ package cc.kokoko.server.ibutler.domain.dto; /* */ /* */ import java.util.Date; /* */ import java.util.List; /* */ /* */ public class ShopDTO /* */ { /* */ private Long shopId; /* */ private String shopName; /* */ private String shopAddress; /* */ private Stri...
true
64c41b8f90b8e64ef224b093883f69648af6ded1
Java
yblucky/sports
/sports-server/src/main/java/com/xlf/server/web/ParameterService.java
UTF-8
1,373
2.015625
2
[]
no_license
package com.xlf.server.web; import java.util.List; import com.xlf.common.resp.Paging; import com.xlf.common.vo.pc.SysParameterVo; /** * 参数设置业务层接口 * * @author qsy * @version v1.0 * @date 2017年6月15日 */ public interface ParameterService { /** * 查找所有数据 * * @param paging 分页 * @return 集合 ...
true