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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ccc579a3ee61827c865aab4acb486aacaeaef74a | Java | WanNJ/BuffetANA | /BUFF/BuffClient/src/main/java/gui/ChartController/chart/UpDownLineChart.java | UTF-8 | 4,013 | 3.0625 | 3 | [] | no_license | package gui.ChartController.chart;
import javafx.collections.ObservableList;
import javafx.scene.chart.*;
import vo.LongPeiceVO;
/**
* Created by wshwbluebird on 2017/3/7.
*/
/**
* K 线图
*/
public class UpDownLineChart extends LineChart<String, Number> {
//TODO 这里参照学长代码进行设计 以后要修改为自己的
private static f... | true |
2c0c2c07f5bd1af3c530a6eb0d18be5979335a57 | Java | brunopicinin/mobe | /mobe/src/br/com/mobe/core/processor/primitive/CalendarProcessor.java | UTF-8 | 766 | 2.546875 | 3 | [] | no_license | package br.com.mobe.core.processor.primitive;
import java.util.Calendar;
import android.content.ContentValues;
import android.database.Cursor;
import br.com.mobe.core.processor.TimeProcessor;
public class CalendarProcessor extends TimeProcessor {
@Override
public void putIn(ContentValues values, String key, Objec... | true |
eae5ebf8ef520b20862bdf946f41f7ee388c025b | Java | kayartaya-vinod/java-jwt-demo | /jwt-demo/src/main/java/co/vinod/demo/dto/User.java | UTF-8 | 147 | 1.625 | 2 | [] | no_license | package co.vinod.demo.dto;
import lombok.Data;
@Data
public class User {
private String email;
private String password; // md5 or bcrypt
}
| true |
09a9b9294c25c2bec71eb3d41a96dd08195d5a39 | Java | sebobr/dontpaytheferryman | /splitter/src/test/java/splitter/KeyValueAcceptor.java | UTF-8 | 225 | 2.109375 | 2 | [
"MIT",
"Apache-2.0"
] | permissive | package splitter;
import java.io.IOException;
public interface KeyValueAcceptor<K, V> {
public void write(K k, V v) throws IOException, InterruptedException;
public void close() throws IOException, InterruptedException;
} | true |
d3cd4acae40ed34b44ef57786140ee09f5a793ad | Java | achung4/MySQLProject | /src/OnlineTransaction.java | UTF-8 | 17,201 | 2.890625 | 3 | [] | no_license | /* TODO System - Delivery Days, cannot purchase nothing;
System will inform the customer after commit the number of days
it will take to receive the goods (estimated based on outstanding/max orders).
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.Connec... | true |
6f0989e5fd42c60ac39de4657a09596266eaa584 | Java | tujasiri/BriefReqVerify | /src/main/java/com/sample/ProcessTest.java | UTF-8 | 3,263 | 2.234375 | 2 | [] | no_license | package com.sample;
import com.sample.BriefVerify;
import com.sample.MyWorkItemHandler;
import org.jbpm.workflow.instance.WorkflowRuntimeException;
import org.jbpm.test.JbpmJUnitBaseTestCase;
import org.junit.Test;
import org.kie.api.KieBase;
import org.kie.api.KieServices;
import org.kie.api.logger.KieRunt... | true |
d63316544f89b9e78d1e7fbb67f342292f4a0955 | Java | moutainhigh/second-hand | /second-product-center/src/main/java/com/example/product/center/model/SecondIntegralStrategy.java | UTF-8 | 8,465 | 2.046875 | 2 | [] | no_license | package com.example.product.center.model;
import java.io.Serializable;
import java.time.LocalDateTime;
public class SecondIntegralStrategy implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column second_integral_strategy.id
... | true |
3d6605b834e8beee04bd11f54c3fa630a367bc4c | Java | wilsonpeng3/Tools | /src/thread/MHThreadFactory.java | UTF-8 | 1,448 | 2.5625 | 3 | [] | no_license | /*
* Copyright (c) 2014. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
* Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
* Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagi... | true |
1d68d017e121a83215b6cf66eadc36dfd494208d | Java | shizuan/ZooKeepAndDubbo | /ZooKeeper/src/main/java/com/zuanshi/zooKeeper_watch/PathChildrenCache_监听指定节点的子节点变化情况.java | UTF-8 | 4,576 | 2.828125 | 3 | [] | no_license | package com.zuanshi.zooKeeper_watch;
import org.apache.curator.RetryPolicy;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.framework.recipes.cache.PathChildrenCache;
import org.apache.curator.framework.recipes.cache.PathChild... | true |
1479d42c09b1bae64d22ea15bd2862d0d605979c | Java | yuzongjian/fbsys | /src/main/java/com/buoy/job/JobWind.java | UTF-8 | 3,855 | 2.328125 | 2 | [] | no_license | package com.buoy.job;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException... | true |
c3aa261bc30f926d53b108e0ed8df0e05741829d | Java | Pace17881/PriceCheck | /PriceCheck/src/datatypes/ProductInvalidationListener.java | UTF-8 | 1,006 | 2.765625 | 3 | [] | no_license | package datatypes;
import java.util.ArrayList;
import javafx.beans.InvalidationListener;
import javafx.beans.Observable;
import ui.controller.BaseViewController;
public class ProductInvalidationListener implements InvalidationListener
{
ArrayList<BaseViewController> baseViewControllerList = new ArrayLis... | true |
f365e794b8e3efe4c368354138271685fc44606e | Java | rommeliusAlejandro/tours-of-heroes-service | /src/main/java/com/learning/heroesservice/command/businesslogic/DeleteHeroBusinessLogic.java | UTF-8 | 1,391 | 2.25 | 2 | [] | no_license | package com.learning.heroesservice.command.businesslogic;
import com.learning.heroesservice.command.CreateHeroCommand;
import com.learning.heroesservice.command.DeleteHeroCommand;
import com.learning.heroesservice.command.SendHeroWSCommand;
import com.learning.heroesservice.framework.businesslogic.BusinessLogic;
impor... | true |
666e554ba552d8d2bc43bf4558012fa13391840e | Java | TungNT-2810/Sida | /DemoSourceTree/app/src/main/java/com/zyuternity/demosourcetree/JSONCustomerHistoryList.java | UTF-8 | 356 | 1.875 | 2 | [] | no_license | package com.zyuternity.demosourcetree;
import java.util.List;
/**
* Created by ZYuTernity on 7/22/2016.
*/
public class JSONCustomerHistoryList {
private List<JSONCustomerHistoryItem> d;
public List<JSONCustomerHistoryItem> getD() {
return d;
}
public void setD(List<JSONCustomerHistoryIte... | true |
ef8d640232471f88edb770c2094173004c49abb7 | Java | OksiBlack/learning-property-and-config-utils | /config-utils-core/src/main/java/org/learning/core/config/patterns/factory/factories/ConfigurationFactory.java | UTF-8 | 199 | 1.6875 | 2 | [] | no_license | package org.learning.core.config.patterns.factory.factories;
public abstract class ConfigurationFactory {
public abstract PropertiesConfiguration getConfiguration(ConfigurationSource source);
} | true |
ccbd4ef858dce4dc73b27ff25fd3eb57e9b332e0 | Java | moritz-w/Sportvereins-Verwaltung-Semester5 | /Sportvereinsverwaltung/domain/src/main/java/at/fhv/sportsclub/entity/tournament/EncounterEntity.java | UTF-8 | 566 | 1.835938 | 2 | [] | no_license | package at.fhv.sportsclub.entity.tournament;
import at.fhv.sportsclub.entity.CommonEntity;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import java.time.LocalDate;
import java.time.LocalTime;
public @Dat... | true |
adc179108b351e1efa5b84e55e67223e94a3c594 | Java | jwyming/CTCBFunding | /src/com/eds/ctcb/dao/priv/UserRoleDaoImpl.java | UTF-8 | 594 | 2.234375 | 2 | [] | no_license | package com.eds.ctcb.dao.priv;
import java.util.List;
import com.eds.ctcb.bean.QryBean;
import com.eds.ctcb.dao.BaseDaoImpl;
import com.eds.ctcb.db.Role;
public class UserRoleDaoImpl extends BaseDaoImpl implements UserRoleDao {
public Role getRoleByUserId(Long userId){
Role role = null;
QryBean qryBean = new Qr... | true |
bb58002f3c5e503ac80bfee2e7ab6a6f7ae8a84d | Java | OliverKramer02/Cy_3 | /Cy_3/src/org/apache/commons/math3/analysis/TrivariateFunction.java | UTF-8 | 388 | 2.125 | 2 | [] | no_license | package org.apache.commons.math3.analysis;
public abstract interface TrivariateFunction
{
public abstract double value(double paramDouble1, double paramDouble2, double paramDouble3);
}
/* Location: C:\Users\Olli\Desktop\NetworkPrioritizer-1.01.jar
* Qualified Name: org.apache.commons.math... | true |
dfe81bcf7fd9ee2d2020d9c9ed8bf2ae74ac1aca | Java | yonashail/BookApp | /src/com/company/bookk.java | UTF-8 | 1,505 | 3.140625 | 3 | [] | no_license | package com.company;
public class bookk {
private String title;
private String author;
private String description;
private double price;
private boolean isInStock;
protected static int count = 0;
public bookk(){
title= "";
author="";
description="";
price=0;
}
@Override
public Str... | true |
ccec7815d28434d0cd9e76d9fb85b64208568448 | Java | alexfr8/and-weatherapp | /app/src/main/java/com/personal/weatherapp/weatherapp/UI/Adapter/ForecastListAdapter.java | UTF-8 | 3,024 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package com.personal.weatherapp.weatherapp.UI.Adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.... | true |
d60ddbc985837daa4cd77a6e7b6135eace8a22ce | Java | Aricelio/ProgressBible | /app/src/main/java/developer/celio/com/br/progressbible/ListaHistoricos.java | UTF-8 | 3,000 | 2.1875 | 2 | [] | no_license | package developer.celio.com.br.progressbible;
import android.app.ActionBar;
import android.app.Activity;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ArrayAdapter;
import android.widget.ExpandableListView;
impor... | true |
70c458d7414ee0142ebcf93b0891e84f5a1eb60c | Java | linhui123/jhhsProject | /app/src/main/java/com/jhhscm/platform/fragment/aftersale/SaveBusAction.java | UTF-8 | 774 | 2.03125 | 2 | [] | no_license | package com.jhhscm.platform.fragment.aftersale;
import android.content.Context;
import com.jhhscm.platform.http.AHttpService;
import com.jhhscm.platform.http.ApiService;
import com.jhhscm.platform.http.bean.BaseEntity;
import com.jhhscm.platform.http.bean.NetBean;
import retrofit2.Call;
public class SaveBusAction e... | true |
c9d749b577e95da1d12a6d269d9e6b3bdd8130da | Java | BurakAydemir-tr/Hrms_Project | /hrms/src/main/java/kodlamaio/hrms/entities/concretes/School.java | UTF-8 | 1,261 | 2.125 | 2 | [] | no_license | package kodlamaio.hrms.entities.concretes;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
im... | true |
73d5b07f219efd3a75e5ac188b0c9ae544dbfe2d | Java | thepembeweb/udasecurity-parent | /SecurityService/src/main/java/com/udacity/securityservice/application/ImagePanel.java | UTF-8 | 3,315 | 2.875 | 3 | [
"MIT"
] | permissive | package com.udacity.securityservice.application;
import com.udacity.securityservice.data.AlarmStatus;
import com.udacity.securityservice.service.SecurityService;
import com.udacity.image.service.StyleService;
import net.miginfocom.swing.MigLayout;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;... | true |
ef0f2b1a7bf69ef9d05c10e541ca890f15350964 | Java | vipinkumarr89/java_practise | /src/main/java/Collections/ArrayListDemo.java | UTF-8 | 1,145 | 3.578125 | 4 | [] | no_license | package Collections;
import java.util.ArrayList;
public class ArrayListDemo {
public static void main(String[] args) {
ArrayList<String> arrayList = new ArrayList<>( );
System.out.println("Enter into array list");
arrayList.add( "Vipin" );
arrayList.add( "Varun" );
arrayLi... | true |
e8c29c2f3a45c2db524859d5f7f477940a98b193 | Java | shaliniv10498/ExchangeProducts | /src/main/java/com/shalini/verma/manager/impl/ProductsManagerImpl.java | UTF-8 | 1,197 | 2.125 | 2 | [] | no_license | package com.shalini.verma.manager.impl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;
import com.shalini.... | true |
1f61706f290304802fb3a4c04fa95bb742aecd43 | Java | sapardo10/parcial-pruebas | /sources/de/danoeh/antennapod/receiver/SPAReceiver.java | UTF-8 | 2,731 | 2.15625 | 2 | [] | no_license | package de.danoeh.antennapod.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.util.Log;
import android.widget.Toast;
import de.danoeh.antennapod.core.ClientConfig;
import de.danoeh.antennapod.core.feed.Feed;... | true |
dfb7220d145bc391022159a2894c83ef157ecbb6 | Java | Itay2805/Perl6-Native-Compiler | /Perl6 Compiler/src/com/itay/perl6/compiler/subs/SubsLookupTable.java | UTF-8 | 1,007 | 2.8125 | 3 | [
"Apache-2.0"
] | permissive | package com.itay.perl6.compiler.subs;
import java.util.HashMap;
public class SubsLookupTable {
private static HashMap<Integer, HashMap<String, Subroutine>> table = new HashMap<>();
private static int block;
static {
table.put(0, new HashMap<>());
}
public static int pushBlock() {
block++;
table.put(b... | true |
76ecf7185ecbebc7f8bee5590a5782b305bda4e9 | Java | kingjakeu/Allkill-core | /src/main/java/com/kingjakeu/allkillcore/domain/propertry/dao/PropertyRepository.java | UTF-8 | 826 | 1.757813 | 2 | [] | no_license | package com.kingjakeu.allkillcore.domain.propertry.dao;
import com.kingjakeu.allkillcore.domain.course.domain.CourseLikeHistory;
import com.kingjakeu.allkillcore.domain.propertry.domain.Property;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* <b> </b>
*
* @author jakeyoo
* @version 0.1 : 최초작... | true |
8d1718355eab25b23c6b56ed483665416ebc29c8 | Java | Slavick-Vinnitskyi/WebPoject | /src/main/java/model/entity/Assignment.java | UTF-8 | 2,495 | 2.84375 | 3 | [] | no_license | package model.entity;
import java.time.LocalDate;
public class Assignment {
public enum Status {
assigned, applied
}
private int id;
private LocalDate date;
private Route route;
private Status status;
private User driver;
private Car bus;
public Assignment(LocalDate date,... | true |
6cd177d393c22ac1880c45fbed70f17f2a485fa9 | Java | zranko/XWS_BSEP | /XWS_BSEP/src/main/java/app/service/FakturaStavkeService.java | UTF-8 | 1,062 | 2.328125 | 2 | [] | no_license | package app.service;
import java.util.ArrayList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import app.model.FakturaStavke;
import app.repo.FakturaStavkeRepo;
@Service
public class FakturaStavkeService {
@Autowired
private FakturaSt... | true |
3ee6060464dca2b77f2bdae56f93df56a83d14af | Java | serviceshuios/-git-reference-java-lyon-worspace | /workspaceWebServiceSoap/UnMarshall/src/presentation/Lanceur.java | UTF-8 | 512 | 2.5 | 2 | [] | no_license | package presentation;
import java.io.File;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
import metier.Compte;
public class Lanceur {
public static void main(String[] args) throws Exception {
System.out.println("initialisation du Contexte JAXB");
JAXBContext context = JAXBContext.newI... | true |
f7b4eb77e44b9953725c60ed36bdc954489c2b1b | Java | cward-dev/dissent-capstone | /dissent/src/main/java/capstone/dissent/data/PostRepository.java | UTF-8 | 550 | 2.078125 | 2 | [] | no_license | package capstone.dissent.data;
import capstone.dissent.models.Post;
import java.time.LocalDateTime;
import java.util.List;
public interface PostRepository {
public List<Post> findAll();
public Post findById(String postId);
public List<Post> findByArticleId(String articleId);
public List<Post> fin... | true |
f39e2172c5ea1c724281f705b96c0aaa29e2ac7e | Java | codeaudit/variationanalysis | /framework/src/main/java/org/campagnelab/dl/framework/mappers/processing/TwoDimensionalRemoveMaskLabelMapper.java | UTF-8 | 6,863 | 2.546875 | 3 | [
"Apache-2.0"
] | permissive | package org.campagnelab.dl.framework.mappers.processing;
import org.campagnelab.dl.framework.mappers.LabelMapper;
import org.campagnelab.dl.framework.mappers.MappedDimensions;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.... | true |
209ce3ba13cbc9a70d7f7bc1cc9210a9286cb310 | Java | momos95/auctionar | /src/main/java/com/spideo/mamadou/auctionar/beans/ActivityResponse.java | UTF-8 | 771 | 2.453125 | 2 | [] | no_license | package com.spideo.mamadou.auctionar.beans;
import com.spideo.mamadou.auctionar.entities.SEntity;
/**
*
* @author Mamadou
*
* This bean is used in order to get sql request result from services to controller.
*
*/
public class ActivityResponse {
/**
* allows to know if we did encounter problem while execu... | true |
1ea69bb1351d90452c843f994fa4cd847b9124bf | Java | hhovsepy/hawkular-java-client | /src/main/java/org/hawkular/client/metrics/MetricsClientImpl.java | UTF-8 | 7,688 | 1.8125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.ap... | true |
b8a151b93fa4a3a2f30b4889d516ad2e197f9ce0 | Java | cmFodWx5YWRhdjEyMTA5/MyApplication3-finalone | /app/src/main/java/com/example/myapplication/MainActivity.java | UTF-8 | 1,936 | 2.078125 | 2 | [] | no_license | package com.example.myapplication;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import android.view.View;
import android.widget.TextView;
... | true |
6672f4480e4da8145bcee7dcaf298a640788a802 | Java | RobESCOM/SPEE | /src/main/java/mx/ipn/escom/spee/consulta/mapeo/Consulta.java | UTF-8 | 743 | 1.804688 | 2 | [] | no_license | package mx.ipn.escom.spee.consulta.mapeo;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import mx.ipn.escom.spee.util.mapeo.Modelo;
//@Entity
//@Ta... | true |
a66fee2fcdddc05a4738656ac6c4aa7a0520ff29 | Java | CLethe/cloudDemoDetail | /product-service/src/main/java/com/example/productservice/ProductEndpoint.java | UTF-8 | 1,966 | 2.59375 | 3 | [] | no_license | package com.example.productservice;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.anno... | true |
bbd9a93a3d5b0e1708cb8fa38d1e332e2e0dcd38 | Java | mperalta98/mperaltaUF2 | /app/src/main/java/com/example/crisp/mperaltauf2/WelcomeActivity.java | UTF-8 | 1,942 | 2.046875 | 2 | [] | no_license | package com.example.crisp.mperaltauf2;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
impo... | true |
6fb226359c8dbd9fce35abf34ccc484f00d7eaa9 | Java | lamarios/sparknotation | /src/test/java/com/ftpix/sparknnotation/testapp/TestController.java | UTF-8 | 1,228 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package com.ftpix.sparknnotation.testapp;
import com.ftpix.sparknnotation.annotations.*;
import spark.Request;
import spark.Response;
@SparkController(name = "test")
public class TestController {
@SparkGet(value = "/hello/:value")
public String helloWorld(@SparkParam(value = "value") String name) {
... | true |
0c85ee5ec32c89901eb485eae19704e35d972672 | Java | cai-peiyuan/arcgis-runtime-samples-android | /java/forestry-arcgis-app/src/main/java/com/bohaigaoke/forestry/model/OrganizationResource.java | UTF-8 | 784 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.bohaigaoke.forestry.model;
import java.io.Serializable;
public class OrganizationResource implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int id;
private String name;
private int organizationid;
private String tablename;
public int getId() {
retu... | true |
93e47d6cb82b99e2465c5ea32b3bd2143a89b2ef | Java | rashed21/etickit | /src/java/ticket/com/cinema/pojo/ShowOnCinemaAndSeats.java | UTF-8 | 2,614 | 2.3125 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ticket.com.cinema.pojo;
/**
*
* @author Emrul
*/
public class ShowOnCinemaAndSeats {
private int showIdOnCine... | true |
97af9490ce1e01457001ff8ea921d4f8041e2958 | Java | saketp18/docapp | /ChatApp/app/src/main/java/com/lite/chatapp/models/Message.java | UTF-8 | 977 | 2.203125 | 2 | [] | no_license | package com.lite.chatapp.models;
import com.google.gson.annotations.SerializedName;
public class Message {
@SerializedName("success")
private String success;
@SerializedName("errorMessage")
private String errorMessage;
@SerializedName("message")
private MessageBot message;
public Message... | true |
865fd1ff4cba6f64da2a316a851a599f47145be7 | Java | adanli/egg-rpc | /src/main/java/org/egg/integration/erpc/serialize/packet/consumer/ConsumerRequestQueue.java | UTF-8 | 2,788 | 2.328125 | 2 | [] | no_license | package org.egg.integration.erpc.serialize.packet.consumer;
import org.egg.integration.erpc.annotation.Service;
import org.egg.integration.erpc.component.proxy.RemoteCallProxyFactory;
import org.egg.integration.erpc.constant.RequestQueue;
import org.egg.integration.erpc.serialize.packet.Packet;
import org.egg.integrat... | true |
3122aba6d386ab969a33c324196e6b7493b67acc | Java | lishiliang-new/elastic-job-proj | /elastic-job-core-proj/elastic-job-core/src/main/java/com/lishiliang/loadbalance/RandomLoadBalance.java | UTF-8 | 1,898 | 2.78125 | 3 | [] | no_license | package com.lishiliang.loadbalance;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
/**
* @author lisl
* @version 1.0
* @desc : 带权重的随机策略
*/
public class RandomLoadBalance extends AbstractClientLoadBalance {
/**
*
* @param jobName
* @param serversWeightMap 服务权重列表
* @p... | true |
6835d0f99d70682e8dad8e23166e1225ea301066 | Java | zhaoyuasd/ContextBean | /src/com/context/test/bean/TBean.java | UTF-8 | 219 | 2 | 2 | [] | no_license | package com.context.test.bean;
public class TBean {
private String showStr;
public String getShowStr() {
return showStr;
}
public void setShowStr(String showStr) {
this.showStr = showStr;
}
}
| true |
3eebd993d5729fcddbe2b4a2b8d076ec6fe2b82d | Java | fkocak2505/androidLabProjects | /Dagger2Dev/app/src/main/java/com/example/dagger2dev/injector/AppComponent.java | UTF-8 | 280 | 1.742188 | 2 | [] | no_license | package com.example.dagger2dev.injector;
import com.example.dagger2dev.views.MainActivity;
import javax.inject.Singleton;
import dagger.Component;
@Singleton @Component(modules = AppModule.class)
public interface AppComponent {
void inject(MainActivity mainActivity);
}
| true |
660dc4f6ba58da068960f90db4c4201cee77947c | Java | Cheshir4/SBD | /WebTom2/src/java/MyClass/User.java | UTF-8 | 1,875 | 2.625 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package MyClass;
import java.util.Date;
/**
*
* @author Feda
*/
public class User {
String NickName;
String F... | true |
ec652d0da77a26918c7b2f3cf3eeefffe19fd8db | Java | tanisha-garg/OnlineVegetableShopping | /src/main/java/com/cg/vegetable/mgmt/exceptions/InvalidTransactionModeException.java | UTF-8 | 190 | 1.898438 | 2 | [] | no_license | package com.cg.vegetable.mgmt.exceptions;
public class InvalidTransactionModeException extends RuntimeException{
public InvalidTransactionModeException(String msg) {
super(msg);
}
}
| true |
718429d4cb0db467882946dd28c56f8ccf4d1c0c | Java | abhilash42-zz/CN_Lab | /classes.dex_source_from_JADX/io/fabric/sdk/android/services/p020b/C1470b.java | UTF-8 | 1,135 | 1.75 | 2 | [] | no_license | package io.fabric.sdk.android.services.p020b;
/* compiled from: AdvertisingInfo */
class C1470b {
public final String f3689a;
public final boolean f3690b;
C1470b(String str, boolean z) {
this.f3689a = str;
this.f3690b = z;
}
public boolean equals(Object obj) {
if (this == ... | true |
ce3bb5a1efdacf4c7f365f4497f7df20295ae76f | Java | baohuy91/sonartypetalknotifier | /src/main/java/jp/co/atware/sonar/typetalknotifier/TypetalkPostProjectAnalysisTask.java | UTF-8 | 6,347 | 1.859375 | 2 | [] | no_license | package jp.co.atware.sonar.typetalknotifier;
import org.sonar.api.ce.posttask.PostProjectAnalysisTask;
import org.sonar.api.ce.posttask.QualityGate;
import org.sonar.api.ce.posttask.QualityGate.Condition;
import org.sonar.api.config.Configuration;
import org.sonar.api.measures.CoreMetrics;
import org.sonar.api.measure... | true |
965bcfed76fa866d1e6089f50d9f9b3c44355e69 | Java | sunmaio159/goods | /src/com/goods/controller/OrderController.java | GB18030 | 5,907 | 2.09375 | 2 | [] | no_license | package com.goods.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import or... | true |
72afb2be2fef981d24cbce794451bcd6ba529851 | Java | pangamdipti/CRUD-operations-with-SpringBoot | /src/main/java/com/springboot/task/Subject.java | UTF-8 | 1,048 | 2.375 | 2 | [] | no_license | package com.springboot.task;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import com.fasterxml.jackson.annotation.JsonIgnore;
@Entity
@Table(name="subjects")
public class Subject extends AuditMode... | true |
bb5b5052ec1f9e5da073fc779c1cb87526f22ed9 | Java | MisterDeamon/btpj | /src/main/java/com/jack/security/webapp/SecurityUserController.java | UTF-8 | 10,317 | 1.953125 | 2 | [] | no_license | package com.jack.security.webapp;
import com.jack.security.pojo.SecurityRole;
import com.jack.security.pojo.SecurityUser;
import com.jack.security.service.SecurityUserRoleService;
import com.jack.security.service.SecurityUserService;
import com.jack.security.shiro.ShiroDbRealm;
import com.jack.security.webapp.asyncDem... | true |
e71c6d6063236f8971b94e284c2671c9a76c1762 | Java | codefaster/java | /pr/src/pr1/a07/NameComparator.java | UTF-8 | 367 | 2.4375 | 2 | [] | no_license | package pr1.a07;
import java.util.Comparator;
import lernhilfe2012ws.objectPlay.*;
public class NameComparator implements Comparator<Person> {
public int compare(Person persObj1, Person persObj2) {
String name1 = new String (persObj1.getNachname());
String name2 = new String (persObj2.getNachname());
... | true |
18778d79ef978b68119e942b8596e9f278679176 | Java | desislava-hristova-ontotext/rdf4j | /core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/graphpattern/GraphPatternNotTriples.java | UTF-8 | 2,447 | 2.71875 | 3 | [
"BSD-3-Clause",
"MIT",
"CPL-1.0",
"JSON",
"Apache-2.0",
"EPL-1.0",
"MPL-1.1",
"Apache-1.1",
"LicenseRef-scancode-generic-export-compliance"
] | permissive | package org.eclipse.rdf4j.sparqlbuilder.graphpattern;
import org.eclipse.rdf4j.sparqlbuilder.constraint.Expression;
public class GraphPatternNotTriples implements GraphPattern {
GraphPattern gp;
GraphPatternNotTriples() {
this(new GroupGraphPattern());
}
GraphPatternNotTriples(GraphPattern from) {
this.gp =... | true |
563ee31c78d8714e011039c32c6c8ff0b8f2f750 | Java | sulfasTor/Duck-Hunt-Game | /CursorPanel.java | UTF-8 | 2,508 | 2.625 | 3 | [] | no_license | import javax.swing.*;
import javax.imageio.*;
import java.io.*;
import java.awt.image.BufferedImage;
import java.awt.*;
import java.util.LinkedList;
import javax.sound.sampled.*;
import sun.audio.*;
public class CursorPanel{
private int x, y;
private int gunNum = 0;
private int imgWidth = 500;
... | true |
3f7d40f84b2a18e1724693f5f9c58250bdb6ae8d | Java | DanielLoaiza/SimpleRedditReader | /app/src/main/java/com/dafelo/co/redditreader/subreddits/domain/SubReddit.java | UTF-8 | 5,592 | 2.09375 | 2 | [] | no_license | package com.dafelo.co.redditreader.subreddits.domain;
import com.dafelo.co.redditreader.main.domain.RedditObject;
import org.parceler.Parcel;
import java.util.List;
/**
* Created by root on 7/01/17.
*/
@Parcel
public class SubReddit implements RedditObject {
String bannerImg;
String submitTextHtml;
... | true |
54ceb8e2bbc2a37fa4a7a7a164322e99fef50826 | Java | 1322739583/OmniList | /app/src/main/java/me/shouheng/omnilist/adapter/picker/ModelsPickerAdapter.java | UTF-8 | 1,964 | 2.15625 | 2 | [] | no_license | package me.shouheng.omnilist.adapter.picker;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import java.util.List;
import me.shouheng.omn... | true |
195517011c4168f64270cb060b61d778ea32616f | Java | ezelau95/TP2_ComplejidadComputacional | /src/polinomios/BinomioDeNewton.java | UTF-8 | 3,129 | 3.984375 | 4 | [] | no_license | package polinomios;
/*Falta revisar otras formas de obtener los coeficientes del desarrollo completo del binomio.
* Técnicas con y sin memorización*/
public class BinomioDeNewton {
// considerando la fórmula (ax+b)^n
private int a;
private int b;
private int n;
/**
* Constructor con parametros
*
* @para... | true |
0f0b3649c195c406537b0e4a99f79d60c28320d4 | Java | phblr77/MyShop | /src/main/java/ru/geekbrains/shop/controllers/RestProductController.java | UTF-8 | 1,745 | 2.5 | 2 | [] | no_license | package ru.geekbrains.shop.controllers;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import ru.geekbrains.shop.model.Product;
import ru.geekbrains.shop.services.ProductService;
impor... | true |
e7032114db3279267b6365090dc6a44e625b8b80 | Java | MadMockers/mc-devs | /net/minecraft/server/BlockWorkbench.java | UTF-8 | 847 | 2.171875 | 2 | [] | no_license | package net.minecraft.server;
public class BlockWorkbench extends Block
{
protected BlockWorkbench(int paramInt)
{
super(paramInt, Material.WOOD);
this.textureId = 59;
a(CreativeModeTab.c);
}
public int a(int paramInt)
{
if (paramInt == 1) return this.textureId - 16;
if (paramInt == 0) return Block.WOO... | true |
155447b0c4a24674663a584c527e1b30935ae65f | Java | Carla93/JavaPracticeHacktoberfest | /src/com/hacktoberfest/DiasDiferencia.java | ISO-8859-1 | 1,045 | 3.609375 | 4 | [] | no_license | package com.hacktoberfest;
import java.util.Scanner;
public class DiasDiferencia {
// Este programa calcula cuntos das de diferencia hay entre dos fechas
public static void main(String[] args) {
int d1, d2, m1, m2, a1, a2;
int dif;
Scanner sc = new Scanner(System.in);
System.out.println("PRIMERA FECHA... | true |
f49cd0c7a8ea8c04ff3f20730641a25c16516236 | Java | SeungJuAhn0317/object-oriented_programming_1 | /src/Project/Study_newstudy_modal.java | UTF-8 | 4,327 | 2.640625 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Project;
import java.awt.Font;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener... | true |
c6f5f7292ee4c72193c9d8dbf7197dbfb149492e | Java | victorSenia/list-war | /src/main/java/com/leo/test/list/war/config/SecurityConfig.java | UTF-8 | 2,782 | 2.015625 | 2 | [] | no_license | package com.leo.test.list.war.config;
import com.leo.test.list.war.model.Role;
import com.leo.test.list.war.service.UserDetailsServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
imp... | true |
46be77212e52d8b1e6b9d8ded05a22730188f72a | Java | fengykeji/YQDandriod- | /app/src/main/java/com/ccsoft/yunqudao/bean/CityBean.java | UTF-8 | 1,477 | 2.390625 | 2 | [] | no_license | package com.ccsoft.yunqudao.bean;
import java.util.List;
public class CityBean {
/**
* code : 200
* msg : 查询成功
* data : [{"city_name":"绵阳","city_code":"510700"}]
*/
private int code;
private String msg;
private List<DataBean> data;
public int getCode() {
return code;... | true |
452e8c2992319151098e53c13a7ac980542101a6 | Java | Darrenwdq/syGeneralFramework | /syGeneralFramework/src/main/java/com/sy/web/userInfo/dao/impl/UserDaoImpl.java | UTF-8 | 1,529 | 2.125 | 2 | [] | no_license | package com.sy.web.userInfo.dao.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import com.sy.commons.persistence.dao.BaseDao;
import com.sy.commons.persistence.dao.impl.EntityDaoSupport;
import c... | true |
d4b43d1bff2b04090f780759dbb2633661861a32 | Java | muhammadaliyya19/3rd_Semester_Data-Structure-and-Algorithm | /src/Queue/Queue.java | UTF-8 | 1,160 | 3.515625 | 4 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Queue;
/**
*
* @author asus
*/
public class Queue {
public NodeQueue front = null; //inisialisasi awal null
private... | true |
13b66a3edda47e72cb9352a028cd551a4762fc9d | Java | jorge-luque/hb | /sources/p163cz/msebera/android/httpclient/impl/cookie/C5841d0.java | UTF-8 | 4,116 | 2.109375 | 2 | [] | no_license | package p163cz.msebera.android.httpclient.impl.cookie;
import java.util.Locale;
import p163cz.msebera.android.httpclient.cookie.C5677a;
import p163cz.msebera.android.httpclient.cookie.C5678b;
import p163cz.msebera.android.httpclient.cookie.C5679c;
import p163cz.msebera.android.httpclient.cookie.C5682f;
import p163cz.m... | true |
7d041aeb924bcb1d49009a14cafc61eea78d5ae8 | Java | LuisAntonioDeMelo/apliFinac | /projeto-spring-angular-gestao-financeira/gestao-financeira-server/src/main/java/com/tst/gestao/financeira/repository/TributacaoRepository.java | UTF-8 | 243 | 1.640625 | 2 | [] | no_license | package com.tst.gestao.financeira.repository;
import com.tst.gestao.financeira.modelo.Tributacao;
import org.springframework.data.jpa.repository.JpaRepository;
public interface TributacaoRepository extends JpaRepository<Tributacao,Long> {
}
| true |
adcabcb1e43c64d3d13ad47ff687f61622b79729 | Java | HanJaeWon621/starfield-admin | /src/test/java/kr/co/starfield/rest/controller/AKWD002RestControllerTest.java | UTF-8 | 6,272 | 1.914063 | 2 | [] | no_license | package kr.co.starfield.rest.controller;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
import static org.springframework.test.web.servlet... | true |
14586167685551317ba66d236afe5cdcf10c678b | Java | SSAwk/Object-Oriented-Programming-in-Java | /Project 3/BoxList.java | UTF-8 | 989 | 3.484375 | 3 | [] | no_license |
public abstract class BoxList {
protected BoxNode first;
protected BoxNode last;
protected int length;
public BoxList() {
first = null;
last = null;
length = 0;
} // Constructor
public Box get(int x) { //Gets object from list
if (x < 0 || x >= length) {
return null;
}
if (x == le... | true |
b190ecf891ad64842e837f974832d418de08b180 | Java | liust15/test-Clothes-Mall | /src/main/java/com/liust/utils/EmptyUtils.java | UTF-8 | 281 | 2.0625 | 2 | [] | no_license | package com.liust.utils;
/**
* @program: Clothes
* @description:
* @author: liust
* @create: 2018-05-31 18:01
**/
public class EmptyUtils {
public static boolean isEmpty(String s){
if (null==s||"".equals(s))
return true;
return false;
}
}
| true |
3b34addb03e3d6aa679a4f736359e1ea55133325 | Java | bristle-com/javalib | /src/com/bristle/javalib/net/http/ServletDebugger.java | UTF-8 | 6,655 | 2.515625 | 3 | [] | no_license | // Copyright (C) 2005-2012 Bristle Software, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 1, or (at your option)
// any later version.
//
// This program is... | true |
e2d038c59ce9c62270e1297e8b89b7b10537d1af | Java | patrickka09/homework16 | /Person.java | UTF-8 | 183 | 1.921875 | 2 | [] | no_license | package edu.dmacc.codedsm.hw16;
public class Person implements TaskAssigner {
@Override
public void assignTasker() {
System.out.println(" task from Person");
}
}
| true |
67f38277fd201582afcd2b2b3097e395ba246b07 | Java | JavaBasti0711er/TestMySkills | /TestMySkills/src/de/testmyskills/utils/ScoreboardAPI.java | UTF-8 | 9,492 | 2.078125 | 2 | [] | no_license | package de.testmyskills.utils;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEv... | true |
7527aa607e2d5147efeeaff8b2c503365140ba88 | Java | Affirm/affirm-merchant-sdk-android | /affirm/src/main/java/com/affirm/android/model/CardDetails.java | UTF-8 | 1,798 | 2.1875 | 2 | [
"BSD-3-Clause"
] | permissive | package com.affirm.android.model;
import android.os.Parcelable;
import androidx.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.SerializedName;
@AutoValue
public abstract class CardDetails implements Par... | true |
fb9005fbfdfe81b4c550360744ca60206662114b | Java | olgaalex/ipharm | /src/main/java/biol/ipharm/form/ShippingMethodForm.java | UTF-8 | 505 | 2.328125 | 2 | [] | no_license | package biol.ipharm.form;
import biol.ipharm.entity.enums.ShippingMethod;
import javax.validation.constraints.NotNull;
/**
*
* @author Olga
*/
public class ShippingMethodForm {
@NotNull(message = "Выберите метод доставки")
private ShippingMethod shippingMethod;
public ShippingMethod getShippingMethod... | true |
917419a7530b34cf6677855aa9dc4273517fcd8d | Java | ht16519/springboot-aop-ip-limit | /src/main/java/com/xh/aop/config/BeanConfig.java | UTF-8 | 556 | 1.890625 | 2 | [
"MIT"
] | permissive | package com.xh.aop.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
/**
* @Name BeanConfig
* @Description
* @Author wen... | true |
e14f583abdda14c980e14739a44553c3e82af17f | Java | soerenmetje/HMM | /src/main/hmm/profil/viterbi/parallel/ThreadViterbi.java | UTF-8 | 4,138 | 2.875 | 3 | [] | no_license | package main.hmm.profil.viterbi.parallel;
import main.fastaparser.Sequence;
import main.hmm.profil.ProfilHMM;
import main.hmm.profil.viterbi.Viterbi;
import main.hmm.profil.viterbi.ViterbiPath;
import main.logger.Log;
import java.util.Queue;
/**
* Thread {@link Thread}, der Sequnzen {@link Sequence} aus uebergebene... | true |
3e956b6063d9e9d5f34550ad274790fda8e6650c | Java | FedosovMax/knight-todo | /todocore/src/main/java/com/knighttodo/todocore/exception/DayNotFoundException.java | UTF-8 | 188 | 1.992188 | 2 | [] | no_license | package com.knighttodo.todocore.exception;
public class DayNotFoundException extends RuntimeException {
public DayNotFoundException(String message) {
super(message);
}
}
| true |
c691230d6362b6b0542636a68022892a23fd58ea | Java | riyadmuhammad/employee-salary | /employee-salary/src/main/java/com/brainstation/employeesalary/employee/repository/BasicSalaryLowestRangeRepository.java | UTF-8 | 317 | 1.695313 | 2 | [] | no_license | package com.brainstation.employeesalary.employee.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.brainstation.employeesalary.employee.model.entity.BasicSalaryLowestRange;
public interface BasicSalaryLowestRangeRepository extends JpaRepository<BasicSalaryLowestRange, Long>{
}
| true |
26919b1f9fb1c1e6aa58897b8231afdb3d29760b | Java | Mr-Anonim-377/Tim-scientific-portal_Back | /src/main/java/com/tim/scientific/portal/back/utils/ObjectUtils.java | UTF-8 | 4,321 | 2.53125 | 3 | [
"MIT"
] | permissive | package com.tim.scientific.portal.back.utils;
import com.tim.scientific.portal.back.controllers.common.handlers.exception.ApiException;
import com.tim.scientific.portal.back.controllers.common.handlers.exception.NoSuchObjects;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.fun... | true |
3d81bbf6501e6a03bcd15bd33e35df59f506fcd2 | Java | gani0004/New | /Testing/src/com/writeDatatoExcel/WriteDtaToExcelWorkbook.java | UTF-8 | 847 | 2.546875 | 3 | [] | no_license | package com.writeDatatoExcel;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.u... | true |
8cc3a8a76081cce9843191e3f23c80c828b488aa | Java | PhotonBursted/TheLighterBot | /src/main/java/st/photonbur/Discord/Bot/lightbotv3/command/SetCategoryCommand.java | UTF-8 | 4,478 | 2.640625 | 3 | [] | no_license | package st.photonbur.Discord.Bot.lightbotv3.command;
import net.dv8tion.jda.core.Permission;
import net.dv8tion.jda.core.entities.Category;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import st.photonbur.Discord.Bot.lightbotv3.command.alias.CommandAliasCollectionBuilder;
import st.photonbur.Discord.Bot.li... | true |
44dd14ec380c7126ae1f2a015260ce603206f875 | Java | jokanovicc/SpringMVCProjekat | /Knjizara/src/main/java/com/ftn/Knjizara/dao/impl/ListaZeljaDAOImpl.java | UTF-8 | 2,923 | 2.3125 | 2 | [] | no_license | package com.ftn.Knjizara.dao.impl;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Rep... | true |
e2ff00442183e208e20c153fb42c95c9ee65fce1 | Java | kaoz36/RespaldoUniat | /AndroidStudioProjects/Ejemplos/TaxyMobile/android/proyect/TaxyMobile/src/com/jaguarlabs/taxymobile/Location.java | WINDOWS-1250 | 15,999 | 1.726563 | 2 | [] | no_license | ///** *************************************************************************
// *
// * Copyright (c) 2013 by Jaguar Labs.
// * Confidential and Proprietary
// * All Rights Reserved
// *
// * This software is furnished under license and may be used and copied
// * only in accordance with the terms of its l... | true |
79e7981e2597c6aac568258e44a5038e036bde4e | Java | rathoddilip/BooksWagonAndroidMobileAppUsingAppium | /src/main/java/com/appium/utility/ScreenshotTestImage.java | UTF-8 | 1,392 | 2.3125 | 2 | [] | no_license | package com.appium.utility;
import com.appium.base.BaseClass;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class Screensh... | true |
2c9f45994fa553ad995eee97dfd3ccf649f29e59 | Java | eurasia-insurance/oldies-kz-lib | /eelib/src/main/java/tech/lapsa/kz/taxpayer/validators/ValidTaxpayerNumberConstraintValidator.java | UTF-8 | 1,058 | 2.453125 | 2 | [] | no_license | package tech.lapsa.kz.taxpayer.validators;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import javax.validation.ValidationException;
import tech.lapsa.java.commons.function.MyObjects;
import tech.lapsa.kz.taxpayer.TaxpayerNumber;
public class ValidTaxpayerNumberCon... | true |
617f52bffb7f396747bffe07d91ec7a5b17367ea | Java | JavaFan1996/Java2 | /Bank/src/banking/Bank.java | UTF-8 | 1,259 | 3.234375 | 3 | [] | no_license | package banking;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* ���������
*
* @author Think Pad
*/
public class Bank {
private List<Customer> customers;
private Bank() {
customers = new ArrayList<>();
}
private static Bank instance = new Bank();
... | true |
f91d45e70685f40d7bb791bc53f620cd1c0070ee | Java | anderfernandes/ProgrammingForTeens2017 | /src/LeapYear/LeapYear.java | UTF-8 | 599 | 3.359375 | 3 | [] | no_license | package LeapYear;
import javax.swing.*;
/**
* Created by instructor on 7/12/2017.
*/
public class LeapYear {
public static void main(String args[]){
String input = JOptionPane.showInputDialog(null,
"Enter a year:");
int year = Integer.parseInt(input);
if ((year % 4 == 0... | true |
230730a09bc46e19219ed9042690f268a3db3e44 | Java | stachu540/HiRezAPI | /realm/src/main/java/hirez/realm/object/Talent.java | UTF-8 | 624 | 1.804688 | 2 | [
"MIT"
] | permissive | package hirez.realm.object;
import com.fasterxml.jackson.annotation.JsonProperty;
import hirez.api.object.interfaces.ReturnedMessage;
import lombok.Data;
/**
* @deprecated This endpoint is not exist
*/
@Data
@Deprecated
public class Talent implements ReturnedMessage {
private final String categoryName;
@Jso... | true |
e4896af1fb10ebc8465d7e2c1967a8a04b0b00b3 | Java | MichaelAntropov/medical-education | /src/main/java/me/hizencode/mededu/course/content/user/test/CourseUserTestEntity.java | UTF-8 | 1,729 | 2.1875 | 2 | [
"MIT"
] | permissive | package me.hizencode.mededu.course.content.user.test;
import javax.persistence.*;
@Entity
@IdClass(CourseUserTestId.class)
@Table(name = "course_user_test")
public class CourseUserTestEntity {
@Id
@Column(name = "user_id")
private int userId;
@Id
@Column(name = "test_id")
private int testId;... | true |
8ab5031e80315c449ffa631a935c25d32afd9bf8 | Java | MaxTran03/SRCS | /src/TME6/Server.java | UTF-8 | 1,205 | 2.234375 | 2 | [] | no_license | package TME6;
import java.util.Properties;
import org.omg.CORBA.ORB;
import org.omg.CosNaming.NameComponent;
import org.omg.CosNaming.NamingContext;
import org.omg.CosNaming.NamingContextHelper;
import org.omg.PortableServer.POA;
import org.omg.PortableServer.POAHelper;
import TME6.cache.FileSystemPOA;
public clas... | true |
90b800cc9548c5c9024607f484d00516ddbad9f8 | Java | ophielia/bank | /src/main/java/meg/bank/bus/repo/QuickGroupDetailRepository.java | UTF-8 | 748 | 1.953125 | 2 | [] | no_license | package meg.bank.bus.repo;
import java.util.List;
import meg.bank.bus.dao.QuickGroup;
import meg.bank.bus.dao.QuickGroupDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
... | true |
3c9eca5e757c12e641d7f04e6bdb9cdabab029ab | Java | thedrycake/Legacy | /TempInCity/src/com/thedrycake/tempincity/persistence/DatabaseHelper.java | UTF-8 | 4,139 | 2.15625 | 2 | [] | no_license | /*
* Copyright (C) 2013 The Drycake Project
*
* 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... | true |
ce723d665ef0be3a91e267e13821d4bb8c998532 | Java | GregGreenfield/Register | /Register/src/register/StudentDisplay.java | UTF-8 | 9,757 | 2.390625 | 2 | [] | no_license | package register;
import java.util.List;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import register.Program.State;
import javax.swing.SpringLayout;
import javax.swing.JList;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JFileChoose... | true |
b79786bfe71bcc9b5c39382d2a2bcbdce6ae55e8 | Java | nandantumu/tomighty | /tomighty-swing/src/main/java/org/tomighty/plugin/impl/DefaultPluginLoader.java | UTF-8 | 3,956 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2010-2012 Célio Cidral Junior, Dominik Obermaier.
*
* 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/LICE... | true |
cda561d30a100f1365c66f539f6cc379913c3d86 | Java | yyj1204/junchenlun | /emperor/src/main/java/com/wktx/www/emperor/ui/view/staff/IStaffRenewalView.java | UTF-8 | 451 | 1.804688 | 2 | [] | no_license | package com.wktx.www.emperor.ui.view.staff;
import com.wktx.www.emperor.apiresult.recruit.hire.HireInfoData;
import com.wktx.www.emperor.ui.view.IView;
/**
* Created by yyj on 2018/1/26.
* 管理我的员工---续签界面
*/
public interface IStaffRenewalView extends IView<HireInfoData> {
/**
* 获取续签时间
*/
String ... | true |
1cb6811b85d151e974813be427fbbe870771e074 | Java | SlaynAndKorpil/Chess | /framework/src/framework/javaInterfacing/Reactions/ShowPromotionReaction.java | UTF-8 | 452 | 2.359375 | 2 | [
"MIT"
] | permissive | package framework.javaInterfacing.Reactions;
import framework.IOEvents.IOEvent;
import framework.IOEvents.ShowPromotion;
import java.util.function.Consumer;
public class ShowPromotionReaction extends JReaction<ShowPromotion> {
public boolean isDefinedAt(IOEvent event) {
return event.getClass() == ShowPro... | true |