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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
349cdfb7a414504154989aadebc9207a359a0364 | Java | rkcb/Bridge_old | /src/com/bridge/calendar/NewCompetionDialog.java | UTF-8 | 2,282 | 2.40625 | 2 | [] | no_license | package com.bridge.calendar;
import java.util.Date;
import com.bridge.database.BridgeEvent;
import com.bridge.database.C;
import com.bridge.database.Tournament;
import com.bridge.ui.BridgeUI;
import com.vaadin.ui.Notification;
import com.vaadin.ui.Notification.Type;
import com.vaadin.ui.UI;
import com.vaadin.ui.Windo... | true |
c12f6117f37e1e67dfa8a782f65b1aaa7dfc8854 | Java | tkteam/TelekuryeMaps | /src/com/telekurye/utils/HttpRequestForJson.java | UTF-8 | 4,347 | 2.171875 | 2 | [] | no_license | package com.telekurye.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
impo... | true |
4b4c5e4a6a2a293295bcb92a2d0c694ef3991855 | Java | NarasimhaSwamy/parkinglot | /src/main/java/com/gojek/parkinglot/domain/vehicle/Vehicle.java | UTF-8 | 521 | 2.609375 | 3 | [] | no_license | package com.gojek.parkinglot.domain.vehicle;
public abstract class Vehicle {
private String color;
private RegistrationPlate registrationPlate;
public RegistrationPlate getRegistrationPlate() {
return registrationPlate;
}
public void setRegistrationPlate(RegistrationPlate registrationPlat... | true |
bf123e99b46592897fd8ebc7728490118f9d6ee3 | Java | csucoderlee/forum | /forum-web/src/main/java/org/csu/session/ISessionManager.java | UTF-8 | 1,148 | 2.375 | 2 | [] | no_license | package org.csu.session;
import org.csu.exception.SessionException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author by bixi.lx
* @created on 2018 01 06 23:23
*/
public interface ISessionManager {
/**
* 根据sessionId获取相应的会话对象
* @param sessionI... | true |
95617c2b6bf4a0d7df843953b323a764ca333730 | Java | SFIDevelopment/osmv | /Outlander/src/org/xmlrpc/android/XMLRPCFault.java | UTF-8 | 625 | 2.40625 | 2 | [] | no_license | package org.xmlrpc.android;
public class XMLRPCFault extends XMLRPCException {
/**
*
*/
private static final long serialVersionUID = 5676562456612956519L;
private final String faultString;
private final int faultCode;
public XMLRPCFault(final String faultString, final int faultC... | true |
28f1140fdb225a8640edc2650d15036861a0e5fc | Java | Gromit-Soft/gromit | /src/main/java/org/gromitsoft/server/filter/GenericResponseWrapper.java | UTF-8 | 2,295 | 2.21875 | 2 | [
"MIT"
] | permissive | /*******************************************************************************
*
* MIT License
* Copyright (c) 2015-2016 NetIQ Corporation, a Micro Focus company
*
******************************************************************************/
package org.gromitsoft.server.filter;
import java.io.ByteArrayOutp... | true |
4e233c71b0e0a7cf942aac0c308b091dbf70cf58 | Java | stevenlin07/wejoy_service | /src/com/weibo/wejoy/group/module/DbModule.java | UTF-8 | 6,419 | 1.859375 | 2 | [] | no_license | package com.weibo.wejoy.group.module;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import javax.sql.DataSource;
import org.dom4j.Element;
import cn.sina.api.commons.util.ApiLogger;
import cn.sina.api.data.dao.uti... | true |
ec988370b909ad82942dfa566f4234e162219287 | Java | teban98/api-final-esteban | /src/main/java/com/example/demo/repository/VehiculoRepository.java | UTF-8 | 286 | 1.625 | 2 | [] | no_license | package com.example.demo.repository;
import com.example.demo.entity.Vehiculo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface VehiculoRepository extends JpaRepository<Vehiculo,String> {
}
| true |
75f124e36ab9299c0db946944562d9c2da444825 | Java | CeciliaCarlon/Programacion2 | /TP10/src/ejercicio4/Usuario.java | UTF-8 | 494 | 2.640625 | 3 | [] | no_license | package ejercicio4;
public class Usuario {
private String nombre;
private Criterio preferencia;
public Usuario(String nombre, Criterio preferencia) {
this.nombre = nombre;
this.preferencia = preferencia;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.no... | true |
93187f37341e1c1250136ed318fdf72d571e2f3d | Java | oaplatform/oap-ws | /oap-ws-account-api/src/main/java/oap/ws/account/UserData.java | UTF-8 | 5,681 | 1.890625 | 2 | [
"MIT"
] | permissive |
/*
* Copyright (c) Xenoss
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*/
package oap.ws.account;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.EqualsAndHashCode;
import lombok.ToS... | true |
c850f6781c7a81832f49bf2f6833a00cdc6b45b5 | Java | manojrajan77/APIRestAssured | /RestAssuredBDDFramework/src/test/java/model/FirstUser.java | UTF-8 | 568 | 2.546875 | 3 | [] | no_license | package model;
public class FirstUser {
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
... | true |
6a057a9467fd9a66c6d02b6c20c06c353eff4b3c | Java | WBread2/SomeDemo | /app/src/main/java/com/wbread/jeenchtest/network/JeenchAPI.java | UTF-8 | 339 | 1.617188 | 2 | [] | no_license | package com.wbread.jeenchtest.network;
import com.wbread.jeenchtest.data.SearchGoodsResponse;
import io.reactivex.Observable;
import retrofit2.http.GET;
/**
*/
public interface JeenchAPI {
@GET("/v1/search-items")
Observable<SearchGoodsResponse> getSearchGoodsResponse();
// Observable<String> getSearch... | true |
e128ca519fc7707306069c3760f7d86005fdc4c5 | Java | huunhancit/chatapplication | /chatapplication/client/src/main/java/com/tma/thread/MyThreadInvite.java | UTF-8 | 1,356 | 2.515625 | 3 | [] | no_license | package com.tma.thread;
import javax.jms.JMSException;
import javax.jms.TextMessage;
import javax.swing.DefaultListModel;
import com.tma.function.Function;
import com.tma.jms.ChatAPI;
/**
*
* @author dhnhan
* thread for invite
*/
public class MyThreadInvite implements Runnable {
private ChatAPI chatAPI;
privat... | true |
78d3cc394140ed46b460cf012d3d73fd654f9725 | Java | apache/iotdb | /iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/PipeEnrichedLoadTsFileStatement.java | UTF-8 | 3,702 | 1.6875 | 2 | [
"Apache-2.0",
"BSD-3-Clause",
"EPL-1.0",
"CDDL-1.1",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | 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 |
ab56b6c7f1173c2ba3c0e4aa47af128507fb9f90 | Java | ank29/SpringBootProject | /src/main/java/com/springBoot/resource/MetricResource.java | UTF-8 | 731 | 2.140625 | 2 | [] | no_license | package com.springBoot.resource;
import com.springBoot.service.MetricService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestCont... | true |
23f595a9c39b5eb4a33067f5d02ac4da1d4ab664 | Java | sathwikchintalapudi/coronaTracker | /src/main/java/com/learning/coronatracker/CoronaTrackerController.java | UTF-8 | 1,056 | 2.28125 | 2 | [] | no_license | package com.learning.coronatracker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class Cor... | true |
718640489ede42326b7c0d261500b45f14b0d3bf | Java | manishtomar1/DBLP | /GUI2.java | UTF-8 | 6,189 | 2.453125 | 2 | [] | no_license | // @ Vaibhav Kashyap - 2015111
// @ Umesh - 2015109
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.ButtonGroup;
import javax.swing.JButton... | true |
c700798168e51a72800240fa03c790f7028babfb | Java | minjay26/allitebooks | /src/main/java/org/minjay/allitebooks/Controller/CaptureController.java | UTF-8 | 1,386 | 2.28125 | 2 | [] | no_license | package org.minjay.allitebooks.Controller;
import org.minjay.allitebooks.AllitebooksCapture;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
im... | true |
b25b9201b6a0c4fe7d87908cd86d1e5de8342f39 | Java | must1/BookstoreScraper | /src/main/java/bookstore/scraper/urlproperties/MerlinUrlProperties.java | UTF-8 | 1,365 | 2.390625 | 2 | [] | no_license | package bookstore.scraper.urlproperties;
import bookstore.scraper.enums.CategoryType;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.Objects;
@Getter
@Setter
@Component
@Configur... | true |
5fd2431d366a9a14d1837e94f722de718fbe5a39 | Java | ola357/servbyte | /src/main/java/com/byteworks/servbyte/security/JwtTokenProvider.java | UTF-8 | 1,964 | 2.4375 | 2 | [
"MIT"
] | permissive | package com.byteworks.servbyte.security;
import com.byteworks.servbyte.config.AppConfig;
import io.jsonwebtoken.*;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Component;
import java.sql.Date;
im... | true |
985a41b9e47e52e13aa5a20eb498c3c41cecbb29 | Java | berlin2017/RenZhengTong | /app/src/main/java/com/dazhi/renzhengtong/services/CompanyDetailActivity.java | UTF-8 | 9,020 | 1.789063 | 2 | [] | no_license | package com.dazhi.renzhengtong.services;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
i... | true |
b83d3d1d3ceea656ff0686d4659a7f932049bd54 | Java | comodorop/Seguridad | /Seguridad1.1/src/java/Zonas/Dominio/Zonas.java | UTF-8 | 1,359 | 2.625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Zonas.Dominio;
import java.io.Serializable;
/**
*
* @author PJGT
*/
public class Zonas implements Serializable{
private int idZona ;
private int idCedis;
private String zona;... | true |
b3816ecdda54d5f19313fce0f164faa302f87cfc | Java | yanhaiming/DartCloud | /src/com/cloud/utilFun/NetworkAllocator.java | UTF-8 | 2,078 | 2.796875 | 3 | [] | no_license | package com.cloud.utilFun;
import java.io.IOException;
import ch.ethz.ssh2.Connection;
import ch.ethz.ssh2.Session;
public class NetworkAllocator {
private String host;
private String user = "root";
private String passwd = "sys#000";
private static LogWriter logWriter = LogWriter.getLogWriter();
public NetworkA... | true |
2dd2ac4d412dbb4593a217f3cd65bcebc8c5a702 | Java | tonycheng93/MVP | /app/src/main/java/com/sky/mvp/data/DataManager.java | UTF-8 | 1,590 | 2.25 | 2 | [] | no_license | package com.sky.mvp.data;
import com.sky.mvp.data.local.DatabaseHelper;
import com.sky.mvp.data.local.PreferencesHelper;
import com.sky.mvp.data.model.Ribot;
import com.sky.mvp.data.remote.RibotsService;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import rx.Observable;
import r... | true |
e5f8777364e02f6c3ade697d783f2c9ad0d1819f | Java | GSuaki/spring-mongo-scaffolding | /server/src/main/java/com/inomind/modelo/springmongo/ApplicationServlet.java | UTF-8 | 2,946 | 2.09375 | 2 | [] | no_license | package com.inomind.modelo.springmongo;
import static org.springframework.core.Ordered.LOWEST_PRECEDENCE;
import java.io.IOException;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.context.annotation.Bean;
import org.spr... | true |
aa23caca330e7e3d38d096ef140f279006f1e6ed | Java | hero-0/--OCTO-- | /src/main/java/com/entor/service/IStudentService.java | UTF-8 | 140 | 1.882813 | 2 | [] | no_license | package com.entor.service;
import com.entor.entity.Student;
public interface IStudentService {
public Student queryById(String id);
}
| true |
18c548a6e675db7fcbd366071bd96a2d9166cc83 | Java | marshi/wave | /app/src/main/java/android/marshi/wave/usecase/FeedUseCase.java | UTF-8 | 765 | 2.109375 | 2 | [] | no_license | package android.marshi.wave.usecase;
import android.marshi.wave.domain.FeedCard;
import android.marshi.wave.repository.feedly.FeedRepository;
import rx.Observable;
import rx.schedulers.Schedulers;
import javax.inject.Inject;
import javax.inject.Singleton;
/**
* Created by a13178 on 2017/01/17.
*/
@Singleton
public... | true |
eb21160a92d0859a25e71ae889db23d30ddef4e4 | Java | adrienCadoret/pokerGame | /src/main/java/fr/damienraymond/poker/PokerException.java | UTF-8 | 189 | 2.046875 | 2 | [] | no_license | package fr.damienraymond.poker;
/**
* Created by damien on 25/10/2015.
*/
public class PokerException extends Exception {
public PokerException(String s) {
super(s);
}
}
| true |
c2c60de37f37918c45d608d657ba37d22089888f | Java | CHKellerman/KitCore-GroupProject | /CentrixKitPVP/src/com/centrixkitpvp/teleport/PVPMap.java | UTF-8 | 574 | 2.375 | 2 | [] | no_license | package com.centrixkitpvp.teleport;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
public class PVPMap implements Runnable {
public PVPMap(){
start();
}
private synchronized void start(){
run();
}
@Override
public void run() {
for(Player ... | true |
e8845eed1aad24a60c33226a326a68d2b3892b8f | Java | ngohieuphat/Bai-Tap-Nhom-Android | /FacebookLogin-20180516T235958Z-001/FacebookLogin/app/src/main/java/com/example/minh/facebooklogin/ipaddress/IPConnect.java | UTF-8 | 1,395 | 1.796875 | 2 | [] | no_license | package com.example.minh.facebooklogin.ipaddress;
/**
* Created by LaVanDuc on 5/17/2018.
*/
public class IPConnect {
public static final String IP="192.168.16.107:85";
public static final String GET_DANH_SACH="http://"+IP+"/mybike/getsanphammoinhat.php";
public static final String GET_BAO_DUONG="http:/... | true |
cfc4ce438b9d75cce0cf905440c1cf7e73d5700a | Java | yangzhi1992/com.yangzhi | /yz/src/main/java/com/yz/utils/HashRule.java | UTF-8 | 5,628 | 2.765625 | 3 | [] | no_license | package com.yz.utils;
import org.springframework.stereotype.Component;
@Component
public class HashRule {
/**
* 按比例扩大,均匀分配到环中,然后取环的第一个
* @param cfgList cfgList
* @param <T> T extends Weight
*//*
public <T extends Weight> void process(List<T> cfgList) {
if(Collection... | true |
86afa23224f76ea016b4ef8916132d10145eacb4 | Java | pangxianhai/clinical-recruitment | /recruitment-center/recruitment-center-server/src/main/java/com/andy/recruitment/sms/SmsServiceImpl.java | UTF-8 | 1,166 | 2.09375 | 2 | [] | no_license | package com.andy.recruitment.sms;
import com.andy.recruitment.sms.service.SmsService;
import com.yunpian.sdk.YunpianClient;
import com.yunpian.sdk.model.Result;
import com.yunpian.sdk.model.SmsSingleSend;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.spring... | true |
c5fdb03dfb0f3362034e8d24563dbc2310db40a4 | Java | kalye/evote | /src/edu/uga/cs/evote/presentation/EditBallotQuery.java | UTF-8 | 6,109 | 2.25 | 2 | [] | no_license | package edu.uga.cs.evote.presentation;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
... | true |
547326aae4ff235693471f0d3a8cc3e5c79f6381 | Java | brainail/.happy-coooding | /AlgoKit (3rdp)/Code-store v1.0/yaal/lib/test/on2013_01/on2013_01_12_Single_Round_Match_566/FencingPenguins/FencingPenguins.java | UTF-8 | 4,355 | 2.640625 | 3 | [] | no_license | package on2013_01.on2013_01_12_Single_Round_Match_566.FencingPenguins;
import net.egork.misc.ArrayUtils;
import net.egork.geometry.Point;
import net.egork.geometry.Segment;
public class FencingPenguins {
private static final long MOD = (long) (1e5 + 7);
boolean[][] isValid;
long[][] right;
long[][] answer;
lon... | true |
2900b1ca3bf2679461e9f40873338ba1121eb257 | Java | kingoldYungoal/Kingold-Blockchain-Project | /blockchain/src/main/java/com/kingold/educationblockchain/service/StudentParentService.java | UTF-8 | 944 | 2.203125 | 2 | [] | no_license | package com.kingold.educationblockchain.service;
import com.kingold.educationblockchain.bean.StudentParent;
import java.util.List;
public interface StudentParentService {
/**
* 根据家長信息id查询
*/
List<StudentParent> FindStudentParentByParentId(String parentId);
/**
* 根据学生id查询
*/
List... | true |
7f4d9a0f666a0f6bcead759bbd465fc4de09ac28 | Java | surika/SDUOSNachos | /src/nachos/threads/PriorityScheduler.java | GB18030 | 14,817 | 3.34375 | 3 | [
"MIT-Modern-Variant"
] | permissive | package nachos.threads;
import nachos.machine.*;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
/**
* A scheduler that chooses threads based on their priorities.
* һ߳ȼѡ̵߳ĵ
*
* <p>
* A priority scheduler associates a priority with each thread. The next... | true |
2a53b547473294ce656ecd004856ed2f7708a8e4 | Java | kinjalh/pxeserver | /src/main/java/org/kj/pxe/protocol/impl/DhcpParsingException.java | UTF-8 | 612 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package org.kj.pxe.protocol.impl;
/**
* Exception thrown when there is an error parsing a DHCP packet from bytes
*/
class DhcpParsingException extends PxeDhcpException {
/**
* Constructs a DhcpParsingException with the given error message
*
* @param string
* the message
*/
DhcpParsingExcepti... | true |
a049c2ab9211f7376b04ab12135f137d9cb9730d | Java | nsfantom/BeaconWatcher | /app/src/main/java/tm/nsfantom/beaconwatcher/ui/adapter/LeDevicesAdapter.java | UTF-8 | 3,378 | 2.390625 | 2 | [
"MIT"
] | permissive | package tm.nsfantom.beaconwatcher.ui.adapter;
import android.bluetooth.BluetoothDevice;
import android.databinding.DataBindingUtil;
import android.support.v7.widget.RecyclerView;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.u... | true |
f5a775166b7d939a7204f306007556c9953051c9 | Java | harshavardhanGaddameedi/Mycodinglife | /src/test/java/co/uk/optum/pages/finance/receivables/ReceivablesPage.java | UTF-8 | 18,863 | 1.546875 | 2 | [] | no_license | package co.uk.optum.pages.finance.receivables;
import co.uk.optum.utility.DriverProvider;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.se... | true |
957d46c7695e60dca68e17c7ce71c4c1d2c88cb4 | Java | GitsMuthukumarJ/Task005 | /JavaTwoDimArray.java | UTF-8 | 476 | 3.484375 | 3 | [] | no_license | package DimentionalArray;
public class JavaTwoDimArray
{
public static void main(String[] args)
{
int [][] TwoDim = new int[4][3];
//assign temporary variable
int temp = 10;
for(int i=0; i<4; i++)
{
for(int j=0; j<3; j++)
{
TwoDim[i][j]=temp;
//increase temp variable value ++
temp+= 10;
... | true |
40a8b38846f9e1fd7f3dbc1786ad4ab003680f91 | Java | d-baranowski/Dissertation- | /src/main/java/uk/ac/ncl/daniel/baranowski/controllers/AttemptController.java | UTF-8 | 16,867 | 1.867188 | 2 | [] | no_license | package uk.ac.ncl.daniel.baranowski.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
im... | true |
858f3d3e0028e996f742bc72ecd85eb41ba88925 | Java | weiren123/ADPromotion | /app/src/main/java/com/example/administrator/adpromotion/ui/TestSurfaceViewActivity.java | UTF-8 | 537 | 1.789063 | 2 | [] | no_license | package com.example.administrator.adpromotion.ui;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.example.administrator.adpromotion.widget.AutoSufaceView;
public class TestSurfaceViewActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInst... | true |
58a6b398aa3e7227d524f28e78ab787b7cd72165 | Java | natalialopesmoreno/Generation-turma11Java | /java/estudo/src/listaJava5Polimorfismo/Produto.java | UTF-8 | 1,213 | 3.375 | 3 | [] | no_license | package listaJava5Polimorfismo;
public class Produto
{
private String nome;
private int codigo;
private double preco;
private String cor;
private int qtd;
//CONSTRUTORES
public Produto()
{
super();
}
public Produto(String nome, int codigo, double preco, String cor, int qtd)
{
... | true |
9386fba1eac294310cc995f99c32673ef1630b21 | Java | SamuelLFA/cashback | /src/test/java/br/com/boticario/cashback/controller/dto/NewResellerFormTest.java | UTF-8 | 1,105 | 2.3125 | 2 | [] | no_license | package br.com.boticario.cashback.controller.dto;
import br.com.boticario.cashback.controller.form.NewResellerForm;
import br.com.boticario.cashback.model.Reseller;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExt... | true |
a3f84042c748b3601dd565eb8d341ed9386a1b9d | Java | anders462/java_master | /Lists/src/com/andben/Demo.java | UTF-8 | 4,322 | 3.5625 | 4 | [] | no_license | package com.andben;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.ListIterator;
import java.util.Scanner;
public class Demo {
public static void main(String[] args) {
// LinkedList<String> placesToVisit = new LinkedList<>();
// placesToVisit.add("New York");
// plac... | true |
1d4331a8f74e8f35600b0aea47d0c465b81237f9 | Java | onixred/TelegramApi | /src/main/java/org/telegram/api/input/encrypted/file/TLInputEncryptedFile.java | UTF-8 | 1,114 | 2.25 | 2 | [
"MIT"
] | permissive | package org.telegram.api.input.encrypted.file;
import org.telegram.tl.StreamingUtils;
import org.telegram.tl.TLContext;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* The type TL input encrypted file.
*/
public class TLInputEncryptedFile extends TLAbsInputEncryptedFile {... | true |
1f911e58fd87377d63c19e394ee93a8f85257156 | Java | druplall/AudioTrainerGit | /AudioTrainer/src/com/MeadowEast/audiotest/Email.java | UTF-8 | 2,409 | 2.5 | 2 | [] | no_license | package com.MeadowEast.audiotest;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
public class Email extends Activity implements View.OnClickListener{
EditText p... | true |
9b4ecb21bc308c3668d38b746c365a32b4576e58 | Java | ddONGzaru/manasobi-java-8 | /src/test/java/io/manasob/ex/guava/Lists_utility_ex.java | UTF-8 | 2,980 | 3.0625 | 3 | [] | no_license | package io.manasob.ex.guava;
import com.google.common.collect.Lists;
import one.util.streamex.StreamEx;
import org.junit.Ignore;
import org.junit.Test;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
import static java.util.Comparator.reverseOrder;
import static java.util.stre... | true |
2273a9c26503c5766b5eed794aaba8ed3fd39d6f | Java | bellmit/eeka-service | /oms-job-executor/src/main/java/com/greatonce/oms/job/executor/download/OrderDownloader.java | UTF-8 | 4,397 | 2.046875 | 2 | [] | no_license | package com.greatonce.oms.job.executor.download;
import com.greatonce.core.util.Assert;
import com.greatonce.core.util.DateTimeUtil;
import com.greatonce.core.util.JsonUtil;
import com.greatonce.core.util.StringUtil;
import com.greatonce.oms.biz.mall.MallSalesOrderService;
import com.greatonce.oms.bridge.mall.MallBrid... | true |
83782a5d989e2e2b3ed88c36094ba1269e869b12 | Java | andrea-michielan/SkyQRemote | /app/src/main/java/com/michielan/skyqremote/InfoActivity.java | UTF-8 | 1,334 | 2.015625 | 2 | [
"MIT"
] | permissive | package com.michielan.skyqremote;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
public class InfoActivity extend... | true |
ed515d3b2ba96bad6bf22c1fc986af2af87bb9e9 | Java | mateuszkalinowski/populator | /src/main/java/pl/szaklon/populator/services/InitializationService.java | UTF-8 | 8,429 | 2.4375 | 2 | [
"BSD-3-Clause"
] | permissive | package pl.szaklon.populator.services;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... | true |
2b04c1439682e12495c2bc90b4f50566cd1126e8 | Java | renyuanceshi/KingKingRE | /app/src/main/java/android/support/v7/widget/ActionMenuView.java | UTF-8 | 32,877 | 1.632813 | 2 | [
"Unlicense"
] | permissive | package android.support.v7.widget;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import android.support.annotation.Nullable;
import android.support.annotation.RestrictTo;
import android.support.annotation.StyleRes;
import android.support.v7.view.me... | true |
adae7e282b41820caec3f95981e354af386e5168 | Java | dimplekoticha/workspace | /liferay-training/modules/salesforce/salesforce-service/src/main/java/com/liferay/salesforce/service/impl/SalesforceLeadLocalServiceImpl.java | UTF-8 | 3,786 | 1.945313 | 2 | [] | no_license | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* 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 la... | true |
73fa0445a5d95ceb29c99470991a65923868e786 | Java | 428yzh/Practice | /jsp/src/jsp/testFileDownLoad.java | UTF-8 | 1,220 | 2.625 | 3 | [] | no_license | package jsp;
import org.apache.commons.io.IOUtils;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputS... | true |
e26249ab2c8cd876346eb9adc6eda328b0df84ae | Java | sunildparte/fom | /src/main/java/com/histomon/domain/SiteDO.java | UTF-8 | 3,975 | 2.125 | 2 | [] | no_license | package com.histomon.domain;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="site")
public class SiteDO {
@Id
@Genera... | true |
0756261858d750ae3000762b57b85af8dbf63102 | Java | scratches/spring-data-gazillions | /src/main/java/hello/service/Customer1715Service.java | UTF-8 | 223 | 1.601563 | 2 | [] | no_license | package hello.service;
import org.springframework.stereotype.Service;
import hello.repo.Customer1715Repository;
@Service
public class Customer1715Service {
public Customer1715Service(Customer1715Repository repo) {
}
}
| true |
60cf640bdd1425acb5d4a25fa613f9b8b1ed335c | Java | quxiongwei/qhzyc | /src/config/com/ces/config/dhtmlx/dao/label/ColumnLabelCategoryDao.java | UTF-8 | 2,064 | 2.28125 | 2 | [] | no_license | package com.ces.config.dhtmlx.dao.label;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import com.ces.config.dhtmlx.entity.label.ColumnLabelCategory;
import com.ces.xarch.core.persistence.jpa.StringIDDao;
/**
* 字段标签分类Dao
*
* @author wanglei
* @date 2013-07-15
*/
public interface... | true |
d524860bccdfa8ee58e29a13c5be19551efc0f09 | Java | jharisonn/ppb2019 | /Tugas5/app/src/main/java/com/tc/maps/LokasiListener.java | UTF-8 | 1,602 | 2.203125 | 2 | [] | no_license | package com.tc.maps;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
... | true |
38c87e11f204e0249f21ea881f0bc93456188a9e | Java | mylesieong/NewsApp | /app/src/main/java/com/myles/udacity/newsapp/News.java | UTF-8 | 1,101 | 2.8125 | 3 | [] | no_license | package com.myles.udacity.newsapp;
import java.util.Date;
/**
* Created by asus on 5/12/2016.
*/
public class News {
private String mTitle;
private String mPublisher;
private String mURL;
public News() {
super();
}
/**
* Setters
*/
public void setTitle(String title) ... | true |
727571bb7a4aff0b9c0499ca863db6d700add53f | Java | pixelvirus/HospitalDatabase | /gui/Panel5ModViewTable.java | UTF-8 | 2,081 | 2.359375 | 2 | [] | no_license | package gui;
import java.sql.SQLException;
import jwizardcomponent.JWizardComponents;
import javax.swing.JScrollPane;
import javax.swing.JList;
import javax.swing.AbstractListModel;
import database.DatabaseConnection;
@SuppressWarnings("serial")
public class Panel5ModViewTable extends WizardGUIPanel {
private fin... | true |
23e048acb45d569d4d500b58d47e50b551a0501c | Java | OomsG/PeerTutoring | /W8/src/wijnen/WijnHuis.java | UTF-8 | 2,609 | 3.5 | 4 | [] | no_license | package wijnen;
import java.nio.channels.Channel;
import java.sql.SQLOutput;
/**
* PEER opdracht
* P2W2
*/
public class WijnHuis {
private static final int MAX_AANTAL = 10;
private Wijn[] wijnen = new Wijn[MAX_AANTAL]; //voorlopig gevuld met 10 null-objecten
private String naam;
private int aantal... | true |
3b5613d879e6e4333ef306a54ef45bf13ffdd756 | Java | HughesLou/lintcode | /src/main/java/com/hughes/lou/lintcode/hard/LRUCache.java | UTF-8 | 2,343 | 3 | 3 | [] | no_license | /*
* Copyright (C) 2018 Hughes Lou, Inc. All Rights Reserved.
*/
package com.hughes.lou.lintcode.hard;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import com.hughes.lou.lintcode.level.Hard;
/**
* Created by Hughes on 2018/1/24 23:05.
*/
public class LRUCache implements ... | true |
69ce8445a859ac3dcb0de25990902e44992f7477 | Java | lianghaha666/java-utils | /src/test/java/com/sharfah/util/collections/StackTest.java | UTF-8 | 1,927 | 3.09375 | 3 | [] | no_license | package com.sharfah.util.collections;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import static org.junit.jupiter.api.Assertions.*;
import java.util.NoSuchElementException;
import org.junit.jupiter.api.Test;
public class StackTest {
@Test
public void testPush() {
fina... | true |
34ea365f273268b92dc139eb33a658aa558c36bb | Java | kennycaiguo/yeepay-java2 | /src/main/java/com/example/yeepay/FinPaymentController.java | UTF-8 | 2,506 | 2.109375 | 2 | [
"MIT"
] | permissive | package com.example.yeepay;
import com.example.yeepay.utils.JsonResult;
import com.example.yeepay.vo.CallYeePayVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.sprin... | true |
38be844b195ecb0f85bd22cd5e7aebf952937883 | Java | adamwong884/cryptobag | /app/src/main/java/com/example/cryptobug/MainActivity.java | UTF-8 | 2,919 | 2.375 | 2 | [] | no_license | package com.example.cryptobug;
import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.example.cryptobug.entities.Coin;
import com.example.cryptobug.entit... | true |
ad1e3175e73029b31066ed9d0be94cc50e614afc | Java | mcMMO/Minenight | /src/com/sucy/minenight/nms/v1_9_R1/NMSManager_19.java | UTF-8 | 11,880 | 2 | 2 | [] | no_license | package com.sucy.minenight.nms.v1_9_R1;
import com.sucy.minenight.Minenight;
import com.sucy.minenight.hologram.display.LineData;
import com.sucy.minenight.hologram.display.line.HologramLine;
import com.sucy.minenight.hologram.display.line.ItemLine;
import com.sucy.minenight.hologram.display.line.TextLine;
import com.... | true |
37561681687bdb4cc6aa75cc21611879128a837b | Java | cmsanju/batch2 | /Batch2/src/com/enms/Exp2.java | UTF-8 | 772 | 2.890625 | 3 | [] | no_license | package com.enms;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD,ElementType.TYPE})
@int... | true |
9578b77c2dfc23d2529f42334d16d66812274dc6 | Java | webman971/PPE3-master | /app/src/main/java/com/example/kaiizzer/ppe3/Reduction.java | UTF-8 | 340 | 1.679688 | 2 | [] | no_license | package com.example.kaiizzer.ppe3;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class Reduction extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_... | true |
cc6565bca12720e90caeb333bd0f45f7de7b3957 | Java | kusumotolab/ECTEC | /src/jp/ac/osaka_u/ist/sdl/ectec/db/data/AbstractDBGenealogyInfo.java | UTF-8 | 1,640 | 2.484375 | 2 | [] | no_license | package jp.ac.osaka_u.ist.sdl.ectec.db.data;
import java.util.Collections;
import java.util.List;
public abstract class AbstractDBGenealogyInfo<T extends AbstractDBElement, U extends AbstractDBElementLinkInfo>
extends AbstractDBElement {
/**
* the id of the start combined revision
*/
protected final long sta... | true |
c287b1c320c03d738361d43be4ad0cdfffd0dc6d | Java | amirsaleh-salehzadeh/NIOPDC-BI | /src/rex/graphics/datasourcetree/elements/DataSourceTreeElement.java | UTF-8 | 627 | 1.789063 | 2 | [] | no_license | package rex.graphics.datasourcetree.elements;
import javax.swing.ImageIcon;
import rex.metadata.ServerMetadata;
/**
* <p>Title: WHEX</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author igor
* @version 1.0
*/
public interface DataSourceTreeElement {
// public void r... | true |
fde04484d9c12dddb061bee643338c3c97b66dfc | Java | OxeCorporation/Scrumming | /trunk/source/Scrumming-mobile/src/br/com/scrumming/domain/enuns/PerfilUsuarioEnum.java | UTF-8 | 113 | 1.585938 | 2 | [] | no_license | package br.com.scrumming.domain.enuns;
public enum PerfilUsuarioEnum {
PRODUCT_OWNER, SCRUM_MASTER, TEAM;
} | true |
8cc4d475a115755b7bfba60102107ee74dc4c702 | Java | pradeepsundaram/ComponentFramework | /src/utils/EventsUtil.java | UTF-8 | 5,119 | 2.625 | 3 | [] | no_license | package utils;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import pages.WebPage;
import reports.Report;
import events.WindowEvents;
public class Even... | true |
a7a64cc86c1ebcbbfde25231f21f4c86f02bf699 | Java | piotrdopierala/MultiThreadExcercises | /src/main/java/pl/dopierala/ExecutorInvoke.java | UTF-8 | 1,133 | 3.0625 | 3 | [] | no_license | package pl.dopierala;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.*;
public class ExecutorInvoke {
public static void main(String[] args) throws InterruptedException, ExecutionException {
Callable<Integer> answerToEverything1 = () -> {
TimeUnit.SECONDS.sleep(10)... | true |
04339b6f2adce57135f20ad9db04da18005ecb1b | Java | ishansen97/SPM_Software_Complexity_SPM_WE_28 | /src/models/DeleteProgramComplexityRequest.java | UTF-8 | 203 | 2.015625 | 2 | [] | no_license | package models;
public class DeleteProgramComplexityRequest {
private int progId;
public int getProgId() {
return progId;
}
public void setProgId(int progId) {
this.progId = progId;
}
}
| true |
67dfced0d9abb7d36cbcac0859b22e5667448f82 | Java | KyleCe/LeetCode | /src/algorithm/base/ListNode.java | UTF-8 | 715 | 3.390625 | 3 | [
"MIT"
] | permissive | package algorithm.base;
/**
* Created by Kyle on 25/04/2017.
*/
public class ListNode {
public int val;
public ListNode next;
public ListNode(int x) {
val = x;
next = null;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == nul... | true |
c1e6267ffbfa55026713e1e50d654dab3d87a420 | Java | kadet108/blucargo | /blucargo_spark/src/java/org/jivesoftware/sparkimpl/plugin/blucargo/manager/CargoTransIQ.java | UTF-8 | 2,885 | 1.976563 | 2 | [] | no_license | package org.jivesoftware.sparkimpl.plugin.blucargo.manager;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import org.apache.commons.codec.binary.Base64;
import org.dom4j.DocumentFactory;
import org.dom4j.Element;
import org.jivesoftwar... | true |
da8d9d6228d9248c5fe5c600e9185222adda3d49 | Java | facferreira/fenixedu-ulisboa-specifications | /src/main/java/org/fenixedu/ulisboa/specifications/domain/CgdMod43Template.java | UTF-8 | 533 | 2.0625 | 2 | [] | no_license | package org.fenixedu.ulisboa.specifications.domain;
import org.fenixedu.bennu.core.domain.User;
import org.fenixedu.bennu.core.groups.Group;
public class CgdMod43Template extends CgdMod43Template_Base {
protected CgdMod43Template() {
super();
}
protected CgdMod43Template(final String filename, f... | true |
7245ce27325abd19120d8d8451447c2dc4dc43da | Java | jenkin-du/Part-timeJob_Server | /src/com/stitp/model/workAddress.java | UTF-8 | 1,626 | 2.234375 | 2 | [] | no_license | package com.stitp.model;
public class workAddress {
private String aId;
private String province;
private String city;
private String district;
private String detailAddr;
private String longitude;
private String latitude;
public String getLongitude() {
return longitude;
}
public void s... | true |
45d6fef08cdf841a09c70121b67fa1d64636010a | Java | christianillies/Processing-Visualisation-Global-Carbon-Emission | /src/info/christianillies/visualisation/view/Visualisation_CirclesInALine_View.java | UTF-8 | 3,358 | 2.859375 | 3 | [] | no_license | package info.christianillies.visualisation.view;
import info.christianillies.framework.common.FrameworkConstants;
import info.christianillies.visualisation.model.XlsWorldDatabankModel;
import info.christianillies.visualisation.view.circle.EmissionCircle;
import java.util.ArrayList;
import processing.core.PAp... | true |
d961d62a26b50560798a28c4736cb30bb677cf43 | Java | esm-services/esm-employee-service | /src/main/java/com/esm/employee/service/business/EmployeeServiceImpl.java | UTF-8 | 6,333 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | package com.esm.employee.service.business;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import com.esm.employee.service.domain.Employee;
import com.esm.employee.service... | true |
72fbd4eaceaf6da0e897c57a64a345c688cc3cc0 | Java | mohitgupta3648/Repository2 | /POM_Example/automation/automation/Enums/Role.java | UTF-8 | 273 | 1.671875 | 2 | [] | no_license | package eupchaar.ui.automation.Enums;
public enum Role {
ADMIN,
Registration,
OPD,
Laboratory,
Radiology,
Billing,
Pharmacy,
IPD,
BirthAndDeathReg,
Store,
CSSD,
BloodBank,
Purchase,
Asset,
OpTheater,
MRD,
Maintenance,
EmergencyAndMLC,
LabourRoom;
}
| true |
638bdc329fa18d558129113a249e03e7a9bd4ff8 | Java | niharika9428/EnquiryApp | /src/main/java/com/enquiry/dto/EnquiryCommand.java | UTF-8 | 325 | 1.601563 | 2 | [] | no_license | package com.enquiry.dto;
import com.enquiry.domain.Enquiry;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class EnquiryCommand {
Enquiry enquiry;
Long[] courseId... | true |
cdb70be174c72ded74d8908da7bfc1a3e748e2ca | Java | akothouma/BRANOKOD-PROJECT | /app/src/main/java/com/example/newu/branokod3/sokoitemviewparse.java | UTF-8 | 4,057 | 1.773438 | 2 | [] | no_license | package com.example.newu.branokod3;
import android.content.Intent;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toa... | true |
3ccfaabb6332e65263eb00fadf06bbfa0f7c55d9 | Java | zwj499/demo | /src/main/java/com/springboot/demo/controller/sys/response/SelectSysUserPageResponse.java | UTF-8 | 1,616 | 2.078125 | 2 | [] | no_license | package com.springboot.demo.controller.sys.response;
import com.springboot.demo.common.base.enums.UserLevelEnum;
import com.springboot.demo.entity.sys.SysUser;
import org.springframework.beans.BeanUtils;
public class SelectSysUserPageResponse {
private Integer id;
private String name;
private String pass... | true |
4f315d15c4f44ddda0d44e072a924c7e0506890f | Java | gengzeqing/shiro | /src/main/java/com/example/shiro/common/enums/DeletedStatus.java | UTF-8 | 960 | 2.84375 | 3 | [] | no_license | package com.example.shiro.common.enums;
/**
* 删除标识
* @Author: yaokui
* @Date: 2019/6/3
*/
public enum DeletedStatus {
DELETED(1, "已删除"),
UN_DELETED(0, "未删除")
;
int code;
String message;
DeletedStatus(int code, String message) {
this.code = code;
this.message = message;
... | true |
2adb1279bb57e4686ec383409cdffc5a018cb337 | Java | kjezek/opencontrol | /src/cz/control/gui/dph/DphGlobalChangeDialog.java | WINDOWS-1250 | 5,583 | 2.234375 | 2 | [] | no_license | /*
*
* Vytvoeno 3. Leden, 2010
*
* Autor: Kamil Jeek
* email: kjezek@students.zcu.cz
*/
package cz.control.gui.dph;
import cz.control.business.Settings;
import cz.control.business.Store;
import cz.control.business.User;
import cz.control.business.dph.StaticDphSrenarios;
import cz.control.business.dph.scenarios.... | true |
872f87126f35335f88238c33e19be4546481d631 | Java | martinezmatias/GenPat-data-C3 | /eclipsejdt_cluster/47424/src_1.java | UTF-8 | 2,917 | 1.78125 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2005 BEA Systems, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | true |
f75a0f25bfd8fb0e18e84701449a1b7611b0d510 | Java | tanlikar/fypWoTablayout | /app/src/main/java/com/example/fypwotablayout/display.java | UTF-8 | 14,197 | 1.65625 | 2 | [] | no_license | package com.example.fypwotablayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.content.DialogInterface;
import android.content.Intent;
impo... | true |
6304e9c61b55f5913a27e104c470607e34967ae7 | Java | aycandv/KUVid-Game | /src/main/java/dmme/kuvid/domain/Controllers/DomainFactory.java | UTF-8 | 16,371 | 2.484375 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package dmme.kuvid.domain.Controllers;
import dmme.kuvid.domain.KUVidGame;
import dmme.kuvid.domain.GameObjects.*;
import dmme.kuvid.domain.GameObjects.Atoms.*;
import dmme.kuvid.domain.GameObjects.Molecules.*;
import dmme.kuvid.domain.GameObjects.Powerup.*;
import dmme.kuvid.domain.GameObjects.ReactionBlocker.*;
impo... | true |
193a8b9bbf00b4e402a5e6a4aaa950e69df94163 | Java | yt1090063761/OAsystem01 | /src/main/java/cn/yt/oa/entity/User.java | UTF-8 | 3,073 | 2.265625 | 2 | [] | no_license | package cn.yt.oa.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;
import java.util.Objects;
@Entity
public class User {
private int id;
private String name;
private String loginname;
private Str... | true |
48bba159eff38e583a4da285ec7138c8891af9f7 | Java | RaffaelSchemmer/AtlasGals | /TrafficMeasurer/LatencyReport.java | UTF-8 | 26,323 | 2.53125 | 3 | [] | no_license | package TrafficMeasurer;
import java.io.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import AtlasPackage.Router;
import AtlasPackage.JPanel_Noc;
import AtlasPackage.Project;
import AtlasPackage.Convert;
import AtlasPackage.NoC;
impo... | true |
8d00e957bb5e48261c1209a94c8cd49ed2334d73 | Java | lenaaxenova/prak6 | /stage 3/journeys/src/journeys/controller/RouteController.java | UTF-8 | 6,713 | 2.390625 | 2 | [] | no_license | package journeys.controller;
import java.util.List;
import javax.validation.Valid;
import journeys.dao.JourneyDAO;
import journeys.dao.RouteDAO;
import journeys.dao.StationDAO;
import journeys.entity.Journey;
import journeys.entity.Route;
import journeys.entity.Station;
import org.springframework.beans.factory.anno... | true |
f794b02d4c91bc23b7ee206268e180652c30fda6 | Java | AKKyPATHbIu/backend | /src/main/java/embasa/frontinteraction/command/impl/GetDBVersion.java | UTF-8 | 1,972 | 2.34375 | 2 | [] | no_license | package embasa.frontinteraction.command.impl;
import com.fasterxml.jackson.core.JsonProcessingException;
import embasa.frontinteraction.Request;
import embasa.frontinteraction.Response;
import embasa.frontinteraction.command.BadParametersException;
import embasa.frontinteraction.command.Command;
import embasa.persiste... | true |
29c2fd4b0f1317715a009d1481a6c18a1b9ab6d3 | Java | marcomarasca/Synapse-Repository-Services | /lib/lib-table-query/src/main/java/org/sagebionetworks/table/query/model/ExactNumericLiteral.java | UTF-8 | 621 | 2.640625 | 3 | [
"Apache-2.0"
] | permissive | package org.sagebionetworks.table.query.model;
/**
* ExactNumericLiteral can be a Java Long or Double
*
*/
public class ExactNumericLiteral extends LeafElement {
Long longValue;
Double doubleValue;
public ExactNumericLiteral(Long longValue) {
super();
this.longValue = longValue;
}
pub... | true |
2b40c89e26eb2d2c13727188a62e450fc0346f4f | Java | xiaobaigitb/testboot | /springboot-tk-mybatis-demo/src/main/java/com/xroad/springboottkmybatisdemo/service/impl/UserServiceImpl.java | UTF-8 | 887 | 2.21875 | 2 | [] | no_license | package com.xroad.springboottkmybatisdemo.service.impl;
import com.xroad.springboottkmybatisdemo.base.BaseServiceImpl;
import com.xroad.springboottkmybatisdemo.mapper.UserMapper;
import com.xroad.springboottkmybatisdemo.pojo.User;
import com.xroad.springboottkmybatisdemo.service.UserService;
import org.springframework... | true |
1ee3028c340b4641a149d8cf80b5dfdaf8c41dce | Java | sorinb97/tester | /src/main/java/com/license/tester/service/AuthUserDetailsService.java | UTF-8 | 1,739 | 2.25 | 2 | [] | no_license | package com.license.tester.service;
import com.license.tester.db.model.Student;
import com.license.tester.db.model.Teacher;
import com.license.tester.db.repo.StudentRepository;
import com.license.tester.db.repo.TeacherRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... | true |
aea07f3122a59b1e929697096d75af0d05078ee7 | Java | GrowingPPP/EclipseWorkp | /Golanger/src/com/zgh/reflect/Fanxing.java | UTF-8 | 602 | 3 | 3 | [] | no_license | package com.zgh.reflect;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
public class Fanxing {
public static void main(String[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityE... | true |
a23015d113a174e952f63b4c90f6bd84998ae649 | Java | youlib/weather-service | /openweather/src/main/java/com/demo/weather/Weather.java | UTF-8 | 174 | 1.84375 | 2 | [] | no_license | package com.demo.weather;
/**
* @author Georgia Bogdanou
*/
class Weather {
public Integer id;
public String main;
public String description;
public String icon;
}
| true |
f76e344cb01be69a4c5033eabb0efd1313e801e3 | Java | liaoli/SnapSheet | /app/src/main/java/com/unimelb/feelinglucky/snapsheet/Story/AddStoryFragment.java | UTF-8 | 5,376 | 2.015625 | 2 | [] | no_license | package com.unimelb.feelinglucky.snapsheet.Story;
import android.content.Context;
import android.content.Intent;
import android.media.Image;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.ut... | true |
e890a00847cea130c3d204eb1dcc5b013de6904b | Java | Christophcha/Lab2 | /Lab2.exercise1/src/AgeGuess.java | UTF-8 | 620 | 4.15625 | 4 | [] | no_license | import java.util.Random;
import java.util.Scanner;
public class AgeGuess {
public static void main(String[] args) {
Random randomNumber = new Random();
int ageGuess;
int age = randomNumber.nextInt(100); // gives age a random number 0-100
Scanner scan = new Scanner(System.in);
Syste... | true |