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
93fae375f2ad41b96b7ff6d54426acd3da3f9ce3
Java
therealsanchit/Rutgers-Software-Methodology
/Photo Album Android App/app/src/main/java/com/example/sanchitsharma/photoalbum/DisplayActivity.java
UTF-8
9,730
2.171875
2
[]
no_license
package com.example.sanchitsharma.photoalbum; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.wi...
true
aeff00d333704b25809e6705634cfffc6dc63046
Java
DarkEyeDragon/Hangar
/src/main/java/io/papermc/hangar/service/internal/uploads/ImageService.java
UTF-8
2,217
2.109375
2
[ "MIT" ]
permissive
package io.papermc.hangar.service.internal.uploads; import io.papermc.hangar.HangarComponent; import io.papermc.hangar.exceptions.HangarApiException; import io.papermc.hangar.exceptions.InternalHangarException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.CacheControl;...
true
bbeeec8b70c2a895d2397aaa315756ef1019fe99
Java
Leonardomav/POO-projecto
/Funcionario.java
UTF-8
1,150
2.578125
3
[]
no_license
package projeto; import java.io.Serializable; import java.util.ArrayList; public abstract class Funcionario extends Pessoa implements Serializable{ private int numeroMec; private String categoria; private Boolean tipo; private ArrayList<Exame> vigilancias = new ArrayList<Exame>(); pu...
true
2f588065c97b3c43b4255cc97c6b714500f8697d
Java
stickermaker20/FlashPlayerWithAdmob
/app/src/main/java/com/prog2app/mp4videoplayer/AudioVideoListAdapter.java
UTF-8
17,081
1.773438
2
[]
no_license
package com.prog2app.mp4videoplayer; import android.app.Activity; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.media.MediaScannerConnection; import android.net.Uri; import android.os.Build; import android.os.Environmen...
true
56a78efa98d50087a61d2344ca3e8f64b31414f3
Java
jangrott/algs
/src/main/java/pl/jangrot/algs/DeleteAtHead.java
UTF-8
426
3
3
[]
no_license
package pl.jangrot.algs; public class DeleteAtHead { /* Given a singly-linked list, write a method to delete the first node of the list and return the new head. */ public static ListNode deleteAtHead(ListNode head) { if (head == null || head.next == null) { return null; } ...
true
57f3fc2422c2e247c890a2bc8c2122b3ba46e53d
Java
swaroop-reddy/SpringBootRestAPI
/src/main/java/com/swaroop/SpringBootRestAPI/controller/ViewController.java
UTF-8
379
1.859375
2
[]
no_license
package com.swaroop.SpringBootRestAPI.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.servlet.ModelAndView; @RestController public class ViewController { @RequestMapping("/home") public ModelAn...
true
691a975390fd1583641d8f014dcbe861e5a6ad1f
Java
Amoghmule/RailEnquiryApp
/src/main/java/com/rail/repository/RouteRepository.java
UTF-8
739
2.03125
2
[]
no_license
package com.rail.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.transaction.annotation.Transactional; import com.rail.entity.Rou...
true
45e9b0b1476db5df810bcad0b48b2dc4e75edc12
Java
susom/biocatalyst
/src/proxy/src/main/java/edu/stanford/biosearch/data/elasticsearch/Util.java
UTF-8
9,365
2.28125
2
[ "Apache-2.0" ]
permissive
package edu.stanford.biosearch.data.elasticsearch; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; public class Util { private static final String RANGE = "range"; private static final String MATCH = "match"; private static final St...
true
80f2e03e2af0d20e7168c325ef580a6f1e31850e
Java
toeich/datahub
/de.jworks.datahub.client/src/de/jworks/datahub/transform/editors/transformation/editparts/TransformEditPartFactory.java
UTF-8
2,068
2.046875
2
[]
no_license
package de.jworks.datahub.transform.editors.transformation.editparts; import org.eclipse.gef.EditPart; import org.eclipse.gef.EditPartFactory; import de.jworks.datahub.business.transform.entity.Constant; import de.jworks.datahub.business.transform.entity.Datasink; import de.jworks.datahub.business.transform.entity.Da...
true
696fb33f0779a95e765d48e9cec9e2154873a6eb
Java
chaeni96/Study_7
/src/com/iu/c1/string/StringMain3.java
UTF-8
549
3.359375
3
[]
no_license
package com.iu.c1.string; public class StringMain3 { public static void main(String[] args) { String name = "Hello World"; char ch = 'o'; //'o' 문자가 몇개 있습니까? boolean check = true; int num = 0; int count = 0; while(check) { num = name.indexOf(ch, num); if(num>0) { num = num+1; c...
true
2049985249d93efefa864a4fd48aebe4e6846980
Java
abhi9885/ZuoraAdapter
/ZuoraAdapter/src/com/cognizant/ipm/adapter/runtime/parser/OperationResponse.java
UTF-8
260
1.507813
2
[]
no_license
package com.cognizant.ipm.adapter.runtime.parser; import java.util.List; public abstract interface OperationResponse extends MetadataNode { public abstract DataObjectNode getResponseObject(); public abstract List<CloudHeader> getResponseHeaders(); }
true
61b7a76b644422e10e4c77d2654f89b6686b4c97
Java
stivenson/programas-java
/Programas-java-por-consola/Programas-Segundo-semestre/Recorrido_Matriz_En_Verticales_2.java
UTF-8
945
3.0625
3
[]
no_license
public class Recorrido_Matriz_En_Verticales_2 { public static void main(String[] args) { int M[][]=new int[4][4]; llenarMatriz(M); ImprimirMatriz(M); System.out.print("Recorrido: "); for(int a=3;a>-1;a--) { if(!(a%2==0)) for(int e=3;e>-1;e--) ...
true
3355865d6b791e09439b5ae2243d57673a530297
Java
clairejaja/project-euler
/src/main/java/problem12/HighlyDivisibleTriangularNumber.java
UTF-8
2,085
4.25
4
[ "MIT" ]
permissive
import java.util.*; // for ArrayList /** * @author Claire Jaja * @version 9/16/14 * * Project Euler Problem 12 * The sequence of triangle numbers is generated by adding the natural numbers. * So the 7th triangle number would be 1+2+3+4+5+6+7 = 28. * The first ten terms would be: 1,3,6,10,15,21,28,36,45,55, ... * Let u...
true
9f79fb1a6faba26e15a0344fbd9dc4fd38ab3ec6
Java
HideoKojimaGod/TestBackend
/src/test/java/api/mal/services/DatasetsService.java
UTF-8
1,137
2.265625
2
[]
no_license
package api.mal.services; import io.restassured.response.Response; import io.restassured.specification.RequestSpecification; import api.mal.builders.DatasetRequestBuilder; import api.mal.models.*; import java.util.Properties; public class DatasetsService extends BaseService{ public DatasetsService(Properties prop...
true
31c4969ffd1036dc3bf0c1db162eca47ccce623e
Java
whjz/WHJZ
/app/src/main/java/com/example/jh/buildings/Activity/Associated_people.java
UTF-8
5,778
1.953125
2
[]
no_license
package com.example.jh.buildings.Activity; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import androi...
true
540ccd0eee3bea4edff70d3ab33a2f3c4d164f2e
Java
NationalSecurityAgency/datawave-spring-boot-starter
/src/main/java/datawave/microservice/http/converter/protostuff/ProtostuffHttpMessageConverter.java
UTF-8
3,716
2.328125
2
[ "Apache-2.0" ]
permissive
package datawave.microservice.http.converter.protostuff; import io.protostuff.LinkedBuffer; import io.protostuff.Message; import io.protostuff.ProtostuffIOUtil; import io.protostuff.Schema; import org.springframework.http.HttpInputMessage; import org.springframework.http.HttpOutputMessage; import org.springframework.h...
true
6eaa4017a464e541fde5a1f1707e274dcc21a4b9
Java
cat20546/jsp
/src/main/java/kr/or/ddit/servlet/timesTables.java
UTF-8
1,523
2.515625
3
[]
no_license
package kr.or.ddit.servlet; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class timesTables e...
true
9c1a0291c86a3b9392201c225abaad6a7c8eb3f3
Java
hkris710/Java-Examples
/com/hariinc/problems/ProcessNodes.java
UTF-8
1,515
3.5625
4
[]
no_license
package com.hariinc.problems; public class ProcessNodes { static class ProcessNode{ String task; String name; ProcessNode next; ProcessNode(String task, String name){ this.task = task; this.name = name; } public ProcessNode getNext() { return next; } public void setNext(String task,...
true
2e1bb65711f41197f890e8c66fe9d2392aabaa1b
Java
aBreaking/master-foundation
/ads/src/main/java/com/abreaking/master/ads/leetcode/VolumeOfHistogramLcci.java
UTF-8
1,630
3.71875
4
[]
no_license
package com.abreaking.master.ads.leetcode; /** * 面试题 17.21. 直方图的水量 * 给定一个直方图(也称柱状图),假设有人从上面源源不断地倒水,最后直方图能存多少水量?直方图的宽度为 1。 * * * * 上面是由数组 [0,1,0,2,1,0,1,3,2,1,2,1] 表示的直方图,在这种情况下,可以接 6 个单位的水(蓝色部分表示水)。 感谢 Marcos 贡献此图。 * * 示例: * * 输入: [0,1,0,2,1,0,1,3,2,1,2,1] * 输出: 6 * * from : https://leetcode-cn.com/proble...
true
d8ae97dff51417ed9bd1898e882d5e590324a602
Java
song121382/aizuji
/microservice-loverent-liquidation-common-v1/src/main/java/org/gz/liquidation/common/dto/TransactionRecordQueryReq.java
UTF-8
2,490
1.898438
2
[]
no_license
package org.gz.liquidation.common.dto; import java.util.Date; import java.util.List; import org.gz.common.entity.QueryPager; import lombok.Getter; import lombok.Setter; /** * * @Description:TODO 交易流水请求参数 * Author Version Date Changes * liaoqingji 1.0 2017年12月23日 Created */ public class TransactionRecord...
true
476ade6fd150a3d063374d39091673140b91d39e
Java
IFuHeng/RouterTest
/src/com/changhong/telnettool/MainMenu.java
UTF-8
6,235
2.34375
2
[]
no_license
package com.changhong.telnettool; import com.changhong.telnettool.event.MyWindowAdapter; import com.changhong.telnettool.function.cpu.CpuToolMain; import com.changhong.telnettool.function.other.ResetExam; import com.changhong.telnettool.function.sta.StaListMain2; import com.changhong.telnettool.function.test_exam.Test...
true
849360b3876ac84a2254d38691f1bb403fcfcb3d
Java
pabloherrea/Polimorfismo
/Polimorfismo/src/polimorfismo/Gato.java
UTF-8
604
2.96875
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 polimorfismo; /** * * @author Usuario */ public class Gato extends Animal{ public Gato(String nombre, String tipo_alim...
true
f607551cc31cfe525dbdd9e6b11744e0e7cc6b63
Java
mrprez/gencross-web
/src/main/java/com/mrprez/gencross/web/action/interceptor/VersionNumberInterceptor.java
UTF-8
1,443
2.125
2
[]
no_license
package com.mrprez.gencross.web.action.interceptor; import java.io.IOException; import java.util.Properties; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.interceptor.Interceptor; public class VersionNumberInterceptor implements Intercep...
true
3c1cea39dcd70f2ea21f00d694a994d1299b4a7b
Java
barchetta/helidon
/examples/microprofile/hello-world-implicit/src/test/java/io/helidon/microprofile/example/helloworld/implicit/ImplicitHelloWorldTest.java
UTF-8
2,185
1.890625
2
[ "Apache-2.0", "APSL-1.0", "LicenseRef-scancode-protobuf", "GPL-1.0-or-later", "LGPL-2.1-only", "LicenseRef-scancode-unknown-license-reference", "CC-PDDC", "LicenseRef-scancode-generic-export-compliance", "LicenseRef-scancode-unicode", "EPL-1.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL...
permissive
/* * Copyright (c) 2018, 2023 Oracle and/or its affiliates. * * 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 ...
true
cad1b40508a124144acb8496cce5fc8921abfc67
Java
morgworth/spring-assignment
/SpringAssignment/src/main/java/com/assignment/controller/BasicController.java
UTF-8
290
2.015625
2
[]
no_license
package com.assignment.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class BasicController { @GetMapping("/something") public String something() { return "something"; } }
true
49bf815fb1191eb5c18e6f30c4f0f71edd59ec06
Java
eMainTec-DREAM/DREAM
/JavaSource/intf/dream/bee/finder/calibration/service/spring/BeeFinderCalibrationListServiceImpl.java
UTF-8
1,172
1.890625
2
[]
no_license
package intf.dream.bee.finder.calibration.service.spring; import java.util.List; import java.util.Map; import intf.dream.bee.finder.calibration.dao.BeeFinderCalibrationListDAO; import intf.dream.bee.finder.calibration.service.BeeFinderCalibrationListService; /** * serviceimpl * @author kim21017 * @vers...
true
48c1e00e4c160149cf942a93a1df0bb7ae3aeda3
Java
FirePower-Git/ColtExpress
/src/entities/collectible/Gem.java
UTF-8
678
3.21875
3
[]
no_license
package entities.collectible; public class Gem extends Collectible { /** * The constructor of the Gem object */ public Gem() { super(); this.value = 500; } /** * The constructor of the Gem object * @param value the value of the collectible */ public Gem(int value) { super(value); } /** * fu...
true
6991f1088e3ec01c7ae0c95ecd1cde898ed19078
Java
logogin/CoursesWorks
/CompNetworks/convention/SRC-JAVA/forumreply.java
UTF-8
6,014
2.5625
3
[]
no_license
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*;//for sql servers... public class forumreply extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ ...
true
edd96e7c9e03f4c620efe95936e06b7ce6760e3d
Java
FairyTale-JT/-Anti-theft-lock
/JgPushTest/app/src/main/java/com/example/hjl/jgpushtest/util/Base64Utils.java
UTF-8
1,232
2.640625
3
[]
no_license
package com.example.hjl.jgpushtest.util; import android.util.Base64; import java.io.UnsupportedEncodingException; /** * Base64加密解密 */ public class Base64Utils { /** * BASE64 加密 * * @param str * @return */ public static String encryptBASE64(String str) { if (str == null || s...
true
62059c51826870bb281281bdb4baa13d850f9c64
Java
pgujva/New_java_lesson
/sandbox/src/main/java/Zerg.java
UTF-8
141
2.546875
3
[ "Apache-2.0" ]
permissive
public class Zerg { private int age = 5; public int getAge() { return age; } public int setAge(int a) { return age; } }
true
cfe0a21bbfddddfcc3b7f757f6db9b21eaa1f863
Java
Unitsua/java-patterns
/factory_method_pattern/src/test/java/uiTest/App.java
UTF-8
1,420
3.015625
3
[]
no_license
package uiTest; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.util.HashMap; import java.util.Map; import javax.swing.*; public class App extends JFrame { private JComboBox<String> cbxColors; private JTextField txtName; private Map<String, Colo...
true
1957819b9e5433b535c3f4e22742c274c5e99cd4
Java
antoniogarmendia/EMF-Splitter
/org.miso.wizard.instantiate.modular.pattern/src/org/miso/wizard/instantiate/modular/pattern/pages/PageSelectPackagesUnits.java
UTF-8
20,157
1.78125
2
[]
no_license
package org.miso.wizard.instantiate.modular.pattern.pages; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.eclipse.emf.common.util.BasicEList; import org.eclipse.emf.common.util.EList; import org.eclipse.em...
true
b4a6fd8ea0d005c478e4c38628509da101f02a98
Java
peter-otten/Spotitube
/src/main/java/services/rest/PlaylistRestService.java
UTF-8
901
2.234375
2
[]
no_license
package services.rest; import com.google.inject.Inject; import datasource.IPlaylistDao; import datasource.ITrackDao; import domain.Playlist; import domain.Track; import services.IPlaylistService; import javax.inject.Singleton; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax....
true
81b309535f4841bff01f50ac13edab6a0f2663f5
Java
Auch-Auch/avito_source
/sources/com/avito/android/short_term_rent/di/module/StrConfirmBookingBlueprintsModule_ProvideItemBinderFactory.java
UTF-8
2,843
1.867188
2
[]
no_license
package com.avito.android.short_term_rent.di.module; import com.avito.android.blueprints.ButtonItemBlueprint; import com.avito.android.blueprints.InputItemBlueprint; import com.avito.android.conveyor_shared_item.notification.NotificationItemBlueprint; import com.avito.android.short_term_rent.confirm_booking.items.link...
true
7b058db02913c3505ae53d1d44376ff1355735cb
Java
mikerussellnz/javacodedom
/src/test/java/com/mikerussell/javacodedom/elements/InterfaceDeclarationTest.java
UTF-8
2,643
2.578125
3
[]
no_license
package com.mikerussell.javacodedom.elements; import com.mikerussell.javacodedom.BaseTest; import com.mikerussell.javacodedom.core.AccessModifier; import org.junit.Test; public class InterfaceDeclarationTest extends BaseTest { @Test public void testInterfaceDeclarationFields() { InterfaceDeclaration classDecl...
true
2660e5f4143eb9a7530b79075384cb79a4d9e02f
Java
BAT6188/mt36k_android_4.0.4
/ics-4.x/frameworks/base/application_platform/MediaFile/src/com/tcl/mediafile/MediaFile.java
UTF-8
7,756
2.75
3
[ "LicenseRef-scancode-unicode", "Apache-2.0" ]
permissive
package com.tcl.mediafile; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Comparator; import java.util.List; import android.R.integer; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; /** * MediaFile为虚基类。提够类似File的接口,并增加了诸如...
true
96ef9267c5bc1f79d64741c8dc03f499c7a1a903
Java
League-Level1-Student/level1-module3-teashopp
/src/_01_intro_to_static/Athlete.java
UTF-8
1,006
3.71875
4
[]
no_license
package _01_intro_to_static; import java.util.Random; public class Athlete { //static Random rn = new Random(); //int answer = rn.nextInt(10) + 1; static Random nextBibNumber0 = new Random(); int nextBibNumber = nextBibNumber0.nextInt(500) + 1; static String raceLocation = "New York"; static Stri...
true
119865ead7cef3a3e15c66a70a29312362019f56
Java
guozhuoyuan/Exchangis
/modules/executor/engine/datax/datax-hdfsreader/src/main/java/com/alibaba/datax/plugin/reader/hdfsreader/HdfsReader.java
UTF-8
21,661
1.695313
2
[ "Apache-2.0" ]
permissive
package com.alibaba.datax.plugin.reader.hdfsreader; import com.webank.wedatasphere.exchangis.datax.common.constant.TransportType; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.plugin.RecordSender; import com.alibaba.datax.common.spi.Reader; import com.alibaba.datax.common.ut...
true
d3a025cf2abfec0e5f930647e4173ad02004f1db
Java
maksym-pasichnyk/Server-1.16.3-Remapped
/net/minecraft/world/level/block/grower/AbstractMegaTreeGrower.java
UTF-8
3,801
1.914063
2
[]
no_license
/* */ package net.minecraft.world.level.block.grower; /* */ /* */ import java.util.Random; /* */ import javax.annotation.Nullable; /* */ import net.minecraft.core.BlockPos; /* */ import net.minecraft.server.level.ServerLevel; /* */ import net.minecraft.world.level.BlockGetter; /* */ import net....
true
4df5880a56c57a1895ac76e1134a9735f77d1f86
Java
aftabhabib/PlayMax.TV
/app/src/main/java/hkapps/playmxtv/Services/Requester.java
UTF-8
3,782
2.34375
2
[]
no_license
package hkapps.playmxtv.Services; import android.content.Context; import android.util.Log; import com.android.volley.AuthFailureError; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox...
true
be5c4e58082c372360c68b2205a3263166e2e7ae
Java
libaolucky/SSmKuangjia01
/test/spring13zhujieDi/AdminServiceImpl.java
UTF-8
580
2.234375
2
[]
no_license
package spring13zhujieDi; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service("adminService") public class AdminServiceImpl implements AdminService{ //@Resource //相当于我们 xml中的注入 注解1: 这个注解是 tomcat提供的 byName @Autowired //注解2: 是spring提供的,多用这个, ...
true
bbbbd04f444707f1a7a71a18090a43dbafb99b91
Java
phamdinhhai0810/suristoreshop
/src/main/java/com/suristore/shop/repo/ProductRepository.java
UTF-8
219
1.632813
2
[]
no_license
package com.suristore.shop.repo; import org.springframework.data.jpa.repository.JpaRepository; import com.suristore.shop.domain.Product; public interface ProductRepository extends JpaRepository<Product, Integer> { }
true
a1273917e2e4208475554c7c72a2eebc26f82252
Java
S180231891/java_data_structure_Test
/src/LeetCode/zbg_027.java
UTF-8
938
3.796875
4
[]
no_license
package LeetCode; //从数组中删除指定的数 public class zbg_027 { public static void main(String[] args) { int[] nums = {1,1,1,2,3,4,4,5,7}; int val=4; zbg_27 text = new zbg_27(); int res = text.removeElement(nums,val); System.out.println(res); } } class zbg_27 { public int remov...
true
34abab552f68194cd7a3e2b89f09ea341494593f
Java
HOEINNKIM/Self_Study
/Do_it_Algorithm_of_Java/src/chap02/_005_CardConv.java
UTF-8
2,543
3.8125
4
[]
no_license
package chap02; import java.util.Scanner; public class _005_CardConv { public static int cardConvR(int x, int r, char[] d) { int digits = 0; //변환 후의 자릿수 String dchar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; do { d[digits++] = dchar.charAt(x%r); //r로 나눈 나머지 값을 dchar에서 뽑아 저장. x /= r; //x를 r로 나눈...
true
1c54fae70edda6d0e4d74dbb7cef4b37f343faad
Java
SebasGA19/Prueba
/doublelinkedlist/DoubleLinkedList.java
UTF-8
11,027
3.421875
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 doublelinkedlist; import java.util.Iterator; /** * * @author Repre */ public class DoubleLinkedList implements ListInterfa...
true
14ee4fc5fe1ca65e83169664cc2cd867b8dd9697
Java
apollo78124/Selenium-WebCrawler-Project
/src/VideoToMp3.java
UTF-8
1,510
2.609375
3
[]
no_license
import java.util.Scanner; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class VideoToMp3 { public static void main(String[] args) { // TODO Auto-generated method stub int songNumber; String[] l...
true
ed8127c6160ad7dc629e8276aca8dbe0e1a81be2
Java
sdmms1/DB_Project
/src/main/java/train/model/User.java
UTF-8
721
2.5625
3
[]
no_license
package train.model; import lombok.Builder; import lombok.Getter; import lombok.Setter; import java.util.Objects; @Getter @Setter @Builder public class User { private String username; private String id; // Identity card private String phone; private String password; // TODO: Add order list ...
true
9bec9e5aa4bd7570b7d7e4c2bf7b833a1ac22588
Java
hsf301/StemCellsManager
/app/src/main/java/com/huashengfu/StemCellsManager/fragment/interaction/DynamicCommentFragment.java
UTF-8
7,041
1.851563
2
[]
no_license
package com.huashengfu.StemCellsManager.fragment.interaction; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; im...
true
736e3de53095e984aca5ed8e7286057444d7c9d0
Java
wmjxq/untitled
/src/RJDZ/ER1.java
UTF-8
3,931
3.234375
3
[]
no_license
package RJDZ; import java.util.Scanner; /*** * @date 2021-04-14 12:59 * @aythor weimengjie */ public class ER1 { boolean flag = true; String name; //用户的名字 String sj; //电脑出的quan String number; // 你出的quan int random = 1 + (int) (Math.random() * 3); //创建一个随机数 (0-9) ...
true
5c2b49435df92c53ad66dcee9cf6de1c33055158
Java
thomasreardon/HelloServlet
/HelloServlets/src/main/java/enums/Delegate.java
UTF-8
1,303
2.484375
2
[]
no_license
package enums; import controllers.AcceptedReimbursements; import controllers.AddReimbursement; import controllers.Controller; import controllers.DeniedReimbursements; import controllers.LoginController; import controllers.ViewReimbursements; import controllers.UpdateReimbursement; import controllers.PendingRe...
true
ffa082917339f0033a5e5c3855f47a0370026c3f
Java
javaschoolrzn4/test2
/test2code/src/test2/q05/TestImports2.java
UTF-8
877
2.84375
3
[]
no_license
package test2.q05; import test2.q05.MyClass; public class TestImports2 { public static void main(String[] args) { MyClass.howdy(); // line 14 System.out.print(MyClass.myConstant + " "); // line 15 // System.out.print(myConstant + " "); // line 16 // howdy(); // line 17 // Syste...
true
6630354295bc0eb3cc317c1c46bb3e6e00b01750
Java
liuhaipen9/my_springcloud
/stream_hello/src/main/java/com/cn/stream_hello/util/Sink.java
UTF-8
342
1.820313
2
[]
no_license
package com.cn.stream_hello.util; import org.springframework.cloud.stream.annotation.Input; import org.springframework.messaging.SubscribableChannel; /** * @author 刘海鹏 * @iphone 13714872954 * @date 2019/5/3上午10:20 */ public interface Sink { String INPUT="input"; @Input(Sink.INPUT) SubscribableChannel...
true
f936202261d0294a6a8fe9e12692e621c6d09005
Java
OlegSedov/ConditionerHomework
/src/test/java/ru/netology/domain/ConditionerTest.java
UTF-8
2,308
2.796875
3
[]
no_license
package ru.netology.domain; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ConditionerTest { @Test public void shouldIncreaseCurrentTemperature() { Conditioner conditioner = new Conditioner(); conditioner.setMaxTemperature(36); conditioner.se...
true
0a78790b928bdd28143635fcc583529e01b1475e
Java
dengjiaping/babywatch
/src/com/mobao/watch/adapter/SOSphoneAdapter.java
UTF-8
2,365
1.914063
2
[]
no_license
package com.mobao.watch.adapter; import java.io.IOException; import java.io.UnsupportedEncodingException; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl....
true
f27af819a36ca07d055e7051c7f78311e097682f
Java
ragilgm/bootcampG2academi
/day14/LoginRegex/App.java
UTF-8
2,287
3.078125
3
[]
no_license
import java.io.IOException; import java.util.Scanner; public class App { public static void main(String[] args) throws IOException { LoginRegex login = new LoginRegex(); boolean checkRegex = false; Scanner input = new Scanner(System.in); String argument; try { argument = args[0]; } catch (Exception ...
true
a620ac28060dabd1fe37846bad093b3402b89725
Java
StonePanda/javaeetraining
/src/main/java/com/hos/one/dao/CityhotelMapper.java
UTF-8
492
1.835938
2
[]
no_license
package com.hos.one.dao; import com.hos.one.entity.Cityhotel; import java.util.List; public interface CityhotelMapper { int deleteByPrimaryKey(Integer hotelid); int insert(Cityhotel record); int insertSelective(Cityhotel record); Cityhotel selectByPrimaryKey(Integer hotelid); //根据城市名查找hotelid...
true
cd745d98247816bd1ad3a48f53c544c0b1e93c4e
Java
a12791602/lotto-cms-core-wl
/src/main/java/com/hhly/cmscore/cms/remote/service/status/operate/OperationOrderEnum.java
UTF-8
877
2.1875
2
[]
no_license
package com.hhly.cmscore.cms.remote.service.status.operate; import com.hhly.cmscore.cms.remote.service.status.entity.UpdateStatusBO; /** * @desc 订单执行操作 * @author jiangwei * @date 2017年3月15日 * @company 益彩网络科技公司 * @version 1.0 */ public enum OperationOrderEnum { /** * 检查方案 */ CHECK { public boolean execu...
true
997acb29a1e65f214b3a9a4d3492836c152eab14
Java
wangle2/skt
/dataproviderex/src/main/java/net/meyki/data/client/response/GetAmountResponse.java
UTF-8
696
1.757813
2
[]
no_license
package net.meyki.data.client.response; import net.meyki.data.client.domain.AmountBean; import net.meyki.data.client.domain.ImageItem; import net.meyki.data.json.JavaCommonResponse; import java.util.ArrayList; import java.util.List; public class GetAmountResponse extends JavaCommonResponse { /** * */ private...
true
efcf8cef4d43cf57aa8985f6ff1930ab7e741b25
Java
cristoferJaimez/Mouth-System
/src/java/Modelos/AgendaDAO.java
UTF-8
1,200
2.4375
2
[]
no_license
package Modelos; import Config.Conexion; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; /** * * @author Cristo */ public class AgendaDAO { Connection con; PreparedStatement ps; ...
true
12475967ed2849c3fb7037728c35a9d43f27af60
Java
wq960824/test
/src/paixu/Charu.java
GB18030
1,157
2.9375
3
[]
no_license
package paixu; import com.alibaba.fastjson.JSON; public class Charu { public static void main(String args[]){ int arr[]={1,4,5,32,2,53,13,4,98}; Charu charu=new Charu(); int brr[]=charu.chaRu(arr); System.out.println(JSON.toJSONString(brr)); String crr[]={"","ѧ","","Ӣ","ѧ"...
true
5313601a3e1c23198862321ea7823bf24b65e6c0
Java
dordsor21/MissionGameAware
/src/main/java/me/dordsor21/MissionGameAware/challenges/Survival/impl/Burn.java
UTF-8
2,350
2.625
3
[]
no_license
package me.dordsor21.MissionGameAware.challenges.Survival.impl; import me.dordsor21.MissionGameAware.MissionGameAware; import me.dordsor21.MissionGameAware.challenges.Survival.TimedChallenge; import me.dordsor21.MissionGameAware.challenges.impl.SurvivalChallenge; import org.bukkit.Bukkit; import org.bukkit.ChatColor; ...
true
434754c967341616f5d0fca693385226bfb47c95
Java
RyanTech/android-21
/car_android/Car_washing/src/main/java/com/kplus/car/carwash/module/OrderStatus.java
UTF-8
3,256
2.671875
3
[]
no_license
package com.kplus.car.carwash.module; /** * Description:订单状态 * <br/><br/>Created by Fu on 2015/5/19. * <br/><br/> */ public enum OrderStatus { PAYING(21), // 本地新加的,支付中,服务端好像没此状态 BOOKED(0), // 初始值,未下单 UNABLE_PAY(1), // 无法支付 PAY_PENDING(2)...
true
6c9bcbc53d5ebb3bc792320fcf682158c40bde4d
Java
sujanay/E-Commerce-Website
/Online-Shoes/src/java/Entities/ShoesValidation.java
UTF-8
6,275
3.03125
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 Entities; /** * * @author sujan */ public class ShoesValidation { // check to see if the user has sel...
true
952393fdf76f435ab3fb6b8852c9e0a8a4ade727
Java
luoxue1107/java
/JavaEE/Nov/day02/src/main/java/cn/kgc/tangcco/dao/impl/CourseDaoImpl.java
UTF-8
2,778
2.59375
3
[]
no_license
package cn.kgc.tangcco.dao.impl; import cn.kgc.tangcco.dao.CourseDao; import cn.kgc.tangcco.pojo.Course; import cn.kgc.tangcco.util.jdbcUtil.JDBCUtil; import com.alibaba.fastjson.JSON; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; /** * @author 李庆华 * @D...
true
6c15aae524662885554d8fd21e029788f071100a
Java
limkokwing-lesotho/gradebook
/src/luct/utils/TypeUtils.java
UTF-8
2,871
2.90625
3
[]
no_license
package luct.utils; import java.lang.reflect.Field; import java.time.LocalDate; import java.time.LocalDateTime; import org.apache.commons.lang3.math.NumberUtils; public class TypeUtils { public static boolean isString(Class<?> type) { return String.class.equals(type); } public static boolean isLocalDate(Fiel...
true
92c93ec13a67f279b68e4094d7b941d942093c00
Java
technocode/com.wa_2.21.2
/src/main/java/X/C235516j.java
UTF-8
394
1.703125
2
[]
no_license
package X; import com.google.android.gms.common.api.Scope; import java.util.Comparator; /* renamed from: X.16j reason: invalid class name and case insensitive filesystem */ public final class C235516j implements Comparator { @Override // java.util.Comparator public final int compare(Object obj, Object obj2) ...
true
f24da87505fbcbcc4a7f4b2022fd1f4652a4a360
Java
JBOuser/M06_acces_a_dades-Activitat1
/src/activitat_1_1/CheckIfFileExists.java
UTF-8
520
3.296875
3
[]
no_license
package activitat_1_1; import java.io.File; import java.util.Scanner; public class CheckIfFileExists { public static void main(String[] args) { Scanner scanner1 = new Scanner(System.in); System.out.println("Enter a path of folder/file: "); String path1 = scanner1.next(); scanner1.close(); File...
true
ca13bd692d1f5c954c5fcc6c225526f5a1bbf1d3
Java
ChrisHadzhikolev/S3-CB03-Group3
/PAAS/src/main/java/com/video/recognition/VideoStream.java
UTF-8
1,182
2.28125
2
[]
no_license
package com.video.recognition; import org.opencv.core.Core; import org.opencv.osgi.OpenCVNativeLoader; import org.opencv.videoio.VideoCapture; public class VideoStream { static{ String osName = System.getProperty("os.name"); String opencvpath = System.getProperty("user.dir"); if(osName.sta...
true
afbbca0dabafe93bc626ca543ac0c2771c254467
Java
alphakys/chapter05
/src/com/javaex/ex01/ByteStreamApp.java
UTF-8
683
3.125
3
[]
no_license
package com.javaex.ex01; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class ByteStreamApp { public static void main(String[] args) throws IOException{ InputStream in = new FileInputStream("...
true
f0b8d2e39efc0ada17d8d477b4de43c1a4b19309
Java
iris61/PicMask
/app/src/main/java/com/lovecoding/yangying/ImageDetail/CommentsInfo.java
UTF-8
2,234
2.421875
2
[]
no_license
package com.lovecoding.yangying.ImageDetail; /** * Created by yangying on 18/2/26. */ public class CommentsInfo { private int commentId = 0; private String userName; private int imageId; private int replyToComment; private String replyToCommentUser = null; private String content; private...
true
338d1ead35a6b6990c406ec1b61eb14e1c971ffa
Java
Bendar01/JavaRush-2
/2.JavaCore/src/com/javarush/task/task14/task1413/CompItem.java
UTF-8
139
1.851563
2
[]
no_license
package com.javarush.task.task14.task1413; /** * Created by Admin on 15.08.2017. */ public interface CompItem { String getName(); }
true
186ad54075f2e7aec9905736135615f7b40106d2
Java
mihilt/lemon-biz
/lemon-biz/src/main/java/com/lemon/lemonbiz/approval/model/vo/Approval.java
UTF-8
482
1.585938
2
[]
no_license
package com.lemon.lemonbiz.approval.model.vo; import java.util.Date; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class Approval { private String key; private int typeKey; private St...
true
eb52a18ef20e1bb749cd139c7d2ac37f4b8e019a
Java
moutainhigh/payment-11
/payment-infrastructure/src/main/java/com/ymatou/payment/infrastructure/db/model/BussinessOrderPo.java
UTF-8
13,865
1.8125
2
[]
no_license
package com.ymatou.payment.infrastructure.db.model; import java.math.BigDecimal; import java.util.Date; public class BussinessOrderPo { /** * CHAR(36) 默认值[(newid())] 必填<br> * */ private String bussinessOrderId; /** * VARCHAR(16) 必填<br> * */ private Stri...
true
f3298d24be2fd92274b9a78f6a54ec580ee25ebe
Java
bflowtoolbox/app
/plugins/org.bflow.toolbox.diagram.extensions/src/org/bflow/toolbox/extensions/IDiagramCreationWizard.java
UTF-8
783
2.171875
2
[]
no_license
package org.bflow.toolbox.extensions; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.wizard.IWizard; import org.eclipse.ui.IWorkbench; /** * Describes a wizard that creates a Bflow*-related diagram. * * @author Arian Storch...
true
a75d56450cd834ed3d1157900e69776bbc9bc85f
Java
acierto/aws-chat
/aws-chat-client/src/main/java/com.acierto.awschat.client/ScheduledMessageSender.java
UTF-8
5,112
2.546875
3
[ "MIT" ]
permissive
package com.acierto.awschat.client; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframew...
true
56448416a6ad46972c02adc9a7c9687708665a33
Java
easyGuyLyn/lt_b_pai
/app/src/main/java/com/dawoo/lotterybox/adapter/hall/parent/MarqueeTextViewHolder.java
UTF-8
1,333
2.03125
2
[]
no_license
package com.dawoo.lotterybox.adapter.hall.parent; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.View; import com.dawoo.lotterybox.R; import com.dawoo.lotterybox.adapter.hall.child.BaseViewHolder; import com.dawoo.lotterybox.bean.Bulletin; import com.dawoo.lotterybo...
true
a6ce2069d6ab915978f306416bcbd10b4cddf6ee
Java
atulspatil/RN_Android_Native
/android/app/src/main/java/com/sample_android_ui/sample/CustomView.java
UTF-8
2,983
2.421875
2
[]
no_license
package com.sample_android_ui.sample; import android.content.Context; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.Toast; import androidx.annotation.Nullable; import com.facebook.react.bridge.Arguments; import com.facebook....
true
85eb41e0fc36e3a371774bc99a81e2a6eae828a2
Java
Chickenpowerrr/languagehelper
/src/main/java/com/gmail/chickenpowerrr/languagehelper/LanguageFile.java
UTF-8
1,860
2.75
3
[]
no_license
package com.gmail.chickenpowerrr.languagehelper; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; ...
true
266082358c6ad947fd97b9c56337fcda163a6180
Java
dobulekill/jun_springcloud
/springloud_practice/common-domain/src/main/java/org/nr/tour/domain/util/EntityUtils.java
UTF-8
385
2.046875
2
[ "Apache-2.0" ]
permissive
package org.nr.tour.domain.util; import org.nr.tour.domain.IDEntity; import org.springframework.util.StringUtils; import java.util.UUID; /** * @author Wujun */ public class EntityUtils { public static void preSave(IDEntity entity) { if (StringUtils.isEmpty(entity.getId())) { entity.setId(U...
true
0e0918f346648a748037ec56d9ee5bef8dd0d849
Java
Invictus252/JavaII_Final
/src/mclamud/Area.java
UTF-8
394
1.804688
2
[]
no_license
package mclamud; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class Area { public String title = ""; public String gfx = ""; public ArrayList<String> items = new ArrayList<>(); public int[] exits = {0,0,0,0,0,0}; public Map<String, Player> players = new HashMa...
true
436b0f7ada0f5dc6dfc5ae06df970ddd74dd4ced
Java
wjq1028/zongsOpenGatewaySdk
/src/main/java/com/zongs365/open/api/response/order/OrderShippingResponse.java
UTF-8
666
1.835938
2
[]
no_license
package com.zongs365.open.api.response.order; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import com.zongs365.open.api.response.base.BaseResponse; import com.zongs365.open.api.response.base.BaseResponseBody; import lombok.Data; public class OrderShippingResponse extends BaseResponse<O...
true
3e9c501d97a726024472c1d805a284351f438b09
Java
k-gawel/FridgeApi
/src/main/java/org/california/service/model/WishListService.java
UTF-8
1,741
2.25
2
[]
no_license
package org.california.service.model; import org.california.model.entity.Account; import org.california.model.entity.WishList; import org.california.model.entity.utils.AccountDate; import org.california.model.transfer.request.forms.WishListForm; import org.california.repository.wishlist.WishListRepository; import org....
true
4b3aeddd9f3e4888ca2248a523d0733ea853a743
Java
14erHiker/Algorithms
/BT.java
UTF-8
4,116
3.265625
3
[]
no_license
class BT { public class Node { T key; Node parent = null; Node right = null; Node left = null; public Node(T key){ this.key = key; } } Node root = null; int length = 0; int height = 0; T lastPrinted; public int height(Node node) { if(node == null) return -1; int hl = height(node.left); i...
true
1de17b67667552e481aa573872649b73adf510d2
Java
rolandyuwy/ip
/src/main/java/duke/command/FindCommand.java
UTF-8
1,290
3.109375
3
[]
no_license
package duke.command; import duke.task.TaskList; import duke.ui.Ui; import duke.util.Storage; /** * Represents a find command to find tasks which match a particular search description. */ public class FindCommand extends Command { private String[] searchKeywords; /** * Initializes a find command. ...
true
3eff71db5b1ea0afd8f78e2968679a1700eaea4e
Java
DemoXinMC/MoreEnchants
/src/main/java/com/demoxin/minecraft/moreenchants/melee/EnchantmentExecution.java
UTF-8
2,209
2.359375
2
[]
no_license
package com.demoxin.minecraft.moreenchants.melee; import com.demoxin.minecraft.moreenchants.MoreEnchants; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.enchantment.EnumEnchantmentType; import net.minecraft.entity.EntityLivingBase; import net.min...
true
2f9b64f0a5367ee62d5d001d974cc7c746ed0904
Java
alipay/alipay-sdk-java-all
/v2/src/main/java/com/alipay/api/domain/AlipayUserBenefitCreateModel.java
UTF-8
5,791
1.929688
2
[ "Apache-2.0" ]
permissive
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 蚂蚁会员合作权益创建接口 * * @author auto create * @since 1.0, 2020-08-17 21:22:07 */ public class AlipayUserBenefitCreateModel extends AlipayObject { private static final long serialVersionUID = 44588...
true
71dc8edad3196ed44b752b8daef79c6c3363c68a
Java
ecclesia/kipeto
/kipeto-core/src/main/java/de/ecclesia/kipeto/engine/Engine.java
UTF-8
3,698
2.140625
2
[ "Apache-2.0" ]
permissive
/* * #%L * Kipeto Core * %% * Copyright (C) 2010 - 2011 Ecclesia Versicherungsdienst 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...
true
d5d7c02f48aaf94cc7c668fbf15f819bf2513c09
Java
MaisonWan/WeatherMan
/app/src/main/java/com/domker/weather/api/RxSingleObserver.java
UTF-8
408
1.945313
2
[ "Apache-2.0" ]
permissive
package com.domker.weather.api; import io.reactivex.SingleObserver; import io.reactivex.disposables.Disposable; /** * 对于返回结果的封装 * <p> * Created by wanlipeng on 2019/2/10 12:36 AM */ public abstract class RxSingleObserver<T> implements SingleObserver<T> { @Override public void onSubscribe(Disposable d) { ...
true
1ff40c1ce29edd16cd87c5ca165d27d32f630408
Java
klmDF14J/GameJam
/src/hsim/util/SysInfo.java
UTF-8
111
1.695313
2
[]
no_license
package hsim.util; public class SysInfo { public static String userDir = System.getProperty("user.dir"); }
true
259df60798ba120eabb8aeafcf45ec3f28536a7f
Java
BDS-CoPilot/blackduck-alert
/src/test/java/com/blackducksoftware/integration/hub/alert/channel/hipchat/controller/distribution/HipChatConfigRestModelTest.java
UTF-8
1,769
1.90625
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2017 Black Duck Software Inc. * http://www.blackducksoftware.com/ * All rights reserved. * * This software is the confidential and proprietary information of * Black Duck Software ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * a...
true
d301bd6ab61806a6ddbee7c646516d87a6759229
Java
JasperBouwman/TPort
/tport/src/main/java/com/spaceman/tport/commands/tport/pa/oldAndNew/Test.java
UTF-8
1,611
2.375
2
[ "MIT" ]
permissive
package com.spaceman.tport.commands.tport.pa.oldAndNew; import com.spaceman.tport.commandHandler.SubCommand; import com.spaceman.tport.commands.tport.ParticleAnimationCommand; import com.spaceman.tport.tpEvents.TPEManager; import org.bukkit.entity.Player; import static com.spaceman.tport.fancyMessage.colorTheme.Color...
true
025e24e8f2144d13e77b1597f43daba28243604f
Java
LC1258/MyJob
/src/com/lwj/codeexamination/aqiyi/Main3.java
UTF-8
1,267
3.234375
3
[]
no_license
package com.lwj.codeexamination.aqiyi; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main3 { public static void main(String[] args) { Scanner in = new Scanner(System.in); String s = in.nextLine(); boolean res = isPathCrossing(s); if (res == ...
true
23be5f2bb93d8252704ae42791687933808e5eda
Java
tomerbendror/practicer
/src/main/java/com/practice/jira/JiraSubtask.java
UTF-8
987
2.21875
2
[]
no_license
package com.practice.jira; import com.practice.jira.enums.IssueTypeName; /** * Created by Tomer.Ben-Dror on 2/13/2017 */ public class JiraSubtask { private String key; private String summary; private IssueTypeName typeName; private TimeEstimation estimateStatistic; public JiraSubtask() { }...
true
5bcb9716936bbbfc8afb43de2934361e416ebbe1
Java
goodgga/qns
/src/qns/tools/other/Encryption.java
GB18030
246
2.34375
2
[]
no_license
package qns.tools.other; import java.util.UUID; public class Encryption { /** * 36λkey * @return 36λkey */ public static final String makeKey(){ UUID uuid = UUID.randomUUID(); return uuid.toString(); } }
true
775dfd3be4ca0579d8913f2a3acfc83b0da1ba6f
Java
zr00555/GroupGames
/src/com/groupgames/web/core/Card.java
UTF-8
438
2.96875
3
[]
no_license
package com.groupgames.web.core; public class Card { int cardID; String cardText; public Card(int cardID, String cardText) { this.cardID = cardID; this.cardText = cardText; } public int getCardID() { return this.cardID; } public String getCardText() { retu...
true
a49aa38d730f20ab73dad9507004b40c3904215a
Java
jquintanas/cloud
/cloudsimex-web/src/test/java/org/cloudbus/cloudsim/ex/web/StatGeneratorTest.java
UTF-8
5,318
2.453125
2
[ "Apache-2.0" ]
permissive
package org.cloudbus.cloudsim.ex.web; import static org.cloudbus.cloudsim.ex.util.helpers.TestUtil.createSeededGaussian; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.ju...
true
0681e309f82b1572d118c1e96bc3713cc58d2b63
Java
DevHossamHassan/TaxiOneCall
/androidapp/customer_app/src/main/java/com/hkm/taxicallandroid/schema/Call.java
UTF-8
1,418
2.21875
2
[]
no_license
package com.hkm.taxicallandroid.schema; import android.content.Context; import com.asynhkm.productchecker.Model.CallTask; import com.google.gson.JsonParseException; import org.json.JSONException; import org.json.JSONObject; public class Call extends CallTask { private static String data_object = "holder"; ...
true
ae85f896bdc07881f755bda6a0c5e88566de8353
Java
eliharush/SurgeryWarehouse
/SIC_Web/src/il/swhm/web/rest/TransmitResource.java
UTF-8
1,997
2.265625
2
[]
no_license
package il.swhm.web.rest; import il.swhm.data.dao.impl.GeneralDao; import il.swhm.shared.entities.Transmitable; import il.swhm.shared.enums.EntityType; import il.swhm.web.config.SICConfiguration; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.ws.rs.GET; import javax.ws.rs.POST; i...
true
acd49f58d301d9fa4494e913e43f50b8074c97c0
Java
KasHald/Flow4d2
/src/THEPackage/QuizControlInterface.java
UTF-8
2,172
2.65625
3
[]
no_license
package THEPackage; public interface QuizControlInterface { // rev chu 18-04-2013 /** * THA: 31-10-2013: This is a change to the original interface * Pre: * Post: * Loading all games from file: quizzConfigurations.txt */ boolean loadGames(); /** * Pre: * Post: * Returns a list of names of selectable games *...
true
4cb1d90891dcabbbe6b53b3ff2a68de4e97280c6
Java
ctrekker/TopologicalComputer
/Renderer/src/com/burnscoding/tc/GradientFunction.java
UTF-8
3,511
3.1875
3
[]
no_license
package com.burnscoding.tc; import java.awt.*; import java.awt.event.WindowEvent; import java.awt.event.WindowStateListener; import java.util.*; import java.util.Timer; import javax.swing.*; public class GradientFunction extends JFrame { public static void main(String[] args) { GradientFunction gradientFu...
true