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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
963b3bd9a89ce1f16e61d6c1728bbbc921232d74 | Java | Ramakrishna-12/Ramakrishnareddydesignprinciples | /epam.calculator/src/main/java/com/project/epam/calculator/Addition.java | UTF-8 | 149 | 2.40625 | 2 | [] | no_license | package com.project.epam.calculator;
public class Addition
{
public static double cal(double first,double second)
{
return first+second;
}
}
| true |
74e136f44e7b6c10e8d06304a810b93528f357bf | Java | elpequeno/jagott.android | /app/src/main/java/de/huerse/jagott/alarm/AlarmReceiver.java | UTF-8 | 2,087 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package de.huerse.jagott.alarm;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.BitmapFactor... | true |
214d76d404f4587d46be440add63cc61f9bb769f | Java | sehyun94/bitcamp | /java-web/src/main/java/step3/Servlet01.java | UTF-8 | 585 | 2.296875 | 2 | [] | no_license | package step3;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@SuppressWarnings("serial")
@WebServlet("/step3/... | true |
06059f4649810bd857e557a61577451cfd40b178 | Java | 5mm/balsize | /Source/DontTouchMe/DontTouchMe/app/src/main/java/com/devroo/donttouchme/Fragment/FragmentCalendar.java | UTF-8 | 5,320 | 2.125 | 2 | [] | no_license | package com.devroo.donttouchme.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Vi... | true |
1e6e6e176ab05a50fea77f24e97c66db80988d56 | Java | matbos/BiologicallyInspiredArtificalIntelligence | /src/pl/polsl/bos/ui/Progressable.java | UTF-8 | 220 | 1.820313 | 2 | [] | no_license | package pl.polsl.bos.ui;
/**
* Created with IntelliJ IDEA.
* User: Mateusz Boś
* Date: 31.05.13
* Time: 18:37
*/
public interface Progressable {
public void giveFeedback(int iteration, double error);
}
| true |
996b76311d03ab71c2b7064d8656adc9caad10e2 | Java | liufengyuqing/imooc-flink-train | /src/main/java/com/imooc/flink/course04/JavaDataSetDataSourceApp.java | UTF-8 | 1,902 | 2.921875 | 3 | [] | no_license | package com.imooc.flink.course04;
import org.apache.flink.api.java.DataSet;
import org.apache.flink.api.java.ExecutionEnvironment;
import org.apache.flink.configuration.Configuration;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName: JavaDataSetDataSourceApp
* @Description: TODO
* @Create by: l... | true |
f110d56267edc1d3ff73199cb83e6bb41abceafa | Java | subash-bhandari/netpalese | /src/main/java/com/netpalese/controller/model/PostDetail.java | UTF-8 | 593 | 2.125 | 2 | [] | no_license | package com.netpalese.controller.model;
import java.util.List;
public class PostDetail {
private String title;
private String content;
private List<String> categories;
public PostDetail() { }
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public... | true |
ea68ee078fa83edd8b079c5fd4ed01bad98d5345 | Java | tumbichi/baradero-adopta | /app/src/main/java/com/pity/baradopta/ui/informacion_perro/InformacionPerroPresenter.java | UTF-8 | 3,851 | 1.90625 | 2 | [] | no_license | package com.pity.baradopta.ui.informacion_perro;
import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import com.pity.baradopta.ui.base.BasePresenter;
import com.pity.baradopta.data.modelos.Perro;
import com.pity.baradopta.data.modelos.Usuario;
import com.pity.baradopta.data.reposit... | true |
6904be043eb0a780823ae3efa6baf42fe1364da8 | Java | ayalfishey/TimedMessages | /app/src/main/java/com/ayalfishey/timedmessages/classes/MessageAdapter.java | UTF-8 | 808 | 2.078125 | 2 | [] | no_license | package com.ayalfishey.timedmessages.classes;
import android.view.View;
import android.view.ViewGroup;
import android.view.textclassifier.ConversationActions;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
public class MessageAdapter extends RecyclerView.Adapter<MessageAdapter.... | true |
1e867977f7b1aaa856fa09827fa5149251161369 | Java | ARealDuck/ElectronMS-Ducks-Azure-Resto-Project | /ElectronMS/src/tools/Triple.java | UTF-8 | 1,736 | 3.234375 | 3 | [] | no_license | package tools;
public class Triple<E, F, G> {
public E first;
public F second;
public G third;
public Triple(E first, F second, G third) {
this.first = first;
this.second = second;
this.third = third;
}
public E getFirst() {
return first;
}
public F g... | true |
e5604d0b7625f4265927f904162b21c415ef0d6f | Java | saksham1210/CSE-201-Adavanced-Programming | /LAB-3/src/main.java | UTF-8 | 1,485 | 3.3125 | 3 | [] | no_license | import java.util.*;
public class main
{
public static int ch=0;
public static RunGame run1;
public static void start(RunGame run1)
{
System.out.println("Welcome to Archlegends");
System.out.println("1) New User");
System.out.println("2) Existing User");
System.out.printl... | true |
f2cbc63bbec981460163d8383182d1b4d5e7babb | Java | hxd66/leyou | /leyou/ly-item/ly-item-service/src/main/java/com/leyou/item/controller/SpecParamController.java | UTF-8 | 2,100 | 2.0625 | 2 | [] | no_license | package com.leyou.item.controller;
import com.leyou.item.dto.SpecParamDTO;
import com.leyou.item.service.SpecGroupService;
import com.leyou.item.service.SpecParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.s... | true |
b2a2be0ea02763e6b8ec72f62a416321c1252ae3 | Java | yuechenfu/home | /src/main/java/com/hiveel/autossav/model/entity/InvoiceExamQuote.java | UTF-8 | 2,589 | 2.265625 | 2 | [] | no_license | package com.hiveel.autossav.model.entity;
import com.hiveel.core.model.builder.AbstractBuilder;
import com.hiveel.core.nullhandler.NotNullObject;
import com.hiveel.core.nullhandler.NullObject;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.ZoneId;
public class InvoiceExamQuote implemen... | true |
649f109f759545c606624c2c0de9b4f4898072ad | Java | andreisavu/jclouds | /apis/cloudwatch/src/test/java/org/jclouds/cloudwatch/CloudWatchLiveTest.java | UTF-8 | 3,900 | 1.984375 | 2 | [
"Apache-2.0"
] | permissive | /**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | true |
b699193950173936769b94e9ec0c06ca6a284eb5 | Java | KiranMohan/java-8 | /java8-streams/src/test/java/org/ktest/study/java8/stream/StatefulTransformationTest.java | UTF-8 | 1,229 | 2.90625 | 3 | [] | no_license | package org.ktest.study.java8.stream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
public cl... | true |
ccc3bb0dc5158d404e4633ca790527f3804e24ae | Java | StefanoLambiase/GotWiki_backend | /src/main/java/com/unisa/gotwiki_backend/repository/SceneRepository.java | UTF-8 | 1,444 | 2.15625 | 2 | [] | no_license | package com.unisa.gotwiki_backend.repository;
import com.unisa.gotwiki_backend.model.entity.SceneEntity;
import com.unisa.gotwiki_backend.model.queryResult.scene.DeathCountPerScene;
import org.springframework.data.neo4j.annotation.Query;
import org.springframework.data.neo4j.repository.Neo4jRepository;
public interfa... | true |
bba31a1be38b53e54ea49715094151dfac0bb82d | Java | appurvj/SNNImpl | /src/HiddenNeuron.java | UTF-8 | 3,141 | 3.296875 | 3 | [] | no_license | import java.util.ArrayList;
/**
* This class simulates the functionality of a neuron in the hidden layer of the
* network. These neurons keep on 'accumulating' the potential from the neurons
* feeding them till they cross a threshold and fire.
* @author Appurv Jain and Amrith Akula
*/
public class HiddenNeuron ... | true |
361b253095b6773745289d14650382e94222a697 | Java | nebbsie/GPixel | /app/src/main/java/com/bluecrabstudios/gpixel/database/GPixelAPI.java | UTF-8 | 2,834 | 2.484375 | 2 | [] | no_license | package com.bluecrabstudios.gpixel.database;
import android.os.AsyncTask;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter... | true |
f8c018c776b4db7e17be2ae810ebb9268ad3586a | Java | FannieFay/GreenDaoTest | /TestActionBar/src/com/example/testactionbar/db/ChapterDao.java | UTF-8 | 4,969 | 2.40625 | 2 | [] | no_license | package com.example.testactionbar.db;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import de.greenrobot.dao.AbstractDao;
import de.greenrobot.dao.Property;
import de.greenrobot.dao.internal.DaoConfig;
import com.example.testactionbar.d... | true |
ba379477032977de75b45b69461cbca78b0d65d1 | Java | smartfly/SpringStudy | /spring-boot-basic/src/main/java/com/smartfly/study/service/CityService.java | UTF-8 | 477 | 1.992188 | 2 | [] | no_license | package com.smartfly.study.service;
import com.smartfly.study.domain.City;
/**
* Created with IntelliJ IDEA.
*
* @author: hutao01
* Date: 2018/1/3
* Time: 20:12
* Description: 城市业务逻辑接口
* To change this template use File | Settings | File Templates | Includes | File Header
*/
public interface CityService {
... | true |
730ec85852ffeee1814a7218da2e775430033839 | Java | Kawser-nerd/CLCDSA | /Source Codes/CodeJamData/09/11/2.java | UTF-8 | 1,390 | 2.8125 | 3 | [] | no_license | import static java.lang.Math.*;
import static java.math.BigInteger.*;
import static java.util.Arrays.*;
import static java.util.Collections.*;
import java.math.*;
import java.util.*;
public class A {
public static void main(String[] args) {
new A().run();
}
int N = 1000000;
int M = 9;
void run() {
ok = new in... | true |
5bcaf4a0d3ca1f9cd2064ca9de245e3cc086ab61 | Java | gregopet/jooq-web-repl | /repl/evaluator/src/main/java/co/petrin/response/Success.java | UTF-8 | 788 | 2.296875 | 2 | [] | no_license | package co.petrin.response;
import co.petrin.AugmentedOutput;
import co.petrin.EvaluationResponse;
import java.util.function.Supplier;
/**
* Response of a successful evaluation.
*/
public class Success implements EvaluationResponse {
public final String output;
public final String errorOutput;
public f... | true |
7b5b2925d496cd35161281796c9b049c45f98234 | Java | sy0435/MyPetmily | /cteam/app/src/main/java/com/example/cteam/AgreePopup.java | UTF-8 | 1,443 | 2.375 | 2 | [] | no_license | package com.example.cteam;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
public class AgreePopup extends AppCompatActivity {
TextView... | true |
5c0fec02573333fa954289ed3086e4eb7005fc10 | Java | HannaHurieva/A-Level-TopCoffeeHouses | /src/main/java/com/alevel/project/coffee/service/impl/UserServiceImpl.java | UTF-8 | 3,168 | 2.515625 | 3 | [] | no_license | package com.alevel.project.coffee.service.impl;
import com.alevel.project.coffee.model.User;
import com.alevel.project.coffee.model.enums.Role;
import com.alevel.project.coffee.model.enums.Status;
import com.alevel.project.coffee.repository.UserRepo;
import com.alevel.project.coffee.service.UserService;
import org.spr... | true |
d626e9d2d25c349ba5520e9a2b1f8b851a64b7b1 | Java | gabrielaTsoft/Examen--Herencia | /Examen2-Herencia/src/jerarquia/Cabagna.java | ISO-8859-2 | 1,588 | 2.890625 | 3 | [] | no_license | package jerarquia;
public class Cabagna extends Hospederia {
protected boolean chimenea;
public boolean isChimenea() {
return chimenea;
}
public void setChimenea(boolean chimenea) {
this.chimenea = chimenea;
}
public Cabagna(DatosCliente cliente, int cant_noches, String tipo_temporada, double v... | true |
849bf17c1639041a94118fe936a9245a7f7a231e | Java | sso-jeong/spring | /grp/src/main/java/com/greenart/grp/controller/boardCtr/ArticleCtr.java | UTF-8 | 1,648 | 1.960938 | 2 | [] | no_license | package com.greenart.grp.controller.boardCtr;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind... | true |
6de536b564c2d1154192c3d84488d1f9057cfe27 | Java | SSE7EN/FormopexERP | /System/documentationTemplate-data/src/main/java/com/wss/documentationTemplate/dto/ItemDocumentationTemplateDTO.java | UTF-8 | 1,924 | 2.203125 | 2 | [] | no_license | package com.wss.documentationTemplate.dto;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.wss.documentationTemplate.entity.EItemDocumentationType;
/**
* Data Transfer Object for Item Documentation Template
*/
public class ItemDocumentationTemplateDTO {
/**
* Primary key
*/
... | true |
85cb1c1a9e9ae68f69de5af95f5c6b7a629a457c | Java | DUNNIK/Database | /src/main/java/com/itmo/java/basics/console/impl/CreateTableCommand.java | UTF-8 | 3,755 | 3.015625 | 3 | [] | no_license | package com.itmo.java.basics.console.impl;
import com.itmo.java.basics.console.DatabaseCommand;
import com.itmo.java.basics.console.DatabaseCommandArgPositions;
import com.itmo.java.basics.console.DatabaseCommandResult;
import com.itmo.java.basics.console.ExecutionEnvironment;
import com.itmo.java.basics.exceptions.Da... | true |
9be5d23d2f4a2446d204a527a5869538271f0a74 | Java | alexandraback/datacollection | /solutions_1674486_0/java/saulhidalgo31/Round1CA.java | UTF-8 | 1,874 | 2.78125 | 3 | [] | no_license |
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @au... | true |
ee151fee07cb7495e1f1a6914026b3a861c94ba1 | Java | edmareliasb/CompletableFeature | /src/br/com/concorrencia/Loja.java | UTF-8 | 1,302 | 3.203125 | 3 | [] | no_license | package br.com.concorrencia;
import java.util.Random;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Future;
public class Loja {
private final Random rnd = new Random();
private final String nome;
public Loja(final String nome) {
this.nome = nome;
}
public do... | true |
1ad006359fe00b816d8565267af05fcf2e2aaf63 | Java | violetaria/Peep | /app/build/generated/source/apt/debug/com/getlosthere/apps/peep/fragments/ProfileHeaderFragment_ViewBinding.java | UTF-8 | 1,927 | 1.789063 | 2 | [
"MIT",
"Apache-2.0"
] | permissive | // Generated code from Butter Knife. Do not modify!
package com.getlosthere.apps.peep.fragments;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import butterknife.Unbinder;
import butterknife.internal.Finder;
import com.getlost... | true |
50bc6f25d3c3bdef6cf78d9956b495a00df3a140 | Java | sourav-roni/photo-album | /src/singleDisplay.java | UTF-8 | 2,699 | 2.546875 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.EventQueue;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.J... | true |
a7c996e1cd8cecf8e5d4063a53a668a26d6dd34a | Java | wf1028/JavaEE | /mybatis/src/test/java/com/qf/dao/TestRole.java | UTF-8 | 1,346 | 2.34375 | 2 | [] | no_license | package com.qf.dao;
import com.pojo.Role;
import com.pojo.User;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.junit.After;
import org.junit.Before;
import org.... | true |
801943506fb90c079d82fcdd99047d734fe1c2e2 | Java | nancy27/CoronaTrackApp | /src/main/java/com/example/coronatracker/domain/LocationStats.java | UTF-8 | 1,707 | 2.46875 | 2 | [] | no_license | package com.example.coronatracker.domain;
public class LocationStats {
private String state;
private String country;
private String region;
private int totalNoCases;
private int diffFromPrevDay;
public LocationStats() {
}
public LocationStats(String state, String country, ... | true |
b37ac838828045a2a8d09e6b93767a48ad66ec95 | Java | ajh-dev/survivorfitness-backend-api | /src/main/java/com/changeplusplus/survivorfitness/backendapi/entity/SpecialistType.java | UTF-8 | 118 | 1.84375 | 2 | [] | no_license | package com.changeplusplus.survivorfitness.backendapi.entity;
public enum SpecialistType {
TRAINER, DIETITIAN;
}
| true |
3b9af75d21dfbfe98eaa3d6a6568fbcbf593c69a | Java | ecoerod/meteodata | /src/main/java/eu/nelthorim/meteodata/gui/Ventana.java | UTF-8 | 1,126 | 2.234375 | 2 | [] | no_license | package eu.nelthorim.meteodata.gui;
import sun.awt.X11.Screen;
import javax.management.monitor.Monitor;
import javax.swing.*;
import java.awt.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Ventana extends JFrame {
public Ventana() {
config();
... | true |
0b435812a05bec36f6ea4703c128634963d9d49d | Java | Jaejae-mac/yourplaceProject | /src/main/java/com/yourplace/custom/reservation/service/impl/HelpCntServiceImpl.java | UTF-8 | 550 | 1.828125 | 2 | [] | no_license | package com.yourplace.custom.reservation.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yourplace.custom.reservation.dao.RsvDAO;
import com.yourplace.custom.reservation.service.HelpCntService;
import com.yourplace.custom.reservati... | true |
ad3fbc1ab6484192937785e774998ce3886a50e4 | Java | vtomic85/TCMS | /src/java/platform/dao/CMSElementDAO.java | UTF-8 | 7,252 | 2.15625 | 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 platform.dao;
import java.sql.PreparedStatement;
import toplist.dao.TopListElementRelationDAO;
import java.sql.Result... | true |
93324f5c6c2f05ae4d80ccfa727b98b2cc09ea69 | Java | Fstall/DTCC_JavaAcademy | /wordWatchWeb/src/main/java/com/rstech/wordwatch/web/display/XmlUtil.java | UTF-8 | 1,573 | 2.578125 | 3 | [] | no_license | package com.rstech.wordwatch.web.display;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
pu... | true |
952626a1dd8f3f6f85ceccca0b94aa62149edd2a | Java | mustaphaattah/Pitalo-Medical | /backend/persistence/src/test/java/pitalo/persistence/Services/SpecialtyServiceTest.java | UTF-8 | 2,650 | 2.375 | 2 | [] | no_license | package pitalo.persistence.Services;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import pitalo.domain.Staff.Specialty;
import pi... | true |
046c4c2984bbe6c4765ffaaa95bbdc655f9b6f3f | Java | chenzdido/B-final-quiz | /src/main/java/com/example/demo/repository/TraineeRepository.java | UTF-8 | 367 | 1.882813 | 2 | [] | no_license | package com.example.demo.repository;
import com.example.demo.domain.Trainee;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface TraineeRepository extends JpaRepository<Trainee, Long> {
List<... | true |
b0b1376c5d54e9c67a084405c0aee98375cfae57 | Java | cckmit/mbay_saizhi | /mbay-trafficRed/mbay-trafficRed-service/src/main/java/org/sz/mbay/trafficred/service/TrafficRedProductConfigService.java | UTF-8 | 3,087 | 2.171875 | 2 | [] | no_license | package org.sz.mbay.trafficred.service;
import org.sz.mbay.base.service.BaseService;
import org.sz.mbay.base.wrap.ExecuteResult;
import org.sz.mbay.trafficred.bean.ThresholdWarnInfo;
import org.sz.mbay.trafficred.bean.TrafficRedProductConfig;
import org.sz.mbay.trafficred.enums.ProductType;
public interface TrafficRe... | true |
96b386a867d438d34f24d0fdaecd8ee3ddf4da30 | Java | SandyGC/Chiribook | /src/Vistas/BarraMenu.java | UTF-8 | 3,222 | 2.328125 | 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 Vistas;
import VistaInicioSesionBD.VistaInicio;
import VistaLoginApp.Login;
import java.awt.event.ActionEvent;
import java.awt... | true |
93b45f3161dbc526ec5671bc395189b14d7ce729 | Java | nhokneji/cinema | /moviedate/src/main/java/cinema/domain/entities/RoomEntity.java | UTF-8 | 1,253 | 2.6875 | 3 | [] | no_license | package cinema.domain.entities;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "room", schema = "md-cinema", catalog = "")
public class RoomEntity {
private int roomId;
private String roomName;
private int seatId;
@Id
@Column(name = "room_id")
public int getRoomId... | true |
c47132542a04759ea999204e24600ca92a8efb9b | Java | AFU1718/es | /src/main/java/com/yfgz/es/bean/LogToEs.java | UTF-8 | 773 | 1.835938 | 2 | [] | no_license | package com.yfgz.es.bean;
import com.alibaba.fastjson.JSONObject;
public class LogToEs{
private Integer userId;
private Integer shopId;
private String esType;
private JSONObject data;
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
t... | true |
b6b43619ab755bba8c0c2c6169a6413e184ec6d5 | Java | sanghegde/AdvancedCollections | /AdvancedCollectionRMall/src/com/collections/Parked_CarOwnerList.java | UTF-8 | 1,637 | 3.25 | 3 | [] | no_license | package com.collections;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.function.Consumer;
import java.util.function.Predicate;
public class Parked_CarOwnerList {
int token = 1;
int section = 1;
int floor = 1;
Set<Parked_CarOwner_Details> set = new LinkedHashSet<>();
// me... | true |
d39b1e55f8ab33c26665e0a25a432a7d67428006 | Java | veniuscloudpower/azure-sdk-for-java | /sdk/recoveryservices/azure-resourcemanager-recoveryservices/src/test/java/com/azure/resourcemanager/recoveryservices/generated/ClientDiscoveryResponseTests.java | UTF-8 | 4,994 | 1.71875 | 2 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-or-later",
"CC0-1.0",
"BSD-3-Clause",
"UPL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservices.generated;
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.recoveryservices.fluent.mode... | true |
a8181870ce8e7d7efc404bc089a049c081b6b9f3 | Java | kllaas/Laba5 | /src/Provider.java | UTF-8 | 1,658 | 3.15625 | 3 | [] | no_license | /**
* Created by alexey on 23.05.17.
*/
public class Provider implements Comparable<Provider> {
private String name;
private String address;
public Provider(String name, String address) {
this.name = name;
this.address = address;
}
public Provider() {
name = "";
... | true |
c11d5a59853abef0b3c454c14359c553c662b1c1 | Java | MrGoumX/ReversiAI | /src/GameBoard.java | UTF-8 | 13,493 | 3.390625 | 3 | [] | no_license | //The Reversi Game Board Class
import java.util.ArrayList;
import java.util.Arrays;
public class GameBoard {
//Reversi Board States
public static final Character B = 'B';
public static final Character W = 'W';
public static final Character E = null;
//GRID SIZE
public static final int GRID_SI... | true |
1c8a7a89f1b84c40ab348ffd04888811f4138374 | Java | aheadlcx/analyzeApk | /budejie/sources/cn/v6/sixrooms/utils/r.java | UTF-8 | 342 | 1.859375 | 2 | [] | no_license | package cn.v6.sixrooms.utils;
import android.app.Activity;
import cn.v6.sixrooms.base.VLBlock;
final class r extends VLBlock {
final /* synthetic */ Activity a;
r(Activity activity) {
this.a = activity;
}
protected final void process(boolean z) {
LoginUtils.createLoginDialog(this.a, ... | true |
e7524531526a82c35e3ac3ee2feec3f6e9631678 | Java | piotrbelina/stock-exchange | /src/main/java/com/piotr/stockexchange/persistence/TransactionDao.java | UTF-8 | 1,078 | 2.484375 | 2 | [] | no_license | package com.piotr.stockexchange.persistence;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.piotr.stockexchange.domain.Order;
imp... | true |
2a713b02c1a9f70fe8280a49c3fbdaa8e3073a64 | Java | sbaba2220/Banking-System | /databaseconn.java | UTF-8 | 1,031 | 2.28125 | 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 javabankaccount;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.s... | true |
3d7c28c58b8d75cd99313e2e2aa241b6d4272fa9 | Java | el-bryant/coreApp | /app/src/main/java/bootcamp/core/adapter/WheelImageAdapter.java | UTF-8 | 1,524 | 2.34375 | 2 | [] | no_license | package bootcamp.core.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.NetworkImageView;
import java.util.ArrayList;
import bootcamp.core.R;
import bootcamp.core.entity.Bootcamp;
impor... | true |
01268c1e20984e1985e8d88e82c488a488c619e3 | Java | ginacyliu/AndroidBootcamp | /TwitterClient/src/com/codepath/apps/twitter/fragments/TimelineFragment.java | UTF-8 | 3,305 | 2.125 | 2 | [] | no_license | package com.codepath.apps.twitter.fragments;
import java.util.ArrayList;
import org.json.JSONArray;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener;
import android.view.LayoutI... | true |
24f401a5a044beca48f96eae4131a301d75ed194 | Java | Endrigo7/C3IB | /src/main/java/school/cesar/c3ib/validations/ClienteValidation.java | UTF-8 | 862 | 3 | 3 | [] | no_license | package school.cesar.c3ib.validations;
import school.cesar.c3ib.entities.Cliente;
public class ClienteValidation {
public static void validar(Cliente cliente) {
validaCamposObrigatorios(cliente);
validaIdadeMinima(cliente);
}
private static void validaCamposObrigatorios(Cliente cliente) ... | true |
c488e74ffc769fb1273d77843778e2390fc1cce3 | Java | TzashiNorpu/Algorithm | /JavaAlgorithm/src/test/java/algo/tzashinorpu/SecondRound/Chapter12/maxSumSubmatrix_363Test.java | UTF-8 | 405 | 2.421875 | 2 | [
"MIT"
] | permissive | package algo.tzashinorpu.SecondRound.Chapter12;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class maxSumSubmatrix_363Test {
@Test
void maxSumSubmatrix() {
maxSumSubmatrix_363 ins = new maxSumSubmatrix_363();
int[][] matrix = {{1, 0, 1}, {0, -2, 3}};
... | true |
e8cc1eb00cdf952cbd1704a39dfc367ee66152cf | Java | flywind2/joeis | /src/irvine/oeis/a012/A012884.java | UTF-8 | 423 | 2.921875 | 3 | [] | no_license | package irvine.oeis.a012;
import irvine.oeis.FiniteSequence;
/**
* A012884 Numbers such that every prefix and suffix is 1 or a prime.
* @author Sean A. Irvine
*/
public class A012884 extends FiniteSequence {
/** Construct the sequence. */
public A012884() {
super(1, 2, 3, 5, 7, 11, 13, 17, 23, 31, 37, 53,... | true |
e16560aa77eef1cece0bd8d5b8141bdf3d5f4a1e | Java | akustareva/Java-advanced | /JarImplementor/MethodStructure.java | UTF-8 | 1,777 | 3.453125 | 3 | [] | no_license | package ru.ifmo.ctddev.kustareva.implementor;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.Arrays;
/**
* Class for ability to compare methods.
* <p>
* It overrides <code>hashCode</code> and <code>equals</code> methods.
*/
public class MethodStructure {
/**
* Metho... | true |
fd34bc69f9d14534f513cdcf40f00374ec852a66 | Java | ApacheTomdog/TomDog | /src/main/java/com/brcc/business/brokerFunds/vo/TransfiniteDispatchVo.java | UTF-8 | 6,696 | 1.609375 | 2 | [] | no_license | package com.brcc.business.brokerFunds.vo;
import java.math.BigDecimal;
import java.util.Date;
public class TransfiniteDispatchVo {
private String platformId;
private Long publishId;
private Long transId;
private Long deliveryId;
private Long zfId;
private String zfNum;
private String dependNum;
private Stri... | true |
dc888ffc3c7f35af3471e4e27893399f6a4daeff | Java | Menda0/training-spring-core-volkswagen | /src/main/java/com/training/spring/core/volkswagen/scopes/Scopes.java | UTF-8 | 1,021 | 3.203125 | 3 | [] | no_license | package com.training.spring.core.volkswagen.scopes;
import com.training.spring.core.volkswagen.car.Car;
import com.training.spring.core.volkswagen.car.Garage;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
// Exercise
// 1.
// Create ... | true |
9bee687ec61fe596858b2ab92d3d804367ce25f0 | Java | xiaohongma/Ex | /app/src/main/java/com/example/administrator/ex/http/RequestListener.java | UTF-8 | 630 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.example.administrator.ex.http;
/**
* Created by Administrator on 2016/4/25.
*/
public interface RequestListener {
/**
* 在请求之前调用的方法
*/
public void onPreRequest();
/**
* 请求成功调用
* @param response
*/
public void onRequestSuccess(BaseResponse response);
/**
*... | true |
e07712c872a5cc851329ef07491d10f7237a3564 | Java | RajeshPatadiya/firefly-3 | /src/firefly/java/edu/caltech/ipac/firefly/ui/catalog/IrsaCatalogTask.java | UTF-8 | 5,811 | 1.734375 | 2 | [] | no_license | /*
* License information at https://github.com/Caltech-IPAC/firefly/blob/master/License.txt
*/
package edu.caltech.ipac.firefly.ui.catalog;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.cli... | true |
fc1eaf9bf77d5bbb9a33c586a2fd9a7f5db334f1 | Java | TanPengChen/mall-dev | /src/main/java/com/macro/mall/tiny/mbg/mapper/SmsHomeNewProductMapper.java | UTF-8 | 667 | 1.921875 | 2 | [] | no_license | package com.macro.mall.tiny.mbg.mapper;
import com.macro.mall.tiny.mbg.model.SmsHomeNewProduct;
import com.macro.mall.tiny.mbg.model.SmsHomeNewProductExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SmsHomeNewProductMapper {
List<SmsHomeNewProduct> selectByExample(Sms... | true |
b40bf653827e88d7543da232cbcfc1769e556030 | Java | ikhsanhabibi/learn-java | /Polymorphism/SuperKeyword/TestSuper1.java | UTF-8 | 600 | 3.921875 | 4 | [] | no_license | package SuperKeyword;
class Animal{
String color="white";
}
class Dog extends Animal{
String color="black";
void printColor(){
System.out.println(color);//prints color of Dog class
System.out.println(super.color);//prints color of Animal class
}
}
/*
1) super is used to refer immediate par... | true |
a5be97e1eed9dd86af9bbbbbaa9cd4175daa02cc | Java | tutrunghieu/dsa-2017-java-tutorial | /dsa2017-project3/src/apps/saleman/ModuleProduct.java | UTF-8 | 1,562 | 2.734375 | 3 | [] | no_license | package apps.saleman;
import java.io.File;
import java.util.List;
import apps.saleman.physical.Tab_Product;
import apps.saleman.services.Json;
import apps.saleman.services.SwingUtils;
public class ModuleProduct {
public File dataFile;
private List<Tab_Product> items;
// Product list:
// 1.1. Lo... | true |
6b65fa54b93bbe063630e2482a2631c44324abd2 | Java | dnacher/ship | /src/main/java/com/ship/ship/persistence/dao/StatusDAO.java | UTF-8 | 2,099 | 2.625 | 3 | [] | no_license | package com.ship.ship.persistence.dao;
import com.ship.ship.exceptions.ShipException;
import com.ship.ship.persistence.model.Status;
import com.ship.ship.persistence.repository.StatusRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
impo... | true |
e53dc186431954605983565d4730ea6b1338de6c | Java | BokunoMasayume/knowledgeGraphManager | /src/main/java/com/example/demo/POJO/Node.java | UTF-8 | 684 | 1.898438 | 2 | [] | no_license | package com.example.demo.POJO;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.neo4j.ogm.annotation.*;
import java.util.List;
import java.util.Map;
import java.util.Set;
@Getter
@Setter
@NodeEntity
public class Node {
@Id @GeneratedV... | true |
af6fae41ffeece7d1d4032ed156a6d5eaf39d95f | Java | brianisruiz9/ControlDeLlamadas | /src/interfaz/Acceso.java | UTF-8 | 8,158 | 2.265625 | 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 interfaz;
import clases.Helper;
/**
*
* @author Esmeralda
*/
public class Acceso extends javax.swing.JFrame {
/**
... | true |
cb1c60ef09f1af65069dbe5ff7e2192bd0f22e8f | Java | anjoola/wear | /app/src/main/java/com/anjoola/sharewear/WelcomeActivity.java | UTF-8 | 3,505 | 2.484375 | 2 | [] | no_license | package com.anjoola.sharewear;
import android.app.ActionBar;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.anjoola.share... | true |
797574276ff831cfc75373084d6fa470dfb6bac3 | Java | 15014065148/batch | /src/test/java/com/eveb/saasops/batch/FgRequestTest.java | UTF-8 | 10,719 | 1.84375 | 2 | [] | no_license | package com.eveb.saasops.batch;
import com.alibaba.fastjson.JSON;
import com.eveb.saasops.batch.game.fg.domain.FgBetLog;
import com.eveb.saasops.batch.sys.util.OkHttpProxyUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfram... | true |
49187d2add0fc2178bad8d9fb4c83386a63c0735 | Java | OCLC-Developer-Network/circill-toolkit | /service/base/src/main/java/org/oclc/circill/toolkit/service/base/ServiceError.java | UTF-8 | 873 | 1.890625 | 2 | [
"MIT"
] | permissive | /*
* Copyright (c) 2010 eXtensible Catalog Organization.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the MIT/X11 license. The text of the license can be
* found at http://www.opensource.org/licenses/mit-license.php.
*/
package org.oclc.circill.toolkit.service... | true |
630ce6afc406abb624b3bc22b8daa583c7041801 | Java | Sudhanshu-bluespace/EmailApp_Backend | /EmailApp/src/main/java/com/bluespacetech/security/resources/UserGroupResource.java | UTF-8 | 1,252 | 2.015625 | 2 | [
"MIT"
] | permissive | package com.bluespacetech.security.resources;
import java.util.Collection;
import org.springframework.hateoas.ResourceSupport;
public class UserGroupResource
extends ResourceSupport
{
private Long objectId;
private Long version;
private String groupName;
private String description;
private Collection<User... | true |
f6b9a92f7faf022e723350a40329ff98b4321176 | Java | MEJIOMAH17/rocketbank-api | /reverse/Rocketbank_All_3.12.4_source_from_JADX/sources/com/crashlytics/android/core/CodedOutputStream.java | UTF-8 | 7,522 | 2.75 | 3 | [] | no_license | package com.crashlytics.android.core;
import java.io.Flushable;
import java.io.IOException;
import java.io.OutputStream;
final class CodedOutputStream implements Flushable {
private final byte[] buffer;
private final int limit = 4096;
private final OutputStream output;
private int position = null;
... | true |
7d3133efa24dba7e3dcde95b0407794998e05e9d | Java | gmaquera/ddjj | /sio-core/src/main/java/pe/gob/ocma/generico/service/impl/CorrelMaeServiceImpl.java | UTF-8 | 3,526 | 2.09375 | 2 | [] | no_license | /**
* Copyright © 2013 OCMA.
*
* Este es el sistema para la gestión de los requerimientos del
* personal de la OCMA. Constiene las funcionalidades desde
* que el solicitante realiza una solicitud de un requerimiento
* hasta que es atendido por el personal encargado.
*
* Este sistema es de propiedad de ... | true |
d51b01591cca9a7b59a11b143b22950f89f2dc39 | Java | GenerationZ11/-Lviv_Quests | /FIRST_PROGRAM/app/src/main/java/l/generationz/first_program/Feed.java | UTF-8 | 3,928 | 2.03125 | 2 | [] | no_license | package l.generationz.first_program;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import a... | true |
91ed8081ec56a7a238e5a1ae32e43bd16b5088a1 | Java | bwssytems/lifx-sdk-java | /src/main/java/com/github/besherman/lifx/LFXVersion.java | UTF-8 | 2,673 | 2.328125 | 2 | [
"MIT"
] | permissive | /*
* The MIT License
*
* Copyright 2014 Richard Löfberg.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | true |
87ecc1b5c643d4e94d5f9d07fbfe2ce61d5170d3 | Java | Mini-project-team/plant-tree-and-redeem-points | /Profile.java | UTF-8 | 911 | 1.875 | 2 | [] | no_license | package com.example.paid;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.google.firebase.auth.FirebaseAuth;
public class Profile extends AppCompatActivity implements View.OnClic... | true |
e1612e8812fcd176e6a1c3359ca93324f9d31dd6 | Java | uehara3737/test | /utv/utv/src/com/internousdev/ecsite/dao/ItemUpdateCompleteDAO.java | UTF-8 | 969 | 2.46875 | 2 | [] | no_license | package com.internousdev.ecsite.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import com.internousdev.ecsite.util.DBConnector;
import com.internousdev.ecsite.util.DateUtil;
public class ItemUpdateCompleteDAO {
private DBConnector db=new DBConnector();
private C... | true |
88fb6667dc8f0256b6b471b9efd19c477a923570 | Java | ScottDennison/jdeltasync | /src/main/java/com/googlecode/jdeltasync/message/AbstractMessageDetailsCommand.java | UTF-8 | 4,855 | 2.328125 | 2 | [] | no_license | /*
* Copyright (c) 2011, the JDeltaSync project. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | true |
34977a3c4566ebbea731e63c0b4d7641409c0cb0 | Java | paulofor/coletor-java-fonte-01 | /ProjetosJava2/DafitiRobot/src/dafitiafil/app/TestaMetodo.java | UTF-8 | 4,152 | 2.21875 | 2 | [] | no_license | package dafitiafil.app;
import java.util.Iterator;
import java.util.List;
import br.com.digicom.lib.dao.DaoException;
import dafitiafil.modelo.PrecoProduto;
import dafitiafil.modelo.Produto;
import dafitiafil.obj.AcessaSitePrecoProdutoDafitiObj;
import dafitiafil.regracolecao.FabricaRegra;
import dafitiafil.regracole... | true |
ac9a66304a07df2cc086f7ca0f9d345543742247 | Java | artursferreira/TestMM | /app/src/main/java/com/artursfer/testmaxmilhas/flights/InnerFlightsAdapter.java | UTF-8 | 5,789 | 2.484375 | 2 | [] | no_license | package com.artursfer.testmaxmilhas.flights;
import android.content.Context;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewG... | true |
bb394599ed14e1aff4fbfddbd2702598aa6f8832 | Java | smarch730/data-center-helm-charts | /src/test/java/test/SynchronyTest.java | UTF-8 | 4,578 | 2.09375 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestInfo;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import test.helm.Helm;
import test.model.Kind;
import test.model.Product;
import test.model.StatefulSet;
import java.uti... | true |
4b134820dcd611d97db0e9d82f3c4d2c992aee2f | Java | rkgatram/spring-data-java8 | /src/main/java/com/github/daggerok/SpringDataJaba8TypesApp.java | UTF-8 | 4,392 | 2.328125 | 2 | [] | no_license | package com.github.daggerok;
import lombok.*;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
imp... | true |
a858760287cf76a554c0d710c0067cbc7c1e06f7 | Java | Caiury/AulaSabado | /src/Capitulo16/TesteGravacaoSimples.java | UTF-8 | 795 | 3.234375 | 3 | [] | no_license | package Capitulo16;
import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import Capitulo14.OperacaoAritimetica;
public class TesteGravacaoSimples {
public static void main(String[] args) {
try {
Output... | true |
06f70f383f2d9b72fb134c7488d770591fa71dbe | Java | smemoryouth/control-platform | /src/main/java/com/lyzd/controlplatform/service/IUserService.java | UTF-8 | 1,088 | 2.21875 | 2 | [] | no_license | package com.lyzd.controlplatform.service;
import com.lyzd.controlplatform.model.User;
import java.util.List;
/**
* description:
*
* @author 阿劼
* @data 2019/11/19 8:37
*/
public interface IUserService {
/**
* 删除
* @param userId 用户id
*/
void removeByPrimaryKey(String userId);
/**
... | true |
3e71c3517d96d15e64173f4558174a7c381a7625 | Java | 584259006/Cake | /src/CC/Cappu.java | UTF-8 | 193 | 2.3125 | 2 | [] | no_license | package CC;
public class Cappu extends Cake {
public Cappu(){
flavor = " Cappuccino Cake" ;
}
@Override
public double cost() {
// TODO Auto-generated method stub
return 220;
}
} | true |
8bd55cab01035ac3f2b0e6c73fd54da4d8967f16 | Java | aheadlcx/analyzeApk | /zuiyou/sources/cn/xiaochuankeji/tieba/ui/post/postitem/a.java | UTF-8 | 2,955 | 1.820313 | 2 | [] | no_license | package cn.xiaochuankeji.tieba.ui.post.postitem;
import android.app.Activity;
import cn.htjyb.b.a.d;
import cn.xiaochuankeji.tieba.background.favorite.Favorite;
import cn.xiaochuankeji.tieba.background.favorite.f;
import cn.xiaochuankeji.tieba.background.net.XCError;
import cn.xiaochuankeji.tieba.ui.my.favorite.Create... | true |
81786a3abb7e1077cd051c63873a398ca57f9a2c | Java | DanielSosa1111/TF | /app/src/main/java/com/example/tf/ui/adaptadores/AdapterInq.java | UTF-8 | 2,828 | 2.15625 | 2 | [] | no_license | package com.example.tf.ui.adaptadores;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull... | true |
2813c4fd619c1b6665fa84979c3035ab26aabc58 | Java | maximuse/HolAPont | /src/hu/nyirszikszi/Main.java | UTF-8 | 301 | 2.234375 | 2 | [] | no_license | package hu.nyirszikszi;
import hu.nyirszikszi.holapont.HolAPont;
public class Main {
public static void main(String[] args) {
HolAPont p = new HolAPont(1, 1);
System.out.println(p.hely());
HolAPont p1 = new HolAPont(6, -7);
System.out.println(p1.hely());
}
} | true |
18c9a265e314e4bc5dad9d8816bb2d742b9d099e | Java | jaithakai91/egreer-wpi | /Webware/JRE3.4/src/planningPoker/LoginServlet.java | UTF-8 | 2,707 | 2.84375 | 3 | [] | no_license | package planningPoker;
/**
* JRE Planning Poker Rev 1.0
* @author Jason Codding
* @author Eric Greer
* @author Matt Runkle
*/
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@SuppressWar... | true |
df043f5bc2eeacfe6c735cf70a5047ec38c615d0 | Java | sapm2000/abrirGuardarImagen | /src/abrirguardarimagen/frmAbrirGuardar.java | UTF-8 | 12,477 | 2.25 | 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 abrirguardarimagen;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedIm... | true |
1cfd3278ddea0eab6c99a7e08cf4b9dc14163e29 | Java | KonstantinSlyshkov/consoleGame | /src/main/java/com/slyshkov/characters/spells/FireBall.java | UTF-8 | 302 | 2.109375 | 2 | [] | no_license | package com.slyshkov.characters.spells;
import com.slyshkov.characters.heroes.Hero;
import com.slyshkov.characters.monsters.Monster;
/**
* Created by Kostiantyn_Slyshkov on 10/23/2015.
*/
public class FireBall extends FightingSpell {
public FireBall() {
manaCost = 3; pointsEffected = 15;
}
}
| true |
cc4220041e283c1485e923c35bb1b9c1692b150a | Java | RyanYoung25/UndiscoveredWorlds | /src/Merchant.java | UTF-8 | 318 | 2.328125 | 2 | [] | no_license |
import java.util.Vector;
public abstract interface Merchant
{
public abstract double getMoney();
public abstract Vector<Item> getInventory();
public abstract void modifyPrice();
public abstract void sale(double price, Item item);
public abstract void purchase(double price, Item item);
}
| true |
646ee18cfaee897c0294dbc71b22a4cff3e3066d | Java | nanial/atm | /src/com/atm/CourseOfCurrency.java | UTF-8 | 2,143 | 2.984375 | 3 | [] | no_license | package com.atm;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.*;
public class CourseOfCurrency {
public static void getCourse() {
try {
Date date = new Date();
... | true |
164db89496a1f13619e1816e3434b9cf8e110cb5 | Java | HuaTianSoftX/LanSoEditor_advance | /LanSongSDK/src/main/java/com/lansosdk/videoeditor/LanSoEditor.java | UTF-8 | 4,327 | 2.234375 | 2 | [] | no_license | package com.lansosdk.videoeditor;
import android.content.Context;
import android.content.res.AssetManager;
import android.util.Log;
import com.lansosdk.box.LSLog;
import com.lansosdk.box.LanSoEditorBox;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOExcept... | true |
7480079c23341cfb1cee24a122156043590ce890 | Java | MichalOstrega/typer | /src/main/java/pl/most/typer/repository/footballrepo/StandingRepository.java | UTF-8 | 497 | 1.921875 | 2 | [] | no_license | package pl.most.typer.repository.footballrepo;
import org.springframework.data.jpa.repository.JpaRepository;
import pl.most.typer.model.competition.Competition;
import pl.most.typer.model.competition.Standing;
import java.util.List;
import java.util.Optional;
public interface StandingRepository extends JpaRepository... | true |
4efd84f718ae60120d9309d3050b7dcff586d777 | Java | tsotzolas/JavaSSHTest | /src/main/java/ResponceTime.java | UTF-8 | 2,412 | 2.78125 | 3 | [] | no_license | import javax.net.ssl.HttpsURLConnection;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class ResponceTime {
private static final String USER_AGENT = "Mozilla/5.0";
public static String callResponceTime(){
HttpURLCo... | true |
d44565150a56c6ae1caf1b2483d2213f6908cc0f | Java | iversonzpy/JavaLu | /Source/src/main/java/AST/Exps/LabelExp.java | UTF-8 | 203 | 2.125 | 2 | [] | no_license | package AST.Exps;
import AST.Exp;
/**
* Created by lijin on 5/20/19.
*/
public class LabelExp extends Exp{
public String name;
public LabelExp(String name){
this.name = name;
}
}
| true |
e6e13f0e094f8cb5161e7ae707b965956f83e666 | Java | guofusong/hijklmn_fun | /model/src/main/java/fun/hijklmn/model/dto/DocumentQueryDTO.java | UTF-8 | 2,837 | 2.109375 | 2 | [] | no_license | package fun.hijklmn.model.dto;
import java.util.Date;
public class DocumentQueryDTO extends QueryReqDTO {
private String title;
private String subTitle;
private String author;
private String source;
private String content;
private String documentType;
private Byte isBlog;
private Date onlineTime;
pr... | true |
5b5b25d057a7a168cbbf459be9320cdfc0e65f7e | Java | yunshangshouji/xdns | /src/framework/java/zhuboss/framework/util/serialize/JaxbDateSerializer.java | UTF-8 | 400 | 2.296875 | 2 | [] | no_license | package zhuboss.framework.util.serialize;
import java.util.Date;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class JaxbDateSerializer extends XmlAdapter<String, Date> {
@Override
public Date unmarshal(String v) throws Exception {
return new Date(new Long(v));
}
@Override
publi... | true |