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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
f1cdc4340bdbe95bfc1a27ec139a1ae79bef4a57 | Java | msicsic/bankAccount | /business/src/main/java/com/sg/kata/bankaccount/business/portOut/AccountRepository.java | UTF-8 | 1,231 | 2.6875 | 3 | [] | no_license | package com.sg.kata.bankaccount.business.portOut;
import com.sg.kata.bankaccount.business.Account;
import com.sg.kata.bankaccount.business.AccountID;
import com.sg.kata.bankaccount.business.exceptions.AccountAlreadyExistsException;
import com.sg.kata.bankaccount.business.exceptions.UnknownAccountException;
import jav... | true |
e9cd3b72868648ff14d96f7e498b236b45ca5ce3 | Java | CuttingWaveKnife/myproject | /service/security/impl/RoleServiceImpl.java | UTF-8 | 761 | 1.84375 | 2 | [] | no_license | package com.cb.service.security.impl;
import com.cb.common.core.dao.CommonDao;
import com.cb.common.core.service.impl.CommonServiceImpl;
import com.cb.dao.security.RoleDao;
import com.cb.model.security.Role;
import com.cb.service.security.RoleService;
import org.springframework.beans.factory.annotation.Autowire... | true |
da4d7d64efe709784d1c8aed002f2453e169a01f | Java | acm-team/QuestForAdventure-jEngine | /src/org/acm_team/games/questforadventure/ConsoleOutput.java | UTF-8 | 887 | 3.078125 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.acm_team.games.questforadventure;
import java.io.*;
import java.util.*;
/**
*
* @author fusion2004
*/
public class ConsoleOutput implements Output {
private Queue<String> output;
private PrintSt... | true |
492873ec09a4f99f9abb9c71fa97c2a4ba1a65ce | Java | dr-shakya/pocblockchain | /src/main/java/com/logica/pocblockchaintest/controller/BankController.java | UTF-8 | 2,847 | 2.125 | 2 | [] | no_license | package com.logica.pocblockchaintest.controller;
import com.logica.pocblockchaintest.dto.BankDTO;
import com.logica.pocblockchaintest.dto.CustomerDTO;
import com.logica.pocblockchaintest.dto.TransactionReceiptDTO;
import com.logica.pocblockchaintest.model.Transaction;
import com.logica.pocblockchaintest.services.mappe... | true |
e5be4a0ee7db95994759191734adf686cb762922 | Java | AutomicDemo/Digital-Credit | /src/main/java/io/demo/credit/repository/UserRoleRepository.java | UTF-8 | 223 | 1.546875 | 2 | [
"MIT"
] | permissive | package io.demo.credit.repository;
import org.springframework.data.repository.CrudRepository;
import io.demo.credit.model.security.UserRole;
public interface UserRoleRepository extends CrudRepository<UserRole, Long> {
}
| true |
737eaa1b7791737366faa9919946bc57d38c367c | Java | ntarannum/Software-Work | /CO2006_nt161/sprint3/miniproject/src/main/java/app/controller/UserInfoValidator.java | UTF-8 | 1,071 | 2.578125 | 3 | [] | no_license | package app.controller;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import app.domain.UserInfo;
public class UserInfoValidator implements Validator {
public boolean supports(Class<?> clazz) {
return ... | true |
b8462daf91c06f72581eb68613118c9b2a51ab64 | Java | kapild/algorithms-design-and-analysis | /programming-practice/src/main/java/challenges/leetcode/SetMatrixZeroes.java | UTF-8 | 1,542 | 3.359375 | 3 | [] | no_license | package challenges.leetcode;
import java.util.HashSet;
import java.util.Set;
import challenges.AbstractCustomTestRunner;
/**
* 73. Set Matrix Zeroes
*
* Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
*
* @author Hxkandwal
*/
public class SetMatrixZeroes extends ... | true |
d302965f628b865c004e43771023a7fda77d1945 | Java | wjwancfb88/tbb | /equipment/src/main/java/com/dhwooden/ep/controller/wx/WXController.java | UTF-8 | 5,109 | 1.875 | 2 | [] | no_license | package com.dhwooden.ep.controller.wx;
import com.dhwooden.ep.util.HttpClientHelper;
import com.dhwooden.ep.util.PostJson;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMap... | true |
84529015a5e2f76c71bf7699fe53607893f300a2 | Java | Sweety310897/6053_ADS | /ADS-Assignments/m20/updated modules/16.1 BST/BinarySearchTree.java | UTF-8 | 2,964 | 4.0625 | 4 | [] | no_license | /**
* Class for binary search tree.
* @param <Key> The key
* @param <Value> The values
*/
class BinarySearchTree<Key extends Comparable<Key>, Value> {
/**.
* starting element in the BST.
*/
private Node root;
/**.
* Class for node.
*/
class Node {
/**.
... | true |
99c20f7398764dd24c8d3d06e4045694bbfe663a | Java | ggthjew4/Java-Hibernate-Design | /fackernate/src/main/java/practice/fackernate/SqlCreator.java | UTF-8 | 722 | 2 | 2 | [] | no_license | package practice.fackernate;
import practice.fackernate.mapping.MappingObject;
public interface SqlCreator {
/**
* insert into ${tableName} (${column}, ${column}..) values(?, ?..)
* @return
*/
String createSaveSql(MappingObject obj);
/**
* update ${tableName}
* set ${column} = ?, ${co... | true |
280477593bfff3f0f4649dd7c5c2fdadf6cb2aed | Java | 01tanmay/Cogni-workspaces | /myworkspace/spring-demo/src/com/demo/anything/TestClass.java | UTF-8 | 179 | 2.171875 | 2 | [] | no_license | package com.demo.anything;
public class TestClass {
public static void main(String[] args) {
MyMath myMath = new MyMath();
System.out.println(myMath.divide(4, 4));
}
}
| true |
3f8d1b3a29c81bb13310b2b294a4a2288e9e9317 | Java | MagdaToczek/library | /src/main/java/com/library/library/service/DbService.java | UTF-8 | 1,095 | 2.34375 | 2 | [] | no_license | package com.library.library.service;
import com.library.library.domain.Book;
import com.library.library.domain.CopyOfBook;
import com.library.library.repository.LibraryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Ser... | true |
b2056d59b3817d1ed17382e75da97ec08987b977 | Java | Yasko1/JavaWeb | /Task3/src/by/javatraining/task3/exception/GeneralException.java | UTF-8 | 482 | 2.953125 | 3 | [] | no_license | package by.javatr.task3.exception;
/** General exception
* exception in our task
* can use as wrapper
*/
public class GeneralException extends Exception{
/**
* Class has 4 constructors
*/
public GeneralException(){}
public GeneralException(String message){
super(message);
... | true |
63a4fc7ec9b3cd9128391ba7fe55f813db3e9719 | Java | yanyufeng89/plusJob | /src/main/java/com/jobplus/service/ISitesService.java | UTF-8 | 1,104 | 1.820313 | 2 | [] | no_license | package com.jobplus.service;
import com.jobplus.pojo.Sites;
import com.jobplus.pojo.MyCollect;
import com.jobplus.pojo.Page;
public interface ISitesService {
/**
* //同时 插入一条站点分享记录
* @param record
* @return
*/
int insertSiteAndSiteShare(Sites record);
/**
* 我分享的站点列表
* @param record
* @return
*/
... | true |
98892e2557d1d7113aec93736ad2065bf52d6b0d | Java | AananR/Math-Practice-App | /app/src/main/java/com/lab1/seg/simplepracticetestapp/MultiplicationQuestions.java | UTF-8 | 6,725 | 2.71875 | 3 | [] | no_license | package com.lab1.seg.simplepracticetestapp;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.Te... | true |
5400138f92df8ad3a6cc15782897b9e131de45a2 | Java | ren19890419/lvxing | /src/main/java/p655io/reactivex/internal/operators/maybe/MaybeToFlowable.java | UTF-8 | 392 | 1.710938 | 2 | [] | no_license | package p655io.reactivex.internal.operators.maybe;
import p655io.reactivex.Flowable;
import p655io.reactivex.MaybeSource;
/* renamed from: io.reactivex.internal.operators.maybe.a */
public final class MaybeToFlowable<T> extends Flowable<T> {
/* renamed from: b */
final MaybeSource<T> f27507b;
public Mayb... | true |
5dd2febcf7a34357333be2c1d3ae5d35a83f59b0 | Java | Doublefuck/securit | /src/main/java/com/mmall/common/RequestHolder.java | UTF-8 | 1,211 | 2.9375 | 3 | [] | no_license | package com.mmall.common;
import com.mmall.model.SysUser;
import javax.servlet.http.HttpServletRequest;
/**
* 将request中的信息放入到ThreadLocal中
* ThreadLocL相当于一个Map,其中的key对应的是当前线程
* Created by Administrator on 2018/3/3 0003.
*/
public class RequestHolder {
// 将用户信息存入到ThreadLocal中
private static ... | true |
34e4feece0b9dc9caba5d79c59ad77be2b0a97c0 | Java | matthewglover/EchoServer | /src/main/java/Pipeable.java | UTF-8 | 651 | 2.890625 | 3 | [] | no_license | import java.io.IOException;
import java.util.Observable;
import java.util.Observer;
public abstract class Pipeable extends Observable implements Observer {
@Override
public void update(Observable o, Object arg) {
try {
onData((String) arg);
} catch(Exception e) {
throw n... | true |
08c6918cbe9f9be063af3832c2ec9308f5069fc7 | Java | Finden-Labs/Android | /Braintree-Payments/ClientTokenData.java | UTF-8 | 704 | 2.390625 | 2 | [] | no_license | package com.pranjal;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ClientTokenData {
@SerializedName("client_token")
@Expose
private String clientToken;
/**
*
* @return
* The clientToken
*/
public St... | true |
97e1cd36fe1bf623ae5f58a647149ffe9b29eadb | Java | fcambarieri/rest-api-framework | /src/main/java/com/ml/project/api/core/controllers/PingController.java | UTF-8 | 820 | 2.125 | 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 com.ml.project.api.core.controllers;
import com.ml.project.api.core.services.MetricsService;
import java.io.IOException;
impor... | true |
9b0cc42c41c8bdd6a0b0c521985358015caca943 | Java | Ning1253/redstone-multimeter-fabric | /src/main/java/rsmm/fabric/server/ServerLogManager.java | UTF-8 | 2,171 | 2.296875 | 2 | [
"MIT"
] | permissive | package rsmm.fabric.server;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtList;
import rsmm.fabric.common.Meter;
import rsmm.fabric.common.TickPhase;
import rsmm.fabric.common.event.EventType;
import rsmm.fabric.common.event.MeterEvent;
import rsmm.fabric.common.log.LogManager;
import rsmm.fabric.... | true |
d2ba966d547623f5cbbff8178c45361d8d8e6be4 | Java | wsws0521/IDEA-Vincent-MyJavaTools | /HexWebserviceTest/src/cn/vincent/xmlvend/client/MeterFaultReport.java | GB18030 | 1,631 | 2.046875 | 2 | [] | no_license |
package cn.vincent.xmlvend.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* A generic meter fault report, must be extended.
*
*
* <p>MeterFaultReport co... | true |
b48c3ed1667d271da9edb258cb11c1bda6261853 | Java | mazhaohui0710/cool-framework | /eiff-framework-log-parent/eiff-framework-log-cat/src/main/java/com/eiff/framework/log/cat/client/hug/TransactionHug.java | UTF-8 | 1,353 | 2.1875 | 2 | [] | no_license | package com.eiff.framework.log.cat.client.hug;
import java.util.Map;
import com.eiff.framework.log.api.HdLogger;
import com.eiff.framework.log.api.trace.Span;
import com.eiff.framework.log.api.trace.Tracer;
public class TransactionHug<V> {
private static HdLogger LOGGER = HdLogger.getLogger(TransactionHug.class);
... | true |
b47898f87d2181718c86d13572754b198dbae7b6 | Java | tboqi/tbqapps | /javaApps/cw/src/java/message/com/cc/cw/dao/BroadcastDAO.java | UTF-8 | 731 | 2.15625 | 2 | [] | no_license | package com.cc.cw.dao;
import java.util.List;
import java.util.Map;
import com.cc.cw.domain.Broadcast;
public interface BroadcastDAO {
/** 发布一条新广播 */
public int add(Broadcast broadcast);
/** 根据发布时间倒序取的广播 实现分页 */
public List<Broadcast> getBroadcastOrderByDate(int start, int count);
public List<Broadcast> getB... | true |
ae8f35bb49a7163cc709cfb42fde6c5bf2508b65 | Java | sultaniyad/CallMe | /app/src/main/java/com/iyad/sultan/callme/Controller/Adapter.java | UTF-8 | 2,555 | 2.4375 | 2 | [] | no_license | package com.iyad.sultan.callme.Controller;
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.iyad.sultan.callme.Model.Contacts;
import com.iyad.sultan.c... | true |
70b4f13f76a52b49479a06c3bac74302f3ea696b | Java | OrAviv/mmn14 | /src/q1/Cell.java | UTF-8 | 828 | 3.9375 | 4 | [] | no_license | package q1;
// This Class purpose is to act as a generic Node for q1.List Class implementation.
public class Cell <E>
{
// data parameter
private E data;
// next cell parameter.
private Cell nextCell;
// Constructor
public Cell(E data)
{
this.setData(data);
}
// Constructo... | true |
49c87af0fac4924a77e2d6c0424ca36055f78b04 | Java | vogti/AVR-Remote | /AVR-Remote/src/de/marcovogt/avrremote/Info.java | UTF-8 | 2,431 | 2.59375 | 3 | [
"MIT"
] | permissive | package de.marcovogt.avrremote;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.JButton;
import javax.swing.JTextPane;
import javax.swing.UIManager;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;
imp... | true |
ac3e022f793e2618e179591feff2d1f94ea3ac57 | Java | JuneXi/LC | /leetcode/src/company/google/TheSkyLineProblem2.java | UTF-8 | 1,069 | 3.03125 | 3 | [] | no_license | package company.google;
import java.util.ArrayList;
import java.util.List;
public class TheSkyLineProblem2 {
public List<int[]> getSkyline(int[][] buildings) {
ArrayList<int[]> res = new ArrayList<int[]>();
if(buildings == null || buildings.length == 0 || buildings[0] == null || buildings[0].l... | true |
e6c2309bd753b2cf8c7de23178a3c96fb1ec531f | Java | chaos-dd/videoSearch_java | /src/main/java/casia/isiteam/videosearch/slave/SlaveSearchHandler.java | UTF-8 | 2,466 | 2.375 | 2 | [] | no_license | package casia.isiteam.videosearch.slave;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import casia.isiteam.videosearch.protocol.Protocol;
import casia.isiteam.videosearch.protocol.Protocol.Request;
import casia.isiteam.videosearch.util.ProtocolParam;
import io.n... | true |
4e3f6ca27b93a8249c8fe7c9e2aecdcc95d5958a | Java | gauravt1996/Learning-Portal | /Code/src/gt/model/Subject.java | UTF-8 | 855 | 2.125 | 2 | [] | no_license | package gt.model;
public class Subject {
private String coid;
private String bid;
private String sid;
private String sname;
private String sicon;
private String sdesc;
public String getCoid() {
return coid;
}
public void setCoid(String coid) {
this.coid = coid;
}
public String getBid() ... | true |
d0ed5ca19381a1441bb43fcf37ab7e0907eb2a49 | Java | easemeng/java | /workspace/day04/src/com/igeek/string/StringTest2.java | GB18030 | 638 | 3.78125 | 4 | [] | no_license | package com.igeek.string;
public class StringTest2 {
public static void main(String[] args) {
String str1 = "hello";
//charAt ʾָ± ±Ӧַ
char c = str1.charAt(0);
System.out.println(c);
//equalsжֵַǷ ==
boolean flag = str1.equals("hello");
System.out.println(flag);
boolean flag2 = str1.equ... | true |
80188dee7fb1f18251566bdfcf4823e9a7f023c8 | Java | Lupicus/EnameledArmor | /src/main/java/com/lupicus/ea/data/EAModelProvider.java | UTF-8 | 4,644 | 1.796875 | 2 | [
"MIT"
] | permissive | package com.lupicus.ea.data;
import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
import com.lupicus.ea.Main;
import com.lupicus.ea.item.EAArmorItem;
import com.lupicus.ea.item.ModItems;
import net.minecraft.data.PackOutput;
import net.minecraft.data.models.ItemModelGenerators;
im... | true |
72c2c3ba95af6b880d995066f74b5d31b7eee14e | Java | ardeliaraminta/OOPFinalProject | /src/oopfinal/MainStaff.java | UTF-8 | 8,370 | 3.21875 | 3 | [] | no_license | package oopfinal;
import java.io.*;
import java.util.Scanner;
class MainStaff {
private static Scanner input;
public static void staff() {
// staff main menu ( register or login )
input = new Scanner(System.in);
System.out.println(" ------------------------------------");
Syste... | true |
338e07531f6023d76bcfeb1154f4f6d52643c763 | Java | jpmpassos/projetojsonbpostgresql | /src/main/java/br/com/medinapassos/base/dao/ClienteDAO.java | UTF-8 | 517 | 1.929688 | 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 br.com.medinapassos.base.dao;
import br.com.medinapassos.base.Cliente;
import java.util.List;
/**
*
* @author João Paulo
*... | true |
73e51f03509ac10fd33eabc8762f444de124771b | Java | agermenos/codeFights | /src/com/sleepsoft/challenges/leetcode/ThreeSum.java | UTF-8 | 1,229 | 2.984375 | 3 | [] | no_license | package com.sleepsoft.challenges.leetcode;
import org.junit.jupiter.api.Test;
import java.util.*;
import java.util.stream.Collectors;
class ThreeSum {
public List<List<Integer>> threeSum(int[] nums) {
List<Integer>numList = Arrays.stream(nums).boxed().collect(Collectors.toList());
Set<List<Intege... | true |
8bddf046a265b48ac3b1a6fba8b03b255fc458e2 | Java | aagalkin/Prog.Kiev | /Module2/Lesson2/Task3/IPhone5.java | UTF-8 | 229 | 2.21875 | 2 | [] | no_license | public class IPhone5 extends Phone{
public IPhone5(){
screenSize = 4;
imei = 3333333;
touch = true;
hasWifi = true;
name = "IPhone5";
sim = new SimCard(this);
}
}
| true |
3f31626cd6ae9b24c6a348fcf074b5d0abcdb3dd | Java | tzbgithub/keqidao2 | /qidao-api-service-dao/src/main/java/com/qidao/application/entity/organization/OrganizationDetail.java | UTF-8 | 805 | 1.617188 | 2 | [] | no_license | package com.qidao.application.entity.organization;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrganizationDetail {
private String name;
private String belong;
private St... | true |
ffe9c7936946f679599f67bc778d93686c30299c | Java | harshp8l/deep-learning-lang-detection | /data/test/java/e0b9180cf24ef6b9df32d2cd42ec6035d9202936ProcessAmends.java | UTF-8 | 739 | 2.28125 | 2 | [
"MIT"
] | permissive | package org.bungeni.trackchanges.process.schema;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Ashok Hariharan
*/
public class ProcessAmends {
private List<ProcessAmend> processAmends = new ArrayList<ProcessAmend>(0);
/**
* @return the processAmends
*/
public List<Proces... | true |
32790e50ae43ccc816f6846809395bd8d80fc27d | Java | stanvanrooy/decompiled-instagram | /decompiled/instagram/sources/p000X/C031405q.java | UTF-8 | 1,427 | 1.90625 | 2 | [] | no_license | package p000X;
import android.content.Context;
import java.io.File;
import java.io.RandomAccessFile;
/* renamed from: X.05q reason: invalid class name and case insensitive filesystem */
public class C031405q extends C038208p {
/* JADX WARNING: Code restructure failed: missing block: B:11:0x0029, code lost:
... | true |
efe66af5f296dc5c8f2d20462eb58e047322999c | Java | learn-our-api/REST_API | /src/com/cxf/restapis/framework/diagnosis/util/LogManager.java | UTF-8 | 3,592 | 2.1875 | 2 | [] | no_license | package com.cxf.restapis.framework.diagnosis.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.cxf.restapis.framework.util.ValidationUtil;
/**
* <pre>
*... | true |
7920c109d866b28b6bf462bdf7ccf115e35103a7 | Java | przodownikR1/thymeleaf_kata | /src/test/java/pl/java/scalatech/RepositoryTest.java | UTF-8 | 3,117 | 2.28125 | 2 | [
"MIT"
] | permissive | package pl.java.scalatech;
import java.util.List;
import org.fest.assertions.Assertions;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ErrorCollector;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.ann... | true |
14cf9ddbb25740fb155112ccc494a8ea2ef8f52a | Java | cgarnier/Sprang | /src/main/java/com/twomoro/sprang/models/ControllerDetails.java | UTF-8 | 2,153 | 2.609375 | 3 | [] | no_license | package com.twomoro.sprang.models;
import com.twomoro.sprang.models.MethodDetails;
import org.springframework.web.bind.annotation.RequestMapping;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
/**
* Created by cgarnier on 24/04/14.
*/
public class ControllerDet... | true |
44d1c950610470bd0266aa12674325d7c2bc91f9 | Java | TechnoSandy/PingPong | /Ball.java | UTF-8 | 2,221 | 3.15625 | 3 | [] | no_license | import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class Ball here.
*
* @author (Sandeep Satone)
* @version (V 1.0)
*/
public class Ball extends Actor
{
private int XSPEED = 5;
private int YSPEED = 5;
/**
* Act - do wh... | true |
cb7e90f92a040ee275f1b106e3e6eb02bae026c7 | Java | unizenscript/Denizen-For-Bukkit | /plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySmall.java | UTF-8 | 2,700 | 2.515625 | 3 | [
"MIT"
] | permissive | package com.denizenscript.denizen.objects.properties.entity;
import com.denizenscript.denizen.objects.EntityTag;
import com.denizenscript.denizencore.objects.core.ElementTag;
import com.denizenscript.denizencore.objects.Mechanism;
import com.denizenscript.denizencore.objects.ObjectTag;
import com.denizenscript.d... | true |
7dd6cc66d37c78243ed7f3e18cfab47360ec0aa3 | Java | cooocy/trie-tree-search | /src/v3/graviti/Dataset.java | UTF-8 | 371 | 2.171875 | 2 | [] | no_license | package v3.graviti;
import v3.Associable;
public final class Dataset extends Associable {
public Dataset(String name, int frequency) {
super(name, frequency);
}
@Override
public String toString() {
return "Dataset{" +
"name='" + value + '\'' +
", frequ... | true |
d73105a36aef59fd68b807cf5de0eb9b39fa6392 | Java | Fhernd/Java-Ejercicios | /JavaEjercicios/src/main/java/ejercicio0000022/CapturaJOptionPane.java | UTF-8 | 355 | 2.65625 | 3 | [] | no_license | package ejercicio0000022;
import javax.swing.JOptionPane;
/**
*
* @author John Ortiz Ordoñez
*/
public class CapturaJOptionPane {
public static void main(String[] args){
String nombre;
nombre = JOptionPane.showInputDialog("Ingrese su nombre: ");
JOptionPane.showMessage... | true |
97f357fbce6b3b0ade73de2260fe3e8ac9d4ac39 | Java | zy1256/JAVA | /99.REPORT/trunk/src/com/itwill/sungjuk/field/StudentArrayMain.java | UHC | 413 | 2.765625 | 3 | [] | no_license | package com.itwill.sungjuk.field;
public class StudentArrayMain {
public static void main(String[] args) {
Student[] students = new Student[10];
//1.ü()
//2.ü
//3.й(̸,,) ã
//4.(й 2 л 0ó)
//5.лü ()
}
}
| true |
f4cbc419297299bf6ea30cacaf46a81b0ef46b05 | Java | fsnicolino/anathema | /Campaign_Plot/src/net/sf/anathema/campaign/module/NoteTypeConfiguration.java | UTF-8 | 2,892 | 1.84375 | 2 | [] | no_license | package net.sf.anathema.campaign.module;
import net.sf.anathema.campaign.note.model.IBasicItemData;
import net.sf.anathema.campaign.note.persistence.BasicDataItemPersister;
import net.sf.anathema.campaign.note.view.NoteView;
import net.sf.anathema.campaign.persistence.ISeriesPersistenceConstants;
import net.sf.anathem... | true |
408a745233ce6a63ca4a03b1929787a38b620ebd | Java | nnasta3/Android-Photo-Library | /app/src/main/java/com/example/genius/android45/MainActivity.java | UTF-8 | 9,342 | 1.992188 | 2 | [] | no_license | package com.example.genius.android45;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.hardware.input.InputManager;
import android.media.Image;
import android.support.v7.app.Alert... | true |
1db4da8a74b790e0c2816b81aa72419e90a3066a | Java | Nubunaga/AlgoDatakul | /Fråga6/src/OrderdQueue.java | UTF-8 | 7,345 | 3.65625 | 4 | [] | no_license | import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Random;
/**
* This class will create an general ordered queue based on the ADT <em> QUEUE </em>
* and will be implemented in a <em> FIFO</em> mather meaning the first that goes in
* is the last to go out, however. Since the ... | true |
7b7d25be1515a1dddf2fc388058841b82be85685 | Java | zhangchao1215/DoctorSixSixSix | /app/src/main/java/jiyun/com/doctorsixsixsix/view/JiaHaoDocView.java | UTF-8 | 414 | 1.757813 | 2 | [] | no_license | package jiyun.com.doctorsixsixsix.view;
import java.util.List;
import jiyun.com.doctorsixsixsix.modle.bean.JiaHaoDocBean;
/**
* 项目名称: 血压卫士
* 类描述:
* 创建人: Administrator
* 创建时间: 2017/6/13 11:18
* 修改人: 张超
* 修改内容:
* 修改时间:aa
*/
public interface JiaHaoDocView {
void JiaHao(List<JiaHaoDocBean.DataBean.Schedul... | true |
8f6675e54ca3302154d17ef08f737a870e393ff9 | Java | caoyang4/Java | /src/juc/executors/thread/TestWaitNotify.java | UTF-8 | 897 | 3.0625 | 3 | [] | no_license | package src.juc.executors.thread;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class TestWaitNotify {
public synchronized void doNotify(){
System.out.println("begin to notify");
notifyAll();
System.out.println("end to notify");
}
public... | true |
80d95b134e5ff34fde2cdb4cdad8fecf9c179e18 | Java | pabhi66/Rutgers-Classes | /Data Structure (interview questions\practice)/src/Stack_Queue_PQ/Stack.java | UTF-8 | 1,452 | 3.703125 | 4 | [] | no_license | package Stack_Queue_PQ;
import java.util.NoSuchElementException;
public class Stack {
private Node head;
private int size;
public Stack(){
this.head = null;
this.size = 0;
}
public Node push(int data){
Node temp = new Node(data);
if(head == null){
head = temp;
size++;
re... | true |
41df2f553ecc592fa4a96ec833cc6bd313781557 | Java | williamgong2015/2112 | /src/test/testsA5/WorldTest.java | UTF-8 | 2,676 | 3.296875 | 3 | [] | no_license | package test.testsA5;
import java.io.IOException;
import org.junit.Test;
import game.constant.Constant;
import game.exceptions.SyntaxError;
import servlet.element.Critter;
import servlet.element.Food;
import servlet.element.Rock;
import servlet.world.Position;
import servlet.world.World;
/**
* Black box test of W... | true |
9f3b2f9167ad04d95329bc1a389603d19d5793a3 | Java | uryyyyyyy/javaSamples | /javaLang/src/main/java/com/github/uryyyyyyy/javaSamples/javaLang/annotation/impl/SampleTest.java | UTF-8 | 678 | 2.25 | 2 | [] | no_license | package com.github.uryyyyyyy.javaSamples.javaLang.annotation.impl;
import com.github.uryyyyyyy.javaSamples.javaLang.annotation.marker.TestAnnotation;
public class SampleTest {
@TestAnnotation public static void m1 () { } // テストは成功すべき
public static void m2 () { }
@TestAnnotation public static void m3 () { // テスト... | true |
214ffc8740156d26346c10e900b01aec183b941d | Java | eiribarren/M6-DAM2-epumer | /UF1/Proyecto tres en raya/src/Tablero.java | UTF-8 | 1,961 | 3.1875 | 3 | [] | no_license | import java.awt.Dimension;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Tablero {
JFrame main;
Casilla[][] casillas;
public Tablero(Casilla.CasillaInterface listener) {
this.start(listener);
}
pu... | true |
8ab35fa083ddd7b836b5df766c95d4bffd716bde | Java | tomasbargut/absence-app | /docs/servlet.example.java | UTF-8 | 764 | 2.171875 | 2 | [] | no_license | package servlet;
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;
import javax.servlet.http.HttpSession;
// TODO: Agregar e... | true |
178b14e4deec4634880946c5837e5e03c619884a | Java | E-Trapp/ETrapp-Web | /src/main/java/cat/udl/etrapp/server/models/EventComment.java | UTF-8 | 1,074 | 2.25 | 2 | [] | no_license | package cat.udl.etrapp.server.models;
import java.util.HashMap;
import java.util.Map;
public class EventComment {
private long id;
private String comment;
private long userId;
private long eventId;
public long getId() {
return id;
}
public void setId(long id) {
... | true |
1fe97eb4225189fbd256a5dbc40c04115bde1d23 | Java | coderextreme/lircom | /src/main/java/f00f/net/irc/martyr/commands/AwayCommand.java | UTF-8 | 1,129 | 3.15625 | 3 | [
"Apache-2.0"
] | permissive | package f00f.net.irc.martyr.commands;
import f00f.net.irc.martyr.OutCommand;
/**
* Defines the AWAY message which is used to indicate that you are or are not away from the keyboard.
*
* @author Daniel Henninger
*/
public class AwayCommand implements OutCommand
{
String awayMessage = null;
/**
* A b... | true |
bb222333385abe8ed1a7845a8dd6a2c3d9affe8c | Java | gabbyoliveira/REU_Summer2016 | /ConTest files/TestControllerFactory.java | UTF-8 | 730 | 2.875 | 3 | [] | no_license | package conTest;
public class TestControllerFactory
{
public static TestController createTestController(String className)
{
try
{
Class<?> cls = Class.forName(className);
Object result = cls.newInstance();
if (result instanceof TestController)
... | true |
489887fe68d3ed1d095731a5ba967430aabb0a9d | Java | alpiysl/miCollabDesktop | /src/test/java/miCollab/MiCollabDesktopApp.java | UTF-8 | 12,117 | 2.421875 | 2 | [] | no_license | package miCollab;
import io.appium.java_client.windows.WindowsDriver;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.*;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.AfterClass;
import org.testng.annotations.Aft... | true |
feb182b6983742fdfe1345be789edba5964749bb | Java | jessije/ViktorClasses | /src/com/Concurenccy/eight/SleepTask.java | UTF-8 | 309 | 2.90625 | 3 | [] | no_license | package com.Concurenccy.eight;
public class SleepTask implements Runnable {
@Override
public void run() {
try {
System.out.println("I am sleeping....");
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
| true |
49249cd89cb5e84125be2bd448de1672290776f0 | Java | EDACC/edacc_aac | /src/edacc/configurator/aac/racing/Default.java | UTF-8 | 6,993 | 2.28125 | 2 | [
"MIT"
] | permissive | package edacc.configurator.aac.racing;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import edacc.api.API;
import edacc.configurator.aac.AAC;
import edacc.configurator.aac.Parameters;
import edacc.configurator.aac.SolverConfiguration;
import edacc.model.Configu... | true |
cbf24030710d8ca89f0a14f081fd2ffbd945828c | Java | iambilalamri/e-min-school | /src/main/java/com/bamri/school/repository/FormationRepository.java | UTF-8 | 480 | 1.945313 | 2 | [] | no_license | package com.bamri.school.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.web.bind.annotation.CrossOrigin;
import com.bamri.school.entities.Formation;
@Reposito... | true |
79bae5ab0b4632e0194aca8f27b999ca4e1abbca | Java | NetCine/NetCine | /Proyecto cine/src/bbdd/BD_Compra.java | ISO-8859-10 | 5,363 | 2.8125 | 3 | [] | no_license | package bbdd;
import java.sql.*;
import modelos.*;
/**
* Clase para lo refente al objeto compra
* @author Javier
*
*/
public class BD_Compra extends BD_Conector {
private static Statement s;
private static ResultSet reg;
public BD_Compra(String file){
super (file);
}
/**
* Meto... | true |
93e4a7ceef30601af9a2cf9370886bae013efd3f | Java | zys870135491/springcloud2020 | /cloud-customer-order80/src/main/java/com/zys/springcloud/Controller/OrderController.java | UTF-8 | 1,171 | 1.976563 | 2 | [] | no_license | package com.zys.springcloud.Controller;
import com.zys.springcloud.entities.CommonResult;
import com.zys.springcloud.entities.Payment;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import javax.annotatio... | true |
b581a25d827390deb61332254744da43f2d45229 | Java | qiuchili/ggnn_graph_classification | /program_data/JavaProgramData/22/630.java | UTF-8 | 1,174 | 2.828125 | 3 | [
"MIT"
] | permissive | package <missing>;
public class GlobalMembers
{
public static int Main()
{
void trans(int * x,int * y);
int[] a = new int[300];
int i;
int j;
int n = 0;
String c = new String(new char[300]);
for (i = 1;i <= 300;i++)
{
String tempVar = ConsoleInput.scanfRead();
if (tempVar != null)
{
a[i ... | true |
9b0e46094a742841f065f0df19fe0d086a143b2f | Java | imka239/MethodsTranslation4 | /src/main/helper/LeafTemplate.java | UTF-8 | 402 | 2.28125 | 2 | [] | no_license | package main.helper;
import java.util.List;
import static main.helper.Templates.*;
public class LeafTemplate {
public void print(AllInfo allInfo) {
List<Leaf> leafs = allInfo.getLeafs();
var leafsStr = new StringBuilder();
leafs.forEach(l -> leafsStr.append(l.name.toUpperCase()).append(... | true |
a7de8ad6acb307541676b196286e9f3edd745825 | Java | Elblonko/kepler | /display-redirect/src/au/edu/jcu/kepler/hydrant/MonitorValueBatch.java | UTF-8 | 3,334 | 2.03125 | 2 | [] | no_license | /*
* Copyright (C) 2007-2008 James Cook University (http://www.jcu.edu.au).
*
* This program was developed as part of the ARCHER project (Australian
* (Research Enabling Environment) funded by a Systemic Infrastructure
* Initiative (SII) grant and supported by the Australian Department of
* Innovation, Industry... | true |
2542ade812eede2e382882814214c5e139d5d747 | Java | empratysg/Study-And-Example | /app/src/main/java/com/genie/study/texttimer/TimerTextViewFragment.java | UTF-8 | 2,404 | 2.234375 | 2 | [] | no_license | package com.genie.study.texttimer;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Edi... | true |
80775a1dd93fcba9168718bc4830eeda44e0e65c | Java | laoqianlaile/xwoa | /02branches/kxoa/src/main/java/com/centit/bbs/service/impl/VBbsThemeUserManagerImpl.java | UTF-8 | 1,440 | 1.9375 | 2 | [] | no_license | package com.centit.bbs.service.impl;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.centit.bbs.dao.VBbsThemeReplayDao;
import com.centit.bbs.dao.VBbsThemeUserDao;
import com.centit.bbs.po.VBbsThemeReplay;
import com.centit.... | true |
434afbf761779a0ab781f56331adaebd5a8d4d62 | Java | DevrisOfStar/SWEA | /src/Problem_6958/Solution.java | UTF-8 | 901 | 3.40625 | 3 | [
"MIT"
] | permissive | package Problem_6958;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Solution {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int T = ... | true |
bf9566238dd5a0a7b2f42c89a1b55c2ec22fb89d | Java | simingye/leetcode | /src/RemoveLinkedListElements/RemoveLinkedListElements.java | UTF-8 | 1,235 | 3.65625 | 4 | [] | no_license | package RemoveLinkedListElements;
/**
* Created by Siming on 6/19/15.
*/
public class RemoveLinkedListElements
{
public ListNode removeElements (ListNode head, int val)
{
if (head == null)
return null;
ListNode current = head.next;
ListNode previous = head;
ListN... | true |
25a29aa336f2557818d00150798ed2cd309a39f4 | Java | Hvosten/JavaFXProjects | /src/main/java/SimpleCalculator/Controller.java | UTF-8 | 8,659 | 2.875 | 3 | [] | no_license | package SimpleCalculator;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;
import javafx.scene.input.KeyCombination;
imp... | true |
86c8c9351ce0d0de8b3cd2ebb3cd1f8981d96be8 | Java | ocpadm/instruction | /frontend-web/src/main/java/com/nocom/inst/util/Resources.java | UTF-8 | 2,834 | 1.875 | 2 | [] | no_license | /*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License")... | true |
c6617f6ebe0c0d5798da0ba2572114b1df0edaa8 | Java | adilkhansatemirov/AlgorithmsAndOther | /Week_7-14/src/Week13/HashMap.java | UTF-8 | 924 | 3.34375 | 3 | [] | no_license | package Week13;
import java.util.Map;
public class HashMap {
public static void main(String[] args) {
Map<String,String> map = new java.util.HashMap<>();
map.put("a","astronaut");
map.put("b","builder");
System.out.println(mapBully(map));
}
public static Map<String,String>... | true |
d3745deb50fc7d14cdd8cf853b4e76d21b1d7201 | Java | Thunderducky/TOTNSmain | /src/eric/prototype/camera/BasicGame.java | UTF-8 | 2,274 | 2.328125 | 2 | [] | no_license | package eric.prototype.camera;
import org.lwjgl.LWJGLException;
import org.lwjgl.opengl.Display; // Import LWJGL Display
import org.lwjgl.opengl.DisplayMode; // Import LWJGL DisplayMode
import org.lwjgl.opengl.GL11; // Import LWJGL GL11
import org.lwjgl.input.Keyboard; // Import LWJGL Input
import org.lwjgl... | true |
fd6bd0a53f3aac9afa04b704e00c3c8fae047aee | Java | cerenercan/seniorproj | /main/java/com/example/resources/Current.java | UTF-8 | 309 | 1.65625 | 2 | [] | no_license | package com.example.resources;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import org.springframework.web.client.RestTemplate;
import java.text.DecimalFormat;
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Current {
private Double temp_c;
}
| true |
6f0b15bca11cdadeff2fdb25523d27e0805b2656 | Java | AliceBlog/aliceBlog-java | /core/src/main/java/com/witdor/core/model/TechnologyFilesModel.java | UTF-8 | 1,682 | 2.34375 | 2 | [
"MIT"
] | permissive | package com.witdor.core.model;
import com.witdor.core.model.base.BaseModel;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
/**
* 把今天最好的表现当作明天最新的起点..~
* いま 最高の表現 として 明日最新の始発..~
* Today the best performance as tomorrow newest starter!
... | true |
a566d220d97285c097144417b710ba8e18ab08e9 | Java | frc-2175/SwerveDriveRobot | /src/org/usfirst/frc2175/pid/WheelSpeedPIDController.java | UTF-8 | 1,229 | 2.609375 | 3 | [] | no_license | package org.usfirst.frc2175.pid;
import org.usfirst.frc2175.config.RobotConfig;
import org.usfirst.frc2175.loopers.Loopable;
import edu.wpi.first.wpilibj.CANTalon;
import edu.wpi.first.wpilibj.Encoder;
public class WheelSpeedPIDController extends PIDController implements Loopable {
private CANTalon driveTalon;
... | true |
770c89f5f6322a0224e552b9eea995b458675f17 | Java | Libbomc/jx | /src/main/java/com/mall/service/impl/AboutusServiceImpl.java | UTF-8 | 1,528 | 2.078125 | 2 | [] | no_license | package com.mall.service.impl;
import com.mall.dao.AboutusMapper;
import com.mall.pojo.Aboutus;
import com.mall.service.AboutusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* Created by on 2018/4/10.
*/
@Service("AboutusService")
public ... | true |
ff92ab3e568dd154f23357cede9e0d02883a29c0 | Java | yuexiaoguang/spring4 | /spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethodSelector.java | UTF-8 | 1,064 | 2.421875 | 2 | [] | no_license | package org.springframework.messaging.handler;
import java.lang.reflect.Method;
import java.util.Set;
import org.springframework.core.MethodIntrospector;
import org.springframework.util.ReflectionUtils.MethodFilter;
/**
* 定义用于搜索处理器方法的算法, 包括接口和父类, 同时还处理参数化方法以及接口和基于类的代理.
*
* @deprecated as of Spring 4.2.3, in favor... | true |
6cfb368790843d8080e90c59e0931e08a29ec97c | Java | grudloff/POO-Tarea_1 | /Etapa2/MyWorld.java | UTF-8 | 685 | 3.03125 | 3 | [] | no_license | import java.io.*;
public class MyWorld {
private double t0=0;
public MyWorld(){
this(System.out);
}
public MyWorld(PrintStream output){
out=output;
}
public void setRobot(Robot r) {
this.r=r;
}
public void printStateDescription(){
out.println("Time" + ",\t" + r.getDescriptio... | true |
b4e3ced9cc79aa21258a255b5007957b672565ae | Java | hhungit/java-crm-api | /src/main/java/com/bys/crm/domain/erp/model/BRBranchs.java | UTF-8 | 4,207 | 1.835938 | 2 | [] | no_license | package com.bys.crm.domain.erp.model;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.per... | true |
69a01051940506734aa3a4beeaaa3298a0a16a94 | Java | alexguterres/aonde-almocar | /src/main/java/com/guterres/module/votacao/rest/VotingController.java | UTF-8 | 638 | 2.03125 | 2 | [] | no_license | package com.guterres.module.votacao.rest;
import org.springframework.web.bind.annotation.RestController;
import com.guterres.module.votacao.domain.Restaurant;
import com.guterres.module.votacao.domain.dto.VotingResponse;
import com.guterres.module.votacao.service.VotingService;
import com.guterres.module.votacao.serv... | true |
d10b5e5ea28e0b4c4ad805d1cc69b6cc6d35a07f | Java | andrejss88/AutomationFramework | /java11-httpclient/src/test/java/com/github/statuscodes/AsyncPlayground.java | UTF-8 | 2,393 | 2.828125 | 3 | [] | no_license | package com.github.statuscodes;
import org.junit.jupiter.api.Test;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpHeaders;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
im... | true |
9bfa1c5296b42e982e9b190ccb304ba97f2f24df | Java | maxis7567/Learning-Blocks | /app/src/main/java/com/nova/maxis7567/learningblocks1/tools/Picasso.java | UTF-8 | 1,915 | 2.453125 | 2 | [] | no_license | package com.nova.maxis7567.learningblocks1.tools;
import android.util.Log;
import android.widget.ImageView;
import com.nova.maxis7567.learningblocks1.R;
import com.squareup.picasso.Callback;
import com.squareup.picasso.MemoryPolicy;
import com.squareup.picasso.NetworkPolicy;
public class Picasso {
public static ... | true |
84912e61ea1a000d15807283b64a04c55d62acea | Java | xypp3/AndroidOfflineAudio | /ClientSide/app/src/main/java/com/example/lessonia/AudioPlayer.java | UTF-8 | 4,821 | 2.46875 | 2 | [] | no_license | package com.example.lessonia;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.net.Uri;
import android.os.Bundle;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.os.Messa... | true |
9faf23be9d74518a6d55576c2845f6d22e57354a | Java | nikenking/JavaBase | /src/com/dell/Day27/MaxChildString.java | UTF-8 | 5,677 | 3.59375 | 4 | [] | no_license | package com.dell.Day27;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
abstract class abstc{
public abstract void printfly();
}
public class MaxChildString {
public static void main(String[] a... | true |
8fc147e85d7f62887e72e7df5f0818552ca8362e | Java | ecabanasv/x20132484_CA_DS | /src/main/java/MasterGUI.java | UTF-8 | 3,168 | 2.796875 | 3 | [] | no_license | // Panel control with 3 services button: Booking, Occupancy and Temperature
// AWT Libraries
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.net.ssl.SSLException;
// Swing Libraries
import javax.swing.*;
// gRPC Libraries
... | true |
85d7c3091ad26d8029f245cbf28846bb5d7073fe | Java | LUCKYZHOUSTAR/ProjectTest | /ProjectTest/src/main/java/DistributeDataBase/rule/ruleengine/rule/CartesianProductBasedListResultRule.java | UTF-8 | 11,322 | 2.0625 | 2 | [] | no_license | /**
*
*/
package DistributeDataBase.rule.ruleengine.rule;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
... | true |
3d0690ae99ba2e770b4905047ee00fb2a4a32449 | Java | dkgecov/Bar-Management | /src/main/java/bar/model/Order.java | UTF-8 | 4,747 | 2.453125 | 2 | [
"Apache-2.0"
] | permissive | package bar.model;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import java... | true |
a73074cd2881ba7b82a073a5b02cb0bf7ef68b12 | Java | fracz/refactor-extractor | /results-java/neo4j--neo4j/f33aa2d69f3125cf4569806a7bc52532f7537519/after/StandaloneDatabase.java | UTF-8 | 9,857 | 1.75 | 2 | [] | no_license | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... | true |
380bb592bc43d9c3799f25dedd81cca9761de253 | Java | lotockijj/workspace | /Hello World/src/softserve3/Circle.java | UTF-8 | 1,347 | 3.046875 | 3 | [] | no_license | package softserve3;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.List;
public class Circle implements Serializable{
private double radius;
//c... | true |
c702e6a1c40962b791f963db0b410f5d8a2579e6 | Java | vbhv12/TravelManager | /src/travel/management/system/Hotels.java | UTF-8 | 5,180 | 2.828125 | 3 | [] | no_license | package travel.management.system;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.ResultSet;
public class Hotels extends JFrame implements ActionListener {
JTable t1;
String[] x={"S.No.","Hotel Name","Charges per day","Ac Charge... | true |
5dd3189cbf95c2f55be85d5c7d82d2f5a50d8bb1 | Java | wb-brave/spring-springboot-java-Learn-develop | /Program_wubin/src/main/java/thinkinjava/chapter17/exercise/Exer14.java | UTF-8 | 3,992 | 3.453125 | 3 | [] | no_license | package thinkinjava.chapter17.exercise;
import util.sets.CountingMapData;
import java.util.Map;
import java.util.Properties;
/**
* @author wubin
* @Description
* @project Learn-develop
* @package thinkinjava.chapter17.exercise
* @email wubin326@qq.com
* @date 2018/12/13
* Modification History:
* Date ... | true |
190ec6119a37f8e6fae87b07dbc2d398880b0b98 | Java | qyl123/Test | /fangkuaiA3/src/com/MyPanel.java | GB18030 | 2,703 | 2.703125 | 3 | [] | no_license | package com;
import gamerole.GameMap;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.util.ArrayList;
import javax.swing.*;
public class M... | true |
f4bf768fca882663b41916430eb45d41f0827e9e | Java | tanghaibin/spring-cloud-learn | /learn-stream/src/main/java/com/hobson/cloud/stream/SmsListener.java | UTF-8 | 532 | 2.125 | 2 | [] | no_license | package com.hobson.cloud.stream;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.messaging.Message;
import org.springframework.stereotype.Component;
/**
* 短信监听器
*
* @author haibin.tang
* @create 2020-02-21 12:24 PM
**/
@Slf4j
@Compon... | true |
f146c53cacae8bee1a261d0cd174cfb70f546400 | Java | upitersobaka/JavaRushTasksGitHub | /1.JavaSyntax/src/com/javarush/task/task09/task0926/Solution.java | UTF-8 | 955 | 3.5 | 4 | [] | no_license | package com.javarush.task.task09.task0926;
import java.util.ArrayList;
/*
Список из массивов чисел
*/
public class Solution {
public static void main(String[] args) {
ArrayList<int[]> list = createList();
printList(list);
}
public static ArrayList<int[]> createList() {
//напишит... | true |
9ea276240626c0162997f0134a1d1b89af5dfaeb | Java | Jarrah19/learningJava | /practice.10.31/src/e03/PartTimeWorker.java | UTF-8 | 821 | 3.3125 | 3 | [] | no_license | package e03;
/**
* @author 崔英俊
* date: 2019-10-31
* version: 1.0
*/
public class PartTimeWorker implements Worker {
private String name;
private int workHours;
private int hourly;
public PartTimeWorker(String name, int workHours, int hourly) {
this.name = name;
this.workHours = wor... | true |