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
414adb40e1401ed5693aa2c1ac3d4363e091dcd2
Java
aysel10/GEZ
/app/src/main/java/crocusoft/com/gez/pojo/response/flight/roundtripResponse/PassengerTypeQuantity.java
UTF-8
1,544
2.359375
2
[]
no_license
package crocusoft.com.gez.pojo.response.flight.roundtripResponse; import android.os.Parcel; import android.os.Parcelable; import com.fasterxml.jackson.annotation.JsonProperty; public class PassengerTypeQuantity implements Parcelable{ @JsonProperty("@Quantity") private String quantity; @JsonProperty("@Code") pr...
true
4eb8530667a34c0e6150f90c0c1b20b7b68137a3
Java
Bali172/freshers-vnr-assignment-2017
/src/com/restaurant/model/Orders.java
UTF-8
3,489
3.25
3
[]
no_license
package com.restaurant.model; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Orders extends Menu {//Extending menu to reuse methods from menu Scanner scanner = new Scanner(System.in); Bill bill = new Bill();//Bill for holding single order List<Bill> registerLis...
true
3ffaf25729053283939599e0a5f731ff53d52a42
Java
Rhaylson/Gen-JPA
/src/org/eclipse/acceleo/module/umlToJpa/modelo/Classe.java
UTF-8
861
2.265625
2
[]
no_license
package org.eclipse.acceleo.module.umlToJpa.modelo; import java.util.ArrayList; import java.util.List; import org.eclipse.acceleo.module.umlToJpa.model.Anotacao; public class Classe extends Classificador{ private List<Anotacao> anotacoes; private Classe superclasse; private boolean possuiSubClasses; public...
true
cadef6c8bfab15a94aeffb446f70230a87f93569
Java
TanayaKarmakar/ds_algo
/geeksforgeeks-dsa/src/com/app/sorting/practice/CountingSort.java
UTF-8
860
3.796875
4
[]
no_license
package com.app.sorting.practice; import java.util.Arrays; public class CountingSort { private static void sortArray(int[] arr) { int minVal = Integer.MAX_VALUE; int maxVal = Integer.MIN_VALUE; int n = arr.length; for (int i = 0; i < n; i++) { if (arr[i] > maxVal) { maxVal = arr[i]; } if (arr[...
true
2b07a3eab9385696b4a831c65ac322dc0aeb8f06
Java
liuqinghua1020/JVMBaseJava
/src/main/java/com/shark/JVMBasejava/rtda/RTThread.java
UTF-8
765
2.796875
3
[]
no_license
package com.shark.JVMBasejava.rtda; /** * Created by liuqinghua on 16-11-8. */ public class RTThread { private int pc; private RTStack stack; public RTThread(int pc, RTStack stack){ this.pc = pc; this.stack = stack; } public void pushFrame(RTFrame frame){ stack.push(fra...
true
b27731172c833dc027dacee8b9b7612ac0fe713e
Java
jsonballadares/abdulbaricorejava
/src/CalculateArea.java
UTF-8
296
2.59375
3
[]
no_license
package src; public class CalculateArea { public static double area(double length, double breadth) { return length * breadth; } public static double area(double radius) { return Math.PI * radius * radius; } public static void main(String[] args) { } }
true
b980717d33a381be719b6b7b92c757e9a093eb32
Java
fabiodarosa/apresentacoesEstagio
/src/jun12/designpatterns/singleton/MeuExemploSingleton.java
UTF-8
496
2.734375
3
[]
no_license
package jun12.designpatterns.singleton; public class MeuExemploSingleton { private static MeuExemploSingleton instancia; private MeuExemploSingleton() { } static MeuExemploSingleton getInstancia() { if (instancia == null) { synchronized (MeuExemploSingleton.class) { ...
true
75e94820fb4b9a263f661bfcf2da738fdbd4139d
Java
karolinasea/appli-seisme
/SplashScreen.java
UTF-8
3,767
2.484375
2
[]
no_license
package com.example.projet_seisme; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; public class SplashScreen extends AppCompatActivity {...
true
7fd1b4b66a0d4fa11c7b2b93c0f2e789b4376657
Java
whittmy/MyPlayer
/src/com/kt/localmedia/video/subtitle/autodetect/AutoDetectUtil.java
UTF-8
1,425
2.390625
2
[]
no_license
/** * */ package com.kt.localmedia.video.subtitle.autodetect; import java.io.BufferedInputStream; import java.io.IOException; /** * @author hm * */ public class AutoDetectUtil { static String result = null; /** * 1. Japanese * 2. Chinese * 3. Simplified Chinese * 4. Traditional Chinese * 5....
true
e9be639f195c009e2ecc1508722e9e5efab9a592
Java
LilianAdhiambo/Togo
/src/com/example/Togo/TabsActivity.java
UTF-8
1,473
2.234375
2
[]
no_license
package com.example.Togo; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.widget.TabHost; /** * Created by lilian on 8/15/14. */ public class TabsActivity extends TabActivity { @Override public void onCreate( Bun...
true
2c3f394cad4e3801fdf7d96b831c31cf2a856723
Java
harsard7/equizsystem
/ExamPro - Server/src/lk/epro/exampro/buisness/BOFactory.java
UTF-8
1,574
2.453125
2
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package lk.ijse.exampro.buisness; import lk.ijse.exampro.buisness.custom.impl.AdminBOImpl; import lk.ijse.exampro.buisness.custom.impl...
true
a9dabaa8fedc14e448f11d95e28501edb37e669d
Java
GitHubzzZcy/AJ_Project
/safetysupervision/src/com/henghao/service/ReportInformationService.java
UTF-8
3,780
2.046875
2
[]
no_license
package com.henghao.service; import javax.servlet.http.HttpServletRequest; import com.henghao.util.PageBaen; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.multipart.MultipartFile; import com.henghao.entity.ReportInformatio...
true
d1974ca9ecdfc102de02d118a02884fc224480d7
Java
hmcts/ia-case-api
/src/main/java/uk/gov/hmcts/reform/iacaseapi/domain/entities/em/BundleDocument.java
UTF-8
859
2.015625
2
[ "MIT" ]
permissive
package uk.gov.hmcts.reform.iacaseapi.domain.entities.em; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import uk.gov.hmcts.reform.iacaseapi.domain.entities.ccd.CaseData; import uk.gov.hmcts.reform.iacaseapi.domain.entities.ccd.field.Document; @EqualsAndHashCode @ToString @Getter publ...
true
944b8c985c4c03bd07fb0e5cf4568d8b224a1fc7
Java
reverseengineeringer/com.linkedin.android
/src/com/fasterxml/jackson/core/JsonLocation.java
UTF-8
2,339
2.234375
2
[]
no_license
package com.fasterxml.jackson.core; import java.io.Serializable; public final class JsonLocation implements Serializable { public static final JsonLocation NA = new JsonLocation("N/A", -1L, -1L, -1, -1); final int _columnNr; final int _lineNr; public final transient Object _sourceRef; public final long _t...
true
2f65f5edcc7a3a3bf6fd108c5cb8274cbe78292a
Java
nishantsiva/Random-Stuff
/programs/programmingJAVA/average.java
UTF-8
310
3.15625
3
[]
no_license
public class average{ public static void main(String[] args){ int[] numbers = {21,34,21,54,46}; System.out.println("Average = " + computeAvg(numbers,5)); } public static float computeAvg(int[] nos, int count){ int i,total = 0; for(i=0; i<count; i++) total += nos[i]; return total/count; } }
true
850fe701cad3cac559e0de31d309b6e434c997cf
Java
mawalter/java-maven-junit5-example
/src/test/java/com/example/junit5/test/dynamic/TranslatorEngineTest.java
UTF-8
1,087
2.53125
3
[ "Apache-2.0" ]
permissive
package com.example.junit5.test.dynamic; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * 非动态测试示例, 需要对每个branch创建测试用例, 并进行测试 * @author bluetata / Sekito.Lv@gmail.com</br> * @versi...
true
044cc95ee344ad4b1c8eeca3b18b985bbf146741
Java
littleclip0940/Calendar
/src/honux/calendar/Calendar.java
UTF-8
1,261
3.40625
3
[]
no_license
package honux.calendar; import java.util.Scanner; public class Calendar { public static final int[] Month= {31,28,31,30,31,30,31,31,30,31,30,31}; public void printSampleCalendar() { System.out.println("일 월 화 수 목 금 토"); System.out.println("--------------------"); System.out.printl...
true
7ee296193998812005f6faea890ad0d48db2883b
Java
EMSTrack/CleanApp
/models/src/main/java/org/emstrack/models/Client.java
UTF-8
3,171
2.671875
3
[ "BSD-3-Clause" ]
permissive
package org.emstrack.models; import org.emstrack.models.gson.Exclude; import java.util.Date; /** * A class representing the API client * * @author mauricio * @since 02/22/2019 */ public class Client { public static final String STATUS_ONLINE = "O"; public static final String STATUS_OFFLINE = "F"; ...
true
8a4cd8f135c49634e7311eddc73adafb86f0f76c
Java
Nookiie/OOPProject
/h2/src/test/org/h2/test/server/TestNestedLoop.java
UTF-8
2,261
2.453125
2
[ "MIT" ]
permissive
/* * Copyright 2004-2013 H2 Group. Multiple-Licensed under the H2 License, * Version 1.0, and under the Eclipse Public License, Version 1.0 * (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.test.server; import java.sql.Connection; import java.sql.ResultSet; import java.s...
true
72f548f97507c538f538ae082a7543f3978dbebb
Java
leoaguilar97/CopyCheckerDeprecated
/CopyCheckServer/src/proyectdata/FunctInfo.java
UTF-8
2,922
3.046875
3
[]
no_license
package proyectdata; import java.util.HashSet; import java.util.Iterator; import java.util.Objects; /** * * @author Leonel Aguilar */ public class FunctInfo { private String name; private String returnType; private final HashSet<ParamInfo> params; public FunctInfo(String name, String returnType) {...
true
40000d00540424967905f914d8cfb520a2ade59e
Java
CamilaNachbar/Mongo-Cloudant-Assistant
/src/main/java/com/nexo/ai/controller/CloudantController.java
UTF-8
985
2
2
[]
no_license
package com.nexo.ai.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotat...
true
343ef41f6b7cb5a373e4caeff621251102b76077
Java
akshay-misra-backend-products/gbss-customer-management-service
/customer-management-impl/src/main/java/com/gbss/customer/impl/validator/BillingAccountPostValidator.java
UTF-8
2,001
2.265625
2
[ "Apache-2.0" ]
permissive
package com.gbss.customer.impl.validator; import com.gbss.common.api.exceptions.ResourceNotFoundException; import com.gbss.common.api.validator.PostValidator; import com.gbss.customer.api.model.Customer; import com.gbss.customer.impl.repositories.BillingAccountRepository; import org.springframework.beans.factory.annot...
true
c4fdbded48fcbfce9aa037f7b8268fb1c9256125
Java
KelvinJRosado/StudyTogether
/app/src/main/java/com/example/kelvin/testcapstone/MainActivity.java
UTF-8
10,722
2.171875
2
[]
no_license
package com.example.kelvin.testcapstone; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatAct...
true
b5e641379b627cf449f25c4e08331ec898e5730a
Java
Andrew-Tolentino/sar
/sar/src/main/java/edu/iit/hawk/atolentino/request_information_processing/creators/MessageInformationCreator.java
UTF-8
1,717
2.46875
2
[ "MIT" ]
permissive
package edu.iit.hawk.atolentino.request_information_processing.creators; import com.google.gson.JsonSyntaxException; import edu.iit.hawk.atolentino.request_information_processing.boundaries.RequestInformation; import edu.iit.hawk.atolentino.request_information_processing.boundaries.RequestInformationCreator; import e...
true
5a41231bbff5ab2e57ad1836927d3bff075ed01b
Java
luosir15678912823/myProject
/Mall/app/src/main/java/com/qianfeng/mall/DetailActivity.java
UTF-8
7,474
1.804688
2
[]
no_license
package com.qianfeng.mall; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; import com...
true
bb33d5aa973a94aac6c7eea0e4468306eef56239
Java
sese-xp3-ws2017/sese-xp3-ws2017
/src/main/java/at/ac/tuwien/student/sese2017/xp/hotelmanagement/domain/web/form/StaffSearchCriteria.java
UTF-8
470
1.992188
2
[ "MIT" ]
permissive
package at.ac.tuwien.student.sese2017.xp.hotelmanagement.domain.web.form; import lombok.Data; /** * This is a data object representing the available criteria to search for customers. * * @author Michael * */ @Data public class StaffSearchCriteria { /** * Search String for full text search. */ private ...
true
c8e073b0c2846baf521e35eef3484dd2817394ab
Java
Chen-xh/circuit_analysis_website
/src/main/java/com/turing/circuit_analysis_website/controller/guest/LoginController.java
UTF-8
4,855
2.328125
2
[]
no_license
package com.turing.circuit_analysis_website.controller.guest; import com.turing.circuit_analysis_website.pojo.User; import com.turing.circuit_analysis_website.vo.LoginVo; import com.turing.circuit_analysis_website.service.UserService; import com.turing.circuit_analysis_website.util.JWTToken; import com.turing.circuit...
true
e93cc4b1113b71a5d62b7663dfdd80a0315c6bdb
Java
dubus-b/Epicture
/app/src/main/java/eu/epitech/epicture/CardImage.java
UTF-8
1,556
2.640625
3
[]
no_license
package eu.epitech.epicture; import android.os.Parcel; import android.os.Parcelable; import eu.epitech.epicture.database.table.*; /** * Created by Louis Giraud on 10/02/2018. */ public class CardImage implements Parcelable { private String url; private int favorite; public CardImage(String url) { ...
true
7abaeebe0eee8e104bf9ca36cdabb5647aa63c90
Java
SOOlutions/HomeTaskApp
/src/main/java/soolutions/hometaskapp/account/BasicAccount.java
UTF-8
1,340
2.8125
3
[]
no_license
package soolutions.hometaskapp.account; import soolutions.hometaskapp.common.Amount; import soolutions.hometaskapp.user.User; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class BasicAccount implements Account { private final List<Transaction> transactions; private f...
true
fb4bad1a5972ed01b109c30c714b930e67eda978
Java
Liloveyang/stratosphere
/stratosphere-compiler/src/main/java/eu/stratosphere/compiler/dag/FilterNode.java
UTF-8
2,314
2.171875
2
[ "LGPL-2.1-only", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/*********************************************************************************************************************** * Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
true
18e5f05501c1460a25f86eb8707bbf748112a1b0
Java
Andreas237/AndroidPolicyAutomation
/ExtractedJars/Apk_Extractor_com.ext.ui.apk/javafiles/com/startapp/android/publish/common/model/GetAdRequest$CellScanResult.java
UTF-8
3,847
2.140625
2
[ "MIT" ]
permissive
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.startapp.android.publish.common.model; import android.telephony.NeighboringCellInfo; // Referenced classes of package com.startapp.android.pu...
true
307a327ae68c6c2c26ff00f05c4411a1bbf4ce20
Java
yhando24/spring_test
/src/main/java/fr/iocean/dta/service/EmployeeJpaService.java
UTF-8
1,791
2.125
2
[]
no_license
package fr.iocean.dta.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import fr.iocean.dta.exception.EmployeeNotFoundException; import fr.iocean.dta....
true
002f2878df1c6fae8c860d84a1c9c07af380df92
Java
Capta1n-J1ao/Interview_exp
/src/amazon/lc979.java
UTF-8
2,974
3.828125
4
[]
no_license
package amazon; /* 这道题目非常巧妙,思路非常难想,首先可能会想到BFS,但是如果碰到要从左子树往右子树走的情况就不能处理了 所以这里很明显使用递归,但是怎么递归,以及怎么定义子问题便是难点 个人认为这道题目的思路算hard也不过分 如果树的叶子仅包含 0 枚金币(与它所需相比,它的 过载量 为 -1), 那么我们需要从它的父亲节点移动一枚金币到这个叶子节点上。 如果说,一个叶子节点包含 4 枚金币(它的 过载量 为 3), 那么我们需要将这个叶子节点中的 3 枚金币移动到别的地方去。 总的来说,对于一个叶子节点,需要移动到它中或需要从它移动到它的父亲中的金币数量为 过载量 = Math.a...
true
1dc39b8ca22d9eb0c5b6e193fe0cde80f8cea607
Java
Ionut09/REST-Spring-MVC
/src/main/java/com/spring/repository/SingerRepositoryImpl.java
UTF-8
2,892
2.453125
2
[]
no_license
package com.spring.repository; import com.spring.domain.Singer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.support.GeneratedKeyHolder; import org.springframework.jdbc....
true
2848ccc7b87d7315ba2eac69efcb2e5b2a04e24e
Java
koshoil1/pubster
/src/main/java/fit/bestteam/pubster/datalayer/service/RestaurantFacade.java
UTF-8
825
2.109375
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 fit.bestteam.pubster.datalayer.service; import fit.bestteam.pubster.datalayer.entity.Restaurant; import javax.ejb.LocalBean; i...
true
99051ee448f06622160690b6618cbc9392030707
Java
ashtrayblue/spring-demo
/src/main/java/com/ashtrayblue/demo/sample/SampleController.java
UTF-8
345
1.859375
2
[]
no_license
package com.ashtrayblue.demo.sample; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/samples") public class SampleController { @RequestMapping("/test") public String test() { return "{'code':'OK', 'msg'...
true
4dce7f886b3341cdc48b500bea84fe1105219c19
Java
mobile-gt/chatoxpakaryo-sdk-development
/chatosdk/src/main/java/com/gamatechno/chato/sdk/app/playvideo/sendvideopreview/model/VideoPreview.java
UTF-8
1,716
2.0625
2
[]
no_license
package com.gamatechno.chato.sdk.app.playvideo.sendvideopreview.model; import android.content.Context; import android.net.Uri; import android.os.Environment; import com.gamatechno.chato.sdk.utils.FilePath.FilePath; import com.gamatechno.chato.sdk.utils.FilePath.IOUtils; import java.io.File; public class VideoPrevie...
true
d585fcaf2f6eb905df0efbcaa7f4239e2ba10134
Java
muten84/spring-security-oauth2
/others/sdoagent-poc/sdoemsrepo-artifacts-manager/src/main/java/it/eng/areas/ems/sdoemsrepo/entity/DeviceInfoDO.java
UTF-8
2,773
2.328125
2
[]
no_license
/** * */ package it.eng.areas.ems.sdoemsrepo.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Temporal; import javax.persistence.TemporalType; /** * @author Bifulco Luigi * */ @Ent...
true
7e1d8bdde633cdab141e7a220186d15834f8f665
Java
tuwq/android_node
/framework/code/PhotoDraw/app/src/main/java/com/tuwq/photodraw/pinned/Base.java
UTF-8
146
1.835938
2
[]
no_license
package com.tuwq.photodraw.pinned; public class Base { public String name; public Base(String name) { this.name = name; } }
true
0d863c58b79b6140b743bb804f63d8a384f6fe20
Java
DarkholmeTenk/darkcraft
/src/main/java/io/darkcraft/mod/common/magic/blocks/tileent/MagicStaffChanger.java
UTF-8
3,281
2.125
2
[]
no_license
package io.darkcraft.mod.common.magic.blocks.tileent; import io.darkcraft.darkcore.mod.abstracts.AbstractTileEntity; import io.darkcraft.darkcore.mod.helpers.MathHelper; import io.darkcraft.darkcore.mod.helpers.ServerHelper; import io.darkcraft.darkcore.mod.helpers.WorldHelper; import io.darkcraft.darkcore.mod.interfa...
true
49c7a79474c515e540979d1d7b2637a6ed27ca29
Java
zhangBenson/zy
/src/com/gogowise/urlfetch/sk/ClassType.java
UTF-8
563
2.25
2
[]
no_license
package com.gogowise.urlfetch.sk; import com.gogowise.rep.AbstractPersistence; import javax.persistence.Entity; import javax.persistence.ManyToOne; @Entity public class ClassType extends AbstractPersistence { private String name; @ManyToOne private ClassType parent ; public String getName() { ...
true
5c5513bbf7fcaea9f8692b4b1f5806f642462a12
Java
calebtote/Stream-Processor
/test/cs425/mp1/network/NetworkBasicsTest.java
UTF-8
1,436
2.359375
2
[]
no_license
package cs425.mp1.network; import cs425.mp1.agent.QueryHandler; import cs425.mp1.common.QueryProfile; import junit.framework.Assert; import junit.framework.TestCase; /** */ public class NetworkBasicsTest extends TestCase { protected QueryProfile profile = null; protected QueryHandler grep = null; publi...
true
ff7fe7d93b2b2afb1ff74f86daecbe494295a376
Java
Slyvr/MysteryColorGrid-Generator
/src/com/slyvronline/mysterycolor/objs/ImagesPanel.java
UTF-8
2,084
2.5625
3
[]
no_license
package com.slyvronline.mysterycolor.objs; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Image; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BoxLayout; import javax.swing.ImageIcon; import javax.swing.JFileCh...
true
2479e48f929238d953bac73afd7cc9f71487ea13
Java
danielacostas/PracticasJavaSelenium
/pJava3/src/Vagon.java
UTF-8
569
2.484375
2
[]
no_license
import java.util.List; import java.util.Random; public class Vagon extends Tren implements Interfaz{ private final int NUM_RUEDAS = 6; private int asientos; public Vagon(Colores color, Locomotora l, List<Vagon> v, int asientos) { super(l, v, color); Random r = new Random(); this.a...
true
ab3c8aa926d5fd4f6eaae61eb66a1c7563c90b89
Java
unibe-ese/ese2015-team3
/tutoris_bernae/src/main/java/org/sample/controller/service/RatingService.java
UTF-8
5,733
2.890625
3
[]
no_license
package org.sample.controller.service; import java.util.Set; import org.sample.controller.exceptions.InvalidTutorShipException; import org.sample.controller.pojos.RatingForm; import org.sample.model.Rating; import org.sample.model.Tutor; import org.sample.model.TutorShip; import org.sample.model.User; import org.samp...
true
67320563e538ca76ab42dadb77656dce198af0f9
Java
smartbcity/ssm-sdk-java
/ssm-sdk-client/src/main/java/org/civis/blockchain/ssm/client/repository/CoopRepository.java
UTF-8
510
1.789063
2
[]
no_license
package org.civis.blockchain.ssm.client.repository; import okhttp3.ResponseBody; import retrofit2.http.*; import java.util.List; import java.util.concurrent.CompletableFuture; public interface CoopRepository { @GET("/") CompletableFuture<ResponseBody> command( @Query("cmd") String cmd, ...
true
2f00c7fc4a9975b087f7178dd3d254a77625b172
Java
chenlonggang/postman
/src/org/chen/p2p/DHTPeer.java
GB18030
25,625
2.390625
2
[]
no_license
// package org.chen.p2p; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.net.InetAddress; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Observable; import java.util.concurrent....
true
e5933d1e7f811b4fab85a12bddbaca06541ae286
Java
KiddoKiddo/cs1020
/Practice25/TestMyDate.java
UTF-8
1,631
4.25
4
[]
no_license
// TestMyDate class. // Fill in the parts that are marked "WRITE YOUR CODE HERE." import java.util.*; public class TestMyDate { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter the year, month and day (as integers): ");...
true
9cb2c600506010bb8eb885ca54e17aaf34bfdc51
Java
janettapcs/harjoitustyo
/app/src/main/java/com/example/harjoitustyo/DecMoneyActivity.java
UTF-8
1,586
2.390625
2
[]
no_license
package com.example.harjoitustyo; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class DecMoneyActivity extends AppCompatActivity { ...
true
23656c463a28be7feaed1cd987070492816ed6cc
Java
EVE-SECURE/eveapi
/eveapi/tags/eveapi-1.0.0/src/test/java/com/beimin/eveapi/containerlog/ParserTest.java
UTF-8
772
2.046875
2
[]
no_license
package com.beimin.eveapi.containerlog; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.IOException; import java.io.InputStream; import java.text.ParseException; import java.util.List; import org.junit.Test; import org.xml.sax.SAXException; public class Pars...
true
cf45ce2b827ab8173f9e230165bdb86fedb9b425
Java
ViktorVlasov/java_labs
/src/pract9/Student.java
UTF-8
1,123
3.15625
3
[]
no_license
package pract9; import pract9.exception.StudentNameException; import pract9.interfaces.I_FindSort; import java.util.ArrayList; public class Student implements I_FindSort { private String name; private int sumOrder; public Student(String name, int sumOrder){ this.name = name; this.sumOrde...
true
d06ac5bdb892d72f6bc2551e6b8423990f28e963
Java
Joedobo27/SimpleFishingMod
/src/main/java/com/joedobo27/sf/TrapFliesAction.java
UTF-8
8,489
2.125
2
[]
no_license
package com.joedobo27.sf; import com.wurmonline.server.behaviours.Action; import com.wurmonline.server.behaviours.ActionEntry; import com.wurmonline.server.behaviours.Actions; import com.wurmonline.server.behaviours.NoSuchActionException; import com.wurmonline.server.creatures.Creature; import com.wurmonline.server.it...
true
f00759b7130ab9cc412e3067528e9a36fe444ba1
Java
rmaire/yali
/src/test/java/ch/uprisesoft/yali/runtime/functions/builtin/TemplateTest.java
UTF-8
5,483
2.046875
2
[]
no_license
/* * Copyright 2020 Uprise Software. * * 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 l...
true
b81d48ba5a38541bcb60912596a0a98947cdb690
Java
wavesoftware/plugs
/tools/plugs-maven-plugin/src/main/java/pl/wavesoftware/plugs/tools/maven/plugin/model/AbstractFilterableDependency.java
UTF-8
2,334
1.765625
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2019 Wave Software * * 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
e9f8b0b6ae643e03608b90fca62e5e6c72efcd3f
Java
darkospoljaric/pitest-example
/src/main/java/parser/action/FlushBufferToText.java
UTF-8
790
2.84375
3
[]
no_license
package parser.action; import parser.ParserData; import parser.TextMessage; public class FlushBufferToText implements Action { @Override public void doAction(String character, ParserData parserData) { String messageWithEndBackticks = parserData.getBuffer().toString(); String messageWithoutBackticks = messageWi...
true
b9a458268808b73d13505ce2ae790e3276b27e5e
Java
slinkydeveloper/ing-sw-2019-guardiani-mucignat-lischio
/adrenalina-gui/src/main/java/com/adrenalinici/adrenaline/gui/GuiUtils.java
UTF-8
7,964
2.734375
3
[ "MIT" ]
permissive
package com.adrenalinici.adrenaline.gui; import com.adrenalinici.adrenaline.common.model.Gun; import com.adrenalinici.adrenaline.common.model.PlayerColor; import com.adrenalinici.adrenaline.common.model.PowerUpCard; import javafx.geometry.Insets; import javafx.scene.Node; import javafx.scene.control.*; import javafx.s...
true
3b5f7f1aff82b840231e3b92e754ef976775152a
Java
DheerajKumarPandey/EzyServ
/app/src/main/java/com/ezyserv/adapter/AddServiceAdapter.java
UTF-8
3,068
2.359375
2
[]
no_license
package com.ezyserv.adapter; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.T...
true
d7625c8488aae367c2e1b62ac8993b56f306be3b
Java
ytempest/love_food
/src/main/java/com/ytempest/vo/UserInfoVO.java
UTF-8
4,421
2.328125
2
[]
no_license
package com.ytempest.vo; import com.fasterxml.jackson.annotation.JsonProperty; import java.text.SimpleDateFormat; import java.util.Date; public class UserInfoVO { private Long userId; private String userAccount; @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String userPwd; privat...
true
84af1c74a0e952f8e9f391ab931698b64f034bba
Java
Yeregorix/SmoofyDungeon
/src/main/java/net/smoofyuniverse/dungeon/gen/loot/EntityEquipmentGenerator.java
UTF-8
3,844
2.296875
2
[ "MIT" ]
permissive
/* * Copyright (c) 2017-2021 Hugo Dupanloup (Yeregorix) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
true
5db6238697254417bd8e44923fb7cf5ff42c765f
Java
T5750/book-repositories
/SpringBootInAction/readinglist/src/main/java/com/evangel/controller/ReadingListController.java
UTF-8
2,132
2.15625
2
[ "MIT" ]
permissive
package com.evangel.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ExceptionHandler; impo...
true
fcefe670e6af15f03802366a99f54ffaea7c5806
Java
liminwu0626/ZjrcPos
/app/src/main/java/com/whty/zjrcpos/activity/PersonalInfoInputActivity.java
UTF-8
11,480
1.648438
2
[]
no_license
package com.whty.zjrcpos.activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RelativeLayout; import android.widget.TextView; import com.orhanobut.logge...
true
eba25c9e300dcb77602c129aeeaaba045786c775
Java
joaoblehm/SistemaVendas
/SistemaVendas/src/br/com/gx2/service/CupomFiscalService.java
UTF-8
426
1.859375
2
[]
no_license
package br.com.gx2.service; import java.util.List; import br.com.gx2.entity.CupomFiscal; public interface CupomFiscalService { public boolean cadastrarCupomFiscal(CupomFiscal obj); public boolean alterarCupomFiscal(CupomFiscal obj); public boolean apagarCupomFiscal(Integer obj); public CupomFiscal pe...
true
5abd8042d96037e22f25eabd92b5b5748fd7dd3b
Java
nishant4498/CodingProblems
/src/ArrayEquilibriumIndex.java
UTF-8
586
2.953125
3
[]
no_license
public class ArrayEquilibriumIndex { public int solution(int[] A) { // write your code in Java SE 8 int length = A.length; if(length == 0) return -1; long sum =0; for(int i=0;i < A.length;i++){ sum += A[i]; } long sumLeft = 0; for(int i =0;i< l...
true
0dfdd0298cba08d87993dc30e0245ab52678dfc9
Java
itface/sg
/src/main/java/com/sapGarden/application/fi/customer/service/impl/ValidateDbServiceImpl.java
UTF-8
1,889
1.945313
2
[]
no_license
package com.sapGarden.application.fi.customer.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Trans...
true
173dbbd285a4eb97d9b20a4188f3a572cc259665
Java
wuxinxin1/springboot2.x
/src/main/java/com/example/controller/TemplateController.java
UTF-8
337
1.671875
2
[]
no_license
package com.example.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * Created by Administrator on 2019/3/9/009. */ @Controller public class TemplateController { @RequestMapping("/index") public String index(){ return "...
true
9461aae9563fa762400996c407126674fccc1833
Java
jacobcampbellca/CS1_Project3
/Person.java
UTF-8
1,198
3.640625
4
[]
no_license
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Person In Line * * @author Jake Campbell * @version 04/29/2018 */ public class Person extends Actor { private int callsInLine; // How long has this person been in line? /** * Constructs a person */ p...
true
553181e8d54355707d1404087dcf41e6faba417a
Java
matgr1/ai-playground
/genetic/src/main/java/matgr/ai/genetic/DefaultEvolutionParameters.java
UTF-8
1,468
2.640625
3
[ "MIT" ]
permissive
package matgr.ai.genetic; public class DefaultEvolutionParameters implements EvolutionParameters { public double eliteProportion; public int eliteCopies; public double asexualReproductionProportion; public double sexualReproductionProportion; public double interSpeciesSexualReproductionProportion;...
true
0e86fb202fcfe1c89bf943c8fbd586d037b3561f
Java
kerry-baumer/hello-maven
/surreal-shared/src/main/java/org/surreal/lobster/sharedcore/model/draft/IDvFactorBean.java
UTF-8
404
1.601563
2
[]
no_license
package org.surreal.lobster.sharedcore.model.draft; public interface IDvFactorBean { String getFactorSerl(); void setFactorSerl(String factorSerl); String getEventSerl(); void setEventSerl(String eventSerl); // String getObjId(); // void setObjId(String objId); String getSeqNum(); void setSeqN...
true
8d43e6f21810010bf54ca31fe8aea2882ddb16c1
Java
shinealove/springframework02
/demo/src/main/java/com/example/demo/beanFactory/StringToPhoneNumberConverter.java
UTF-8
253
2.09375
2
[ "Apache-2.0" ]
permissive
package com.example.demo.beanFactory; import org.springframework.core.convert.converter.Converter; public class StringToPhoneNumberConverter implements Converter<String, Number> { @Override public Number convert(String source) { return null; } }
true
198e2342bc78d6bac2444e6cd2bf6a9cbfc41e53
Java
kafenoir/ot-harjoitustyo
/hanzipractice/src/test/java/hanzipractice/dao/FileMyListDaoTest.java
UTF-8
1,257
2.71875
3
[]
no_license
package hanzipractice.dao; import java.io.File; import java.io.FileWriter; import java.util.ArrayList; import java.util.HashMap; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; import org.junit.Rule; i...
true
b0e182940a270d8bff192b68b76ec63b96ae8975
Java
fsjhut/shangMaStudy
/Three_Step/crm/electronicBusinessInvoicingSystem/src/main/java/com/javasm/sys/service/impl/MaintainManagerServiceImpl.java
UTF-8
1,028
2.109375
2
[ "LicenseRef-scancode-mulanpsl-2.0-en", "MulanPSL-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
package com.javasm.sys.service.impl; import com.javasm.commons.utils.DataProcessUtil; import com.javasm.sys.entity.MaintainManager; import com.javasm.sys.dao.MaintainManagerDao; import com.javasm.sys.service.MaintainManagerService; import org.springframework.stereotype.Service; import javax.annotation.Resource; impor...
true
cbae2b3f06795992b21a575c8863748f6d4de495
Java
frapperino/Dat216
/i_mat/src/i_mat/center_stage/AddToListMenuItem.java
UTF-8
758
2.21875
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 i_mat.center_stage; import i_mat.model.Model; import i_mat.utilities.ListOrder; import java.awt.event.ActionEvent; import java...
true
149858a774b098743d6f3d85854b536e13c2a349
Java
yongbowin/SearchEs
/src/main/java/com/aitech/chaorder/es/search/SearchEsClient.java
UTF-8
2,630
2.34375
2
[]
no_license
package com.aitech.chaorder.es.search; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.text.SimpleDateFormat; import java.util.Date; /** * @author: * @Description: * @Date: Created in 17:54 2017/11/11 0011 * @Modified By: Boson Wang */ public class S...
true
6d6c29ed1d87cfcaea3ced22482f2b3098b4bd07
Java
PADMAG6/Java_Projects
/write_data_file.java
UTF-8
1,527
3.5625
4
[]
no_license
package com.internsharla.java; import java.io.FileOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; public class Main { public static void main(String[] args) { String data = "I love India"; // declare data here try { FileOutputStream fos = new FileOutputStream("myfile.tx...
true
0f3d0d9fe68c289eeef406309718753775e2511d
Java
dkuhta/availability-api
/src/main/java/com/tui/proof/ws/model/booking/BookingModel.java
UTF-8
600
1.945313
2
[]
no_license
package com.tui.proof.ws.model.booking; import com.tui.proof.ws.dto.booking.Holder; import com.tui.proof.ws.model.BaseModel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import java.util.Set; @No...
true
4058bc81e3f875cc9ee924b1c251262ed943e86f
Java
pryzak/wczytywanie_obrazu
/src/image_processing/Binarization.java
UTF-8
8,970
2.609375
3
[]
no_license
package image_processing; import java.awt.Color; import java.awt.image.BufferedImage; import utils.ImageToArray; public class Binarization { private GrayScale gs; // private OtsuThresholding ot; private Otsu otsu; private BHT bht; private Bernsen bernsen; private MeanMedianBinarization mmb...
true
ff3195894cd9ee1748288ba87c312aae6089a1f3
Java
Apollinary/mera_se_0620
/Колесников/2/AttractionOpposites.java
UTF-8
922
3.296875
3
[]
no_license
import java.util.Random; public class AttractionOpposites { public static void main(String[] args) { int[] nums = new int[10]; Random random = new Random(); for (int i = 0; i < nums.length; i++){ nums[i] = random.nextInt(); } for (int i : nums){ S...
true
fa0a55b50bfb2f2324b5d648035874e97a0f0262
Java
Ale-Allegretti/Java-Learn
/29_Finanze/src/impostezannonia/persistence/MyNoTaxAreaReader.java
UTF-8
1,419
2.578125
3
[]
no_license
package impostezannonia.persistence; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.text.NumberFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.NoSuchElementException; import java.util.St...
true
6964f7abacf9622216dc75950d1a79e8b4edab00
Java
kkagill/Decompiler-IQ-Option
/Source Code/5.27.0/sources/com/iqoption/core/splash/SplashFragment$splashLogHelper$2.java
UTF-8
1,386
1.75
2
[]
no_license
package com.iqoption.core.splash; import android.view.View; import android.widget.TextView; import kotlin.i; import kotlin.jvm.a.a; import kotlin.jvm.internal.Lambda; @i(bne = {1, 1, 15}, bnf = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, bng = {"<anonymous>...
true
7276dc1bb75aeab8386c4bb8ca8d4d7d58da5695
Java
aviralkumar2907/Talk-to-the-Hand-ITSP-2k15
/Android App/app/src/main/java/com/example/aviral/myapplication/CostMatrix.java
UTF-8
2,621
2.8125
3
[]
no_license
package com.example.aviral.myapplication; import android.util.Log; /** * Created by aviral on 6/8/15. */ public class CostMatrix { public double[][] costMatrix; DTW[] a, b; public CostMatrix(DTW[] x, DTW[] y ){ a = new DTW[x.length]; b= new DTW[y.length]; for(int i=0; i<x.leng...
true
126afba06c112851bba1998766fa3a2a176f2615
Java
Xakerzz/Crytography
/src/CryptoTranslater/Crypto.java
UTF-8
2,274
3.484375
3
[]
no_license
package CryptoTranslater; public class Crypto implements PrintCryptoAndNonCrypto{ private String inCrypto; public Crypto(String inCrypto) { this.inCrypto = inCrypto; } public Crypto() { } public String getInCrypto() { return inCrypto; } public void setInCrypto(Stri...
true
ada106ae4bfe1de77d80df328ae48fe2cea724a7
Java
sadaquatrafiq/aitheorylectures
/Resources/Puzzle/src/com/maze/searchStrategy/BreadthFirstStrategy.java
UTF-8
465
2.640625
3
[]
no_license
package com.maze.searchStrategy; import java.util.ArrayList; import java.util.List; import com.org.mazebuilder.Node; public class BreadthFirstStrategy implements ISearchStrategy { private List<Node> stack = new ArrayList<>(); @Override public boolean isEmpty() { return stack.isEmpty(); } @Ove...
true
ea1d6b764bd8d1f47bb6bd341709ca3ce4047f87
Java
aimfei/paper-mgt
/src/main/java/com/paper/papermgt/mapper/TopicMapper.java
UTF-8
368
1.609375
2
[]
no_license
package com.paper.papermgt.mapper; import com.common.framework.base.BaseMapper; import com.paper.papermgt.model.TopicModel; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Topic Mapper * @author Administrator * */ public interface TopicMapper extends BaseMapper { List<TopicModel> g...
true
7a29ba369696f2d77628ee678ce3d16d183ca67f
Java
sunzeboy/mall
/mall-mbg/src/main/java/com/macro/mall/model/DmsBacteriaClass.java
UTF-8
1,659
2.125
2
[ "Apache-2.0" ]
permissive
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class DmsBacteriaClass implements Serializable { @ApiModelProperty(value = "纲ID") private Integer id; @ApiModelProperty(value = "门ID") private Integer phylumId; @ApiModelProperty(val...
true
2387a68564e67b1f11e8290060be8da9ea83dbad
Java
dromara/hmily
/hmily-tac/hmily-tac-common/src/main/java/org/dromara/hmily/tac/common/utils/ResourceIdUtils.java
UTF-8
1,257
2.171875
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2017-2021 Dromara.org * * 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 agr...
true
dde584264d18e8bf1c7a7f8f253942f97a05a6d7
Java
ahadas/fakekube
/src/gen/java/fakekube/io/model/IoK8sApiCoreV1CephFSPersistentVolumeSource.java
UTF-8
7,324
1.820313
2
[ "Apache-2.0" ]
permissive
package fakekube.io.model; import fakekube.io.model.IoK8sApiCoreV1SecretReference; import io.swagger.annotations.ApiModel; import java.util.ArrayList; import java.util.List; import javax.validation.constraints.*; import javax.validation.Valid; import io.swagger.annotations.ApiModelProperty; import javax.xml.bind.anno...
true
5b7a50b020ba2da31442f2c9c4f463fc0b438b51
Java
codeemma/spring-boot-boilerplate
/src/main/java/com/springboilerplate/springboilerplate/exceptions/SmsException.java
UTF-8
181
2.1875
2
[]
no_license
package com.springboilerplate.springboilerplate.exceptions; public class SmsException extends Exception { public SmsException(String message) { super(message); } }
true
32cbfda8e3b57635c404e0f17645d17f4945c5a2
Java
KristiyanGK/Jumper-Game
/src/core/src/com/jumper/game/collections/CoinCollection.java
UTF-8
739
3.046875
3
[ "MIT" ]
permissive
package com.jumper.game.collections; import com.badlogic.gdx.graphics.Texture; import com.jumper.game.interactables.Coin; import java.util.ArrayList; public class CoinCollection { private Texture texture; private ArrayList<Coin> coins; public CoinCollection() { texture = new Texture("coin.png");...
true
0d7f77074d3de59263fe4692fa9302133fe0e911
Java
vovkalexander/-job4j
/chapter_005/src/main/java/ru/job4j/list/SimpleStack.java
UTF-8
1,230
3.734375
4
[ "Apache-2.0" ]
permissive
package ru.job4j.list; import java.util.Iterator; /** * SimpleStack. * @author Vovk Alexander vovk.ag747@gmail.com * @version $Id$ * @since 0.1 */ public class SimpleStack<E> { /** * Поле - хранит ссылку на объект. */ private DynamicLinkedList<E> link; /** * Конструктор для активаци...
true
d4d437e1fea0c6f503609d9a78d985e4f315996c
Java
wintersyan/NovelVideoApp
/component_comic/src/main/java/com/lwlizhe/comic/di/module/ComicModule.java
UTF-8
787
2.15625
2
[]
no_license
package com.lwlizhe.comic.di.module; import com.lwlizhe.basemodule.di.scope.ActivityScope; import com.lwlizhe.basemodule.di.scope.FragmentScope; import com.lwlizhe.comic.mvp.contract.fragment.ComicMainContract; import com.lwlizhe.comic.mvp.model.ComicMainModel; import dagger.Module; import dagger.Provides; /** * Cr...
true
cd06324b24d8b6d796c72455a7e1306867598575
Java
airair/DataMining
/src/fss/NullInducer.java
UTF-8
8,607
2.546875
3
[]
no_license
package fss; import shared.*; import shared.Error; import java.lang.*; import java.io.*; /*************************************************************************** The Null Inducer is an inducer which does nothing. If fatalOnCall is TRUE, any call which is related to training a structure will abort. If it...
true
64cfe387aed065caf476324506bdb1f703df1796
Java
denispastushenko/Allprogects
/IdeaProjects/JCoursesFifteenLection/src/ArrayList.java
UTF-8
495
2.53125
3
[]
no_license
/* public class ArrayList { public static void main(String[] args) { ArrayList<String> arrayList = new ArrayList<String>(); System.out.println(arrayList.size()); arrayList.add("C"); arrayList.add("e"); arrayList.add("r"); arrayList.add("t"); arrayLi...
true
e5dd6bfcf7735f18cb975cbe044b3117ca8ec439
Java
jackyisme123/Virtual_Pet
/src/myPet/Fruit.java
UTF-8
296
2.40625
2
[]
no_license
package myPet; import javax.swing.ImageIcon; public class Fruit extends Food { @Override public String toString() { // TODO Auto-generated method stub return "Fruit"; } public int foodNumber(){ return 4; } public Fruit(){ img = new ImageIcon("src\\pics\\fruit.jpg"); } }
true
40f73611ee5ddc202a0f12e74a16e11eac0ac053
Java
DanielMagallon/Programacion_en_Java
/Deitel/src/C9Polimorfismo/Empleado_Implements.java
UTF-8
1,260
3.234375
3
[]
no_license
package C9Polimorfismo; public abstract class Empleado_Implements implements PorPagar { private String primerNombre; private String apellidoPaterno; private String numeroSeguroSocial; // constructor con 3 argumentos public Empleado_Implements (String nombre,String apellido,String nss) { primerNomb...
true
c1dfc99a9b0e65728aab083181511066454cb228
Java
Deskery/IA_Project
/src/MinMax.java
UTF-8
4,035
3.203125
3
[]
no_license
import java.util.ArrayList; import java.util.HashMap; /* CLasse implémentant l'algorithme MinMax transformé */ public class MinMax { private ArrayList<WorkerAgent> agents; private HashMap<WorkerAgent,ArrayList<TileHeuristic>> problem; private HashMap<WorkerAgent,Integer> solution; public MinMax(Hash...
true
4f4f850b6a780afaf08eeac32f102be662feffdd
Java
buptzzs/ML-Platform
/admin/src/main/java/com/example/admin/entity/Path.java
UTF-8
678
1.59375
2
[]
no_license
package com.example.admin.entity; import java.io.Serializable; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.stereotype.Component; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; imp...
true
383ffa154826b350dddfd8ca892c8292b81abd6a
Java
PenghaiZhang/openEQUELLA
/Source/Plugins/Core/com.equella.base/src/com/tle/common/EntityPack.java
UTF-8
1,666
1.742188
2
[ "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "EPL-1.0", "LGPL-2.0-or-later", "Classpath-exception-2.0", "LicenseRef-scancode-jdom", "ICU", "Apache-1.1", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "GPL-1.0-or-later", "CPL-1.0", "C...
permissive
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
true
f2218d45a6599e53fed0add3f6eb5b8cca31e2fc
Java
Morpheus1101/Avaritia
/src/main/java/morph/avaritia/item/ItemResource.java
UTF-8
4,672
1.796875
2
[ "MIT" ]
permissive
package morph.avaritia.item; import codechicken.lib.item.ItemMultiType; import codechicken.lib.model.ModelRegistryHelper; import codechicken.lib.util.TransformUtils; import com.google.common.collect.Sets; import morph.avaritia.api.IHaloRenderItem; import morph.avaritia.api.registration.IModelRegister; import morph.ava...
true
0072f1f9d5ae0b3c1f9103831c42ea2052389953
Java
LuWenhe/ThreadTest
/ThreadTest5/src/edu/just/itl/Run2.java
UTF-8
607
2.765625
3
[]
no_license
package edu.just.itl; import java.util.Date; class InheritableThreadLocaltTest extends InheritableThreadLocal { @Override protected Object initialValue() { return new Date().getTime(); } @Override protected Object childValue(Object parentValue) { return parentValue; } } publ...
true
76160e34a8cde56d00cb5f96f7a0eae949e893a8
Java
ashutoshinfo/NTHB916NewRepo
/HBProj48-SoftDeletion/src/main/java/com/nt/test/SoftDeletionSelectTest.java
UTF-8
768
2.390625
2
[]
no_license
package com.nt.test; import java.util.List; import javax.persistence.Query; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.SessionFactory; import com.nt.entity.BankAccount; import com.nt.utility.HibernateUtil; public class SoftDeletionSelectTest { publi...
true