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
b2b3c092bd8912a3b284cdc22cf2358cd69ff053
Java
Ramon-Arias25/neo-tp4
/neotp4Model/Canine.java
UTF-8
863
2.84375
3
[]
no_license
package neotp4Model; /** * * @author ramon.arias * date: 13/05/2021 * current version: 1 * Canina class: to instantiate k9 member through its subclasses * */ public abstract class Canine { private String id; private String name; private String type; private String breed; private String sex; public Canine...
true
5f6477edc3782bccb6b817688566eda8bc22dd44
Java
mjochab/PZ_2019_Lab2_Gr2
/Dziennik/src/main/java/modelFX/FrequentlyFx.java
UTF-8
1,929
2.78125
3
[ "MIT" ]
permissive
package modelFX; import Modele.Frequently; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleLongProperty; import javafx.beans.property.SimpleObjectProperty; import java.util.Date; public class FrequentlyFX extends Frequently { ...
true
5502d2d5453c0973802210fe0bb33957ad6dd2c7
Java
fmselab/codecover2
/misc/instrumentation/parsers/release/src/org/gbt2/instrumentation/cobol85/manipulators/ConditionManipulator.java
UTF-8
1,261
2.359375
2
[]
no_license
/////////////////////////////////////////////////////////////////////////////// // // $Id: ConditionManipulator.java 1 2007-12-12 17:37:26Z t-scheller $ // // created at: 26.03.2007 23:49:39 // /////////////////////////////////////////////////////////////////////////////// package org.gbt2.instrumentation.cobol85.man...
true
d35c2dc28a42955a047f921a3b2669ee2cadcd85
Java
hongchao1117/ALoffer
/src/Interview/TencentDemo01.java
UTF-8
1,000
3.046875
3
[]
no_license
package Interview; import java.util.ArrayList; import java.util.Scanner; public class TencentDemo01 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int t = input.nextInt(); for (int i = 0; i < t; i++) { int len = input.nextInt(); S...
true
6e3b5fcd3daaf976d6cdadd97cb26108fe1671ee
Java
maggan1968/JavaProgramming_B23
/replit/Loop_Practice/PrintVowels.java
UTF-8
859
3.4375
3
[]
no_license
package Loop_Practice; import java.util.Scanner; public class PrintVowels { public static void main(String[] args) { Scanner scan= new Scanner(System.in); String word = scan.nextLine(); //write your code below String result=""; for(int i=0; i<word.l...
true
b90ccf8560b0b3ba3ab1382234853db3b3ec8a73
Java
fengling1106/lark
/lark-bean/src/main/java/com/valen/lark/bean/message/RequestMsgBody.java
UTF-8
1,412
2.234375
2
[]
no_license
/** * <p>Title: BusinessInfo.java</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2019</p> * <p>Company: valen.com</p> * @author fengling * @date 2020年2月21日 * @version 1.0 */ package com.valen.lark.bean.message; import java.io.Serializable; /** * <p>Title: BusinessInfo</p> ...
true
1a827ce1b074ca49fc7168d319320ed5c98b0c81
Java
KnnethKong/housekeeper
/app/src/main/java/com/haiwai/housekeeper/wxapi/WXPayEntryActivity.java
UTF-8
2,281
1.9375
2
[]
no_license
package com.haiwai.housekeeper.wxapi; import com.haiwai.housekeeper.R; import com.haiwai.housekeeper.https.Contants; import com.haiwai.housekeeper.utils.DateUtil; import com.haiwai.housekeeper.utils.MD5Util; import com.haiwai.housekeeper.view.TopViewNormalBar; import com.tencent.mm.sdk.constants.ConstantsAPI; import c...
true
f669b13dc2310cc937ca9d99c3e1bb31025fb1e4
Java
DEIS-Project-EU/DDI-Scripting-Tools
/ODE_Metamodel/ode.concept.deis/src/top/failureLogic/Cause.java
UTF-8
2,301
2.046875
2
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
/** */ package top.failureLogic; import top.odeBase.BaseElement; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Cause</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link top.failureLogic.Cause#getCauseType <em>Cause Ty...
true
45e754bca9f9b817de78f30b4db31728426427b3
Java
zhuifengshen/JavaDemo
/src/mike/principle/QuackBehavior.java
UTF-8
127
2.0625
2
[]
no_license
package mike.principle; /** * Created by Devin on 2016/7/22. */ public interface QuackBehavior { public void quack(); }
true
8fd9eba48b06f095141306071a18fc25426f918b
Java
marinovtom/Algorithms
/SearchAndSort/BinarySearch.java
UTF-8
796
3.796875
4
[ "MIT" ]
permissive
public class BinarySearch { private static int binarySearch(int[] sortedArray, int searchFor, int startIndex, int endIndex) { int halfArrayIndex = (endIndex + startIndex) / 2; if(sortedArray[halfArrayIndex] == searchFor) { return halfArrayIndex; } if(sortedArray[halfArrayIndex] > searchFor) { retu...
true
7173dacc00d812c888722c5330a39e37799bc7ad
Java
DTStack/Taier
/taier-scheduler/src/main/java/com/dtstack/taier/scheduler/executor/DatasourceOperator.java
UTF-8
6,293
1.789063
2
[ "Apache-2.0" ]
permissive
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
true
60dde1b624c7378693d8345c9f8176626b651fda
Java
JuliusCesarEstrope/2015-Recycle-Rush
/Double DJ Jammer/src/org/usfirst/frc/team818/robot/autonomi/Auton3.java
UTF-8
507
1.71875
2
[]
no_license
package org.usfirst.frc.team818.robot.autonomi; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; //import org.usfirst.frc.team818.robot.commands.DriveTimed; //import org.usfirst.frc.team818.robot.commands.TowerDownCommand; import org.usfirst.frc.team818.ro...
true
3d335adb85e07dd3ef95197241874e822e690477
Java
specs-feup/lara-framework
/LaraDoc/src/pt/up/fe/specs/lara/doc/aspectir/elements/AspectElement.java
UTF-8
1,255
2.265625
2
[ "Apache-2.0" ]
permissive
package pt.up.fe.specs.lara.doc.aspectir.elements; import com.google.common.base.Preconditions; import pt.up.fe.specs.lara.doc.comments.LaraDocComment; import pt.up.fe.specs.lara.doc.jsdoc.JsDocTagName; import pt.up.fe.specs.lara.doc.jsdoc.JsDocTagProperty; public class AspectElement extends AAspectIrElement { ...
true
dcb982411cee082a1c3d5754bf4ae2027bdcc692
Java
houdinisparks/Gestures
/core/src/com/gameworld/GameRenderer.java
UTF-8
4,236
2.21875
2
[]
no_license
package com.gameworld; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.glutils.Sh...
true
dd3e821604b2ad6544462e4834a4df66bceb9697
Java
ragavanravi65/WhatsTheOutput
/WhatsOutputSeries/src/Main.java
UTF-8
526
3.5
4
[]
no_license
final class Square{ private double length=102,breadth; public Square(double length,double breadth) { this.length=length; this.breadth=breadth; } Square(Square sq){ System.out.println("copy constructor invoked"); length=this.length; breadth=sq.breadth; } public String toString() { return "(...
true
2fc5f3cd05a81c33a7b07f04fcdebfa13e03392a
Java
NMAI-lab/LFO-Simulator
/src/lfo/simulator/shapes/Square.java
UTF-8
2,568
3.03125
3
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lfo.simulator.shapes; import lfo.simulator.objects.BoundingBox; import util.XMLWriter; import java.awt.geom.Point2D; import org.jdom.Element; /** * * @author santi */ public class Square extends Shape { ...
true
043957faea9a14c53637021848ef39f2a858d25b
Java
tiobe/pmd
/pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/GlobalScopeTest.java
UTF-8
1,482
2.328125
2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.symboltable; import static org.junit.Assert.assertEquals; import java.util.List; import java.util.Map; import org.junit.Test; import net.sourceforge.pmd.PMD; import net.sourceforge.pmd.lang...
true
c6230779623841df57e788674fc2a2d2867d6547
Java
hehaisheng/WeikeAndroid
/app/src/main/java/com/weike/data/model/viewmodel/MsgDetailItemVM.java
UTF-8
1,510
1.828125
2
[]
no_license
package com.weike.data.model.viewmodel; import android.app.Activity; import android.databinding.ObservableField; import android.support.v4.app.FragmentActivity; import com.weike.data.R; import com.weike.data.base.BaseVM; import com.weike.data.listener.OnReduceListener; /** * Created by LeoLu on 2018/6/1. */ publi...
true
6fdcd641c9cf0ed8751d5284622e57ba2528b1bd
Java
jarrettkenny/dillo-bot
/src/main/java/com/dillos/dillobot/commands/InformationalCommands.java
UTF-8
1,261
2.125
2
[]
no_license
package com.dillos.dillobot.commands; import com.dillos.dillobot.annotations.Channel; import com.dillos.dillobot.annotations.Command; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import net.dv8tio...
true
9d5f2ded3396d56b250f66fc8ec670bb47e02e63
Java
sieben8nein/SE02_Projekt
/Aservio/src/aservio/presentation/platform/controllers/Login.java
UTF-8
2,410
2.625
3
[]
no_license
package aservio.presentation.platform.controllers; import aservio.presentation.PresentationInterfaceManager; import aservio.presentation.platform.interfaces.contracts.ILogin; import java.io.File; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import java...
true
113b1c6f0bbfc2d370a1489d1e5eb479e5df8151
Java
NElight/javaee_eclipse
/ssh/src/main/java/ssh/test/anno/NameAction.java
UTF-8
1,267
2.015625
2
[]
no_license
package ssh.test.anno; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import javax.annotation.*; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import org.springframework.stereotype.Controller; import ssh.model.User; import ognl.*; @Contro...
true
082f4f17b1eb1357f3e568a612b7f884e73f327f
Java
flyfire/Forward
/javalib/src/main/java/com/oman/lib/proxy/Test.java
UTF-8
1,759
2.734375
3
[]
no_license
package com.oman.lib.proxy; import java.io.FileOutputStream; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import sun.misc.ProxyGenerator; /** * @author:ZhouJiang * @date:2020/5/17 22:29 * @email:zhoujiang2012@163.com */ public class Test { publi...
true
7629a9135647ad2bf5afc37134d9bd03eff0d19b
Java
KoenHopmans/music-hexagon
/src/main/java/com/novi/hexagon/service/FileStorageService.java
UTF-8
3,858
2.46875
2
[]
no_license
package com.novi.hexagon.service; import com.novi.hexagon.exceptions.FileStorageException; import com.novi.hexagon.exceptions.MyFileNotFoundException; import com.novi.hexagon.exceptions.RecordNotFoundException; import com.novi.hexagon.model.User; import com.novi.hexagon.property.FileStorageProperties; import com.novi....
true
75e8dd6335e5703ee7ff438f22437cf5452b45fc
Java
superdGeorge/privateLedge-server
/src/main/java/com/projectx/BaseServlet.java
UTF-8
1,771
2.390625
2
[]
no_license
package com.projectx; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import c...
true
f2a60c15e97248823fe8008b8b7e3e8ea8ebca2c
Java
dewiayuparaswatti97/TIGOL.com
/app/src/main/java/com/example/tigol/Card.java
UTF-8
893
2.5625
3
[ "MIT" ]
permissive
package com.example.tigol; public class Card { String imagePath,nama,harga,deskripsi; public Card(String imagePath, String nama, String harga, String deskripsi) { this.imagePath = imagePath; this.nama = nama; this.harga = harga; this.deskripsi = deskripsi; } public Str...
true
045e79cb77c2ebde046cbe6c47bdcc0016cf76ab
Java
OriginLU/common-module
/tenancy/tenancy-client/src/main/java/com/zeroone/tenancy/aop/TenancyDataSourceAspect.java
UTF-8
5,217
2.265625
2
[]
no_license
package com.zeroone.tenancy.aop; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.zeroone.tenancy.annotation.TenancyDataSource; import com.zeroone.tenancy.provider.TenantDataSourceProvider; import com.zeroone.tenancy.utils.TenantIdentifierHelper; import com.zeroone.tenancy.thread.pool.ThreadPo...
true
bb0c3704f28d182181fb80765e5e9642529f04e0
Java
manwindersingh1712/DataStructures
/src/Assignment3/Q6_NumberOfDigitsInNUmber.java
UTF-8
585
3.375
3
[]
no_license
package Assignment3; import java.util.Scanner; public class Q6_NumberOfDigitsInNUmber { public static void main(String[] args) { Scanner scrn = new Scanner(System.in); int num = scrn.nextInt(); int digit = scrn.nextInt(); System.out.println(numberOfDigits(num, digit)); } ...
true
6ab82957e0ad9e55708e571ea87219a2fb1feb85
Java
Skn0tt/lkDatenstrukturen
/Queue/src/Main.java
UTF-8
400
2.890625
3
[]
no_license
import java.io.Serializable; /** * Created by simon.knott on 17.11.2017. */ public class Main { public static void main(String... args) { Queue<Integer> stack = new Queue<>(); for (int i = 0; i < 20; i++) { stack.enqueue(i); } while(!stack.isEmpty()) { Sy...
true
8e97bb4f68dc1652b45011f24fd3ccdf1176d65b
Java
yeluo1942/ShowUserInfo
/src/web/DeleteSelected.java
GB18030
1,272
2.484375
2
[]
no_license
package web; import java.io.IOException; 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 service.Service; import service.ServiceImpl...
true
bc0f8d1bfe049dd4502ef410f8c9832fa08581f9
Java
yokesh-sparkout/zipchat-clone-new
/zipchat-clone/src/main/java/com/chat/zipchat/clone/Activity/ProfileActivity.java
UTF-8
9,362
1.679688
2
[ "MIT" ]
permissive
package com.chat.zipchat.clone.Activity; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.View;...
true
ae9c4103fc44d57e3580b65b22a3382fa0d16e1f
Java
vivekmaheshsahu/K-th-_-pp
/app/src/main/java/com/vivek/hack/katha_app/Share_App.java
UTF-8
475
1.976563
2
[]
no_license
package com.vivek.hack.katha_app; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; public class Share_App extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCo...
true
9b82e447a406cf4bd0eba43f389b3be5d54015f0
Java
rencsaridogan/processout-android
/processout-sdk/src/main/java/com/processout/processout_sdk/MiscGatewayRequest.java
UTF-8
1,114
2.15625
2
[]
no_license
package com.processout.processout_sdk; import android.util.Base64; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import java.util.Map; public class MiscGatewayRequest { @SerializedName("url") private String URL; @SerializedName("method") private String method; ...
true
5de6a7803bfadba804d410b410bcdab77c3be683
Java
iisa-gallego/CalculadorNotas-ECO
/app/src/main/java/com/example/s3notas/ResultadoActivity.java
UTF-8
2,320
2.0625
2
[]
no_license
package com.example.s3notas; import androidx.appcompat.app.AppCompatActivity; import androidx.constraintlayout.widget.ConstraintLayout; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.view.View; i...
true
b3a4a74d84e4db726024add9b7a7a059d1dcf90f
Java
a5502015/MyJavaClass
/0821/CountDownLatchDemo.java
BIG5
1,887
3.5
4
[]
no_license
import java.util.Random; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; class Student implements Runnable{ private CountDownLatch downLatch; private String name; public Studen...
true
4c910ba0ea0edeb057b6bebef4b0f31040b54f07
Java
pabloAMD/CitasMedicas
/CitasMedicasOnline/src/modelo/Suscripcion.java
UTF-8
1,761
2.296875
2
[]
no_license
package modelo; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import java...
true
f21fd4909cee04dd4f9d0c88ac00db6fe78c4388
Java
SyAuler/Training-Camp
/Java/Intro POO/ACCH - Pet - Simone Auler/src/cadastros/CadAnimal.java
UTF-8
4,940
3.140625
3
[]
no_license
package cadastros; import dados.Animal; import dados.Proprietario; import dados.Raca; import java.util.ArrayList; import java.util.Date; import javax.swing.JOptionPane; import tela.Janela; public class CadAnimal implements Cadastro { static ArrayList<Animal> animal = new ArrayList<Animal>(); private CadRaca ...
true
7e9e35d10030c7bf702eea7b6ab025c453656570
Java
kontza/javatmospi
/src/main/java/org/kontza/atmospi/Settings.java
UTF-8
1,739
2.484375
2
[ "MIT" ]
permissive
/* * 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 org.kontza.atmospi; import com.fasterxml.jackson.annotation.JsonProperty; /** * * @author juharuotsalainen */ public class...
true
7b42521ad4a785e1bfc86d34f615a8c7d17bd97e
Java
sumanshil/TopCoder
/TopCoder/src/main/java/com/leetcode/MeetingRoom.java
UTF-8
1,896
3.3125
3
[]
no_license
package com.leetcode; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.LinkedList; import java.util.List; //https://leetcode.com/problems/meeting-rooms/ public class MeetingRoom { class Pair { int low; int high; Pair(int low, int high) {...
true
0330cd19c6e847a9459b2ddc832324e25f5032a8
Java
austonricardo/simulaAlocacao2
/src/Alocacao.java
ISO-8859-1
6,494
3.046875
3
[]
no_license
import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Alocacao { public static List<Candidato> candidatos; public static List<Local> ofertas; //Todos os locais at com 0 vagas /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method s...
true
0e32c2aa507200772be532890d1fd1224ee6ef7f
Java
mahmoudbakar/BeetleWare
/app/src/main/java/com/beetleware/task/utils/Regex.java
UTF-8
218
1.695313
2
[]
no_license
package com.beetleware.task.utils; public interface Regex { String REGEX_PASSWORD = ".{6,}"; String REGEX_EGYPT_MOBILE = "(01)[0-9]{9}"; String REGEX_NAME = ".{2,}"; String REGEX_MESSAGE = ".{10,}"; }
true
fa9b1bb2b36c5eacebd6877ff2209617ea88291b
Java
zalopay-oss/hey-app
/hey-backend/src/main/java/com/hey/handler/WsHandler.java
UTF-8
9,526
2.203125
2
[ "MIT" ]
permissive
package com.hey.handler; import com.hey.manager.UserWsChannelManager; import com.hey.model.*; import com.hey.service.APIService; import com.hey.util.GenerationUtils; import io.vertx.core.CompositeFuture; import io.vertx.core.Future; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import j...
true
8c88dbe98e37f8b884f294e00cefcbb13a5c3926
Java
Angavi/Gadgets
/project1/src/main/java/com/niit/daoimpl/CategoryDaoImpl.java
UTF-8
2,145
2.359375
2
[]
no_license
package com.niit.daoimpl; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.niit...
true
36cf3ad0469eba1709a4c66e159ef740b1f771d6
Java
phillipus85/ETLMetricsDataset
/2015-02/Individual Projects/Grupo 6/DocumentalToSql/src/main/java/co/com/ap/core/Conexion.java
UTF-8
2,102
2.765625
3
[]
no_license
package co.com.ap.core; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public class Conexion { private static String JDBC_DRIVER = "com.mysql.jdbc.Driver"; private static String JDBC_URL =...
true
42050fbb59ee4c2995999035d420bd326325921d
Java
TencentCloud/tencentcloud-sdk-java-intl-en
/src/main/java/com/tencentcloudapi/mps/v20190612/models/DescribeTaskDetailResponse.java
UTF-8
21,439
1.851563
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
true
e6ab84d714314b2960f0aedced10cec125ec3a31
Java
MosesRen/leetcode-idea
/src/leetcode/editor/cn/476.数字的补数.java
UTF-8
271
2.640625
3
[]
no_license
/* * @lc app=leetcode.cn id=476 lang=java * * [476] 数字的补数 */ class Solution { public int findComplement(int num) { // ~num 取反 //Integer.highestOneBit(num) 取最高位 return ~num & (Integer.highestOneBit(num) - 1); } }
true
8b7cd8c39060d03e2f5eb6c83743bab93d133573
Java
hanonator/RS2-Emulator
/src/org/hannes/rs2/content/misc/CommonObjectEventHandler.java
UTF-8
554
2.453125
2
[]
no_license
package org.hannes.rs2.content.misc; import org.hannes.entity.Player; import org.hannes.event.ObjectInteractionEvent; import org.hannes.event.hub.EventHandler; /** * Event handler for ladders, bookcases, drawers, crates, etc. * * @author red * */ public class CommonObjectEventHandler implements EventHandler<Obj...
true
6cedf105bc2b925d364ac886bcc387112de7a93a
Java
arineto/SiscomRFID
/src/util/Util.java
IBM852
4,212
2.765625
3
[]
no_license
package util; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.math.BigInteger; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayList; import java.util.List; import java.util.Random; public class Util { private sta...
true
576d0bdf8fce982a6c95a2d39b6188f7e6cecf07
Java
ataramasco/ExampleAppiumaws
/appium_ex_homeLogin/src/test/java/Tests/WebViewTest.java
UTF-8
995
2.59375
3
[]
no_license
package Tests; import Pages.WebViewPage; import Tests.AbstractBaseTests.TestBase; import org.testng.Assert; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; /** * Tests for a webview */ public class WebViewTest extends TestBase { private final String FULL_URL = "http://www.google....
true
cef58884375173d3d48dfd6724259a62a317b527
Java
Nedelosk/Modular-Machines
/src/main/java/modularmachines/common/modules/tools/ModuleModeMachine.java
UTF-8
2,002
2.453125
2
[ "MIT" ]
permissive
package modularmachines.common.modules.tools; import modularmachines.api.modules.IModulePage; import modularmachines.api.modules.containers.IModuleContainer; import modularmachines.api.modules.containers.IModuleProvider; import modularmachines.api.modules.state.IModuleState; import modularmachines.api.modules.tools.IM...
true
77d1e5d3ec6b48fa98a7a00be2c31a8a2f4a5cb7
Java
GabrielGamarano/Java
/Vendas/src/model/service/NovoEstoqueService.java
UTF-8
482
2.15625
2
[]
no_license
package model.service; import java.util.List; import model.dao.DaoFactory; import model.dao.NovoEstoqueDao; import model.entidades.PedidoEstoque; public class NovoEstoqueService { private NovoEstoqueDao dao = DaoFactory.createNovoEstoqueDao(); public List<PedidoEstoque> findAll(){ return dao.findA...
true
2ce5f8138d149a6a2d6bf25d0a52e6d24db25228
Java
Cny0306/v17
/v17-web/v17-order/src/main/java/com/hgz/v17order/controller/OrderController.java
UTF-8
790
2.296875
2
[]
no_license
package com.hgz.v17order.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * @author huangguizhao * 1.进入订单确认页 * 1.1 当前身份合法认证,是否已登录() * 1.2 展示相关数据() */ @Controller @RequestMapping("order") public class OrderController { @RequestMa...
true
fda04a1bcfb11a386e0a30dffcf695028c2b23d6
Java
alexcmd/JGooglePlay
/src/com/google/play/proto/BillingInstrumentsProto.java
UTF-8
2,863
2.28125
2
[ "Apache-2.0" ]
permissive
// Code generated by Wire protocol buffer compiler, do not edit. // Source file: proto/Purchase.proto package com.google.play.proto; import com.squareup.wire.Message; import com.squareup.wire.ProtoField; import java.util.Collections; import java.util.List; import static com.squareup.wire.Message.Datatype.STRING; impo...
true
5f12399600106f6f97397d998f5fb0cf2b51f973
Java
N0589776/MPDHeritageMalta
/app/src/main/java/com/example/hayden/heritagemalta2/MainActivity.java
UTF-8
10,211
1.789063
2
[]
no_license
package com.example.hayden.heritagemalta2; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionBu...
true
62afe6a3e7e4610ca45daa35aa18fccf2fbff035
Java
kindfei/zyf
/test-ee-web/src/main/java/test/servlet/TestMDBServlet.java
UTF-8
1,578
2.328125
2
[]
no_license
package test.servlet; import java.io.IOException; import javax.annotation.Resource; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.JMSException; import javax.jms.MessageProducer; import javax.jms.Queue; import javax.jms.Session; import javax.jms.TextMessage; import javax...
true
aed233d322414d1a3079d7fce1f27a14e10ca03e
Java
solartcc/HwFrameWorkSource
/Mate20_9_0_0/src/main/java/java/util/stream/-$$Lambda$Collectors$oMCfAR-_eVSty8GsYzK5sec1Kag.java
UTF-8
650
2.125
2
[]
no_license
package java.util.stream; import java.util.DoubleSummaryStatistics; import java.util.function.BinaryOperator; /* compiled from: lambda */ public final /* synthetic */ class -$$Lambda$Collectors$oMCfAR-_eVSty8GsYzK5sec1Kag implements BinaryOperator { public static final /* synthetic */ -$$Lambda$Collectors$oMCfAR-...
true
e5c599a65207d4831ce731a792fc47662ac08e12
Java
lchueca/foodiegram
/src/main/java/main/domain/resource/PublicacionResource.java
UTF-8
405
1.539063
2
[]
no_license
package main.domain.resource; import lombok.Data; import javax.annotation.Resource; import java.sql.Date; @Resource @Data public class PublicacionResource { private Integer id; private Integer iduser; private String text; private String image; private String ciudad; private String pais; ...
true
562f942ea92247a8c3f45a79ab85b84a293d6d5c
Java
kutariyar/haaprojects
/HaaProject_CGLIB/src/org/haaproject/cglib/demo/advice/AroundAdvice.java
UTF-8
700
2.9375
3
[]
no_license
/** * * Created Date: Jan 15, 2013 */ package org.haaproject.cglib.demo.advice; import java.lang.reflect.Method; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; /** * @author geln * @version 1.0 */ public class AroundAdvice implements MethodInterceptor { ...
true
8542b551762ed653e0a574d9178a844dc531ba13
Java
RieMatsui/InventoryManagement
/src/java/fw/UserDataUtil.java
UTF-8
772
2.296875
2
[]
no_license
package fw; import javax.ejb.Stateless; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.servlet.http.HttpSession; /** * ユーザーデータを取得しデータを渡すためのクラス * @author RieMatsui */ @Stateless public class UserDataUtil { public String sessionUserName(){ ...
true
9c5f56a1195d8547cc27621f5bd675eb5b3fda3b
Java
kjwjw95/algorithm
/src/com/backjun/al/치킨배달.java
UTF-8
1,908
3.03125
3
[]
no_license
package com.backjun.al; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.StringTokenizer; public class 치킨배달 { static int N, M,Ans; static ArrayList<Integer[]> chiken; static ArrayList<Integer[]> house; static boolea...
true
d395de8e8c7f51053ad3b19b7602b4b0ed9a8358
Java
muzammil-moosani/java-examples
/Override2.java
UTF-8
394
3.453125
3
[]
no_license
class A { int i,j; A(int a,int b) { i=a; j=b; } void show() { System.out.println("i and j: "+i+" "+j); } } class B extends A { int k; B(int a,int b,int c) { super(a,b); k=c; } void show(String msg) { System.out.println(msg + k); } } class Override2 { public static void main(String args[]) { ...
true
b720bd09f0bb09ceffc18dd72d10304fcbaf3332
Java
kappaj2/AJKPhotography
/Java Code/AJK Photography/src/java/za/co/ajk/struts/actions/PackageAction.java
UTF-8
3,585
2.34375
2
[]
no_license
/* * PackageAction.java * * Created on 14 March 2008, 02:07 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package za.co.ajk.struts.actions; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse...
true
9e5127681ea4fd0d9a51abc38db0cb19a55a76bf
Java
abrysov/mydreams_all_gits
/mydreams_all_gits/android_old-master/app/src/main/java/com/mydreams/android/service/models/DreamDto.java
UTF-8
503
2.15625
2
[]
no_license
package com.mydreams.android.service.models; import com.google.gson.annotations.SerializedName; public class DreamDto extends DreamInfoDto { @SerializedName("owner") private UserInfoDto owner; @SerializedName("isliked") private boolean isLiked; public UserInfoDto getOwner() { return owner; } public void ...
true
317a4e162fe85c87aadb1899322f4a3481497c1c
Java
yangyadong/lanqiao
/src/EatBanana/Main.java
GB18030
4,135
3.5
4
[]
no_license
/** A group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at the mean time, provide the monkey with some blocks. If the monkey is clever enough, it shall be able to reach the banana by placing one block on the top another to build a tower ...
true
9f429caefb5279f3240329cb3266d94d7f8bcfb0
Java
Cellena/Jbmrus
/app/src/main/java/app/com/example/isuhar/jbmrus/data/CatalogProvider.java
UTF-8
14,618
2.28125
2
[]
no_license
package app.com.example.isuhar.jbmrus.data; /** * Created by iSuhar on 17.05.2015. */ import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQu...
true
ecc5b0d890696c682c249ed65e7395349b4f0573
Java
wgcisotto/erserver-unittesting-legacycode
/src/test/java/erserver/modules/hardunderstand/EmergencyResponseDouble.java
UTF-8
397
1.828125
2
[]
no_license
package erserver.modules.hardunderstand; import erserver.modules.dependencies.EmergencyResponseProvider; import erserver.modules.dependencies.Priority; public class EmergencyResponseDouble implements EmergencyResponseProvider { @Override public void requestInboundDiversion(Priority priority) { } @O...
true
ad97e91026ff081d16f5b47e193a8c1f4571eec5
Java
aKimtsPro/Java
/src/poo/lambda/LancableIntensite.java
UTF-8
92
1.984375
2
[]
no_license
package poo.lambda; public interface LancableIntensite { int lancer(int intensite); }
true
753665cde37c9fa865a8a3aefb20b1763bbf25d9
Java
sbhornjr/animator-application-ext
/src/cs3500/animator/model/misc/MyColor.java
UTF-8
960
3.984375
4
[]
no_license
package cs3500.animator.model.misc; import java.awt.Color; /** * A version of Java's Color that prints better. */ public class MyColor extends Color { /** * Constructs a cs3500.animator.model.misc.MyColor object. * * @param r The amount of red in the color * @param g The amount of green in the color ...
true
1f493164c0f2318c0ec354a688195089ec713b6e
Java
rui099/AI_Algoritmo_Genetico_Java
/src/main/Exceptions/XYNotFoundException.java
UTF-8
616
2.109375
2
[]
no_license
package main.Exceptions; /** * * @author ruidu */ public class XYNotFoundException extends Exception { public XYNotFoundException() { } public XYNotFoundException(String message) { super(message); } public XYNotFoundException(String message, Throwable cause) { super(message, ...
true
eccc8e9d258dac03e0ca6d19f6e565b192e84486
Java
thoslin/ELF
/client/plugins/elf.client.compliance.management/src/main/java/elf/client/compliance/management/views/securitypool/dialog/RemoveComposite.java
GB18030
2,496
2.390625
2
[ "BSD-3-Clause" ]
permissive
package elf.client.compliance.management.views.securitypool.dialog; import java.util.Collections; import java.util.LinkedList; import java.util.List; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Composite; import elf.api.compliance.co...
true
dfedb9c6803ddb723e3d2e5e6e9d1cb00d5b81c2
Java
marco-ruiz/grid-wizard-enterprise
/src/main/java/org/gwe/app/daemon/domain/MonitorDomain.java
UTF-8
3,351
2.171875
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2007-2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
true
6337b4c929201d98dc52d1ef3542e387b9f162b2
Java
fengyajie/ShiroTest
/src/main/java/com/fyj/redis/RedisCacheConfigure.java
UTF-8
2,931
2.484375
2
[]
no_license
package com.fyj.redis; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; public class RedisCacheConfigure implements Initiali...
true
99f70e46647ca4097503ad7e6a28bf4f7518bf5f
Java
LorenBaker/DiveLog
/app/src/main/java/com/lbconsulting/divelogfirebase/reefGuide/ReefGuideWebPageReader.java
UTF-8
3,446
2.296875
2
[]
no_license
package com.lbconsulting.divelogfirebase.reefGuide; import android.app.ProgressDialog; import android.content.Context; import android.os.AsyncTask; import android.support.annotation.NonNull; import com.lbconsulting.divelogfirebase.models.ReefGuide; import com.lbconsulting.divelogfirebase.models.ReefGuideItem; import ...
true
bf83c8a0e629669b5ab1907d43a39366cdc57d9e
Java
userzxl/gsm
/src/main/java/org/zxl/model/Stock.java
UTF-8
1,624
2.265625
2
[]
no_license
package org.zxl.model; import java.util.Date; public class Stock { private String id; private String name; private Date createDate; private String delFlag; private String unit; private Date updateDate; private String quantity; private String type;//1:入库 0:出库 public String g...
true
938dc7f47e953365b0684e0010a2f03e0b3e76d0
Java
haseeAmarathunga/DesignPatterns
/src/com/factory/FactoryPatternDemo.java
UTF-8
322
2.953125
3
[]
no_license
package com.factory; public class FactoryPatternDemo { public static void main(String[] args) { ShapeFactory sp=new ShapeFactory(); Shape shape1=sp.getShape("Circle"); shape1.draw(); Shape shape2=sp.getShape("Rectangle"); shape2.draw(); Shape shape3=sp.getShape("Square"); shape3.draw(); } ...
true
7afc2c27dcbcdee33e7779a7412e29db153f074b
Java
jasondlee/Meetspace
/plugin-engine/src/main/java/com/steeplesoft/meetspace/plugins/PluginMetadata.java
UTF-8
807
2.328125
2
[]
no_license
package com.steeplesoft.meetspace.plugins; import java.util.List; /** * Created by IntelliJ IDEA. * User: jasonlee * Date: Feb 12, 2010 * Time: 3:55:15 PM * To change this template use File | Settings | File Templates. */ public class PluginMetadata { protected String name; protected String type; pr...
true
45c911a3dc90c13f06840c80e247ea866efd74aa
Java
Sowmiya2497/exam
/WEB-INF/classes/studentdao.java
UTF-8
3,564
2.34375
2
[]
no_license
import bean.student; import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.sql.ResultSet; import java.sql.PreparedStatement; public class studentdao { ...
true
70cacd4b79640163091cad881b37def897ee5297
Java
tarikbzyk/sabah
/sabah/src/main/java/pageObjects/anasayfa/Manset.java
UTF-8
973
2.203125
2
[]
no_license
package pageObjects.anasayfa; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import java.util.List; public class Manset { public WebDriver driver; By Manset20li = By.xpath("//section[@class='homeContent contentFrame']/div/div[4]/div[1]/div/div/ul...
true
8d317247c102a2bcae1304bbfde06eb3d6b2a3ca
Java
Rufusmen/ONP
/src/symbole/Przypisanie.java
UTF-8
866
3.015625
3
[]
no_license
package symbole; import narzedzia.Stos; import wyjatki.ONP_BladZmiennej; import wyjatki.WyjatekONP; /** * Klasa przypisania */ public class Przypisanie extends Symbol { public static void przypisz(Stos<Symbol> stos) throws WyjatekONP { Symbol s1 = stos.getBack(); stos.popBack(); Symbol ...
true
cc9cdf0247cf4a7020db192270124349a194dcb2
Java
sogo911/algorithm
/src/com/bit/loop/BmiFor.java
UTF-8
1,477
3.53125
4
[]
no_license
package com.bit.loop; /* BMI 지수 고도 비만 : 35 이상 중등도 비만 (2단계 비만) : 30 - 35 경도 비만 (1단계 비만) : 25 - 30 과체중 : 23 - 24.9 정상 : 18.5 - 22.9 저체중 : 18.5 미만 */ import java.util.Scanner; public class BmiFor { public static void main(String[] args) { Scanner a = new Scanner(System.in); String res = ""; int d = 0; System.out...
true
ef023329eb854788abddac56047d1c8d75f70194
Java
amirnaveh/ToDoListManager
/app/src/main/java/il/ac/huji/todolist/AddNewTodoItemActivity.java
UTF-8
3,763
2.9375
3
[]
no_license
package il.ac.huji.todolist; import android.app.Activity; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.DatePicker; import android.widget.EditText; import a...
true
b5c2424b67cc0e5e3b5ace4140b555163a0e2580
Java
nunotoriz/hale
/io/plugins/eu.esdihumboldt.hale.io.oml/src/eu/esdihumboldt/hale/io/oml/internal/model/generated/oml/OnAttributeType.java
UTF-8
3,265
1.789063
2
[]
no_license
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012...
true
ea2e5826a36d4aa021fa623ce8cb5b0024a201f3
Java
athishaves/hospital_beds
/app/src/main/java/com/athishworks/ccc/CustomDialog.java
UTF-8
8,204
2.328125
2
[]
no_license
package com.athishworks.ccc; import android.app.Dialog; import android.content.Context; import android.location.Address; import android.location.Geocoder; import android.text.Editable; import android.text.TextWatcher; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; import android...
true
63a47e4c5604c129d1abac5ff24178388e191a75
Java
CoderPaulK/kigserver
/src/main/java/logReader/rest/All.java
UTF-8
1,462
2.375
2
[]
no_license
package logReader.rest; import com.google.common.cache.LoadingCache; import com.google.gson.Gson; import com.google.gson.JsonObject; import logReader.common.LogEvent; import logReader.reader.LogWatcher; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.servlet.ServletException; ...
true
f2b288380f838dd8ebbd558d92cd0a34c13cc34d
Java
acaber/BinarySearchTreeSort
/src/BinarySearchTree.java
UTF-8
4,252
4.4375
4
[]
no_license
/** * FileName: BinarySearchTree.java * Author: Rebecca Johnson * Date: 9/24/2017 * Description: This class creates the binary tree. It initializes the tree, * allows new values to be inserted, and orders the values in the tree through * traversing through each node. * */ public class BinarySearchT...
true
30cfcf1f1c3201736a8e1f8629026943297e52f8
Java
garudareiga/computer_system_design
/kvstore/src/edu/berkeley/cs162/KVMessageTest.java
UTF-8
1,650
2.609375
3
[]
no_license
package edu.berkeley.cs162; import static org.junit.Assert.*; import java.io.IOException; import java.net.InetAddress; import java.net.*; import org.junit.Test; public class KVMessageTest { @Test public void testKVMessageString() { try { KVMessage kvmsg = new KVMessage("resp"); assertEqua...
true
3b6c7c30c4ca8b3d73fcef4b82633e25e7f7b097
Java
seralf/rdf4j
/core/sail/shacl/src/main/java/org/eclipse/rdf4j/sail/shacl/planNodes/SetFilterNode.java
UTF-8
3,297
1.835938
2
[ "MIT", "BSD-3-Clause", "CPL-1.0", "JSON", "Apache-2.0", "EPL-1.0", "MPL-1.1", "Apache-1.1", "LicenseRef-scancode-generic-export-compliance" ]
permissive
/******************************************************************************* * Copyright (c) 2018 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
true
b670a40328c7974f6d5f7111d07d313981dc340f
Java
youssef-ghrib/tunisia-hikes-android
/app/src/main/java/com/esprit/randonnetunisie/entities/Media.java
UTF-8
2,530
2.375
2
[]
no_license
package com.esprit.randonnetunisie.entities; import android.os.Parcel; import android.os.Parcelable; import com.esprit.randonnetunisie.enums.MediaType; import org.codehaus.jackson.annotate.JsonProperty; import java.io.Serializable; /** * Created by youss on 30/11/2016. */ public class Media implements Parcelabl...
true
613bf7830ff08e7960bd91f9c056588b9cefbed9
Java
cxmhfut/HuaweiOnlineProgram
/src/huawei/huawei_026_030/Huawei_026.java
UTF-8
982
3.359375
3
[]
no_license
package huawei.huawei_026_030; import java.util.LinkedList; import java.util.Scanner; /** * 字符串排序 */ public class Huawei_026 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()){ String str = sc.nextLine(); strSort(str); ...
true
400a72ea41429fa11177abccac1490d3085996f9
Java
HalasNet/middleheaven
/middleheaven-storage-dataset/src/main/java/org/middleheaven/persistance/xml/XMLCriteriaInterpreter.java
UTF-8
6,158
2.109375
2
[]
no_license
//package org.middleheaven.persistance.xml; // //import org.middleheaven.storage.model.StorableEntityModel; //import org.middleheaven.util.criteria.Criteria; //import org.middleheaven.util.criteria.Criterion; //import org.middleheaven.util.criteria.CriterionOperator; //import org.middleheaven.util.criteria.EmptyC...
true
95023b8cd9fc586ba23abfe6bc2318d696de7c3f
Java
celsou/ScadaBR-EF
/src/com/serotonin/mango/rt/event/handlers/SnmpTrapHandlerRT.java
UTF-8
11,489
1.953125
2
[]
no_license
/* Mango - Open Source M2M - http://mango.serotoninsoftware.com Copyright (C) 2006-2011 Serotonin Software Technologies Inc. @author Matthew Lohbihler This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
true
32a82e65229558311947b3f00fb59253c1c5b4b2
Java
DJR1996/ServerProtect
/src/com/gmail/thecotlsdragon98/ServerProtect/ServerProtect.java
UTF-8
8,753
2.15625
2
[]
no_license
package com.gmail.thecotlsdragon98.ServerProtect; import java.util.Arrays; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; public class ServerProtect extends JavaPlugin { public ServerProtect plugin; @Override public void on...
true
3a13d8388edc6b8f13293cc6af0fb42bb38ae9e9
Java
hanella91/final-project-wiicar
/src/wiicar/carpool/dao/PayDAO.java
UTF-8
599
2.0625
2
[]
no_license
package wiicar.carpool.dao; import java.sql.SQLException; import wiicar.carpool.dto.PayDTO; public interface PayDAO { public void insertPay(PayDTO dto) throws SQLException; public PayDTO getPayment(PayDTO dto) throws SQLException; public void successPay(int paynum, int type) throws SQLException; public vo...
true
6ef5c2a39bc3ab84b98e37b2e77ff26b2adab9c8
Java
rrathoe16489/BDDCucumberwithExtentReportFramework
/CucumberReport/src/test/java/com/wipro/qa/util/WBSInformationOBJ.java
UTF-8
15,699
1.726563
2
[]
no_license
package com.wipro.qa.util; import org.openqa.selenium.By; import com.wipro.qa.base.TestBase; /** * @authorID Rat105478 * @authorName RameshRathod */ public class WBSInformationOBJ extends TestBase { public static By WBSInformationHeader = By.xpath("//div[text()='WBS Information']"); public static ...
true
27320a9aa54089a1575faedb15fd8d10f4f30840
Java
AshkIza/AlgorithmsAndSystemDesign
/src/main/java/leetcode/Arrays/BestTimeBuySellStock.java
UTF-8
4,217
4.125
4
[]
no_license
package leetcode.Arrays; /* https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ * Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i.e., buy one and sell one share o...
true
dcd84900b7729fc6477e5d002de363b65df79452
Java
vsale85/seleniumEx1
/src/tests/Tests.java
UTF-8
1,464
2.375
2
[]
no_license
package tests; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class Tests extends BaseTest { @BeforeMethod public void setUpForTest...
true
b3e4686567352f51fc4b9e3b961c1c7faeb6b036
Java
Epsi-Java/generationPlanning
/Animaux.java
UTF-8
2,589
2.96875
3
[]
no_license
package fr.epsi.model; public class Animaux { // Déclaration des attributs de la clase protected String nom_animal; // le nom de l'animal est repris dans les autres classes, pour l'instant c'est ce que sert d'id j'ai trouvé ça plus pratique je sais pas trop si c'est utile... protected int nb_animaux; protected...
true
8e49e36464c523865f10b0a098f790233cf3c8b3
Java
shawnlimjq/CS3219-Assignment-5
/Git-Guard/src/application/ContriParser.java
UTF-8
367
2.265625
2
[]
no_license
package application; public class ContriParser extends Parser { public ContriParser(String url) { super(url); convertToAPIURL(); } private void convertToAPIURL(){ // From : https://github.com/{username}/{repo name} // To : https://api.github.com/repos/{username}/{repo name}/contributors setUrl(ge...
true
09bb8e2f748e7a0c9b100c74bb1f3f145786957d
Java
lambertwe/finder-parent
/finder-web/src/main/java/com/skin/finder/FileRange.java
UTF-8
2,898
2.40625
2
[ "Apache-2.0" ]
permissive
/* * $RCSfile: FileRange.java,v $ * $Revision: 1.1 $ * * Copyright (C) 2008 Skin, Inc. All rights reserved. * * This software is the proprietary information of Skin, Inc. * Use is subject to license terms. */ package com.skin.finder; import java.io.IOException; import java.io.OutputStream; /** * <p>Title: Fi...
true
58ccd4ec36f69c00e470d608adb76a1e868dfbe7
Java
kboukider/ZetCodeJava
/src/JavaComparableAndComparator/JavaCustomComparator.java
UTF-8
639
3.25
3
[]
no_license
package JavaComparableAndComparator; import java.util.Arrays; import java.util.List; public class JavaCustomComparator { public static void main(String[] args) { List<String> words = Arrays.asList("pen", "blue", "atom", "to", "ecclesiastical", "abbey", "car", "ten", "desk", "slim", ...
true
7d3ecedb7b8500291259f6dfe895f48eda7c3857
Java
Hoangtu9999/C0720G1_NguyenHoangTu_Module4
/module4/_12_jQuery_va_AJAX/bai_tap/blog_manager/src/main/java/com/codegym/entity/Category.java
UTF-8
736
2.140625
2
[]
no_license
package com.codegym.entity; import com.fasterxml.jackson.annotation.JsonBackReference; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.List; @Entity(name = "category") @Data @AllArgsConstructor @NoArgsConstructor public class Categor...
true