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
3993d5d78edb2a5afabf3c64997b5d528bf8c6e6
Java
vanesacifuentes/UnivalleEstudiante
/src/Vista/ProgramaIG.java
UTF-8
21,644
2.640625
3
[]
no_license
/* * Programa : ProgramaIG.java * Fecha : 10/04/2016 * Objetivo : Construye la interfaz para el manejo de datos de la Programa * Programador : Luis Yovany Romo Portilla */ package Vista; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.ImageIcon; import javax.swing.JOptionPane...
true
2358b381e8c929eebcda79d8d03914a53feb2f8a
Java
wwfwuweifeng/shop-for-training
/src/main/java/top/wwf/modules/goods/controller/GoodsController.java
UTF-8
10,686
2.140625
2
[]
no_license
package top.wwf.modules.goods.controller; import com.alibaba.fastjson.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; ...
true
c7c436afdb2bd01caf0f9718af99c84f3600e055
Java
Tomasz69/pdks
/app/src/main/java/com/example/ahmet/pdkdemo/SendDataPhp/offlinesystem.java
UTF-8
6,506
1.875
2
[]
no_license
package com.example.ahmet.pdkdemo.SendDataPhp; import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.AsyncTask; import android.util.Log; import com.example.ahmet.pdkdemo.BasicObject.SendPersonel; import com.example.ahmet.pdkdemo.BasicObject.Setting; i...
true
2f4cfbc08def60bf346368ea7845617cbd08ad13
Java
thirteenmd/PAD_LAB_1
/src/Sender.java
UTF-8
1,197
3.296875
3
[]
no_license
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.util.Scanner; public class Sender { private Socket socket = null; private BufferedReader bufferedReaderFromRemote = null; private PrintWriter printWri...
true
022b6e75c9c8ad4c64e109531b40df151ddf7eda
Java
b-manjunath/USTGlobal-16-SEP-19-B-Manjunath
/JDBC/JDBCAPP/src/com/ustglobal/jdbcapp/MyFirstJDBCWithPropertiesUpdateData.java
UTF-8
1,816
3
3
[]
no_license
package com.ustglobal.jdbcapp; import java.io.FileReader; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Properties; public class MyFirstJDBCWithPropertiesUpdateData { public static void main(String[] args) { Connection c...
true
3b26bda75b288e36bf4d8b9ff87f239d459df8b0
Java
jsong073/MoreForLoops
/src/MoreForLoops.java
UTF-8
3,314
4.25
4
[]
no_license
import java.util.Scanner; public class MoreForLoops { public static void main (String[] args) { /* Set up variables for all the parts */ Scanner input = new Scanner(System.in); String userString = ""; int userStringLength = 0; int factorNum = 0; int ...
true
d660adee22e61b1aa0e10b443962aa4e709e3646
Java
JuJongYeon/java
/java_example/src/java_example_180530/ch7_14_AvimalExample.java
UTF-8
235
2.46875
2
[]
no_license
package java_example_180530; public class ch7_14_AvimalExample { public static void main(String[] args) { ch7_14_Dog dog = new ch7_14_Dog(); ch7_14_Cat cat = new ch7_14_Cat(); dog.sound(); cat.sound(); } }
true
95142032ca27b129d50a06cca588367b4674a2d4
Java
yrj2011/mycrawler
/mycrawler-tutorial/SpringMvcTest/src/main/java/com/myorg/springaction/springdo1/Auditorium.java
UTF-8
408
2.125
2
[ "Apache-2.0" ]
permissive
package com.myorg.springaction.springdo1; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.InitializingBean; /** * Created by huyan on 15/6/17. */ public class Auditorium{ public void turnOnLights(){ System.out.println("turn on lights11111111"); } ...
true
b77849310ef1a40882ad7574856df2a31cd15667
Java
malhotrasachin31/PointOFSaleApplication
/src/pointofsale/home.java
UTF-8
88,464
1.804688
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 pointofsale; import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.awt.print.PageFormat; im...
true
46ca447ea3493558f827256a0aee4a0a90441d9c
Java
will-johnston/Schedule-It
/backend/src/endpoints/upload.java
UTF-8
14,714
2.671875
3
[]
no_license
package endpoints; import server.HTTPMessage; import java.math.BigInteger; import java.util.*; import management.*; import com.google.gson.*; import server.*; import server.Socketeer; //A special type of endpoint where multiple uploads can happen at the same time // /* Current issue, Images.writeOu...
true
5667280871a215a0378d7db7a0b9652d201eb718
Java
jmchs-robotics/2016_ubot
/src/org/usfirst/frc5933/ubot/PreferenceConstants.java
UTF-8
3,292
1.570313
2
[ "MIT" ]
permissive
package org.usfirst.frc5933.ubot; public class PreferenceConstants { public static final String BACKUP_VALUE = "unknown"; public static final String AUTONOMOUS_COMMAND_KEY = "AutonomousCommand"; public static final String AUTONOMOUS_COMMAND_POS1_LOWBAR ...
true
9af2d514e67180f33b2dd3fbc30da99970ad9206
Java
ZenunZiberi/More-operators-and-datatypes
/Queue.java
UTF-8
457
3.453125
3
[]
no_license
package MoreDatatypesAndOperators; public class Queue { int q[]; int putloc, getloc; Queue (int size){ this.q=new int[size]; this.putloc=this.getloc=0; } void put(int ch){ if(this.putloc==q.length){ System.out.println("-Q is full"); return; } q[this.putloc++]=ch; } int get()...
true
253f77512b1d136d7e6de60a77ee24a3b5785370
Java
AppGalleryConnect/agc-serverless-demo
/Build/AuthService/android/app/src/main/java/com/huawei/agc/quickstart/auth/WeiboActivity.java
UTF-8
4,266
1.726563
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
true
dc930a0b074601e1bb235e800a37ff36ffcfa960
Java
svevia/ComputerVisionSevrer
/src/main/java/tl1/asv/projet/recognition/general/Classifier.java
UTF-8
565
2.71875
3
[]
no_license
package tl1.asv.projet.recognition.general; import java.util.ArrayList; import java.util.List; /** * Contains images for classifier. */ public class Classifier { final String name; final List<OneImage> references = new ArrayList<>(); private float distance = 0.0f; public Classifier(String name) { ...
true
bb2665c471f4fffecc00f2ef03acbf25e637c32f
Java
Ryan-Shz/EasyHttp
/easyhttp/src/main/java/com/github/ryan/easyhttp/chain/MapChain.java
UTF-8
653
2.3125
2
[ "MIT" ]
permissive
package com.github.ryan.easyhttp.chain; import com.github.ryan.easyhttp.EasyHttp; import com.github.ryan.easyhttp.callback.BaseObserver; import com.github.ryan.easyhttp.converter.StringResultConverter; import io.reactivex.Observable; import io.reactivex.android.schedulers.AndroidSchedulers; /** * Created by Ryan *...
true
8fe77fa45396781ebaca603a8ae3b1734d5b6e13
Java
MramonUceda/asuNotasCetechMas2
/segundo eclipse/fuente codigo/Clase1JavaWeb/src/mx/com/Cetech/JavaWeb/Mario/GreetingServlet.java
UTF-8
638
2.40625
2
[]
no_license
package mx.com.Cetech.JavaWeb.Mario; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class GreetingServlet extends HttpServlet { @Override public void doGet(...
true
21e4fe82d967389a19d7bdc60a54d8520bd248bf
Java
2019911058lvhao/yanglao-system
/order-management/src/test/java/com/yanglao/orders/domain/OrdersTests.java
UTF-8
1,425
2.53125
3
[]
no_license
package com.yanglao.orders.domain; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mockito; @DisplayName("Orders的单元测试") public class OrdersTests { private static String orderid; @Test @DisplayName("测试获取订单的状态") v...
true
45df6113e4c7afe90b56a68ec86bdf2037d177ec
Java
junjunbao/panda
/panda-framework/src/main/java/org/panda_lang/framework/language/architecture/statement/PandaVariableData.java
UTF-8
1,988
2.265625
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2015-2019 Dzikoysk * * 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
db5dd288912e2368e49f611f8ea13e484b26df00
Java
oronibrian/NoviaPOS
/src/ke/novia/view/pos/sale/OrderForm.java
UTF-8
18,590
2.046875
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 ke.novia.view.pos.sale; /** * * @author envy */ public class OrderForm extends javax.swing.JDialog { public OrderForm(...
true
cfcd1bbf0cf3d597efd883f5e65926bab162ffb5
Java
wangzhaoning/multithread-word-count
/src/main/java/com/github/hcsp/multithread/MultiThreadWordCount3.java
UTF-8
1,791
3.03125
3
[]
no_license
package com.github.hcsp.multithread; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.concurrent.*; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.ut...
true
0939b041b8138f19fbf45cfcefb2e3455dbf6e61
Java
benittobeny34/Java
/CN_Lab_programs/Echo_Server.java
UTF-8
916
3.03125
3
[]
no_license
package CN_Lab_programs; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; public class Echo_Server { public static void main(String []args) { ObjectInputStream ois; ObjectOutputStream oos; tr...
true
748e9331fad45ab3b62e128c82775d9f518f001a
Java
fikryalfarisimuslim/test-tokped
/app/src/main/java/com/tokopedia/testproject/problems/androidView/slidingImagePuzzle/SlidingImageGameActivity.java
UTF-8
7,776
2.453125
2
[]
no_license
package com.tokopedia.testproject.problems.androidView.slidingImagePuzzle; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app....
true
2a948943c8aee4248611625c112fda69df7d42c2
Java
sterianandrei/Instant-messenger
/Messenger/instant-messenger/src/server/Server.java
UTF-8
768
2.65625
3
[]
no_license
package server; import java.net.ServerSocket; import java.util.HashSet; public class Server { private static final int PORT = 9031; protected static UserSet users = new UserSet(); protected static HashSet<String> usedNames = new HashSet<String>(); protected static DatabaseConnection dbconn; publ...
true
fe19fa43397bd2ecbba83933a65a1e750577e1b2
Java
wveit/Elmer-The-Confused-Ninja
/src/platformer/game/Player.java
UTF-8
2,582
2.875
3
[]
no_license
package platformer.game; import platformer.engine.physics.Collision; import platformer.engine.physics.CollisionInfo; import platformer.engine.shape.Rectangle; public class Player{ private Rectangle rect; private double vX, vY; private boolean requestLeft, requestRight, requestJump; private double moveSpeed = 25...
true
6aa50efdb91d54f8d8fbd1748a721647c5f8cf8e
Java
fswin040/mytest
/src/tw/org/iii/balans/N23猜字謎.java
UTF-8
1,223
3.25
3
[]
no_license
package tw.org.iii.balans; import javax.print.attribute.standard.JobMessageFromOperator; import javax.swing.JOptionPane; public class N23猜字謎 { public static void main(String[] args) { // 1.設定題目 String answer = arcAns() ; // 2.開始遊戲 for (int i=0;i<3;i++){ // 3.猜 String guess =JOptionPane.showInputDialog("輸入"...
true
6aeb8abe74031fba25d32410bf3ee51e4d111c30
Java
srikanthkatta07/twu-biblioteca-srikanth
/test/com/twu/biblioteca/UserFactoryTest.java
UTF-8
638
2.796875
3
[]
no_license
package com.twu.biblioteca; import org.junit.Test; import java.util.ArrayList; import static org.junit.Assert.assertEquals; public class UserFactoryTest { @Test public void shouldInitializeTheListOfUsers() { UserFactory userFactory = new UserFactory(); ArrayList<User> users = new ArrayList<...
true
53c2d95a6dbd8f416bc32cf35f07a2a06ce7370a
Java
bachphuc/testxxx
/app/src/main/java/com/learn/mobile/fragment/DChatListFragment.java
UTF-8
1,957
1.984375
2
[]
no_license
package com.learn.mobile.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.learn.mobile.library.dmobi.DMobi; import com.learn.mobile.service.SChat; import com.learn.mobile.service.SDCh...
true
862bdb4f72c096fd8c90453c8ee9db7b86a26e6f
Java
AnastasiiaLunova/MyProgram1
/src/org/itstep/AppRunner.java
WINDOWS-1251
528
2.65625
3
[]
no_license
package org.itstep; import org.itstep.Controller; import org.itstep.Model; import org.itstep.View; public class AppRunner { public static void main(String[] args) { String word = "Nastya"; // byte number = 1; // ( ) Model model = new Model(); model.setWord( word ); model.setNumber(number); View v...
true
660d073016115e00a23bda688d431a096c58ea88
Java
micaelTrivelato/Cursos
/design-patterns-parte-dois/src/cap3/Historico.java
UTF-8
342
2.640625
3
[]
no_license
package cap3; import java.util.ArrayList; import java.util.List; public class Historico { private List <Estado> estadosSalvos = new ArrayList<Estado>(); public Estado pega(int index){ return estadosSalvos.get(index); } public void adiciona (Estado estado){ estadosSalvos...
true
57d97fc674699e08c837ec6e67c9c039f1529a3d
Java
jiangwh/robovm
/cocoatouch/src/main/java/org/robovm/apple/foundation/NSFileHandle.java
UTF-8
6,678
1.664063
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2014 Trillian Mobile AB * * 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 o...
true
4aa956c86613fb8a26c32f4be0facf4fafe1013d
Java
zheng260223/ch
/idc工单/workprocess/entity/WorkTaskStatus.java
UTF-8
617
2.59375
3
[]
no_license
package com.workprocess.entity; public enum WorkTaskStatus { DISPATCH("待派单",1), RECEIPT("待接单",2), HANDLE("处理中",3), AUDIT("待审核",4), COMPLETED("已完成",5); private String name; private int value; WorkTaskStatus(String name, int value){ this.name = name; this.value = value; ...
true
301b58b81caba777fb8adf84b6ae26363edbe76d
Java
vranwikar/Programming-Challenges
/NextNum.java
UTF-8
455
3.328125
3
[]
no_license
import java.io.*; import java.util.*; public class NextNum { public static void main(String[] args){ int n=218715; String num = Integer.toString(n); char[] numArray = num.toCharArray(); int i,j; for(i=numArray.length;i>=0;i--){ if(numArray[i-1] > numArray[i]) break; } if(i==0) { System...
true
1e941d84244bf49cbbeef48f64c2687fb820f0cc
Java
nsagnett/CombienJteDois
/app/src/main/java/nsapp/com/combienjtedois/views/adapters/DebtListAdapter.java
UTF-8
2,622
2.328125
2
[]
no_license
package nsapp.com.combienjtedois.views.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; import nsapp.co...
true
67ff55e6a4a7ad85c2ea896d169f829024a2577f
Java
BluffingSizz/hello
/src/ch03/Point.java
UTF-8
1,033
4.09375
4
[]
no_license
package ch03; import java.util.Scanner; //성적계산 프로그램 //국어,영어,수학점수를 입력받아 총점,평균 출력 public class Point { public static void main(String[] args) { //변수 선언 String name; int kor, eng, math, tot; double avg; //스캐너 입력객체 생성 Scanner scan = new Scanner(System.in); System.out.print("이름 : "); ...
true
e9b01c9a82440e95fb7cd5ed211fef120980fb7b
Java
BrunoSouzaDev/talentos-techbank
/src/br/com/techbank/semana_2/aula_10/modificador_acesso/Venda.java
UTF-8
228
1.945313
2
[]
no_license
package br.com.techbank.semana_2.aula_10.modificador_acesso; public class Venda { private double valorDaVenda; double valorDaVendaParaFilhos; public double getValorDaVenda() { return valorDaVenda; } }
true
cbc101395f638358678f0fb3fc47ee189f542e1e
Java
crazyCodeLove/poi-word
/src/main/java/com/huitong/convert/Docx2Pdf.java
UTF-8
2,003
2.921875
3
[]
no_license
package com.huitong.convert; /** * <p></p> * author pczhao <br/> * date 2019-03-09 16:58 */ public class Docx2Pdf { /** * @param args * @throws Exception */ public static void main(String[] args) throws Exception { /*long startTime = System.currentTimeMillis(); String do...
true
f909c3fe540896ca522bcd926193cd08b30fd61c
Java
sheepc/weixin
/src/tool/CheckTool.java
GB18030
704
2.75
3
[]
no_license
package tool; //У鹤 import java.util.Arrays; public class CheckTool { private static final String token="weixin"; //Уǩ public static boolean checkSignature(String signature, String timestamp, String nonce) { String[] arr = new String []{token, timestamp, nonce}; //ֵ Arrays.sort(arr); //t...
true
904f8367c503ee032b5215cb31bd789b4b3ff62a
Java
johncolezhang/Clain
/src/Clain.java
ISO-8859-7
2,809
3.125
3
[]
no_license
public class Clain {} class PurchaseRequest{ private double amount; private int number; private String purpose; public PurchaseRequest(double amount, int number, String purpose) { super(); this.amount = amount; this.number = number; this.purpose = purpose; } public double getAmount() { return amount; ...
true
a138e340b0cb555683517b795217dd069282036e
Java
paulofernando/moviest
/app/src/main/java/br/net/paulofernando/moviest/view/adapter/MovieAdapter.java
UTF-8
2,142
2.5
2
[ "Apache-2.0" ]
permissive
package br.net.paulofernando.moviest.view.adapter; import android.content.Context; import android.databinding.DataBindingUtil; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; import br.net.paulofernan...
true
511e897ca796d61827cb397f9748306908d4028f
Java
aldiego/chat-udp
/chat-udp/src/main/java/br/com/fatec/chat/util/ListaUsuarios.java
UTF-8
1,230
2.84375
3
[]
no_license
/** * */ package br.com.fatec.chat.util; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import br.com.fatec.chat.model.User; /** * @author Diego * */ public class ListaUsuarios { /** * */ private static ConcurrentHashMap<String, S...
true
2076edfbc43a06c0c666e123efb5eafdc9173f42
Java
xufeng7421/git
/src/arch/plugin/interfaces/MenuPlugin.java
UTF-8
366
1.515625
2
[]
no_license
package arch.plugin.interfaces; import java.util.Map; public abstract interface MenuPlugin { public abstract String iwork(String paramString, Map<String, String> paramMap); } /* Location: C:\Users\Administrator\Desktop\JRCBQ\WEB-INF\classes\ * Qualified Name: arch.plugin.interfaces.Men...
true
963c0f179c2d726148e0c4da32a5102245a1c348
Java
Novemser/Carpool
/src/main/java/com/carpool/website/controller/UserController.java
UTF-8
5,914
2.21875
2
[]
no_license
package com.carpool.website.controller; import com.carpool.domain.RoomEntity; import com.carpool.domain.UserEntity; import com.carpool.exception.UserNullException; import com.carpool.website.service.RoomService; import com.carpool.website.service.UserService; import org.apache.commons.io.FileUtils; import org.springfr...
true
030707416b532e60cdcf332b4c9f72ca8f98f327
Java
lukasztom5/Portfolio
/Hurtownia/Kody Źródłowe/Hurtownia/src/main/java/server/UrzadzenieRegistryService.java
UTF-8
343
2.171875
2
[]
no_license
package server; import dao.*; import encje.*; public class UrzadzenieRegistryService { public boolean dodaj (Urzadzenie urzadzenie){ UrzadzenieDaoImpl udi = new UrzadzenieDaoImpl(); if(udi.UrzadzenieExists(urzadzenie)){ return false; } try{ udi.save(urzadzenie); }catch(Exception e){ e.printStackTrace(); ...
true
a3215fae367985a9f9223261984e744b2adcfb89
Java
SchauweM/Zarador-Server
/src/com/zarador/cache/Container.java
UTF-8
729
2.671875
3
[]
no_license
package com.zarador.cache; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Arrays; import java.util.zip.GZIPInputStream; public final class Container { private static final byte[] buffer = new byte[9999999]; public static byte[] unpack(byte[] data) throws IOException { ...
true
31be4cdf47a0ffb5d66c8166c4bf633b667e3adf
Java
D-a-r-e-k/Code-Smells-Detection
/Preparation/processed-dataset/data-class_3_382/6.java
UTF-8
208
1.960938
2
[]
no_license
/** * Get the segments_N filename in use by this segment infos. */ public String getSegmentsFileName() { return IndexFileNames.fileNameFromGeneration(IndexFileNames.SEGMENTS, "", lastGeneration); }
true
b82ebd59ea46640d25f10d9f4f9f76c1231e3c1f
Java
shanleiyang/u-a-p-my-batis
/home/src/com/nrjh/bigdata/utils/CommonSqlMappingUtil.java
UTF-8
2,640
2.671875
3
[]
no_license
package com.nrjh.bigdata.utils; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.nrjh.bigdata.sqlmapping.service.CommonSqlMapping; import com.nrjh.bigdata.sqlmapping.service.ICommonSqlMappingService; import com.nrjh.big...
true
ee6f9bb688d59f7399fad81b245ec3aaaeaec640
Java
dusa-repository/sims-dusa
/SIMS/src/modelo/sha/Informe.java
UTF-8
46,167
1.90625
2
[]
no_license
package modelo.sha; import java.io.Serializable; import java.sql.Timestamp; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence....
true
b0f2d967aeeeabbc942ec38484a68b5d0b50065b
Java
Bondkowski/Peer-2-peer
/ChatThread.java
UTF-8
2,022
2.96875
3
[]
no_license
package Chat; import java.io.*; import java.net.Socket; import java.text.ParseException; import java.util.ArrayList; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; public class ChatThread implements Runnable { private Socket connectionSocket = null; private boolean work = true; ...
true
4073d05b931cd57ebc3085a73e825879df5d9caa
Java
cheonbora/hanbit
/hanbit/src/hanbitex/Sumif10.java
UTF-8
556
3.6875
4
[]
no_license
package hanbitex; /** * 2016. 4. 16. * Sumif10.java * cheonbora@naver.com * story :for-loop + if-branch 수열의 합 */ public class Sumif10 { public static void main(String[] args) { // 문제: for-loop과 syso를 한번만 써서 홀수합, 짝수합을 구하시오 int oddsum=0, evensum=0; for (int i = 1; i <= 10; i++) { //이 부분만 코팅하...
true
d8b0042033ad9a97ba4c310f6dbcd4c4d32f4a30
Java
santhubairamcs/openmrs-module-operationtheater
/api/src/main/java/org/openmrs/module/operationtheater/api/service/impl/SurgicalAppointmentAttributeTypeServiceImpl.java
UTF-8
1,242
2.109375
2
[]
no_license
package org.openmrs.module.operationtheater.api.service.impl; import org.openmrs.api.impl.BaseOpenmrsService; import org.openmrs.module.operationtheater.api.dao.SurgicalAppointmentAttributeTypeDAO; import org.openmrs.module.operationtheater.api.model.SurgicalAppointmentAttributeType; import org.openmrs.module.operatio...
true
b493b6ff02e0dc88c6b38f6558b20ccea4e6a32c
Java
GongXincheng/JavaWeb_Study
/day33_spring_1/spring_day01/src/com/f_xml/e_coll/TestColl.java
UTF-8
552
1.953125
2
[]
no_license
package com.f_xml.e_coll; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestColl { @SuppressWarnings("resource") @Test public void demo02() throws Exception{ //spring 工厂 String xmlPath = "c...
true
a7b7ac6495a544d7ee3879a6e92e530a5328a7c5
Java
nardin95/barrenland
/src/main/java/com/target/barrenland/model/BarrenLand.java
UTF-8
3,486
3.1875
3
[]
no_license
package com.target.barrenland.model; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; @Data @NoArgsConstructor public class BarrenLand { private...
true
5512ad2e345b032a36c9a68a9dbd8a4c40b3e77f
Java
BryanBmmF/RespaldoProyectosGit
/Proyectos Org.Leng.Compiladores 1/PruebaClienteServidor/src/pruebaclienteservidor/Servidor.java
UTF-8
2,902
3.0625
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 pruebaclienteservidor; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java...
true
7d54dacdd4c2ee463f38b68633e8be99bcb9f242
Java
akashshinde44comp/currency
/currency-converter-poc/src/main/java/com/einfochips/currencyexchange/CurrencyConverterApplication.java
UTF-8
1,722
2.125
2
[]
no_license
package com.einfochips.currencyexchange; import javax.sql.DataSource; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.Data...
true
b756d1d77c6754f11ec8bf635480b06bf595c0b2
Java
WSN-2012/BPF
/src/se/kth/ssvl/tslab/wsn/general/servlib/contacts/links/OpportunisticLink.java
UTF-8
1,480
2.1875
2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
/* * Copyright 2012 KTH * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, ...
true
50d2d338069a0729e8727c3bd3b2b1307844f359
Java
phos20/Project_BookVer1
/src/dao/OrderDAO.java
UHC
510
1.90625
2
[]
no_license
package dao; import java.sql.SQLException; import java.util.List; import dto.Orders; import dto.Pay; public interface OrderDAO { /** ֹ */ int orderInsert(Orders orders) throws SQLException; /** ֹȮ */ List<Orders> selectOrdersByUserId(String userId) throws SQLException; /** ݰ˻ */ List<Pay> o...
true
2151d061080cb54a0a0aa4ec88e6517120a9fbd7
Java
sumover/SoftwareCreate
/src/Strategy/Fly.java
UTF-8
145
2.046875
2
[]
no_license
package Strategy; public class Fly extends RunAction { @Override public void run() { System.out.println("good bye!!"); } }
true
9fbd67bc9ba7edd43f99a9326d3d293c8033d831
Java
Jackjet/beijing-1
/app/src/main/java/com/ysbd/beijing/ui/activity/IntentWeb.java
UTF-8
1,663
2.140625
2
[ "Apache-2.0" ]
permissive
package com.ysbd.beijing.ui.activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.KeyEvent; import android.view.View; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; import android...
true
a60599f4e52f26313260f2770db66c69dff8b113
Java
karabily/jhipsterFirst
/src/test/java/com/test/myfirstjhipster/web/rest/ClubResourceIntTest.java
UTF-8
11,747
2.171875
2
[]
no_license
package com.test.myfirstjhipster.web.rest; import com.test.myfirstjhipster.MyFirstJHipsterApp; import com.test.myfirstjhipster.domain.Club; import com.test.myfirstjhipster.repository.ClubRepository; import com.test.myfirstjhipster.web.rest.errors.ExceptionTranslator; import org.junit.Before; import org.junit.Test; i...
true
347e121cd14398ad2644d04f5ad8cb820e3a113f
Java
tylormondragon/SE450_JPAINT
/src/view/interfaces/IShapeStrategy.java
UTF-8
86
2.1875
2
[]
no_license
package view.interfaces; public interface IShapeStrategy { public void draw(); }
true
5789c1c9565e05e8a763348509c0d3c5a610bbe3
Java
yuri-ivanov/sp1-spring-cloud-demo
/demo/src/main/java/com/example/demo/DemoConfig.java
UTF-8
340
1.914063
2
[]
no_license
package com.example.demo; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties public class DemoConfig { String property1; public String getProperty1() { return property1; } public void setProperty1(String property1) { this.property1 = ...
true
42901bf0820d84d61e4f857fb67bcb11455a4418
Java
lifuz/yunzhiyuan
/app/src/main/java/com/prd/yzy/CarInfo.java
UTF-8
19,387
1.859375
2
[]
no_license
package com.prd.yzy; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.LayoutInflater; import android.view.Vie...
true
be239f619bdecef38b41eb9003e4960ff50546c5
Java
femelo22/my-api-curriculum
/src/main/java/br/com/luiz/curriculo/domain/HistoricoAcademico.java
UTF-8
1,987
2.4375
2
[]
no_license
package br.com.luiz.curriculo.domain; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import com.fasterxml.jackson.annot...
true
f60396433e18ac1b96fdae94edcc5608c9990e9a
Java
pilipalala/Treasure
/Treasure/app/src/main/java/com/wyj/live/LiveActivity.java
UTF-8
1,779
1.867188
2
[]
no_license
package com.wyj.live; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import com.wyj.mvp.ui.activity.MVPBaseA...
true
fb70955afa51cc947a943c2db1db497d2a481bcc
Java
txliheng/PicDownloader
/src/edu/ccu/servlet/Progress.java
UTF-8
1,213
2.328125
2
[]
no_license
package edu.ccu.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servle...
true
39f46723197e2fbd9d6415ef7f1a5703e301afe4
Java
terentyevkirill/othr-ajp-labs
/Langton/src/test/java/com/othr/ajp/langton/ColorTest.java
UTF-8
470
2.671875
3
[]
no_license
package com.othr.ajp.langton; import org.junit.Assert; import org.junit.Test; public class ColorTest { @Test public void colorChangeTest() { Color nextFromWhite = Color.WHITE.nextColor(); Assert.assertEquals("White does not have Black as next color", Color.BLACK, nextFromWhite); Color...
true
f66412284725d4ac2d2885ac4202c59ea89d796b
Java
SaadAhmed1122/Tabbed_layout
/app/src/main/java/com/example/tabbed_layout/sql_desc_freg.java
UTF-8
1,439
2.265625
2
[]
no_license
package com.example.tabbed_layout; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragmen...
true
d128d5853ca11e6a79f060831d6928d0bfcc1700
Java
mychango/ManualReport-Web
/src/main/java/com/smb/manualreport/page/Page.java
UTF-8
1,480
2.40625
2
[]
no_license
package com.smb.manualreport.page; import java.io.Serializable; public class Page implements Serializable{ private int pageSize = 10;//每頁10筆資料 private String draw; public String getDraw() { return draw; } public void setDraw(String draw) { this.draw = draw; } public String getStart() { return start; ...
true
476ec778dff66e1456e5f945e1e3c21bffaf55f1
Java
jviaud/CS223_FinalProject
/CS223_Final 2/app/src/main/java/com/example/cs223_final/ui/subs/SubscriptionsListFragment.java
UTF-8
9,670
1.710938
2
[]
no_license
package com.example.cs223_final.ui.subs; import android.app.Activity; import android.content.Intent; import android.graphics.Canvas; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View...
true
654a6f298767bfd55d47bf8d873e2d0153a6cd95
Java
gallandarakhneorg/sarl
/eclipse-sarl/plugins/io.sarl.lang.ui/src/io/sarl/lang/ui/contentassist/SARLImportingTypesProposalProvider.java
UTF-8
2,849
1.78125
2
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2016 the original authors or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
true
38a9171a02381cf678b53a4a0319f3667e6ce084
Java
rqb/javademo
/src/main/java/cn/gov/pbc/java/concurrency/semaphore/SemaphoreWorker.java
UTF-8
669
3.625
4
[]
no_license
package cn.gov.pbc.java.concurrency.semaphore; import java.util.concurrent.Semaphore; public class SemaphoreWorker implements Runnable { private String name; private Semaphore semaphore; public SemaphoreWorker(Semaphore semaphore) { this.semaphore = semaphore; } public void run() { try { System.out.pri...
true
b5adf095bc0c8d0ffce9363ff0fe129b896227f2
Java
APCS-A-FarmingtonHS/pets
/Zoo.java
UTF-8
1,517
3.546875
4
[]
no_license
/** * This class represent a collection of Pet objects * including objects of any class which IS-A Pet * @author (Tim Barron) */ public class Zoo { //fields private Pet[] theZoo; //constructors public Zoo() { theZoo = new Pet[40]; theZoo[0] = new Snake("Mark"); the...
true
5583b78b6a9f0415ae91192730ecd9344e385026
Java
sowdiomyero/qualys-mp
/src/test/java/sn/sonatel/dsi/dif/qualys/JaxbCheckScanParserTest.java
UTF-8
1,747
2.203125
2
[]
no_license
package sn.sonatel.dsi.dif.qualys; import org.junit.Assert; import org.junit.Test; import sn.sonatel.dsi.dif.qualys.xml.response.ServiceResponse; import javax.xml.bind.*; import java.io.File; /** * Created by sowdiomyero on 10/01/2017. */ public class JaxbCheckScanParserTest { @Test public void check_unma...
true
1c5f63a4bd949779cbe11e04f4c993e6a3c85720
Java
soldiers1989/project-2
/vc-biz/vc-biz-message/vc-biz-upgrade-srv/src/main/java/com/ccclubs/upgrade/srv/event/UpgradeSuccessEvent.java
UTF-8
889
2.171875
2
[ "Apache-2.0" ]
permissive
package com.ccclubs.upgrade.srv.event; import com.ccclubs.upgrade.dto.UpgradeInput; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationEvent; import java.util.Date; /** * 升级成功事件 * * @author jianghaiyang * @create 2017-08-15 **/ public class UpgradeSuccessEvent...
true
2c9bd0062f2b8e73129d32a5b2ce9795345b7419
Java
Sk00maCat/Electronic-Assignment-and-Attendance-Guide
/Electronic Assignment and Attendance Guide/src/gui/ClassSelect.java
UTF-8
4,767
3.0625
3
[]
no_license
//Package package gui; //Imports import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.Dimension; import java.awt.Toolkit; import javax.swing.border.EtchedBorder; import javax.swing.border.TitledBorder; //________________________________________________________CLASS SELECT________________...
true
ac5c38daba988f9d6aeb4341c7ceddb6d1c1357a
Java
christianbv/Programvareutvikling
/src/JavaFX/RegisterController.java
UTF-8
7,554
2.09375
2
[]
no_license
package JavaFX; import java.io.IOException; import java.net.URL; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.ResourceBundle; import org.bson.Document; import org.bson.types.ObjectId; import com.mongodb.client.Mong...
true
342098338dae701e119969f1cde8ce8cf3c3a546
Java
vldrshv/alfa_mir
/air-androidd/app/src/main/java/ru/alfabank/alfamir/messenger/presentation/dto/MessageTimeBubble.java
UTF-8
1,097
2.46875
2
[]
no_license
package ru.alfabank.alfamir.messenger.presentation.dto; import java.util.UUID; import static ru.alfabank.alfamir.Constants.Messenger.VIEW_TYPE_TIME_BUBBLE; public class MessageTimeBubble extends DisplayableMessageItem { private static final int VIEW_TYPE = VIEW_TYPE_TIME_BUBBLE; private long mViewId;...
true
4087fe9e761bfc116a964cf2e6c72fd183592b06
Java
mauriziomazzotta/ing-sw-2018-ferre-gigante-mazzotta
/src/main/java/it/polimi/se2018/view/cli/commands/RepositionRethrownDice.java
UTF-8
1,421
2.640625
3
[]
no_license
package it.polimi.se2018.view.cli.commands; import it.polimi.se2018.controller.actions.RepositionRethrownDiceAction; import it.polimi.se2018.model.Dice; import it.polimi.se2018.model.Position; import it.polimi.se2018.view.cli.InputHelper; import it.polimi.se2018.view.cli.InputResponse; import it.polimi.se2018.view.cli...
true
16e21ff708e986723bec2ffeb80272ead515f055
Java
lichen123/pcore
/src/com/lehecai/core/lottery/fetcher/dc/impl/worker/CommonDcInstantSPFetcherWorker500Wan.java
UTF-8
12,875
2.203125
2
[]
no_license
package com.lehecai.core.lottery.fetcher.dc.impl.worker; import java.util.List; import java.util.Map; import org.htmlparser.tags.OptionTag; import org.htmlparser.tags.TableColumn; import org.htmlparser.tags.TableRow; import org.htmlparser.tags.TableTag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import...
true
6404007bf6b6493625ff3e36b1bee61f48b28804
Java
zhanghujia/rewrite-mall
/mall/sms-mall/src/main/java/com/jia/smsmall/controller/SmsCouponHistoryController.java
UTF-8
2,295
2.234375
2
[]
no_license
package com.jia.smsmall.controller; import com.jia.mallcommon.utils.result.Result; import com.jia.smsmall.model.SmsCouponHistory; import com.jia.smsmall.service.SmsCouponHistoryService; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.*; import javax.validation.Valid; /** ...
true
ea6cbe55bca54a2cb1164c02b5b7ed8115d3b7a3
Java
tianxia--/LeetCodeWork
/app/src/main/java/com/example/leetcodework/code/T20201112.java
UTF-8
1,050
3.78125
4
[]
no_license
package com.example.leetcodework.code; /** * 922. 按奇偶排序数组 II * 给定一个非负整数数组 A, A 中一半整数是奇数,一半整数是偶数。 * * 对数组进行排序,以便当 A[i] 为奇数时,i 也是奇数;当 A[i] 为偶数时, i 也是偶数。 * * 你可以返回任何满足上述条件的数组作为答案。 * * * * 示例: * * 输入:[4,2,5,7] * 输出:[4,5,2,7] * 解释:[4,7,2,5],[2,5,4,7],[2,7,4,5] 也会被接受。 * * * 提示: * * 2 <= A.length <= 20000 ...
true
bc39c660e853160682e4e89d45eeac82fe78c3b4
Java
freeunion1possible/huffman-1
/src/test/java/huffman/FrequencyTableTest.java
UTF-8
650
2.609375
3
[]
no_license
package huffman; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import org.junit.Test; public class FrequencyTableTest { @Test public void testFrequencyTable() { FrequencyTable ft = new FrequencyTable(); ft.increment(1); ft.increment(2); CodeTree ct = f...
true
f34cab75d11625b1fd5204eec1ff74a1bbfcc27c
Java
iisoldier/jstorm
/jstorm-start/src/main/java/com/isoldier/spouts/WordReader.java
UTF-8
1,988
2.328125
2
[]
no_license
package com.isoldier.spouts; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Map; import com.google.common.base.Charsets; import com.google.common.io.Files; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.top...
true
9722b29a001ab543425dd258523d0f5398cb03b8
Java
LzefiaP/HuSky
/src/test/java/RedisClientTest.java
UTF-8
2,199
2.21875
2
[]
no_license
import com.alibaba.fastjson.JSONObject; import com.husky.Result; import com.husky.protocol.RedisClient; import org.junit.Test; import java.util.Map; public class RedisClientTest { @Test public void hset(){ String jsonString = "{\n" + " \"default\": {\n" + ...
true
1166d66edf3ec1971ff86c8ac460d38ed66d80dd
Java
nguyenleanhkhoa/JsonDemo
/BusProjectchinhthuc/app/src/main/java/com/example/admin/busprojectchinhthuc/MainActivity.java
UTF-8
6,236
2.046875
2
[]
no_license
package com.example.admin.busprojectchinhthuc; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view...
true
b7f8120880cbee5a08303baf5aa5639e7956d7b8
Java
jia1/designpatterns
/src/com/jiayee/creationalpatterns/prototype/v1/Pug.java
UTF-8
706
3.765625
4
[]
no_license
package com.jiayee.creationalpatterns.prototype.v1; public class Pug implements Dog { // This is expected to be a difficult method to implement, especially when the class / object is // more complex (e.g. circular references). Furthermore, we need to decide if we want a shallow // copy or a deep copy. // Note ...
true
d89221c2ec6c7782494977452cba86a336d6864a
Java
RahulWadhwa77/Java
/Sorting/Insertion Sort.java
UTF-8
519
3.484375
3
[]
no_license
package revision; import java.util.*; public class InsertionSort { public static void main(String[] args) { int[] arr = {18, 11, 9, 3, 5}; for(int i = 1;i < arr.length;i++){ int temp = arr[i]; int j = i; while(j > 0 && arr[j-1]>temp){ arr[...
true
6f7325f82667ef4c6991a2dfde2959cdd16f2616
Java
truonghh99/Flixster
/app/src/main/java/com/example/flixster/MovieTrailerActivity.java
UTF-8
4,661
2.296875
2
[ "Apache-2.0" ]
permissive
package com.example.flixster; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Window; import android.view.WindowManager; import com.codepath.asynchttpclient.AsyncHttpClient; import com.codepath.asynchttpclient.callback.JsonHttpResponseHandler; i...
true
a77477c2199511abda0cdf7964e9f7d8cb72b6f0
Java
r-koubou/filefish-vfs
/src/main/java/com/nullfish/lib/vfs/impl/smbwin/SMBFile.java
UTF-8
2,160
2.890625
3
[ "BSD-2-Clause" ]
permissive
/* * 作成日: 2003/10/08 * */ package com.nullfish.lib.vfs.impl.smbwin; import java.io.File; import jp.ne.anet.kentkt.fastfile.FastFile; import com.nullfish.lib.vfs.FileName; import com.nullfish.lib.vfs.FileSystem; import com.nullfish.lib.vfs.ManipulationFactory; import com.nullfish.lib.vfs.VFile; /** * SMBファイルクラス ...
true
b31c60616ce3f4950cff2da12ad689249cbcef60
Java
ixcode/platform
/http/src/main/java/ixcode/platform/http/server/authentication/MemoryAuthenticationCache.java
UTF-8
637
2.3125
2
[]
no_license
package ixcode.platform.http.server.authentication; import org.eclipse.jetty.server.UserIdentity; import java.util.HashMap; import java.util.Map; public class MemoryAuthenticationCache implements AuthenticationCache { Map<String, Session> map = new HashMap<String, Session>(); @Override public Session getSe...
true
49b987f10442254d269a2acc32e49253b08d3168
Java
ronaldogui/dev-acadeny-java-challange-2021-2
/src/test/java/br/com/cm/workshop/apicrud/api/NotaFiscalControllerTest.java
UTF-8
14,625
2.046875
2
[]
no_license
package br.com.cm.workshop.apicrud.api; import br.com.cm.workshop.apicrud.enums.Status; import br.com.cm.workshop.apicrud.model.Itens; import br.com.cm.workshop.apicrud.model.NotaFiscal; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import io.restassure...
true
e51d1446360ae0d947b88da265b0367b2a58a1ed
Java
nicklocicero/deep-dive-playing-cards
/src/edu/cnm/deepdive/cards/Deck.java
UTF-8
3,950
3.9375
4
[]
no_license
package edu.cnm.deepdive.cards; import java.util.Arrays; import java.util.Collections; import java.util.Deque; import java.util.EmptyStackException; import java.util.LinkedList; import java.util.Random; import java.util.Stack; /** * <code>Deck</code> encapsulates a single deck of standard playing cards, with * meth...
true
ec486dd2fbeb0abfa97e123b23daa730d6c561c9
Java
aino-gautam/Deprecated_AppOps_Shared
/appops.platform.shared/src/main/java/in/appops/platform/core/operation/Result.java
UTF-8
925
2.546875
3
[]
no_license
/** * */ package in.appops.platform.core.operation; import java.io.Serializable; /** * @author Debasish Padhy Created it on 16-Aug-2012 * */ public class Result<T extends Serializable> implements Serializable{ private Operation resultOf ; private T operationResult ; private int timeNeeded = ...
true
38d2ff043d51d14ef8ec1edd3b70be27580e8ed2
Java
DongMing0103/RMc
/kzscrm-service/src/main/java/com/hd/kzscrm/service/param/area/BaseAreaParam.java
UTF-8
5,195
1.976563
2
[]
no_license
package com.hd.kzscrm.service.param.area; import com.hd.kzscrm.common.param.PageParam; public class BaseAreaParam extends PageParam { /** * 主键,地区代码前2码为国家, 第3-4码为大区, 5-6位表示省级编码 7-8码市级编码 */ private Long areaCode ; /** * 地区名称 */ private String ...
true
fd38ac2763fb6fd32fff38f8494dc6d011e2eeba
Java
huydaodang2706/DataStructure
/src/elements/Element.java
UTF-8
389
2.703125
3
[]
no_license
package elements; import javafx.scene.control.Label; import javafx.scene.layout.Pane; public abstract class Element { protected Label value; protected Pane shape; public Label getValue() { return value; } public void setValue(Label value) { this.value = value; } public Pane getShape() { return shape; ...
true
b1ff7b0f8d431489e473026c8ffd2f8a19d8f527
Java
qingqingziyu/EventBusDemo
/app/src/main/java/com/cf/eventbusdemo/EventNotify.java
UTF-8
151
2.015625
2
[]
no_license
package com.cf.eventbusdemo; public class EventNotify { public String str; public EventNotify(String str) { this.str = str; } }
true
c337ce4b5dfa24ed0ac14d031f9cc435eca6d9f5
Java
empalor/CodeSignal
/Arcade/Intro/Intro - arrayMaximalAdjacentDifference.java
UTF-8
258
2.65625
3
[]
no_license
int arrayMaximalAdjacentDifference(int[] inputArray) { int max = 0; int dif = 0; for (int i = 1; i < inputArray.length; i++) { dif = Math.abs(inputArray[i] - inputArray[i-1]); if (dif > max) max = dif; } return max; }
true
1b0136e20182e41979271f9bb8245c9c73e813f4
Java
medvedev84/mvideo_mockup
/mockup/src/main/java/com/terralink/android/mvideo/mockup/ProfileFragment.java
UTF-8
1,544
2.15625
2
[]
no_license
package com.terralink.android.mvideo.mockup; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; public class ProfileFragment ext...
true
e40db37f5ae4f98b2d5c032720c3a661c74d1887
Java
m-rossini/isc_nxt
/src/main/java/br/com/auster/nextel/xsl/extensions/NumberVariable.java
UTF-8
4,295
2.3125
2
[]
no_license
/* * Copyright (c) 2004-2005 Auster Solutions do Brasil. All Rights Reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOS...
true
cc605f3d1f9b7cfcb2aa93461d84b6c29095b03e
Java
Riabchenko/Progects_for_EPAM
/autumn2015/TASK_3_XML/src/com/intellect25/model/SaxParser.java
UTF-8
4,125
2.703125
3
[]
no_license
package com.intellect25.model; import com.intellect25.entity.*; import org.xml.sax.*; import org.xml.sax.helpers.XMLReaderFactory; import java.io.IOException; /** * SaxParser to parse xml documents * * @author Riabchenko Aliona */ public class SaxParser implements StaticValue{ /** Create objects of Pavilion...
true