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
cc75edb030a7830e4f7258495a6c7a7cabf7cd29
Java
shegz101/MySimpleMessenger
/Client/src/sample/Controller.java
UTF-8
5,483
2.46875
2
[]
no_license
package sample; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.control.ButtonType; import javafx.scene.control.Dialog; import javafx.scene.control.TextArea; import javafx.scene.control.TextField; import javafx.scene.layout.BorderPane; import ...
true
302cbfd264a240038504466711110fcdf14fc00e
Java
MaxAnd/PRRPRR
/src/ovningsmetoder/Test.java
UTF-8
383
2.3125
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ovningsmetoder; /** * * @author Max Andersson */ public class Test { public static void main(String[] args) { TestSupport program = new TestSupport(); double tal = 34.5 * pr...
true
dbd9611ad3be1efe405d63cb11667f919ffa820c
Java
Larsonkv/IFSC
/PDM/RecyclerView/app/src/main/java/br/com/rbeninca/listafrutas/FrutaController.java
UTF-8
9,538
2.734375
3
[]
no_license
package br.com.rbeninca.listafrutas; import java.util.HashMap; import java.math.BigDecimal; import java.util.HashMap; public class FrutaController{ //Array com instacias de frutas definidas como atributos da classe definidas como final abaixo public Fruta[] FRUTAS = {MACA, MORANGO,LARANJA,ABACATE,ME...
true
7e03790ab071eac5a9f665cdd309760fb200eb78
Java
AgNO3/code
/orchestrator/common/config/orchestrator/eu.agno3.orchestrator.config.orchestrator/src/main/java/eu/agno3/orchestrator/config/orchestrator/OrchestratorEventLogConfiguration.java
UTF-8
1,035
2.078125
2
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/** * © 2016 AgNO3 Gmbh & Co. KG * All right reserved. * * Created: 18.02.2016 by mbechler */ package eu.agno3.orchestrator.config.orchestrator; import eu.agno3.orchestrator.config.model.realm.ConfigurationObject; import eu.agno3.orchestrator.config.model.realm.ObjectTypeName; /** * @author mbechler * */ @...
true
79d0223a0f3d73dd3726980478fb587160781379
Java
srinuiit/Playground
/Reverse a 3 digit number/Main.java
UTF-8
335
2.703125
3
[]
no_license
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int n=in.nextInt(); int f_digi=n/100; int s_digi=((n/10)%10); int last_digi=n%10; int reverse=(last_digi*100+s_digi*10+f_digi); System.out.println(reverse); //Type your ...
true
508dd12391ea68420da83bc5df4ad5b3a331fc7c
Java
ausdruck/Demo
/android/ScreenSharing/app/src/main/java/me/objectyan/screensharing/core/connect/config/RSAManager.java
UTF-8
1,095
2.453125
2
[]
no_license
package me.objectyan.screensharing.core.connect.config; import android.util.Base64; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import javax.crypto.Cipher; public class RSAManager { public PublicKey getPublicKey(String key) { PublicKey...
true
092662f3af3246aa8af7fdc392e8b88324840c96
Java
lsjwzh/gstreamer-1.x-java
/gio/GApplicationCommandLineClass.java
UTF-8
3,639
1.84375
2
[]
no_license
package gio; import gio.GIOLibrary.gpointer; import org.bridj.BridJ; import org.bridj.Callback; import org.bridj.Pointer; import org.bridj.StructObject; import org.bridj.ann.Array; import org.bridj.ann.Field; import org.bridj.ann.Library; import org.bridj.ann.Ptr; /** * <i>native declaration : glib-2.0/gio/gapplicatio...
true
d9c7802cab184fb5cb5e79eccaddf21e5047212f
Java
Arielmann/Inspire
/app/src/main/java/inspire/ariel/inspire/common/treatslist/model/TreatListModel.java
UTF-8
806
1.976563
2
[]
no_license
package inspire.ariel.inspire.common.treatslist.model; import android.content.Context; import java.util.List; import inspire.ariel.inspire.common.Treat; import inspire.ariel.inspire.common.utils.operationsutils.GenericOperationCallback; public interface TreatListModel { List<Treat> getTreats(); void setTr...
true
ebf5bfd41ee35093ec2f9229d3958f46b52655d3
Java
fuyingduo/web
/src/main/java/com/fuyd/web/service/IUserService.java
UTF-8
465
1.9375
2
[]
no_license
package com.fuyd.web.service; import com.fuyd.web.exception.HandleException; public interface IUserService { /** * 添加用户 * * @param username * @param password * @param name * @throws HandleException */ void register(String username, String password, String name) throws Handl...
true
efa2a18d9b683ee636b225a3384713b864f5104a
Java
ko9ma7/nowonbunstore
/source/Java/WebMock/src/web/only1/Main/Main1.java
UTF-8
424
1.9375
2
[]
no_license
package web.only1.Main; import javax.servlet.annotation.WebServlet; import web.only1.Common.AbstractLoadServlect; import web.only1.Common.View; import web.only1.Common.ViewResult; @WebServlet("/Main1") public class Main1 extends AbstractLoadServlect { private static final long serialVersionUID = 1L; public Main1(...
true
0f1db74ab1e568bd6fc927ed5a30875926779c84
Java
zhouyihang/FactoryManagement
/src/main/java/com/zyh/factory/controller/io/ProductIO.java
UTF-8
527
2.296875
2
[ "Apache-2.0" ]
permissive
package com.zyh.factory.controller.io; import com.zyh.factory.entity.ProductEntity; import com.zyh.factory.transman.TransMessage; /** * @author Yihang * */ public class ProductIO extends BasicIO { private ProductEntity product; public ProductIO(TransMessage transMessage, ProductEntity product) { super(transM...
true
b62a354c24290937f2c8c1d96425ba4ee813e764
Java
siddharth-bisht-chenile/bug-tracker
/src/test/java/com/sidbisht/jhip/defecttracker/web/rest/TicketResourceIT.java
UTF-8
32,716
1.734375
2
[]
no_license
package com.sidbisht.jhip.defecttracker.web.rest; import com.sidbisht.jhip.defecttracker.JhipDefectTrackerApp; import com.sidbisht.jhip.defecttracker.domain.Ticket; import com.sidbisht.jhip.defecttracker.domain.Label; import com.sidbisht.jhip.defecttracker.domain.Project; import com.sidbisht.jhip.defecttracker.domain....
true
322273f1661fb6a7b107bdba509b9c031875fc23
Java
gronostajo/cryptarithm-hardcoded
/src/net/avensome/dev/cryptarithm/hardcoded/problem/Problem1.java
UTF-8
1,194
3.234375
3
[ "MIT" ]
permissive
package net.avensome.dev.cryptarithm.hardcoded.problem; public class Problem1 extends Problem { @Override public String getUnsolvedString() { return "def + fef = ghh"; } @Override public void solve() { for (int d : RANGE) { for (int e : RANGE) { for (int...
true
7c140eeb90396992388d837a4af61fab39b4b83e
Java
eacarras/pico_placa
/pico_plata/src/pages/SplashActivity.java
UTF-8
2,759
2.5625
3
[]
no_license
package pages; import res.Strings; import dimen.Dimens; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.scene.control.Button; import javafx.scene.control.ProgressBar; import javafx.beans.value.ChangeListener; import j...
true
6840c5df6461eb6675ff7f6d77e034eefa821bf4
Java
BrunaBoo93/sistema-vendas
/src/view/SobreView.java
UTF-8
5,763
2.203125
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 view; import controller.SobreController; import javax.swing.JRootPane; /** * * @author boriani */ public class SobreView e...
true
4547550c8bc81c9f7d89f53dbaa660119ebd6461
Java
eve8888888/Eve
/JAVA_SpringTest3/src/pers/springtest3/mapper/IMovieMapper.java
UTF-8
375
1.929688
2
[]
no_license
package pers.springtest3.mapper; import org.apache.ibatis.annotations.Param; import pers.springtest3.entity.Movie; import java.util.List; public interface IMovieMapper { // 根据页码找电影 List<Movie> findMoviesByPage(@Param("startRow") Integer startRow,@Param("pageRows") Integer pageRows); Integer findTotalRows(...
true
cea45052f2bfd488ee56cc47cc9b9a4f479f4c4b
Java
develkd/workspace
/iisin/client/src/java/de/ev/iisin/pupil/PupilMainPageBuilder.java
ISO-8859-3
3,368
1.921875
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2008 Kemal Dnmez. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * this list of ...
true
b231c36ab80d9bc56c0b8ab2d448ae4e692b1ada
Java
Oraindrop/algorithm
/algorithm/src/boj/Boj4892.java
UTF-8
790
3.234375
3
[ "MIT" ]
permissive
package boj; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Boj4892 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input...
true
34987f8a70f28aadf5575b4bdcd376edec4745b3
Java
aesteve/projuice
/src/test/java/integration/auth/LoginSpec.java
UTF-8
1,753
2.390625
2
[]
no_license
package integration.auth; import integration.ProjuiceTestBase; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import org.junit.Test; public class LoginSpec extends ProjuiceTestBase { @Test public void testLogin(TestContext context) { String username =...
true
924d34d2bd7d4b5b949c62c9c93508d829802bab
Java
AslanUOM/ConTra
/contramodel/src/main/java/com/aslan/contramodel/service/Service.java
UTF-8
4,781
2.53125
3
[]
no_license
package com.aslan.contramodel.service; import org.neo4j.graphdb.*; import org.neo4j.graphdb.schema.IndexDefinition; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.neo4j.helpers.collection.MapUtil.map; import static com.aslan.contramodel.util.Utility.isNullOrEmpty; /** * A common super cl...
true
994aeff832fa940a01921ec9c5b627cdcbc3951b
Java
maxzhu213/Annulus
/src/Enemy.java
UTF-8
409
2.78125
3
[]
no_license
import java.awt.*; public class Enemy extends Entity{ protected boolean alive; protected int health; protected int level; public Enemy(int health, int level, Rectangle model, Map map) { super(map); this.health = health; this.level = level; this.model = model; a...
true
ad8e22717fc4708798cb7df7b2ab86813036f9e3
Java
FLYandKAI/Mini-Program-back
/src/main/java/com/doke/massage/massage/dao/Massage/bodyPartDao.java
UTF-8
240
1.609375
2
[]
no_license
package com.doke.massage.massage.dao.Massage; import com.doke.massage.massage.pojo.Massage.BodyPart; import org.springframework.data.jpa.repository.JpaRepository; public interface bodyPartDao extends JpaRepository<BodyPart,Integer> { }
true
12ca42435d33ca9b3d1b4961f2a6f4ff163ed61e
Java
weideng1/nosqlbench
/driver-pulsar/src/main/java/io/nosqlbench/driver/pulsar/PulsarSpaceCache.java
UTF-8
1,773
2.109375
2
[ "Apache-2.0" ]
permissive
/* * Copyright (c) 2022 nosqlbench * * 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 ...
true
d0ac9669f3820fbc03af24a2b3e581b551e76b8b
Java
yapingzhang/vteba-utils
/vteba-utils/src/main/java/com/vteba/utils/serialize/MarshaUtils.java
UTF-8
4,938
2.609375
3
[]
no_license
package com.vteba.utils.serialize; import java.io.IOException; import java.nio.ByteBuffer; import org.jboss.marshalling.ByteBufferInput; import org.jboss.marshalling.ByteBufferOutput; import org.jboss.marshalling.ByteInput; import org.jboss.marshalling.ByteOutput; import org.jboss.marshalling.Marshaller; im...
true
357fd221ac41be771318a2fbf52a96f1b4ee3ad6
Java
leimaSenjam/Website
/src/main/java/com/example/demo/controller/SupplierController.java
UTF-8
293
1.671875
2
[]
no_license
package com.example.demo.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class SupplierController { @RequestMapping("/supplier") public String home() { return "Supplier"; } }
true
662cb39d67aa3419f32742c972858fa2cce65d9b
Java
adriandafer/Docente
/docente-ejb/src/java/ec/edu/uisrael/docente/ejb/interfaces/AdministradorLogin.java
UTF-8
443
1.757813
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 ec.edu.uisrael.docente.ejb.interfaces; import ec.edu.uisrael.docente.ejb.entidades.Usuario; /** * * @author casa */ public...
true
9cb30d865cba63273ab88f8b812e45575bedb807
Java
chauncyf/leetcode
/Java/384.shuffle-an-array.java
UTF-8
2,022
3.90625
4
[]
no_license
/* * @lc app=leetcode id=384 lang=java * * [384] Shuffle an Array * * https://leetcode.com/problems/shuffle-an-array/description/ * * algorithms * Medium (50.45%) * Likes: 337 * Dislikes: 775 * Total Accepted: 92.6K * Total Submissions: 181.2K * Testcase Example: '["Solution","shuffle","reset","shuf...
true
2ccce46d1bbbc5a63776df4718a76fa71e93c2ac
Java
roczhang/elevatorKata
/src/main/java/utility/FindNearestElement.java
UTF-8
1,078
3.5
4
[]
no_license
package utility; /** * Created by I076057 on 8/11/2017. */ public class FindNearestElement { public static int find(int[] input, int base) { CustomerCompare customerCompare = new CustomerCompare(base); for (int i = 0; i < input.length; i++) { for (int j = i + 1; j < input.length;...
true
90c13c6e81b7c0daffcbd1e5e49a1cc4fb6c90ed
Java
JihuYang/HGU_CU
/src/main/java/com/walab/hgu/service/ReservationInfoServiceImpl.java
UTF-8
3,421
2.15625
2
[]
no_license
package com.walab.hgu.service; import java.sql.Date; import java.sql.Time; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.walab.hgu.DAO.ReservationInfoDAO; import com.walab.hgu.DTO.ReservationInfoDT...
true
139d24de4d0bd2ab7395dd86dc2ec73fc1c9d06e
Java
GigigoGreenLabs/gggUtilsSuite
/ggglib/src/test/java/com/gigigo/ggglib/network/context/mappers/BaseTestApiResponseMapper.java
UTF-8
1,416
2.125
2
[ "Apache-2.0" ]
permissive
package com.gigigo.ggglib.network.context.mappers; import com.gigigo.gggjavalib.business.model.BusinessContentType; import com.gigigo.ggglib.network.context.responses.MockApiErrorResponse; import com.gigigo.ggglib.network.mappers.ApiGenericResponseMapper; import com.gigigo.gggjavalib.business.model.BusinessError; impo...
true
7bd0d9774cba4a18bad00057025fd4acf710a561
Java
MarcelRaschke/bazel
/src/main/java/com/google/devtools/build/lib/skyframe/TestAnalysisCompleteEvent.java
UTF-8
1,602
1.703125
2
[ "Apache-2.0" ]
permissive
// Copyright 2022 The Bazel Authors. 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 required by appl...
true
158edb48681e98275eca7305b9616260f72f7c66
Java
Defu95/leetcode
/src/Base7.java
UTF-8
540
3.15625
3
[]
no_license
public class Base7 { public static void main(String[] args){ System.out.print(convertToBase7(1)); } public static String convertToBase7(int num) { if(num==0) return "0"; String res=""; int flag=-1; if(num<0){ num*=flag; flag=1; ...
true
a630304186512be8592a08aa1887d9ba833d9a0b
Java
fcpn/AQFCPN
/src/org/springframework/eam/web/spring/administrarvariables/AdministrarVariablesControlador.java
UTF-8
3,212
2.109375
2
[]
no_license
package org.springframework.eam.web.spring.administrarvariables; import java.util.HashMap; import java.util.Map; import java.util.List; import java.util.ArrayList; import java.lang.String; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.sup...
true
b4bd83f5dc248dfd6f8490eb2fd88ce6057a7e05
Java
gokulkalagara/FirebaseDB
/app/src/main/java/com/frost/firebasedb/bsd/BsdRideLogFragment.java
UTF-8
4,949
1.960938
2
[]
no_license
package com.frost.firebasedb.bsd; import android.app.Dialog; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.databinding.DataBindingUtil; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import android.view.KeyEvent; import android.view.Lay...
true
2bb6e28b0b78b9520f536a2da624a3c8a2fb306d
Java
eltermann/2s2014-ia896-trending-images
/storm/src/jvm/ia896/capstone/TrendingImages.java
UTF-8
4,577
2.15625
2
[]
no_license
/** * 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
4d33926f6edccdd7d841cd976b9e80beb53d2901
Java
yuliko2020/Tel_ran_Java_Basic
/src/Lesson01/HelloWorld.java
UTF-8
747
2.890625
3
[]
no_license
package Lesson01; /* find perimeter triangle */ public class HelloWorld {//we start our class with Hello World public static void main(String[] args) { System.out.println("\t \t Сходить в магазин! \n "); einkaufen(); timeToTV(); } public static void einkaufen(){ System.out...
true
d10cb4ce84128f6278f8f0fd1fc2fece56ad512a
Java
annastrik/Automation
/TopHap/src/test/java/org/tophap/api/FirstTest.java
UTF-8
2,192
2.203125
2
[]
no_license
package org.tophap.api; import org.apache.http.*; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.a...
true
d6e59f3df9fd2adb4b987e0585953f2b1061336e
Java
stronghwan/yunji
/newApp/src/main/java/com/yunding/news/web/control/servlet/BatchDelete.java
UTF-8
1,270
2.265625
2
[]
no_license
package com.yunding.news.web.control.servlet; import com.yunding.news.web.others.javaBean.JavaBean; import net.sf.json.JSONObject; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servle...
true
92880ae38fc6c7b80b75d80da58d1fe841f71506
Java
kaewkp/Project_Diary
/app/src/main/java/com/example/kaew_pc/diary_project/Manager/Database/Note_image.java
UTF-8
1,067
2.46875
2
[]
no_license
package com.example.kaew_pc.diary_project.Manager.Database; import android.graphics.Bitmap; import java.sql.Blob; /** * Created by Ekachart-PC on 24/5/2560. */ public class Note_image { public static final String TABLE = "Note_image"; public class Column{ public static final String seq = "seq"; ...
true
17001ee4f68936c5cc97c14424ad943b871a4e18
Java
VerRan/ivs-vod-merge
/src/main/java/service/JobHandler.java
UTF-8
1,258
2.546875
3
[]
no_license
package service; import com.amazonaws.handlers.AsyncHandler; import com.amazonaws.services.mediaconvert.model.CreateJobRequest; import com.amazonaws.services.mediaconvert.model.CreateJobResult; public class JobHandler implements AsyncHandler<CreateJobRequest, CreateJobResult> { private AsyncMediaConvertService a...
true
5d68ebbbcc4fb9c4e5ad5fe92988754e15efab6d
Java
SteveFrank/BigDataDemo
/Spring-Day02/src/main/java/com/demo03/CustomerDaoImpl.java
UTF-8
283
1.882813
2
[]
no_license
package com.demo03; /** * Created by qian on 2017/4/10. */ public class CustomerDaoImpl implements CustomerDao { public void save() { System.out.println("save customer ..."); } public void update() { System.out.println("update customer ..."); } }
true
a0814cd24d78fdc11a5948e49707a2f80e0f0d05
Java
COP4331Group12/F.R.E.D.
/Code/src/Network/networkUtilityTest.java
UTF-8
1,540
2.9375
3
[]
no_license
package Network; import org.junit.Test; import static org.junit.Assert.*; public class networkUtilityTest { @Test public void getInstance() { assertNotNull(networkUtility.getInstance()); //Now that we have called the class for the first time //we should have instantiated the cl...
true
bd0fa97045fc359c5227497d12e2ba42efda235f
Java
yuanyuan-hub/Those-thing-of-Java-SE
/20200922/src/Node.java
UTF-8
747
2.96875
3
[]
no_license
/** * @Author 袁媛 * @Date 2020/9/27 * @Time 23:09 */ public class Node { Node previous; Object object; Node next; public Node() { } public Node(Node privious, Object object, Node next) { super(); this.previous = privious; this.object = object; this.next = next...
true
1ecef8c548a610f8f4166d3410d7577a9bca794b
Java
KatieHeym/poker-hands
/PokerHand1.java
UTF-8
5,661
3.578125
4
[]
no_license
import java.util.HashSet; import java.util.Iterator; import java.util.Set; /** * Implementing class for Poker Hand. Uses a {@code java.util.Set} as a model. * * @author Katie Heym * */ public final class PokerHand1 implements PokerHand { /** * Set of cards in the hand. */ private...
true
6162396909618f4f7dd212989099213675a0f382
Java
clive2764/Final
/STEPPE/src/main/java/com/steppe/nomad/bean/Purchase_detail.java
UTF-8
1,035
1.90625
2
[]
no_license
package com.steppe.nomad.bean; public class Purchase_detail { private int pd_num; private int pd_punum; private String pd_mid; private double pd_money; private String pd_catagory; private String pd_catagory2; public Purchase_detail(){ } public int getPd_num() { return pd_num; } public void setPd_nu...
true
c1165324ac44fc1a194fc6c53ef46142981e3f15
Java
yagoSegura/patterns
/behaviouralPattern/objectPatterns/mediator/src/main/java/org/mediator/Mediator.java
UTF-8
1,001
2.5625
3
[ "MIT" ]
permissive
package org.mediator; public class Mediator { ButtonView buttonView; ButtonBook buttonBook; ButtonSearch buttonSearch; LabelDisplay labelDisplay; public void registerView(ButtonView buttonView){ this.buttonView = buttonView; } public void registerBook(ButtonBook buttonBook){ this.buttonBook = buttonBook; ...
true
ca977143f970a8467b00448ea3e7afed27c82bb3
Java
mhadih/compiler_phase2
/src/toorla/symbolTable/symbolTableItem/varItems/LocalVariableSymbolTableItem.java
UTF-8
691
2.484375
2
[]
no_license
package toorla.symbolTable.symbolTableItem.varItems; import toorla.types.Type; import toorla.types.AnonymousType; public class LocalVariableSymbolTableItem extends VarSymbolTableItem { private Type varType; public LocalVariableSymbolTableItem(String name){ this.name=name; this.varType = new An...
true
35dc4e337ecd18eaab53a4f09a0fd863c28b7679
Java
kobero98/TravelBook
/TravelbookISPW/src/main/java/travelbook/model/dao/VisualDAO.java
UTF-8
302
2.0625
2
[]
no_license
package main.java.travelbook.model.dao; import java.sql.SQLException; import java.util.List; import main.java.exception.DBException; import main.java.travelbook.model.Entity; public interface VisualDAO { public List<Entity> getData(Entity object)throws DBException, SQLException; }
true
a4d5768f68ea39112f5f1836dba9518f142f6030
Java
PandukaNandara/open_blood_donation_system
/src/lk/sliit/iblood/model/PatientDTO.java
UTF-8
4,771
2.328125
2
[]
no_license
package lk.sliit.iblood.model; import lk.sliit.iblood.business.Modeler; import lk.sliit.iblood.common.Gender; import java.util.Date; import java.util.Vector; /** * Created by IntelliJ IDEA. * * @author pandu * Date: 2019-10-31 * Time: 2:02 AM */ public class PatientDTO implements Modeler<PatientDTO> { pri...
true
e514b50b71306341f81e6454bf59a0dd95892644
Java
mengtest/lightning4j
/src/test/java/com/hql/test/handler/HandlerTest.java
UTF-8
918
2.015625
2
[ "Apache-2.0" ]
permissive
package com.hql.test.handler; import com.alibaba.fastjson.JSONObject; import com.hql.lightning.buffer.GameDownBuffer; import com.hql.lightning.channel.GameChannelManager; import com.hql.lightning.core.Connection; import com.hql.lightning.handler.GameHandler; import com.hql.test.vo.UserInfo; /** * 游戏测试逻辑 */ public c...
true
f7b5513433029598421bdc1bab323ba890d1707b
Java
caraeppes/MonkeysTypewritersOhMy
/src/main/java/io/zipcoder/Copiers/UnsafeCopier.java
UTF-8
513
3.03125
3
[]
no_license
package io.zipcoder.Copiers; import java.util.NoSuchElementException; import static java.lang.Thread.sleep; public class UnsafeCopier extends Copier { public UnsafeCopier(String toCopy) { super(toCopy); } public void run() { while (stringIterator.hasNext()) { try { ...
true
09586ac634f50946569cc5dd96062b7525a72a96
Java
Sigma-2014-Video-Rental-Store-Project/Workspace
/VRS/src/main/java/ua/nure/sigma/store/dao/postgresql/FilmCategoriesSqlQuery.java
UTF-8
608
1.835938
2
[]
no_license
package ua.nure.sigma.store.dao.postgresql; /** * Created by vlad on 14.11.14. */ public interface FilmCategoriesSqlQuery { static final String SQL_SELECT_FROM_FILM_CATEGORIES_CATEGORIES_BY_FILM_ID = "SELECT * FROM FILM_CATEGORIES WHERE film_id = ?"; static final String SQL_SELECT_FROM_FILM_CATEG...
true
70450b5fee7a979ecd8b4fbfb75df2f2a3bad726
Java
takasmz/TmallWeb
/src/main/java/com/web/Impl/TypeServiceImpl.java
UTF-8
1,129
1.882813
2
[]
no_license
package com.web.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.web.dao.TypeDao; import com.web.pojo.TypeBean; import com.web.service.TypeService; @Service public class TypeServiceImpl implements TypeService{ @Au...
true
d980c56481a8862702556f734f762676bfbbb3be
Java
matthieupoirot1/Messagerie-Client
/model/MessageReceiver.java
UTF-8
755
2.796875
3
[]
no_license
package model; import java.io.IOException; import java.io.ObjectInputStream; import security.AES; public class MessageReceiver implements Runnable { private ObjectInputStream in; private Conversation conversation; public MessageReceiver(ObjectInputStream in, Conversation conversation) { this.in = in; ...
true
5df8bcc63a3531079bdfbe118c1a38133fb71a93
Java
ResonanceByNJU/Resonance
/src/com/example/resonance/vo/ProblemBeforeChatVO.java
UTF-8
478
2.28125
2
[]
no_license
package com.example.resonance.vo; public class ProblemBeforeChatVO { private String username; private String problem; private String answer; public ProblemBeforeChatVO(String username, String problem, String answer) { super(); this.username = username; this.problem = problem; this.answer = answer; } pu...
true
561d522aadf51e5365e455d8088840f9d1c01915
Java
hjc851/Dataset2-HowToDetectAdvancedSourceCodePlagiarism
/Variant Programs/4-5/36/Addendum.java
UTF-8
645
2.59375
3
[ "MIT" ]
permissive
public class Addendum { public int line = 0; public synchronized void progressionNegate() { this.line++; } public int finger = 0; public Addendum(int photo, int moveMechanism, int stops) { this.finger = (photo); this.receiveNegotiations = (moveMechanism); this.line = (stops); } public ...
true
f0870c243a765f151bdfdd380e83352180aacd30
Java
ANNAMURATT/ecommerce
/src/test/java/com/example/demo/controller/CartControllerTest.java
UTF-8
4,151
2.203125
2
[]
no_license
package com.example.demo.controller; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.whe...
true
417d3c1ed66170035302280fe55a3034c596e3a5
Java
Sarthak-02/Algorithms
/majorityElement.java
UTF-8
589
3.1875
3
[]
no_license
//if a set contains any element which occurs atleast 2n/3 times , it is called majority element public class MultiSet { static void maj_element(int[] a , int n) { int i; int max =-1; for(i=0;i<n;i++) { if(a[i]>max) max=a[i]; } int t[] = new int[max+1]; for(i=0;i<n;i++) t[a[i]]++; ...
true
c1d34bb451553163d331dafaa659d614fba08459
Java
ezarubaeva/gs-win-automation
/src/test/java/window/ProgramOptions/AutoTab.java
UTF-8
3,644
2.421875
2
[]
no_license
package window.ProgramOptions; import Tools.Elem; import daima.DElement; import mmarquee.automation.ElementNotFoundException; import org.openqa.selenium.NotFoundException; public class AutoTab extends Elem { private DElement autoHideMiniWindNoActiveJobsCheckBox; private DElement checkForNewVerDailyCheckBox; ...
true
6b00723c1d3f88085b98afd283c4d3ef31faf207
Java
darkin-blade/Music_test
/app/src/main/java/com/example/music_test/PlayList.java
UTF-8
11,108
2.390625
2
[]
no_license
package com.example.music_test; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.graphics.Color; import android.view.View; import android.widget.TextView; import java.io.File; import java.io.IOException; import java.util.ArrayList; public class Play...
true
e0d16f056b6b36f1516f4880a08a26c351601026
Java
CamiloGodoy09/AsistenteVial
/src/java/Controladores/VehiculoControlador.java
UTF-8
4,909
2.21875
2
[]
no_license
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Controladores; import DAO.VehiculoDAO; import VO.VehiculoVO; import java.io.IOException; import java.io.PrintWriter; import j...
true
4bcac2fff4f39a6c68d28b058ef70e985c6a0399
Java
FoxMon/Java
/Practice/src/ListQueue/ListQue.java
UTF-8
710
3.390625
3
[]
no_license
package ListQueue; import java.util.NoSuchElementException; public class ListQue<E> { private Node<E> front; private Node<E> rear; private int size; public ListQue() { front = rear = null; size = 0; } public int size() { return size; } public boolean isEmpty() { return (size == 0); } public void add...
true
4677192f0ffa6e21c2d67d0c6f6cd6787cf7a3a7
Java
isaacraynald/TimeWalk
/TimeWalk/app/src/main/java/com/tempus/timewalk/timewalk/CardView/CardAdapter2.java
UTF-8
4,889
2.265625
2
[]
no_license
package com.tempus.timewalk.timewalk.CardView; import android.content.Context; import android.media.Image; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; import andr...
true
1e9cebc13770f29fa8b76922950c29bd85011cac
Java
fujionclinical/fujion-clinical-framework
/fcf-extensions/fcf-sharedforms/src/main/java/org/fujionclinical/sharedforms/controller/ResourceListView.java
UTF-8
2,734
1.984375
2
[ "LicenseRef-scancode-fujion-exception-to-apache-2.0" ]
permissive
/* * #%L * Fujion Clinical Framework * %% * Copyright (C) 2020 fujionclinical.org * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
true
f4589749d044a9dc11864db5799196de3072924f
Java
AManuev/webinar
/webinar-services/src/main/java/com/epam/cq/demo/services/GoodbyeWorldService.java
UTF-8
121
1.578125
2
[]
no_license
package com.epam.cq.demo.services; public interface GoodbyeWorldService { public String getMessage(String name); }
true
de1b8d5aa3b7b788f5155d6df24aa8f154bd322d
Java
LeeDane/app
/app/src/main/java/com/leedane/cn/activity/NotificationActivity.java
UTF-8
6,434
2.046875
2
[]
no_license
package com.leedane.cn.activity; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.View; import android.view.animation.AccelerateInterpolator; impo...
true
2ea364b9233df59f408dbfbdad868f287d04d6c1
Java
jmwillkie/mdcp
/NetworkTopology/src/java/net/posick/net/sunjre/NetworkTopologyImpl.java
UTF-8
18,171
2.0625
2
[]
no_license
package net.posick.net.sunjre; import java.io.DataInputStream; import java.io.IOException; import java.net.InetAddress; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Collections; im...
true
9056f7c8c1875459cb4bce4b7f09158942f68518
Java
hamurcuabi/MaterialUI
/FlexableRcvTest/app/src/main/java/com/emrhmrc/hateksdepoqr/depoQr/api/ApiJsonViewProductInGeneratedBoxes.java
UTF-8
556
1.992188
2
[]
no_license
package com.emrhmrc.hateksdepoqr.depoQr.api; import com.emrhmrc.hateksdepoqr.depoQr.model.apimodels.ViewProductInGeneratedBox; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; public interface ApiJsonViewProductInGeneratedBoxes { @GET("ViewProductInGeneratedB...
true
b2a4e28c435b9f5f58b05b6ecb039e2021d42c0e
Java
trinhvo/AGE
/src/com/theodore/aero/math/MathUtils.java
UTF-8
1,111
3
3
[]
no_license
package com.theodore.aero.math; import java.util.Random; public class MathUtils { public static float clamp(float a, float min, float max) { if (a < min) return min; else if (a > max) return max; else return a; } public static float approach(float goal, float current, float delta...
true
6252f16cebb15429c4939de731e0ba4c6c559d6b
Java
P79N6A/icse_20_user_study
/files/File_1002227.java
UTF-8
2,768
2.15625
2
[ "Apache-2.0" ]
permissive
package com.liskovsoft.smartyoutubetv.misc; import android.content.Context; import com.liskovsoft.smartyoutubetv.R; import com.liskovsoft.sharedutils.helpers.MessageHelpers; import com.liskovsoft.smartyoutubetv.prefs.SmartPreferences; import com.liskovsoft.sharedutils.dialogs.GenericSelectorDialog.DialogSourceBase.Dia...
true
45c9a0d7eb07fdbac3b67481d5aca0e032a6f61b
Java
akraskovski/es-java-api
/src/main/java/by/kraskouski/elasticsearch/model/User.java
UTF-8
967
2.46875
2
[ "Apache-2.0" ]
permissive
package by.kraskouski.elasticsearch.model; public class User { private String id; private String firstname; private String lastname; public String getId() { return id; } public String getFirstname() { return firstname; } public String getLastname() { return l...
true
c6ac2e2fc09eb9519703628b681b6b77b170d15a
Java
nadihighlander/GeometryUI
/test/backendTest/symbolicAlgebraTest/equationsTest/GeometricAngleArcEquationTest.java
UTF-8
1,812
2.78125
3
[]
no_license
package backendTest.symbolicAlgebraTest.equationsTest; import org.junit.*; import backend.deductiveRules.algebra.Simplification; import backend.symbolicAlgebra.equations.*; import backend.utilities.exception.ArgumentException; import backend.utilities.exception.ExceptionHandler; import backendTest.symbolicAlgebraTest...
true
291811aefd3fa6671c28b6cf753a394779eff2f9
Java
PadminiVetcha/CapgeminiAssignments
/SpringRest/Controller1.java
UTF-8
331
1.976563
2
[]
no_license
package org.padmini.springrest.SpringRestAssignment; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Controller1 { @GetMapping("/greet") public String Greetings() { return "Hello World!!! This is padmini........
true
84b97d0ea74698592d026278a01372b25ec0b0d3
Java
kingkingyyk/Chi
/src/Database/DatabaseSensorReadingBind.java
UTF-8
711
2.34375
2
[]
no_license
package Database; public class DatabaseSensorReadingBind { public static class OnSensorUpdate implements DatabaseSensor.OnUpdateAction { public void run (String oldSN, String sn, String cn, double min, double max, double trans, String unit, String con, double minT, double maxT, double px, double py) { if (!old...
true
0106577fa4d7990f22684feaf72d6818c94c2da2
Java
petraszd/android-typing-trainer
/src/com/petraszd/android/typingtrainer/words/WordActionDown.java
UTF-8
582
2.484375
2
[ "MIT" ]
permissive
package com.petraszd.android.typingtrainer.words; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.petraszd.android.typingtrainer.Rules; import com.petraszd.android.typingtrainer.actors.Ship; public class WordActionDown extends WordAction { public WordActionDown(Ship ship, BitmapFont faded, BitmapFont ...
true
3d7962f1847b197cade6ea6949c3c1cbf36d869f
Java
Dwti/yxyl_new
/phone/app/src/main/java/com/yanxiu/gphone/student/learning/request/SaveLearningVolumeRequest.java
UTF-8
961
1.84375
2
[]
no_license
package com.yanxiu.gphone.student.learning.request; import com.yanxiu.gphone.student.base.EXueELianBaseRequest; import com.yanxiu.gphone.student.util.LoginInfo; /** * Created by lufengqing on 2018/1/30. */ public class SaveLearningVolumeRequest extends EXueELianBaseRequest { protected String stageId = LoginIn...
true
b425344d2468491c85960042762aa5eaaf994f17
Java
tobsenl/GameRoulette
/src/main/java/cn/sqhl/shop/mapper/RouletteRoleMapper.java
UTF-8
405
1.8125
2
[]
no_license
package cn.sqhl.shop.mapper; import cn.sqhl.shop.vo.RouletteRole; public interface RouletteRoleMapper { int deleteByPrimaryKey(String id); int insert(RouletteRole record); int insertSelective(RouletteRole record); RouletteRole selectByPrimaryKey(String id); int updateByPrimaryKeyS...
true
9e6e4a00971fd08e1bd78db6d8ba9b95616255b3
Java
fuzhonglin/AutoViewPager
/src/com/example/autoviewpager/AutoViewPager.java
UTF-8
16,428
2.21875
2
[]
no_license
package com.example.autoviewpager; import java.lang.reflect.Field; import java.util.ArrayList; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.drawable.GradientDrawable; import android.os.Handler; import android.os.Message; import android.support.v4.view.PagerAdapter; i...
true
721928b786b4c2b2e13ffc655eab15b0582d6adb
Java
elopez7590/Project-Spring2016
/metrics_collector/src/main/java/edu/marist/metrics_collector/database/accessor/SampleJavaSQL.java
UTF-8
2,657
3.03125
3
[]
no_license
/** * * @filename: SampleJavaSQL */ package edu.marist.metrics_collector.database.accessor; import java.util.ArrayList; import java.util.List; /** * * @author EddeAnthony */ public class SampleJavaSQL { DbAccessor db = null; int interval = 15; //15 seconds is the default /** * SampleJava...
true
fb6803f539e29d14d40c593dd26413a610bd8399
Java
frankiegu/BookManage
/src/main/java/edu/fjnu/book/domain/Evaluate.java
UTF-8
1,545
2.359375
2
[]
no_license
package edu.fjnu.book.domain; /**评价实体*/ public class Evaluate { private int id; private String content; private String bookid; private int score; private String remark; private String time; private User user; public int getId() { return id; } public void setId(int id) { this.id = id; } public String get...
true
17b11b2584e36be971a0ee63b141968dc0714539
Java
hello406604/java
/crm/crm_service/src/main/java/com/kaishengit/crm/service/AccountService.java
UTF-8
685
1.773438
2
[]
no_license
package com.kaishengit.crm.service; import com.kaishengit.crm.entity.Account; import java.util.List; /** * Created by 帅灏灏 on 2017/7/17. */ public interface AccountService { void saveAccount(Account account, Integer[] deptId); List<Account> findAllAccount(); List<Account> findAllAccou...
true
7cd3f40f65eace6283f2087fca7cb3d52ba53b17
Java
vin7149/Panasonic
/src/test/java/com/test/automation/panasonic/RegisterNewUser.java
UTF-8
4,722
2.140625
2
[]
no_license
package com.test.automation.panasonic; import java.util.ArrayList; import java.util.Random; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui....
true
12df8c559e1c9297518e407f7d3ed9b9002cacac
Java
vadimpyl/thymleaf
/src/main/java/com/thymleaf/service/LoginServiceImpl.java
UTF-8
384
2.375
2
[]
no_license
package com.thymleaf.service; import com.thymleaf.helper.UserHelper; public class LoginServiceImpl implements LoginService { @Override public boolean login(final String username, final String password) { return UserHelper.listOfUsers().stream(). anyMatch(user -> username.equals(us...
true
d64d2947de5177eb9d001dfbef3aff71c3a7e2c9
Java
lemting/notes
/Java Notes/JavaSE/src/Java_常见对象/Math类和Random类/Test_猜数字小游戏.java
UTF-8
1,110
3.875
4
[]
no_license
package Java_常见对象.Math类和Random类; import java.util.Random; import java.util.Scanner; public class Test_猜数字小游戏 { private Test_猜数字小游戏(){} public static void start() { System.out.println("\t\t\t猜数字小游戏(1-100)\n\n"); Random r = new Random(); Scanner sc = new Scanner(System.in); int x,y = 0; y = r.nextInt(100)...
true
fc61e434ec18ad8ca7d2707a0f654bf5134b2fb3
Java
adamlech188/gui
/homework4/views/GameScreen.java
UTF-8
7,894
2.328125
2
[]
no_license
/** * */ package cs3744.homework4.views; import cs3744.client.HomeworkConfiguration; import cs3744.gui.common.Dimension; import cs3744.gui.common.Font; import cs3744.gui.interfaces.IButton; import cs3744.gui.interfaces.IComponent; import cs3744.gui.interfaces.IGameBoardComponent; import cs3744.gui.interfaces.ILabe...
true
89defccbebe75eee030b90d716e8b72419f78e6f
Java
ygx4zh/Accumulate
/facedemo/src/main/java/com/example/facedemo/engine/FaceUtil.java
UTF-8
9,426
2.09375
2
[]
no_license
package com.example.facedemo.engine; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Paint.St...
true
296863f75cb03adf7405af2749ee3eacc7b1f53f
Java
AoEiuV020/w6s_lite_android
/app/src/main/java/com/foreveross/atwork/modules/dropbox/activity/OrgDropboxActivity.java
UTF-8
11,012
1.6875
2
[ "MIT" ]
permissive
package com.foreveross.atwork.modules.dropbox.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.View; import com.foreveross.atwork.R; import com.foreveross.atwork.infrastructure.model.dropbox.Dropbox; import com.foreveross...
true
b149c47a245deb5b76f1825636888010fc6200e4
Java
shaoyezh/SOLID-example
/dependencyInversion/DependencyInversion.java
UTF-8
2,541
3.890625
4
[]
no_license
package solid.dependencyInversion; import java.util.ArrayList; interface IWorker{ /* Follow Open Closed Principle here. Open for extension, closed for modification. We can add any number of worker, and don't need rewrite Manager class. */ void work(); String toString(); int getWage(); } cl...
true
578be4b51a61eb37a17c64ef5497171006c9928f
Java
erenduygu/EU4_JAVA_Homeworks
/EU4_JAVA/src/repl_it_tasks/from200to250/Task225_TVMain.java
UTF-8
635
2.984375
3
[]
no_license
package repl_it_tasks.from200to250; public class Task225_TVMain { public static void main(String[] args) { TV tv=new TV(); System.out.println(tv.getChannel()); System.out.println(tv.getBrand()); System.out.println( tv.getVolumeLevel()); System.out.println(tv.getChannel()); System.out.println(t...
true
ab49854687ca4dc834bf10daa0575fd3b56af05c
Java
1137882300/blog
/src/main/java/com/zhong/request/CommentRequest.java
UTF-8
683
1.6875
2
[]
no_license
package com.zhong.request; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.io.Serializable; /** * Created by cc on 2021/4/19 */ @Data @Accessors(chain = true) @Builder(toBuilder = true) @AllArgsConstruct...
true
d79a62f24d4c9d2e9ffc9d9821d838c44a99fd56
Java
JoeTomkins/thesis-work
/src/def/Algorithm.java
UTF-8
2,477
2.765625
3
[]
no_license
package def; import java.io.Serializable; import java.util.ArrayList; public class Algorithm implements Serializable{ private String name; private boolean distributed; private String filePath; private transient int numAlgorithms; private int algorithmID; private static final long serialVersionUID = 3L; private...
true
8a0aedf20b13a86e42ffbdb91d775f5d88f68e47
Java
jonty7526/Java-msg
/src/msg/SMPP.java
UTF-8
3,049
2.53125
3
[]
no_license
/** * */ package msg; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; /** * @author Petite7 * */ public class SMPP extends Message_Header{ private String sourceAddr; //20 Bytes private Str...
true
d01bdd79307ccf6774813f3b5e33691b56357a09
Java
Sarah-sa/sunshine
/dao/src/main/java/com/sunshine/model/Nation.java
UTF-8
558
2.5
2
[]
no_license
package com.sunshine.model; /** * 民族代表数据模型层 表名:t_nation * * @author 云和数据-冯显胜 * */ public class Nation { /** * 民族ID */ private String id; /** * 民族名字 */ private String name; public Nation() { } public Nation(String id, String name) { super(); this.id = id; this.name = name; } public Stri...
true
afb5bd7a1277239425f3e0b335b4b461c4590838
Java
SilverVenom-31/EDAC
/ADS/LecDoc/StackIntf.java
UTF-8
181
2.390625
2
[]
no_license
package stackApp; public interface StackIntf { //public void initStack(int s); public void push(int n); public int pop(); public boolean isEmpty(); public boolean isFull(); }
true
01c584541a1d22da8c425a6a59a90598c992208e
Java
fluorumlabs/disconnect-project
/disconnect-classlib/src/main/java/js/web/fetch/RequestInit.java
UTF-8
3,666
1.835938
2
[ "Apache-2.0" ]
permissive
package js.web.fetch; import js.lang.Any; import js.lang.Unknown; import js.util.StringRecord; import js.util.buffers.Uint8Array; import js.web.dom.*; import js.web.streams.ReadableStream; import org.teavm.jso.JSByRef; import org.teavm.jso.JSProperty; import javax.annotation.Nullable; public interface RequestInit e...
true
db9153333c6e16375a7212213b42872fbdc50b07
Java
jpm343/RetinaX
/simulationMiddleware/src/main/java/com/example/simulatorMiddleware/domain/handler/ErrorResponse.java
UTF-8
968
2.4375
2
[ "MIT" ]
permissive
package com.example.simulatorMiddleware.domain.handler; import com.fasterxml.jackson.annotation.JsonFormat; import java.time.LocalDateTime; import java.util.List; public class ErrorResponse { private final int code; private final String message; private final List<String> errors; @JsonFormat(shape = ...
true
f0da198dd142c657a53519919bb676e5ad154c6e
Java
arsi-apli/NBANDROID-V2
/nbandroid.core/src/main/java/org/nbandroid/netbeans/gradle/apk/ApkDataObject.java
UTF-8
7,959
1.5
2
[ "Apache-2.0" ]
permissive
/* * 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, software * distribut...
true
4d6f10c0130d22b13071b635e6271219cba0bf67
Java
MoneyNotFoundException/AndroidBase
/lib_base_mvvm/src/main/java/cn/walter/library/mvvmbase/utils/system/AppSystemUtils.java
UTF-8
19,822
1.71875
2
[]
no_license
package cn.walter.library.mvvmbase.utils.system; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Service; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm...
true
ec1072fca04981e2f315e882b5cdee6723d17f55
Java
Aishwarya338/Ash
/src/Demo/testng/annotations/Test/BlustoneTestng.java
UTF-8
2,769
2.3125
2
[]
no_license
package Demo.testng.annotations.Test; import java.util.Set; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.sel...
true
06cf9d40ec71a522d68e8a8d8f976a628f56dc61
Java
Ian-Laidlaw/School
/Ch08_Pc08_Laidlaw_ParkingTicketTest.java
UTF-8
3,289
3.46875
3
[]
no_license
import java.util.Scanner; public class Ch08_Pc08_Laidlaw_ParkingTicketTest { public static void main(String[] args) { // make of the car String carMake; // model of car String carModel; // color of car String carColor; // license plate of car, all upperca...
true