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
3543277c13e77d9655ac1ed2178c7302438851c8
Java
FASTTRACKSE/FFSE1704.JavaWeb
/FFSE1704009_LKH_Nhat/Quan_Ly_Nhan_Su/src/ffse1704/jsf/entity/NhanSu.java
UTF-8
2,278
2.265625
2
[]
no_license
package ffse1704.jsf.entity; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.Range; @ManagedBean @RequestScoped public class NhanSu { private String id; @NotNull(message = "Tên Nhân Sự không được để...
true
3d8ce7eea473e817df7a399fa665df977f1bf814
Java
jefflai108/JAVA
/HW1-clai24/HW1Solutions/MagicNumber.java
UTF-8
1,613
4.4375
4
[]
no_license
//MagicNumber.java //CS 107, Spring 2016 //SOLUTION to HW1, Task 1 // //This program calculates the "magic number" for a baseball team that //is leading its division, given as input the number of games the team //has WON so far, the number of games the second-place team has LOST so //far, and the total number of games ...
true
6626a79c8ededdc08243a03d3dccca4e9a96d89e
Java
nkhunters/CaptchaApp
/app/src/main/java/com/codelaxy/qwertpoiuy/FirebaseMessaging/MyFirebaseMessagingService.java
UTF-8
1,093
2.5
2
[]
no_license
package com.codelaxy.qwertpoiuy.FirebaseMessaging; import com.google.firebase.messaging.FirebaseMessagingService; import com.google.firebase.messaging.RemoteMessage; public class MyFirebaseMessagingService extends FirebaseMessagingService { @Override public void onMessageReceived(RemoteMessage remoteMessage)...
true
17df2c619b5dfd7917906ef00727a54892d7a9ff
Java
dinhhoi1102/Spring-hibernate-manytomany
/src/main/java/com/aht/controller/MainController.java
UTF-8
2,506
2.203125
2
[]
no_license
package com.aht.controller; import java.util.Collection; import java.util.List; import java.util.Optional; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bin...
true
18291215be1db422457ce279729cbadab4e9b812
Java
flywind2/joeis
/src/irvine/oeis/a122/A122186.java
UTF-8
428
2.671875
3
[]
no_license
package irvine.oeis.a122; import irvine.oeis.LinearRecurrence; /** * A122186 First row sum of the <code>4 X 4</code> matrix <code>M^n</code>, where <code>M={{10, 9, 7, 4}, {9, 8, 6, 3}, {7, 6, 4, 2}, {4, 3, 2, 1}}</code>. * @author Sean A. Irvine */ public class A122186 extends LinearRecurrence { /** Construct ...
true
f34ad644d134ebdbf4c66016f8624739437eb669
Java
samdeniyi/armdemo
/app/src/main/java/com/samadeniyi/armdemo/Logout.java
UTF-8
562
2.40625
2
[]
no_license
package com.samadeniyi.armdemo; import com.firebase.client.Firebase; import com.firebase.client.FirebaseException; public class Logout { static public boolean logout(){ boolean isLoggedOut = true; try{ Firebase reference = new Firebase("https://armdemo-b8b6f.firebaseio.com/users"); ...
true
5f60a26c8fa95a2b3f08bf80f919e83a3034c680
Java
Refactula/1MLoC
/MicroFuturistic/src/main/java/refactula/micro/futuristic/LoadTestF.java
UTF-8
3,469
2.296875
2
[]
no_license
package refactula.micro.futuristic; import refactula.micro.futuristic.frontend_f.FrontendServiceF; import refactula.micro.futuristic.model.BillingDetails; import refactula.micro.futuristic.model.Credits; import refactula.micro.futuristic.model.Email; import refactula.micro.futuristic.model.Token; import refactula.micr...
true
c11335c2fa8f9efb1e4f8b7be814cef30e049cb1
Java
UCLLWebontwikkeling3-project-2021/pageobjectpairprogramming-Wullaert-Jaison
/test/java/ContactPage.java
UTF-8
2,680
2.359375
2
[]
no_license
import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; public class ContactPage extends Page{ /** * @Author Yarne Va...
true
4d68178ce4663f9373d8085d2c916896f3e30a85
Java
muhammad-zaidi/ICS3U1-Muhammad
/ICS3U.java/src/edu/hdsb/gwss/zaidi/ics3u/u5/PatternMatching.java
UTF-8
3,402
3.484375
3
[]
no_license
//// // * Name: Muhammad Zaidi // * Date: November 6, 2018 // * Version: v0.01 // * Description: check if words have the same structure package edu.hdsb.gwss.zaidi.ics3u.u5; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Scanner; import java.util.StringTokenizer...
true
fd5bf9cf7b4d75988728f08b2542b66917481c83
Java
mcnameel/mcnameeioTest
/main/java/edu/xavier/csci260/atinlay/dal/TimeOff/TimeOffResponseDAOImpl.java
UTF-8
2,299
2.28125
2
[ "MIT" ]
permissive
package edu.xavier.csci260.atinlay.dal.TimeOff; import edu.xavier.csci260.atinlay.domain.TimeOff.TimeOffResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import java.util.List; /** * class ___ is a member of the OOOtracker_services project. ...
true
10a61a81d173582ed5797f965ca156905daca688
Java
ariester/bank-scraper
/src/main/java/pl/astedler/bankscraper/scraper/mbank/page/LoginPage.java
UTF-8
3,001
2.234375
2
[]
no_license
package pl.astedler.bankscraper.scraper.mbank.page; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.client.fluent.Request; import org.apache.http.entity.StringEntity; import pl.astedler.bankscraper.exception.InvalidCredentialsException; import ...
true
9ac6fb56dcd3f0ac25a72046afbc4a1a8472380e
Java
cooperbell/cooperbell_swd
/oral_exam2/18-20_MazeTraversal_Hard/src/MazeTraversalTest.java
UTF-8
3,255
3.3125
3
[]
no_license
/** * Driver class for the maze traversal algorithm */ public class MazeTraversalTest { /** * The 2D array maze */ public static char[][] maze = new char[12][12]; static { maze[0][0] = '#'; maze[0][1] = '#'; maze[0][2] = '#'; maze[0][3] = '#'; maze[0][4] = '#'; maze[0][5] = '#'; maze[...
true
effb997678f36f4f1bc1769e7550e82f4900c38e
Java
qiuwuhui/TestApp
/app/src/main/java/com/baolinetworktechnology/shejiquan/fragment/CollectCaseFragment.java
UTF-8
3,556
2.015625
2
[]
no_license
package com.baolinetworktechnology.shejiquan.fragment; import android.app.AlertDialog; import android.os.Bundle; import android.os.Handler; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.View.OnClickListener; import android.widget.AdapterView; import an...
true
99a2a8b03e2039ff8671a28cda8debd27c7748b6
Java
bellmit/zycami-ded
/src/main/java/d/v/c/t0/j0$b.java
UTF-8
1,705
1.921875
2
[]
no_license
/* * Decompiled with CFR 0.151. */ package d.v.c.t0; import com.zhiyun.cama.publish.UploadCEMediaInfo; import d.v.c.t0.j0; import java.io.Serializable; import java.util.HashMap; public class j0$b { private final HashMap a; public j0$b(long l10, UploadCEMediaInfo uploadCEMediaInfo) { HashMap<String,...
true
633740a48f66aedb1d14a42f32ca133ac8a106fe
Java
yuenkin/gadget
/src/main/java/com/hw/pps/gadget/chainengine/model/ExitInfo.java
UTF-8
738
1.960938
2
[]
no_license
/* * 文件名:ExitInfo.java * 版权:Copyright by www.yuenkin.com * 描述: * 修改人:Administrator * 修改时间:2018年3月2日 * 跟踪单号: * 修改单号: * 修改内容: */ package com.hw.pps.gadget.chainengine.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlEle...
true
ea31ba2624cde98f125a7c02e896bbcbe5f1b5ef
Java
surila06/petrol_pump
/src/main/java/com/imagegrafia/petrolpump/controller/TotalizerController.java
UTF-8
668
1.945313
2
[]
no_license
package com.imagegrafia.petrolpump.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; ...
true
438e5aeb4c47c90ac0b954420eb0eecff559ac52
Java
KevinOrtman/tsquery
/src/net/tsquery/model/Tag.java
UTF-8
4,362
2.375
2
[ "Apache-2.0" ]
permissive
/* * Copyright 2011 Facebook, Inc. * * 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 i...
true
aa6627876874a63350a38fea9886b365aec8e515
Java
VadimYanovskij/SenlaCourses
/src/Task1/Task1.java
UTF-8
1,733
3.734375
4
[]
no_license
package Task1; // Создать программу, которая будет сообщать, является ли целое число, введенное пользователем, // чётным или нечётным, простым или составным. Если пользователь введёт не целое число, // то сообщать ему об ошибке. import java.io.IOException; import java.util.Scanner; public class ...
true
6df6c6635972c31c623863bf83c88eb74ebc5e84
Java
hetaoo/Janus
/janus-sdk/src/main/java/org/xujin/janus/damon/Server.java
UTF-8
382
2.015625
2
[]
no_license
package org.xujin.janus.damon; import org.xujin.janus.damon.idle.IIdleHandler; import java.util.Map; public interface Server { public void start(int port, Map processerMap, int readIdleTime, IIdleHandler readIdleHandler, int writeIdleTime, IIdleHandler writeIdleHandler, int allIdleTime, IIdleHandler allIdleHandler...
true
144881efb0ca2b543ff977ab07b42660563d3715
Java
Gerigo/BuildsAndDrinks
/src/main/java/be/home/repositories/IPersonRepository.java
UTF-8
205
1.625
2
[]
no_license
package be.home.repositories; import be.home.domain.Personne; import org.springframework.data.jpa.repository.JpaRepository; public interface IPersonRepository extends JpaRepository<Personne, String> { }
true
68e2ea4e2fbe115ae10c880bcad8fc19f0e06727
Java
timgle/utilcode
/mmall-facade/src/main/java/com/xyl/mmall/backend/vo/InvoiceInOrdSupplierVO.java
UTF-8
2,954
2.109375
2
[]
no_license
package com.xyl.mmall.backend.vo; import java.io.Serializable; import java.math.BigDecimal; import com.netease.print.daojar.meta.annotation.AnnonOfField; import com.xyl.mmall.order.enums.InvoiceInOrdSupplierState; /** * @author dingmingliang * */ public class InvoiceInOrdSupplierVO implements Serializable { /*...
true
f7e76b068de1045781b1e1f9e0160fddd69f46c5
Java
spring-projects/spring-kafka
/spring-kafka/src/main/java/org/springframework/kafka/listener/ListenerUtils.java
UTF-8
7,768
1.875
2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright 2017-2023 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
true
e8c5bfc5de673706ffc74659f936215afbdc42ac
Java
beetrootfarmer/Chapter07_inheritance
/src/ch07_1_inheritance/Computer.java
UTF-8
295
2.828125
3
[]
no_license
package ch07_1_inheritance; public class Computer extends Calculator { @Override //annotation double areaCircle(double r) { System.out.println("Computer 객체의 areaCircle() 실행 "); return Math.PI * r * 1000; // A a1 = new A(); // ai. } } class A extends Object { }
true
930a98ecaed07fcdb0818d0d4a4a65bc5a9a72c4
Java
erkineren/java-spring-rest-api
/src/main/java/com/erkineren/demo/persistence/model/entity/User.java
UTF-8
1,152
2.34375
2
[]
no_license
package com.erkineren.demo.persistence.model.entity; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.ToString; import lombok.experimental.Accessors; import javax.persistence.*; import java.util.List; @Entity @Data @Accessors(chain = true) @ToString @EqualsAndHashCo...
true
18488b45613fcd76ad51c5ff63e00dcae8ad63b1
Java
SpongePowered/Sponge
/src/main/java/org/spongepowered/common/event/lifecycle/AbstractRegisterRegistryEvent.java
UTF-8
4,956
1.773438
2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
true
9154d5c9fd83619e6a95de40b57278704885b279
Java
Ivoripuion/MyJAVA_work
/StaticTest.java
GB18030
750
3.859375
4
[]
no_license
class StaticTest { public static void main(String[] args) { System.out.println(Person.country); } } class Person { static String country="CN"; static int age; Person(){} public static void main() { System.out.println(country+"+"+age ); } } /* static һηγԱ staticεijԱж staticȶڡ staticεijԱһֵ÷ʽԱֱӵá. staticεǹݣд洢ݡ...
true
ca06f73767972a8490eb1220ea6c0d3e53ab275b
Java
iawong/MultiUserChat_Application
/ChatClient/src/UserListPane.java
UTF-8
3,840
3.03125
3
[]
no_license
import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.IOException; public class UserListPane extends JPanel implements UserStatusListener { private final ChatClient clien...
true
6f46e67537e5e3ea73435a4e292773428b7cf273
Java
govtmirror/CoECI-OPM-Service-Credit-Redeposit-Deposit-Application
/Code/SCRD_BRE/src/java/ejb/gov/opm/scrd/services/impl/reporting/CurrentSuspenseReportResponseItem.java
UTF-8
5,434
2.203125
2
[ "Apache-2.0" ]
permissive
/* * Copyright (C) 2014 TopCoder Inc., All Rights Reserved. */ package gov.opm.scrd.services.impl.reporting; import java.math.BigDecimal; import java.util.Date; /** * <p> * This class serves as the response item object that contains result details * to be used to generate reports in {@link CurrentSuspenseReportS...
true
9700673ca154aa4dd15e66d8b209e2aed8c629ad
Java
tdenijs/Gomoku
/app/src/main/java/tdenijs/gomoku/StreakType.java
UTF-8
119
1.765625
2
[ "MIT" ]
permissive
package tdenijs.gomoku; /** * Created by pdenijs on 4/4/17. */ public enum StreakType { HOR,VERT,DIAGD,DIAGU }
true
589e69d175c518a75fd0d0a615338687594cebde
Java
shiyunlai/TTT
/tools-abf-service/src/main/java/org/tis/tools/abf/module/ac/service/IAcAppService.java
UTF-8
2,155
1.96875
2
[]
no_license
package org.tis.tools.abf.module.ac.service; import com.baomidou.mybatisplus.service.IService; import org.tis.tools.abf.module.ac.controller.request.AcAppListRequest; import org.tis.tools.abf.module.ac.entity.AcApp; import org.tis.tools.abf.module.ac.entity.enums.AcAppType; import org.tis.tools.abf.module.ac.exception...
true
57069cb4d805675139a5d9e1dcc4af0644f01b00
Java
TinaTerKA/tasksLevelOne
/firstLevelTasks/src/main/java/javaCollections/necklaceMakingApp/Stone.java
UTF-8
361
2.328125
2
[]
no_license
package javaCollections.necklaceMakingApp; import lombok.*; @Data @AllArgsConstructor public class Stone { private String name; private int caratWeight; private int costUSA; private int clear; private int hardness; private String color; public boolean isGemstone() { return (this.h...
true
2d57dff76e81f70c0657a5af378be7a6cd0059a9
Java
hageldave/JPlotter
/jplotter/src/main/java/hageldave/jplotter/color/DefaultColorScheme.java
UTF-8
760
3.1875
3
[ "MIT" ]
permissive
package hageldave.jplotter.color; import java.awt.*; /** * Enum containing predefined {@link ColorScheme}s, * which can be accessed through {@link #get()}. * * @author lucareichmann */ public enum DefaultColorScheme { LIGHT( new ColorScheme( Color.BLACK, Color.GRAY, Color.DARK_GRAY, new Color(0xdd...
true
a0d6306ffb85a624397afb78fb9bffe49b8e252b
Java
fhasovic/GPSTracker
/app/src/main/java/com/example/filip/gpstracker/ui/tracking/presenter/map/MapFragmentPresenter.java
UTF-8
557
1.851563
2
[]
no_license
package com.example.filip.gpstracker.ui.tracking.presenter.map; import android.location.Location; import com.example.filip.gpstracker.pojo.Stats; /** * Created by Filip on 05/03/2016. */ public interface MapFragmentPresenter { void sendLocationToView(Location location); void sendLocationToFirebase(Locati...
true
0ad4ceb3f661bf588596cc17529ae13c273e905d
Java
XLowCold/Secondary
/app/src/main/java/com/example/secondary/ui/fragment/HomePageToolFragment.java
UTF-8
2,926
2.109375
2
[]
no_license
package com.example.secondary.ui.fragment; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; imp...
true
8b25b4f8cae7c4f7107bc057bf5b493524d6ce67
Java
jiangyukun/2015January__
/src/main/java/me/jiangyu/company/web/RedEnvelopeController.java
UTF-8
1,271
2.25
2
[]
no_license
package me.jiangyu.company.web; import me.jiangyu.company.domain.RedEnvelope; import me.jiangyu.company.service.RedEnvelopeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org....
true
3051f3f2ac4a7f1444b761237d5d1094bdd83af5
Java
wooloves39/smash_mario-bro
/android/SuperMario_2/SuperMario/app/src/main/java/com/example/parkjaeha/supermario/Map.java
UTF-8
1,554
2.359375
2
[]
no_license
package com.example.parkjaeha.supermario; /** * Created by woolo_so5omoy on 2017-08-21. */ public class Map { Tile[] tiles;//각 맵의 다른 모형의 타일 int obnum;//다른 모형의 타일 수 //void collision(CPlayer& player) { // player.mapobject_collsion = false; // if (player.down == false && player.GetStatus() !...
true
d22a42fb53cd9728a090dbd7b75cc4c4a7f0b7df
Java
timnederhoff/selenium-grid-dashboard
/src/main/java/org/selenium/tools/dashboard/services/services/SystemInfoLookupServiceASync.java
UTF-8
1,759
2.296875
2
[]
no_license
package org.selenium.tools.dashboard.services.services; import org.selenium.tools.dashboard.DashboardConfig; import org.selenium.tools.dashboard.model.SystemInfo; import org.springframework.http.client.SimpleClientHttpRequestFactory; import org.springframework.scheduling.annotation.Async; import org.springframework.sc...
true
4ddd5d06f9d5d3bd8760f39263ae9ab939b1915a
Java
nervermoretys/dsl
/src/main/java/com/meituan/dianping/distribute/calculator/StatementBaseListener.java
UTF-8
5,141
2.765625
3
[ "MIT" ]
permissive
// Generated from /Users/yangyongli/Projects/dsl/src/main/java/com/meituan/dianping/distribute/rule/Statement.g4 by ANTLR 4.7 package com.meituan.dianping.distribute.calculator; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; /*...
true
307d8d137408eaf8f7ab923d494297eb9fabc932
Java
session-zhen/erp_nesson
/erp2/src/main/java/com/hqyj/service/MenuService.java
UTF-8
130
1.726563
2
[]
no_license
package com.hqyj.service; import com.hqyj.pojo.Menu; public interface MenuService { public Menu getMenuById(String menuid); }
true
5e29b66f96897a2661ce5daf4fe68a5d6100f71f
Java
yulu1996/demo-2020
/junit-demo/src/test/java/CalculateTest.java
UTF-8
1,935
3.15625
3
[]
no_license
import org.junit.Test; import java.math.BigDecimal; import static org.junit.Assert.*; public class CalculateTest { BigDecimal bignum1 = new BigDecimal("11"); BigDecimal bignum2 = new BigDecimal("10.9"); BigDecimal a = new BigDecimal(11); BigDecimal b = new BigDecimal("10.9"); @Test public v...
true
1c892d8eef01b1323155fba3b1627251509b7403
Java
Cal-D/Spring-night
/src/main/java/com/park/nov11/menu/MenuDAO.java
UTF-8
911
2.3125
2
[]
no_license
package com.park.nov11.menu; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.ibatis.session.SqlSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class MenuDAO { @Autowired pri...
true
b5663671bd07bac5b83ea473098db25f74fae39e
Java
willesreis/javafx-screen-manager
/FXScreenManager/src/org/wsr/screenmanager/ScreenManager.java
UTF-8
3,534
2.890625
3
[]
no_license
package org.wsr.screenmanager; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javafx.animation.FadeTransition; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; ...
true
8a38b2846bea0d30e4b87194faeeab65fb971a0d
Java
MTechPT1/PhotoLearn
/app/src/main/java/com/mtech/parttimeone/photolearn/util/AppUtil.java
UTF-8
1,504
2.0625
2
[]
no_license
package com.mtech.parttimeone.photolearn.util; import android.app.Activity; import android.support.v4.app.Fragment; import com.google.firebase.auth.FirebaseAuth; import com.mtech.parttimeone.photolearn.application.GlobalPhotoLearn; import com.mtech.parttimeone.photolearn.enumeration.UserType; /** * @author lechin ...
true
9d17ce13051357f985159e28e6630be3340e90a6
Java
dnayak1/QuakeLocator
/app/src/main/java/com/dhirajnayak/quakelocator/utility/Constants.java
UTF-8
997
1.625
2
[]
no_license
package com.dhirajnayak.quakelocator.utility; /** * Created by dhirajnayak on 1/26/18. * constants to be used all over the application */ public class Constants { public static final String API_KEY = "32590abdb7534ead8c461814170411"; public static final String BASE_URL_CITY = "http://api.apixu.com/v1/"; ...
true
65d70c06f1020d0a71d85b0177b1e156756b5b9d
Java
daishuiyuan/daiyuan
/empSys/src/com/dy/empSys/web/SelectServlet.java
UTF-8
1,175
2.25
2
[]
no_license
package com.dy.empSys.web; import java.io.IOException; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; ...
true
59b9838384958934f676458691293f8d53bca27b
Java
RogerVFbr/microservices-poc-atividades
/src/main/java/com/soundlab/atividades/exceptions/ExternalServiceException.java
UTF-8
286
2.46875
2
[]
no_license
package com.soundlab.atividades.exceptions; public class ExternalServiceException extends RuntimeException{ public ExternalServiceException(String serviceName, String errorBody) { super(String.format("Erro no serviço externo '%s' -> %s", serviceName, errorBody)); } }
true
737f721041dad939b47fda4d2f80fe59c3851e4a
Java
aiq7520/shiro
/src/main/java/org/gege/shiro/charpter3/permission/MyRolePermissionResolver.java
UTF-8
367
2.140625
2
[]
no_license
package org.gege.shiro.charpter3.permission; import java.util.Collection; import org.apache.shiro.authz.Permission; import org.apache.shiro.authz.permission.RolePermissionResolver; public class MyRolePermissionResolver implements RolePermissionResolver { @Override public Collection<Permission> resolvePermissionsI...
true
623135d10fc3bffd38ad9337f1b875cd77c90300
Java
GraphZero/Faust_IT
/src/main/java/com/faust/intership/users/ui/UsersController.java
UTF-8
2,427
2.4375
2
[]
no_license
package com.faust.intership.users.ui; import com.faust.intership.users.application.UsersCrudService; import com.faust.intership.users.application.commands.AddUserCommand; import com.faust.intership.users.application.commands.DeleteUserCommand; import com.faust.intership.users.application.commands.EditUserCommand; impo...
true
5e12650b62342a5a65a3ae839714f8428d5f6a82
Java
Xceptance/XLT
/src/test/java/com/xceptance/xlt/report/ReportGenerator_TimeBoundariesTest.java
UTF-8
8,949
2
2
[ "Apache-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "EPL-1.0", "CDDL-1.1", "EPL-2.0", "MPL-2.0", "MIT", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
/* * Copyright (c) 2005-2023 Xceptance Software Technologies GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
true
8dd8000d4c251a6bf371912e1e63eea894585b9b
Java
pvnkmrksk/NCBSinfo
/app/src/main/java/com/rohitsuratekar/NCBSinfo/database/NotificationData.java
UTF-8
3,729
2.65625
3
[]
no_license
package com.rohitsuratekar.NCBSinfo.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.rohitsuratekar.NCBSinfo.database.models.NotificationModel; import java.util.ArrayList; import java.util.List; ...
true
0dc379c1851acc1e7c2f699cee94349e39e0f186
Java
iarzaesteban/PAW_Unlu
/proyectos/Pto7/Cliente.java
UTF-8
3,339
3.25
3
[]
no_license
package Pto7; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.util.Scanner; import javax.swing.JOptionPane; public class Cliente { public static void main(String[] args) { try { Registry client...
true
c5381976700ef8c3056c914a1f1fc71f24803741
Java
flywind2/joeis
/src/irvine/oeis/a006/A006907.java
UTF-8
878
2.875
3
[]
no_license
package irvine.oeis.a006; import irvine.math.partitions.IntegerPartition; import irvine.math.partitions.MurnaghanNakayama; import irvine.math.z.Z; import irvine.oeis.Sequence; /** * A006907 Number of zeros in character table of symmetric group <code>S_n</code>. * @author Sean A. Irvine */ public class A006907 impl...
true
39bb1bde3288c0c4591d8c68889e33a29ba3ca99
Java
duncan1201/VF
/netbeans/gas/domain_core/src/com/gas/domain/core/msa/FastaImportService.java
UTF-8
1,783
2.046875
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.gas.domain.core.msa; import com.gas.common.ui.FileFormat; import com.gas.domain.core.IFileImportService; import com.gas.domain.core.fasta.Fasta; import com.gas.domain.core.fasta.FastaParser; import com.gas.d...
true
6c42cd03008589990270af068eab696a14ab4db1
Java
samskivert/reversi
/src/main/java/com/samskivert/reversi/server/SimpleServer.java
UTF-8
3,604
2
2
[ "BSD-3-Clause" ]
permissive
// // Reversi - A reversi implementation built directly atop Narya/Nenya/Vilya // http://github.com/samskivert/reversi/blob/master/LICENSE package com.samskivert.reversi.server; import com.google.inject.Inject; import com.google.inject.Injector; import com.google.inject.Singleton; import com.threerings.util.Name; i...
true
6c4d20f4e3baa3b7c70174786f697561b441ce24
Java
bingely/God
/app/src/main/java/com/meetrend/haopingdian/adatper/NewExecutorListAdapter.java
UTF-8
3,376
2.109375
2
[]
no_license
package com.meetrend.haopingdian.adatper; import java.util.List; import net.tsz.afinal.FinalBitmap; import android.content.Context; import android.net.Uri; import android.os.Handler; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.wid...
true
7573c08562d52ce4d4f5d0809923d79be2a37a36
Java
my2969500039/siso-java
/service/src/main/java/com/siso/web/street/AdminStreetService.java
UTF-8
341
1.703125
2
[]
no_license
package com.siso.web.street; import com.siso.entity.web.market.adminMarket; import com.siso.entity.web.region.market; import java.util.List; public interface AdminStreetService { //返回用户管理商铺 List<adminMarket> admin_market(String userNumber); //根据id返回超市 List<market>market_id(String id); }
true
79d060ef5049ae061153d58e5d42e0f15d43e06a
Java
garnel111/Triggerise-BE-Challenge
/src/main/java/domain/Product.java
UTF-8
1,655
2.984375
3
[]
no_license
package domain; import java.util.ArrayList; import java.util.List; import java.util.Objects; public class Product { private String code; private String name; private float price; private List<Rule> rulesApllied = new ArrayList<Rule>(); public List<Rule> getRulesApllied() { return rulesA...
true
1cf60597e0adbf030dee34062f5575bf89e6c91d
Java
rbeard47/asteroids
/Asteroids/src/program/DisplayManager.java
UTF-8
3,833
2.453125
2
[]
no_license
package program; import models.IGameComponent; import org.lwjgl.glfw.GLFWErrorCallback; import org.lwjgl.glfw.GLFWKeyCallback; import org.lwjgl.glfw.GLFWVidMode; import org.lwjgl.opengl.GL; import org.lwjgl.opengl.GLUtil; import org.lwjgl.system.Callback; import org.lwjgl.system.MemoryStack; import java.nio.IntBuffer...
true
5dd6da73e2396dbff357e9819cf7089c4629eb21
Java
aNNiMON/aScheduler
/src/com/annimon/scheduler/model/FacultyModel.java
UTF-8
822
2.65625
3
[]
no_license
package com.annimon.scheduler.model; import com.annimon.scheduler.dao.IDAO; import com.annimon.scheduler.data.Faculties; /** * Модель таблицы факультетов. * @author aNNiMON */ public class FacultyModel extends EntityTableModel<Faculties> { private static final String[] COLUMN_NAMES = { "ID", "Название...
true
3c2c3aad26500a385c7064f0f0bf8ceec9003714
Java
vladislove80/runCRM_android
/app/src/main/java/com/gorulia/android/runcrmrun/realm/SourceListResultModelRealm.java
UTF-8
617
2.0625
2
[]
no_license
package com.gorulia.android.runcrmrun.realm; import io.realm.RealmList; import io.realm.RealmObject; import io.realm.annotations.PrimaryKey; public class SourceListResultModelRealm extends RealmObject { private RealmList<SourceResultModelRealm> list = new RealmList<>(); @PrimaryKey private String id; ...
true
a4dc6afd96d304aace3fe491d84e5208ac583309
Java
tugcenurdaglar/covid
/app/src/main/java/com/tugcenurdaglar/retro/retrofit/ApiUtils.java
UTF-8
285
1.976563
2
[]
no_license
package com.tugcenurdaglar.retro.retrofit; public class ApiUtils { public static final String BASE_URL = "https://api.covid19api.com/"; public static CovidInterface getCovidInterface(){ return RetrofitClient.getClient(BASE_URL).create(CovidInterface.class); } }
true
3db5491fee30e2c60f7a372fb003ff4c3c00664b
Java
Longi94/Phoebe
/src/view/PickupView.java
UTF-8
1,292
3.046875
3
[]
no_license
package view; import model.Pickup; import java.awt.*; /** * Pickup kinézete * * @author Gergely Reményi * @since 2015.04.25. */ public class PickupView extends TrackObjectBaseView { //Referencia az objhektumra amit ki kell rajzolni. private Pickup pickup; /** * Konstruktor * * @para...
true
01cf7140495161f16de5e5feec1c6d2b51edc997
Java
armandgray/taapProject
/TAAP/phone/src/main/java/com/armandgray/taap/utils/MVCActivity.java
UTF-8
2,795
2.046875
2
[ "MIT" ]
permissive
package com.armandgray.taap.utils; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; import com.google.android.material.floatingactionbutton.FloatingActionButton; import androidx.appcompat.app.AppCompatActivity; import andro...
true
bba63aff54e2a09fb3d5d374b8c9550fbcae9ca0
Java
rocioruizruiz/Java-Basics
/src/patrones/Decorator/Programa.java
UTF-8
884
3.390625
3
[]
no_license
package patrones.Decorator; /* * El patron Decorator añade funcionalidad a una clase de forma dinamica */ public class Programa { public static void main(String[] args) { Mascota gato = new Gato("Felix"); Mascota perro = new Perro("Golfo"); System.out.println(perro.getCaracteristicas()); System.out...
true
91d50dcf8d95ddf3176d439af576875d20b11cfc
Java
likzn/Array
/src/LeetCode/DP/Leet357.java
UTF-8
398
2.859375
3
[]
no_license
package LeetCode.DP; /** * @author: Li jx * @date: 2019/8/13 17:03 * @description: */ public class Leet357 { public int countNumbersWithUniqueDigits(int n) { int[] dp = new int[n + 1]; dp[0] = 1; dp[1] = 10; for (int i = 2; i < n + 1; i++) { dp[i] = dp[i - 1] + (dp[i...
true
df030cdf9a39e8641b681e1b9af5194496de38df
Java
tiagoferezin/faculdadeCodigos
/Proj4-1sem2015/src/br/com/cuml/dao/ConexaoFactory.java
MacCentralEurope
502
2.5
2
[]
no_license
package br.com.cuml.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConexaoFactory { public Connection getConexao() throws SQLException { Connection retorno = null; DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); retorn...
true
4813d05ae606b02eaee46405033aec27d3fa0e93
Java
wiwqy/duboo-master
/mainsite/src/main/java/com/test/AppStart.java
UTF-8
580
1.65625
2
[]
no_license
package com.test; import javax.sql.DataSource; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ImportResource; @ComponentScan @EnableAut...
true
70f37eecdd648fe3fde81510075d35ce8364e68e
Java
arap-ngenoh/RealDriving
/src/users/InputController.java
UTF-8
5,782
2.09375
2
[]
no_license
package users; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXComboBox; import enqure.EnqureController; import icons.DatabaseHandler; import java.net.URL; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDate; import java.util.Date; import java.util.ResourceBundle;...
true
94f7e88052b008ac2c8f2d89fbbe9eb4f763669a
Java
fendo8888/fendo-shiro
/src/main/java/com/fendo/shiro/config/ThymeleafConfig.java
UTF-8
690
1.898438
2
[]
no_license
/** * projectName: fendo-plus-boot * fileName: ThymeleafConfig.java * packageName: com.fendo.shiro.config * date: 2018-01-20 12:47 * copyright(c) 2017-2020 xxx公司 */ package com.fendo.shiro.config; import com.fendo.shiro.common.dialect.dict.DictDialect; import org.springframework.context.annotation.Bean; import o...
true
ecd187bbc3ca67184993b2b1ce06b1940f206ea6
Java
Flipkart/hive
/ql/src/java/org/apache/hadoop/hive/ql/index/AggregateIndexHandler.java
UTF-8
6,450
1.867188
2
[ "Apache-2.0", "JSON", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "GPL-1.0-or-later", "BSD-2-Clause" ]
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
af31768c050196d98450058467815c5db9f25111
Java
IamClown/Android
/testRecyclerView/app/src/main/java/com/example/zyj/testrecyclerview/Fruit.java
UTF-8
423
2.53125
3
[]
no_license
package com.example.zyj.testrecyclerview; /** * Created by zyj on 2018/4/20. */ public class Fruit { private String fruitname; private int fruitiamge; public Fruit(String fruitname,int fruitiamge){ this.fruitiamge=fruitiamge; this.fruitname=fruitname; } public String getFruitname...
true
165448a89f6c7b14cf9b78553a4398094cc5964a
Java
Shaoziyi/RTMDashboard
/src/test/java/VGCAutomationTesting/RTMDashboard/NewTest.java
UTF-8
1,120
2.203125
2
[]
no_license
package VGCAutomationTesting.RTMDashboard; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.ie.InternetExplorerDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotatio...
true
a27e3acfbc328d5ac2aaba4b2e1bada8a28ef520
Java
wumpz/fluent-dsl
/fluentdsl-maven-plugin/src/main/java/org/tw/fluentdsl/Idef.java
UTF-8
2,695
2.09375
2
[]
no_license
/* * #%L * fluentdsl-maven-plugin * %% * Copyright (C) 2016 fluentdsl * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 2.1 of the * License, or (at your option...
true
cda88ee8a1ce31955401ab8f9d7fc6edf0677fb7
Java
ppk19052014/ppk
/dao/src/main/java/com/luxoft/vklinduhov/football/beans/Club.java
UTF-8
3,131
2.46875
2
[]
no_license
package com.luxoft.vklinduhov.football.beans; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Field; import org.springframework.format.annotation.DateTimeFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; @Document(col...
true
1256e55ec7ebd389ef989ba610f8e0c290fea2db
Java
exedio/persistence
/runtime/testsrc/com/exedio/cope/ChangeHookDataBeforeTest.java
UTF-8
12,615
1.882813
2
[]
no_license
/* * Copyright (C) 2004-2015 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
true
db282e988b07411d868f289488c86a7e90fc6de0
Java
thedonlasha98/ecommerce
/src/main/java/com/ecommerce/web/service/ProductServiceImpl.java
UTF-8
8,187
2.09375
2
[]
no_license
package com.ecommerce.web.service; import com.ecommerce.web.jwt.domain.Account; import com.ecommerce.web.domain.Product; import com.ecommerce.web.domain.ProductHist; import com.ecommerce.web.domain.ProductsTransaction; import com.ecommerce.web.exception.ErrorMessage; import com.ecommerce.web.exception.GeneralException...
true
4e09c59dbbe2bf1b2b2fcb9af64df390b93a6eee
Java
lidong2631/DS_Algorithms
/Binary Indexed Tree.java
UTF-8
1,212
3.3125
3
[]
no_license
int constructBITree(int arr[], int n) { int[] BITree = new int[n+1]; for(int i=1; i<=n; i++) BITree[i] = 0; for(int i=0; i<n; i++) updateBIT(BITree, n, i, arr[i]); return BITree; } void updateBIT(int BITree[], int n, int index, int val) { index = index + 1; while(index<=n) { BITree[index]+=val; /...
true
879750454825f86af0f39fc8f09927a52b181f08
Java
rcaneppele/clines
/src/main/java/br/com/caelum/clines/shared/infra/GlobalExceptionHandler.java
UTF-8
3,248
2.234375
2
[]
no_license
package br.com.caelum.clines.shared.infra; import br.com.caelum.clines.shared.exceptions.AircraftModelNotFoundException; import br.com.caelum.clines.shared.exceptions.LocationNotFoundException; import br.com.caelum.clines.shared.exceptions.ResourceAlreadyExistsException; import br.com.caelum.clines.shared.exceptions.R...
true
a34b71c8d0c969a3dd934f24f921c45bcbadee2c
Java
dezren39/movies_dpope3
/src/edu/cvtc/web/servlets/SearchController.java
UTF-8
2,093
2.546875
3
[]
no_license
package edu.cvtc.web.servlets; import java.io.IOException; import java.util.List; import java.util.stream.Collectors; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h...
true
ecf386eb50ed34fecf3d76061758de33c9152001
Java
VladanStar/Folder-19
/JavaMTKompleksniBroj/src/javamtkompleksnibroj/KompleksniBroj.java
UTF-8
1,618
3.140625
3
[]
no_license
package javamtkompleksnibroj; class KompleksniBroj { private double r, i; public KompleksniBroj() { } public KompleksniBroj(double r, double i) { this.r = r; this.i = i; } public double getR() { return r; } public void setR(double r) { ...
true
e30d632fd0524e962e00469763571f73723e050e
Java
RicardoTavares16/DropMusic
/src/dropmusic/action/DropMusicAction.java
UTF-8
2,883
2.28125
2
[]
no_license
package dropmusic.action; import com.opensymphony.xwork2.ActionSupport; import dropmusic.model.DropMusicBean; import org.apache.struts2.interceptor.SessionAware; import java.util.Map; public class DropMusicAction extends ActionSupport implements SessionAware { private static final long serialVersionUID = 4L; ...
true
ee4c4e7123815f7a21804d18f98fa1f1715e4579
Java
pratapad/JavaTrainingSession
/JavaTrainingSession/src/JavaBasics/ConstructorConcept.java
UTF-8
902
3.890625
4
[]
no_license
package JavaBasics; public class ConstructorConcept { //Constructor means a class entity which is used to define some class features in the form of objects //have some properties //Doesn't return any value //looks like function but not a function //constructor can be loaded public ConstructorConcept(){ //zer...
true
b5c07bc891a930a73c0c94a93714d70b326dbaa7
Java
mhromyk/algorithms
/src/main/java/org/mhromyk/algorithms/dynamicconnectivity/QuickUnionWeighted.java
UTF-8
921
3.09375
3
[]
no_license
package org.mhromyk.algorithms.dynamicconnectivity; public class QuickUnionWeighted implements UnionFind { private int[] element; private int[] depth; public QuickUnionWeighted(int n) { element = new int[n]; depth = new int[n]; for (int i=0;i<n;i++){ element[i]=i; ...
true
207427ff3aac3629a0991b6f3d0faf0bce911823
Java
oreni/MyGasStation
/GasStation/src/GasStationBL/MainFuelPool.java
UTF-8
1,943
2.6875
3
[]
no_license
package GasStationBL; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.TimeUnit; import GasStationExeptions.MainFuelStockEmptyException; import GasStationExeptions.MainFuelStockLowException; import G...
true
b20843c106252a4887d4c1dc43b5cf9621ddd982
Java
hudawei996/BluetoothPrinter
/app/src/main/java/com/wuyr/bluetoothprinter/customize/MySnackBar.java
UTF-8
1,165
2.140625
2
[ "Apache-2.0" ]
permissive
package com.wuyr.bluetoothprinter.customize; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.view.View; import android.widget.TextView; import com.wuyr.bluetoothprinter.Application; import com.wuyr.bluetoothprinter.R;...
true
42ca23cac2bf04f51ed00eafc5ec9686d03646e3
Java
mafuteru/Li_Jenny
/APLesson_09/Ex_04_Fibonacci.java
UTF-8
502
3.53125
4
[]
no_license
import java.util.Scanner; public class Ex_04_Fibonacci { public static void main(String[]args) { Scanner kb=new Scanner(System.in); System.out.println("Please enter your starting number:"); int start=kb.nextInt(); System.out.println("Please enter your sequence size: "); int size=kb.nextInt(); int[] seq...
true
53284a1b1117f59ae76a94670d67a08876841bf7
Java
liutingwangrui/mvpdemo
/app/src/main/java/net/com/netdemo/MainActivity.java
UTF-8
1,534
2.15625
2
[]
no_license
package net.com.netdemo; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import net.com.netdemo.base.BaseMvpActivity; import net.com.netdemo.login.LoginPresent; import net.com.netdemo.login.LoginView; import net.com.netdemo.login.bean.LoginInfo; import...
true
dace64609099a354efeb7b5847d4f77799251478
Java
sistrans-B-01/proyecto
/src/main/java/uniandes/isis2304/parranderos/interfazDemo/InterfazAlohandesDemo.java
UTF-8
25,739
2.0625
2
[]
no_license
/**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Universidad de los Andes (Bogotá - Colombia) * Departamento de Ingeniería de Sistemas y Computación * Licenciado bajo el esquema Academic Free License versión 2.1 * * Curso: isis2304 - Sistemas Transaccionales * Proyecto: Parranderos Unia...
true
20dfa8c73c46d7acf58a0cae7826db0fbbeeff98
Java
flywind2/joeis
/test/irvine/math/plantri/Min5ScannerTest.java
UTF-8
5,007
2.59375
3
[]
no_license
package irvine.math.plantri; import junit.framework.TestCase; /** * Tests the corresponding class. * @author Sean A. Irvine */ public class Min5ScannerTest extends TestCase { /* 3-connected planar triangulations with minimum degree 5 (plantri -m5), and 3-connected planar graphs (convex polytopes) with min...
true
76ebce41d90cb7615567a4a6c542b0321f8fe21a
Java
Gohan19266/Thread
/src/app/App.java
UTF-8
987
3.671875
4
[]
no_license
package app; import java.util.Scanner; public class App extends Thread{ Scanner dato= new Scanner(System.in); String nombre,dia; double hora; public App(String nombre, String dia, double hora){ this.nombre= nombre; this.dia=dia; this.hora=hora; System.out.println("Ingres...
true
29c5b6eabbb844ab2ee9b4f215dae2a93cec1302
Java
ly101112/think_in_java
/src/class10/test9/Test.java
UTF-8
601
3.671875
4
[]
no_license
/** * 第十章练习9 在方法里的内部类 */ package class10.test9; interface Test9 { void f(); } public class Test { public Test9 test() { class Tem implements Test9 { public Tem() { System.out.println("new " + getClass().getSimpleName()); } @Override pu...
true
f00bcc5e9161776b301c390e43b7fb961b5353ab
Java
hgrodriguez91/API-ProjectManager
/src/main/java/com/mybatis2/testdemo/mappers/proyectosMapper.java
UTF-8
515
1.992188
2
[]
no_license
package com.mybatis2.testdemo.mappers; import com.mybatis2.testdemo.entity.Proyecto; import org.apache.ibatis.annotations.Select; import java.util.ArrayList; public interface proyectosMapper { @Select("Select * from proyectos") ArrayList<Proyecto> getAllProyectos(); @Select("Select * from proyectos Wh...
true
cd1c439640cb4bd8372f2e6012e262169bd0ac0d
Java
bijon95/Shakeing
/app/src/main/java/com/najmul/femaleharasmentmonitoring/ViewData.java
UTF-8
701
2.265625
2
[]
no_license
package com.najmul.femaleharasmentmonitoring; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; public class ViewData extends AppCompatActivity { TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sa...
true
f98f717cd684d2986ba9c07e578579345f5b3d5e
Java
NPE78/process-manager
/process-manager-messages-plugin/src/main/java/com/talanlabs/processmanager/messages/trigger/event/NewFileTriggerEvent.java
UTF-8
488
2.1875
2
[ "Apache-2.0" ]
permissive
package com.talanlabs.processmanager.messages.trigger.event; import com.talanlabs.processmanager.messages.trigger.api.Trigger; import java.io.File; public final class NewFileTriggerEvent extends FileTriggerEvent { public NewFileTriggerEvent(File f, Trigger source) { super(f, source); } @Override...
true
8536ad564000129a3357e739527efaa204d466f0
Java
MichalFoksa/Mqtt2InfluxDB
/src/main/java/org/influxdb/v08/dto/Serie.java
UTF-8
3,390
2.953125
3
[ "MIT" ]
permissive
package org.influxdb.v08.dto; import java.util.Arrays; import java.util.List; import java.util.Map; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; /** * Represen...
true
fdeeb52409e0266e2626786dafc00128298e26f8
Java
piravinsat/Misc
/CS2840/src/LinearSearch.java
UTF-8
833
3.609375
4
[]
no_license
public class LinearSearch{ //n public static void main (String[] args) { int phone_book_size = 4; int index = 0; PhoneBookEntry phone_book[] = new PhoneBookEntry[phone_book_size]; phone_book[0] = new PhoneBookEntry(23143142, "John"); phone_book[1] = new PhoneBookEntry(2...
true
20f5141f150f081011a98c456044177dd01682d6
Java
egovernments/DIGIT-OSS
/core-services/libraries/services-common/src/main/java/org/egov/common/contract/request/RequestInfo.java
UTF-8
629
1.59375
2
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
package org.egov.common.contract.request; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; @Getter @Setter @Builder @NoArgsConstructor @AllArgsConstructor @ToString @EqualsAndH...
true
510d17c4c717fb403c2096688cd629599278e41c
Java
anchoranalysis/anchor
/anchor-feature/src/main/java/org/anchoranalysis/feature/calculate/NamedFeatureCalculateException.java
UTF-8
3,175
2.234375
2
[ "Apache-2.0", "MIT" ]
permissive
/*- * #%L * anchor-feature * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software witho...
true
78330bce05cd146a11e903bbcc1610cc21952265
Java
Kowalski-RND/ytb-ninja
/src/main/java/ninja/ytb/senpai/dao/AbstractSenpaiDAO.java
UTF-8
1,187
2.265625
2
[ "MIT" ]
permissive
package ninja.ytb.senpai.dao; import java.io.Serializable; import java.util.List; import java.util.Map; import java.util.Optional; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.SessionFactory; import io.dropwizard.hibernate.AbstractDAO; public abstract class AbstractSenpaiDAO<T, I ...
true
1c60325ee046f4554bd96c6cc533e56dfb57c586
Java
fengtianjuedi/CommonMVC
/latte-core/src/main/java/com/wufeng/latte_core/database/UserProfile.java
UTF-8
1,118
2.078125
2
[]
no_license
package com.wufeng.latte_core.database; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Id; import org.greenrobot.greendao.annotation.Generated; @Entity(nameInDb = "user_profile") public class UserProfile { @Id(autoincrement = true) private Long id; private Stri...
true