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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d35635e54b86404659ecfe6983c7deaa715adcb3 | Java | yjeon-dev/DefenseGame | /src/project/Rank.java | UHC | 9,309 | 2.421875 | 2 | [] | no_license | package project;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;
public class Rank extends JFrame i... | true |
dac8aec2aa60d0430f75cd0f2193e15ed9bd74c7 | Java | venkat22/rbac | /spring-boot-starter-rbac/src/main/java/de/vsfexperts/rbac/spring/supplier/RbacMappingSupplier.java | UTF-8 | 449 | 2.0625 | 2 | [
"MIT"
] | permissive | package de.vsfexperts.rbac.spring.supplier;
import java.util.Map;
import java.util.Set;
import java.util.function.Supplier;
/**
* Marker interface to allow autowiring by type reliantly. Clients should be
* using the supplier instead in order to be more flexible. So use Supplier<...>
* instead of requiring an insta... | true |
e8690112336e4ebb9efa2d9b7038d096aa5c8f5f | Java | ThirdIInc/Third-I-Portal | /hrsaas/src/org/paradyne/lib/report/TXTGenerator.java | UTF-8 | 10,455 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive |
package org.paradyne.lib.report;
import org.paradyne.lib.*;
import org.paradyne.lib.report.*;
import java.io.FileOutputStream;
import java.io.IOException;
import com.lowagie.text.*;
import com.lowagie.text.rtf.RtfWriter;
import com.lowagie.text.rtf.RtfHeaderFooters;
import com.lowagie.text... | true |
6b354d60cf1aa455712bfd755ffd643b21e29213 | Java | fabioaraujo11/testejsp | /src/main/java/br/com/resource/webapp/testejsp/models/Usuario.java | UTF-8 | 2,001 | 2.078125 | 2 | [] | no_license | package br.com.resource.webapp.testejsp.models;
import java.util.Collection;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import org.springframework.securit... | true |
c28532739508cd014f5899ae3857be08ce07abcc | Java | logambikha/Day5 | /test/StudentTest.java | UTF-8 | 878 | 2.59375 | 3 | [] | no_license | package com.loga.day5.test;
import static org.junit.jupiter.api.Assertions.*;
import static org.junit.Assert.assertEquals;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import com.loga.day5.AgeNotWithinRangeException;
import com.loga.day5.NameNotValidException;
import com.loga.d... | true |
e104efaa181ab077572f62d898db2bc1b14a70cf | Java | Dimonmvp/patterns | /src/main/java/com/example/patterns/behavioral/team/Application.java | UTF-8 | 2,191 | 3 | 3 | [] | no_license | package com.example.patterns.behavioral.team;
import java.util.ArrayList;
public class Application {
public String clipboard;
public ArrayList<Editor> editors = new ArrayList<>();
public Editor activeEditor;
public CommandHistory history;
// public void createUI()
// {
// field clipboard... | true |
a4c7f6ba0bbc85afe15afba1680e379df1daf15c | Java | mangelons/uefa | /src/resolucion_uefa/Partido.java | UTF-8 | 1,390 | 2.5625 | 3 | [] | no_license | package resolucion_uefa;
import java.util.Date;
/**
*
* @author Miguel Angel Torres Font
*/
public class Partido {
protected Club local;
protected Club visitante;
protected Estadio estadio;
protected Date fecha;
protected Arbitro arbitro;
public Partido(Club local, Club visitante, Arb... | true |
fe37ea54242d752a60369e05eea00ab9df2d37ad | Java | verve111/alfresco3.4.d | /root/projects/web-client/source/java/org/alfresco/web/ui/repo/tag/SystemErrorTag.java | UTF-8 | 11,509 | 1.742188 | 2 | [] | no_license | /*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | true |
34642f134e7e926fd9fe9c99afa9c22686d57eda | Java | 9julio/availability-api | /src/main/java/com/tui/proof/ws/service/LoggingService.java | UTF-8 | 608 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | package com.tui.proof.ws.service;
import com.tui.proof.dto.request.UserRequest;
import com.tui.proof.ws.dao.UserDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
... | true |
5fc2bd0ee536ee255b13529775f7240025a04217 | Java | Luliang931/YanTu | /YanTu/src/main/java/com/cn/yantu/service/IUserService.java | UTF-8 | 414 | 1.890625 | 2 | [] | no_license | package com.cn.yantu.service;
import com.cn.yantu.domain.User;
public interface IUserService {
int deleteByPrimaryKey(Integer id);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(User record);
... | true |
d5f179eff93495105f7099f405b653966e19d080 | Java | abejfehr/magic-realm | /src/com/magicrealm/common/packet/RegisterPlayer.java | UTF-8 | 412 | 2.375 | 2 | [
"MIT"
] | permissive | package com.magicrealm.common.packet;
import com.magicrealm.common.Player;
public class RegisterPlayer extends Packet {
private Player player;
private int connectionID;
public Player getPlayer(){ return player; }
public void setPlayer(Player player){
this.player = player;
}
public void setConnectionID(int id)... | true |
91e5150d6e9c6e8aeace2bfee0525d55528314e0 | Java | shadowangle/TESS1 | /android/support/v4/graphics/drawable/DrawableCompatApi23.java | UTF-8 | 700 | 1.6875 | 2 | [] | no_license | package android.support.v4.graphics.drawable;
import android.annotation.TargetApi;
import android.graphics.drawable.Drawable;
import android.support.annotation.RequiresApi;
@TargetApi(23)
@RequiresApi(23)
class DrawableCompatApi23
{
public static int getLayoutDirection(Drawable paramDrawable)
{
return paramDr... | true |
9bc32c1840e2a32652ab3fe9953de33678f68f8e | Java | dancer4code/case | /case Module Thread/case thread_utils/src/main/java/com/gang/study/thread/utils/demo/DemoApplication.java | UTF-8 | 804 | 1.6875 | 2 | [] | no_license | package com.gang.study.thread.utils.demo;
import com.gang.study.thread.utils.demo.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DemoAp... | true |
04d16d74f984959a50fb465b4a88bfccac19d12b | Java | themichelletham/CSE214 | /ExtraCreditProject/PercentAdmitComparator.java | UTF-8 | 661 | 3.09375 | 3 | [] | no_license | /**
* PercentAdmitComparator Class implements Comparator
*/
/**
* @author Michelle Tham, SBU ID: 111810145
*
*/
package ExtraCreditProject;
import java.util.Comparator;
public class PercentAdmitComparator implements Comparator<College> {
// Default Constructor
public PercentAdmitComparator() {
... | true |
a5f76b57dcbd4ba318fe98a65ec58253bd7648c6 | Java | kirillterekhov/tchallenge-service | /source/src/main/java/ru/tsystems/tchallenge/service/domain/event/EventConverter.java | UTF-8 | 1,653 | 1.851563 | 2 | [] | no_license | package ru.tsystems.tchallenge.service.domain.event;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.springframework.stereotype.Service;
@Mapper(componentModel = "spring")
@Service
public interface EventConverter {
Event toDto(EventDocument eventDocument);
@Mapping(target = "descriptio... | true |
66289d3f1a2a692ab7b8e073add9e0d667db111f | Java | MarsDingC/MySteam | /src/com/mysteam/action/StreamDownloadAction.java | UTF-8 | 2,479 | 2.1875 | 2 | [] | no_license | package com.mysteam.action;
import com.mysteam.constant.GameState;
import com.mysteam.entity.Game;
import com.mysteam.entity.User;
import com.mysteam.service.StreamDownloadService;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.ServletActionContext... | true |
e00660926ffd96dd802f7fdd04d23feddb2b91fd | Java | JDoggen/mc_plg_AutoPickup | /src/main/java/com/backslide999/autopickup/commands/executors/AutoBlock.java | UTF-8 | 1,599 | 2.4375 | 2 | [] | no_license | package com.backslide999.autopickup.commands.executors;
import com.backslide999.autopickup.AutoPickupPlugin;
import com.backslide999.autopickup.commands.*;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public cla... | true |
28f3dfb6fd561c2443b7ffdaf82271ba8a0667f4 | Java | chzeze/aliyun-datahub-sdk-java | /datahub-sdk-public/src/main/java/com/aliyun/datahub/client/DatahubClientBuilder.java | UTF-8 | 1,861 | 2.171875 | 2 | [
"Apache-2.0"
] | permissive | package com.aliyun.datahub.client;
import com.aliyun.datahub.client.common.DatahubConfig;
import com.aliyun.datahub.client.exception.InvalidParameterException;
import com.aliyun.datahub.client.http.HttpConfig;
import com.aliyun.datahub.client.impl.DatahubClientJsonImpl;
import com.aliyun.datahub.client.impl.DatahubCli... | true |
0faa1ee30c9a6abf82a95467e189f4958d109543 | Java | mart3051/spring-webndb | /src/main/java/com/example/demo/AlienController.java | UTF-8 | 2,003 | 2.359375 | 2 | [] | no_license | package com.example.demo;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import or... | true |
0a84cc3f8f22b187c859f517d0bf3901229cb528 | Java | JaegarSarauer/GroceryGuru | /app/src/main/java/com/groceryguru/jaegar/groceryguru/WebQuery/ProductLookup.java | UTF-8 | 2,075 | 2.234375 | 2 | [] | no_license | package com.groceryguru.jaegar.groceryguru.WebQuery;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;
import com.groceryguru.jaegar.groceryguru.ContentHandlers.AddProduct;
import com.loopj.android.http.*;
import cz.msebera.android.httpclient.Header;
/**
* Created by Jaegar on 2016-11-2... | true |
3410409ae0495bc41753ea194b688dda11673b2b | Java | changwng/mageapp_20170828 | /main/java/com/example/foo/mageapp/catalog/product/OptionValue.java | UTF-8 | 1,043 | 2.1875 | 2 | [] | no_license | package com.example.foo.mageapp.catalog.product;
/**
* Created by foo on 9/2/17.
*/
public class OptionValue {
protected String mCode;
protected String mLabel;
protected String mPrice;
protected String mFormattedPrice;
protected OptionValueRelation mRelation;
public String getCode() {
... | true |
96b070313f842a904018918c565f27ddafa7069f | Java | claracheong4/blue | /src/main/java/blue/exception/BlueException.java | UTF-8 | 286 | 2.40625 | 2 | [] | no_license | package blue.exception;
/**
* The general Blue exception.
*/
public class BlueException extends Exception {
/**
* Instantiates a new Blue exception.
*
* @param message the message.
*/
public BlueException(String message) {
super(message);
}
}
| true |
77f08f3b11b761ee04f9192b6031d7788a2fafa5 | Java | ruqinhu/demo | /java-jdbc-mysql-demo/src/main/java/demo/TransactionExample.java | UTF-8 | 2,670 | 3.09375 | 3 | [] | no_license | package demo;
import org.junit.Test;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class TransactionExample {
private static final String USER = "root";
private static final String PASSWORD = "123456";
private static f... | true |
ac31b315fb3b947f453121011c6ceb19932f284b | Java | glascaleia/geotoolkit-pending | /modules/jaxb-xml-binding/geotk-xml-wfs/src/main/java/org/geotoolkit/wfs/xml/v200/BaseRequestType.java | UTF-8 | 3,795 | 1.601563 | 2 | [] | no_license | /*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2011, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; eit... | true |
2f6ed36915a7e8e520872c459d685ed0ece4fdd9 | Java | InterstellarWalker/iweather | /src/service/NoticationService.java | GB18030 | 3,380 | 1.976563 | 2 | [] | no_license | package service;
import java.util.List;
import modle.IWeatherDB;
import com.example.iweather.R;
import fragment.MainFragment;
import activity.MainActivity;
import activity.MyApplication;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
impo... | true |
91cc253f41f06b4338d2364053e5711771fea913 | Java | liufei56899/em | /src/main/java/com/thinkgem/jeesite/modules/um/entity/SysUserMenu.java | UTF-8 | 1,079 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.um.entity;
import com.thinkgem.jeesite.modules.sys.entity.User;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
impo... | true |
ede0937032819b51713ff79e4438a1077bd0f6b1 | Java | ShaikPraveen/JAVA_2020 | /src/com/java/CommonKeywords/TC03_Testing_Final.java | UTF-8 | 327 | 2.78125 | 3 | [] | no_license | package com.java.CommonKeywords;
public class TC03_Testing_Final extends TC03_Handling_Final_Keyword
{
/*@Override
public void hello()
{
System.out.println("This is child class method");
}*/
public static void main(String[] args)
{
TC03_Testing_Final tc=new TC03_Testing_Final();
tc.hello();
... | true |
93b5834c77b786a5df4a96d3e7b6ef9ce1df7076 | Java | xiaohun6662/A1905-git | /spring/src/main/java/cn/bdqn/service/PigService.java | UTF-8 | 246 | 1.882813 | 2 | [] | no_license | package cn.bdqn.service;
import cn.bdqn.domain.Pig;
public interface PigService {
public void save(Pig pig);
public void update(Pig pig);
public Pig queryById(Integer id);
public Pig queryByNameAndSex(String name,String sex);
}
| true |
0ab5c6e9d003b064a46571bda8fa7f3c74ee5760 | Java | damducthoai/movies-portal | /common/src/main/java/portal/movies/common/servies/impl/TagServiceImpl.java | UTF-8 | 382 | 2.15625 | 2 | [] | no_license | package portal.movies.common.servies.impl;
import portal.movies.common.servies.TagService;
import java.util.Arrays;
import java.util.List;
public class TagServiceImpl implements TagService {
public TagServiceImpl() {
}
@Override
public List<String> Text2Tags(String input) {
String[] tags = ... | true |
fa41386a6e34146f973c8ab2930d9a5331673ee3 | Java | anceker/android-labs-2019 | /students/com1714080901240/app/src/main/java/android/MusicPlayer/Com1714080901240Service.java | UTF-8 | 719 | 1.820313 | 2 | [] | no_license | package android.MusicPlayer;
import android.media.MediaPlayer;
public class Com1714080901240Service {
MediaPlayer mediaPlayer = new MediaPlayer();
public void setMediaPlayer(MediaPlayer mediaPlayer) {
this.mediaPlayer = mediaPlayer;
}
public MediaPlayer getMediaPlayer() {
... | true |
c9ad06e2d13a0179c91e28e05fa71a33509fda33 | Java | DF-Kyun/spring-boot-demo | /kettle-server/src/main/java/com/dfkyun/kettleserver/ext/utils/TaskType.java | UTF-8 | 357 | 1.5 | 2 | [] | no_license | package com.dfkyun.kettleserver.ext.utils;
public class TaskType {
public static final String TASK_TYPE_CENTRAL_REPOSITORY = "central_repository";
public static final String TASK_TYPE_CLEAN_RECORD = "clean_record";
public static final String TASK_TYPE_STATUS_UPDATE = "status_update";
public static fin... | true |
37b4237e2b55f447bb10e3127945539ed9f2cd5e | Java | Neofonie/surlgen | /url-mapping/src/test/java/de/neofonie/surlgen/urlmapping/parser/MappingPatternTest.java | UTF-8 | 9,804 | 1.875 | 2 | [
"MIT"
] | permissive | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 Neofonie GmbH
*
* 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... | true |
5d3398af2ea13f2544bece8099ca0c74dd979afc | Java | kgiove/MobileSub-DConnect | /src/mobile/sdc/sku/ComunicationSetting.java | UTF-8 | 5,177 | 2.796875 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mobile.sdc.sku;
/**
*
* @author ietservizi
*/
import java.io.*;
public class ComunicationSetting {
private int id;
private String yourMobileNumber="";
private String mobileNumber="";
pri... | true |
9274f071774b5e404fdfb92deb1c5642d9bba883 | Java | techforum-repo/youttubedata | /test-coverage-report-jacoco/module1/src/test/java/com/codecoverage/module1/it/Sample1IT.java | UTF-8 | 372 | 2.03125 | 2 | [] | no_license | package com.codecoverage.module1.it;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import com.coveragedemo.module1.Sample1;
class Sample1IT {
@Tag("integration")
@Test
void testReturnValue() throws Exception {
as... | true |
47367376558b1b227eafd0cd1634606bf4bed831 | Java | HIFILEO/Finance | /app/src/main/java/com/example/finance/service/ScreenInfoResponseWeb.java | UTF-8 | 237 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | package com.example.finance.service;
/**
* Web response for screen layouts.
*/
public class ScreenInfoResponseWeb {
private ScreenInfoWeb[] screen;
public ScreenInfoWeb[] getScreenInfoArray() {
return screen;
}
}
| true |
38dbaaf6f3403879d16158be95d9ef06958eab69 | Java | KataKle/online-shop | /src/main/java/pl/sda/spring/mvc/springBoot/controller/ProductController.java | UTF-8 | 1,689 | 2.203125 | 2 | [] | no_license | package pl.sda.spring.mvc.springBoot.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bi... | true |
02a5d8f5806cc549e5ee47eb5a3285a3ac8a7738 | Java | lhllovelife/crm | /src/main/java/cn/andylhl/crm/workbench/service/ClueService.java | UTF-8 | 2,309 | 2.140625 | 2 | [] | no_license | package cn.andylhl.crm.workbench.service;
import cn.andylhl.crm.exception.*;
import cn.andylhl.crm.vo.PaginationVO;
import cn.andylhl.crm.workbench.domain.Activity;
import cn.andylhl.crm.workbench.domain.Clue;
import cn.andylhl.crm.workbench.domain.ClueRemark;
import cn.andylhl.crm.workbench.domain.Tran;
import javax... | true |
e65d4850dc2b1d3e085beb3e68b7fe024e08423f | Java | ritak3/Imgur_Automation | /src/com_Imgur/Result.java | UTF-8 | 1,511 | 2.234375 | 2 | [] | no_license | package com_Imgur;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class Result {
private String result;
private String resultText;
private String TestCase;
private String Screenshot;
public static String ReportTemplate =System.getProperty("user.dir");
// private static ... | true |
4eec092af7e72bbec8dcf3d7984e6909e5a8f2e2 | Java | shihongyan/java | /src/main/Algorithm/ConsumerProducerUsingBlockingQueue.java | UTF-8 | 1,381 | 3.515625 | 4 | [] | no_license | import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class ConsumerProducerUsingBlockingQueue {
/**/
private static ArrayBlockingQueue<Integer> buffer=new ArrayBlockingQueue<Integer>(2);
public static void main(String [] ... | true |
b04cb99f3e12dcf30e88ca4baa7a3c6708d7baa3 | Java | gunner14/old_rr_code | /java_workplace/sns-xiaonei/xiaonei-guide/trunk/src/main/java/com/xiaonei/reg/guide/flows/skagaric/controllers/AgaricLandingInitController.java | UTF-8 | 1,692 | 1.859375 | 2 | [] | no_license | package com.xiaonei.reg.guide.flows.skagaric.controllers;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.paoding.rose.web.Invocation;
import net.paoding.rose.web.annotation.Path;
import net.paoding.rose.web.annotation.rest.Get;
import net.paoding.rose.web.annot... | true |
c9755d015a3b6f3340c64af1ba76270e0a9126b4 | Java | MyRoTeam/MyRoAndroid | /app/src/main/java/com/example/nikhil/myroandroid/LoginActivity.java | UTF-8 | 6,498 | 2.265625 | 2 | [] | no_license | package com.example.nikhil.myroandroid;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings.Secure;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;
import android... | true |
3b3e78782cbfb63054ec9c8616eb21c8ca9e9630 | Java | Alex-MirandaS/MyFarm | /Escritorio/IPC1/tareas/Proyecto1.todo/projecto1/src/main/java/Animales/Herbívoro.java | UTF-8 | 397 | 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 Animales;
import Plantas.Planta;
/**
*
* @author alex
*/
public class Herbívoro extends Animal{
public Herbívoro... | true |
e87c00fa1cd5852d134c0e003586d413887152d1 | Java | ifeilong/feilong | /feilong-lib/feilong-lib-spring-core/src/main/java/com/feilong/lib/springframework/util/ClassUtils.java | UTF-8 | 4,048 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | true |
990f03bb3c334d88483989c5b83f4055bd7392c8 | Java | zt1215866723/surveys | /sur-base-support/sur-bus/src/main/java/com/lfxwkj/sur/model/result/DrillingResult.java | UTF-8 | 3,621 | 2.046875 | 2 | [] | no_license | package com.lfxwkj.sur.model.result;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* <p>
* 勘探点数据表
* </p>
*
* @author 张童
* @since 2020-09-15
*/
@Data
public class DrillingResult implements Serializable {
private static final long serialVersionUID =... | true |
97deab17b022f4ef796836cb855f7f02c826775f | Java | StanHan/workspace | /Demo/testJava/src/main/java/demo/vo/MxCarrierCallsItems.java | UTF-8 | 2,062 | 2.125 | 2 | [] | no_license | package demo.vo;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* describe: 通话明细类(语音详情实体类的辅助类,存放语音详情中的语音详情明细)
* Date: 2017年11月17日 下午14:15:20 <br/>
*... | true |
ede65afe5b4870ac5cc9d7914b0608cc2ec25f0a | Java | ronaldlee/hamsterwheel_core | /src/com/hamsterwheel/util/ColorUtil.java | UTF-8 | 710 | 2.53125 | 3 | [] | no_license | package com.hamsterwheel.util;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorMatrix;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
public class ColorUtil {
public static Bitmap toGrayscale(Bitmap orig) {
int width,height;
height = o... | true |
f89f737cb9877bff822bd4c80d8f47499c831595 | Java | Luoqinglong123/mybatis | /代码/ssm-maven1/src/main/java/com/lql/mybatis/dao/EmployeeMapper.java | UTF-8 | 165 | 1.84375 | 2 | [] | no_license | package com.lql.mybatis.dao;
import java.util.List;
import com.lql.mybatis.entity.Employee;
public interface EmployeeMapper {
public List<Employee> getEmps();
}
| true |
c4f145f73934768fd9c9b0fe784f87f3b529e89b | Java | cigdem24/JavaBootCamp | /javaLesson/inheritance/Main.java | UTF-8 | 1,170 | 2.75 | 3 | [] | no_license | package inheritance;
public class Main {
public static void main(String[] args) {
IndivudualCustomer enginCustomer = new IndivudualCustomer();
enginCustomer.setId(0);
enginCustomer.setCustomerNumber("12345");
enginCustomer.setFirstName("Engin");
enginCustomer.setLastName("Demiroğ");
enginCustomer.setNat... | true |
e473099b691121ad94591b2a55bbc1f9fb1f156d | Java | vipin14119/TaskCreatorApp | /TaskCreator/app/src/main/java/com/app/vipin/taskcreator/TaskAdapter.java | UTF-8 | 1,373 | 2.421875 | 2 | [] | no_license | package com.app.vipin.taskcreator;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.TextView;
import java.util.List;
public class TaskAdapter extends RecyclerView.Adapter<T... | true |
7c4e29259e460e4b732d83083cde8d2de22ea99f | Java | TylerSeventeh/GameExperiment | /src/pew/pew/topdown/FactoryBlock.java | UTF-8 | 3,219 | 2.875 | 3 | [] | no_license | package pew.pew.topdown;
import java.util.ArrayList;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.geom.Rectangle;
//probably should've called this GameFactoryBlock but i hadn't thought of it at the time
public class Factory... | true |
5ef0e1864e9b63618649fdea6e27276e840ee871 | Java | wolfc/jacorb | /src/org/jacorb/idl/util/PrettyPrinter.java | UTF-8 | 2,258 | 2.65625 | 3 | [] | no_license | package org.jacorb.idl.util;
import java.io.File;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import org.apache.log.Logger;
import org.jacorb.idl.parser;
import org.jacorb.util.ObjectUtil;
/**
* Tidies up the java source code using Jalopy.
*/
public class PrettyPrinter {
/**
* Pretty ... | true |
b384e5a61767c939eefb32dccbf291398c203f62 | Java | hkim150/Leetcode-Problems | /Top_100_Liked_Questions/94._Binary_Tree_Inorder_Traversal/solution.java | UTF-8 | 1,504 | 3.890625 | 4 | [] | no_license | /**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* TreeNode(int val, TreeNode left, TreeNode right) {
* this.val = val;
* this.left = left;
* ... | true |
104d3f950568095d67c9d4e651ba2ba752f19136 | Java | codehaus/werkflow | /werkflow-tagalog/src/main/java/org/codehaus/werkflow/tagalog/SimpleWerkflowTagLibrary.java | UTF-8 | 2,388 | 1.90625 | 2 | [] | no_license | /*
* $Id$
*/
package org.codehaus.werkflow.tagalog;
import org.codehaus.tagalog.AbstractTagLibrary;
import org.codehaus.tagalog.TagBinding;
/**
* @author <a href="mailto:mhw@kremvax.net">Mark Wilkinson</a>
* @version $Revision$
*/
public class SimpleWerkflowTagLibrary
extends AbstractTagLibrary
{
public... | true |
87ab744c32422990b187b5c29dd84601d5dd5940 | Java | malikhan5049/parkswift | /src/main/java/com/ews/parkswift/service/FindParkingSpaceService.java | UTF-8 | 9,124 | 2.09375 | 2 | [] | no_license | package com.ews.parkswift.service;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.joda.time.LocalTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org... | true |
ae0e2a69bdae7ffb6f98ac3ede5358260215adec | Java | geovannichavez/YoComproRECARGA | /app/src/main/java/com/globalpaysolutions/yocomprorecarga/models/api/ListSouvenirsByConsumer.java | UTF-8 | 2,359 | 1.960938 | 2 | [] | no_license | package com.globalpaysolutions.yocomprorecarga.models.api;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Josué Chávez on 10/11/2017.
*/
public class ListSouvenirsByConsumer
{
@SerializedName("SouvenirID")
@Expose
private int souvenirID;
... | true |
7adc6c6ae93155fffd3371ae2748022cb56f683e | Java | AlejandroEsc02/Practica3 | /pelucheapp2/src/main/java/com/example/pelucheapp2/MainActivity.java | UTF-8 | 6,209 | 2.453125 | 2 | [] | no_license | package com.example.pelucheapp2;
import android.support.v4.app.FragmentManager;
import android.support.design.widget.TabLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentPagerAdapter;
import a... | true |
883d9d0a17635ea8c5f24107d9598b229e16328a | Java | sakshi-sks/SPRINT-3-GROUP-3 | /TrainingAndPlacement/src/main/java/com/tnp/service/AdminServiceImpl.java | UTF-8 | 2,763 | 2.5625 | 3 | [] | no_license | package com.tnp.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
//import org.springframework.dao.DataIntegrityViolationException;
import com.tnp.admin.exception.ResourceNotFo... | true |
0f21dde2e00ed75aa1b63cc7a2dec0bd27c6a93b | Java | fhcmartins/NetBeansProjects | /CalculadoraRMICliente/src/main/java/calculadorarmiclient/CalculadoraRMIClient.java | UTF-8 | 1,420 | 2.796875 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package calculadorarmiclient;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegis... | true |
970724e1bae7be24220b1eaf9b32cd003d92b3dc | Java | LucasFranciscoCorreia/ProjetoIP2 | /Projeto/src/br/ufrpe/beans/Funcionario.java | UTF-8 | 3,840 | 3 | 3 | [] | no_license | /*
* Projeto PetShop
*
* Tipo: Funcionario
* Tipo 2: Pessoa, descri��o: abstract
*
*Este software foi criado para fins acad�micos, visando a aprova��o na disciplina
*Introdu��o a Programa��o II, lecionada no per�odo 2016.2,
*na UFRPE (Universidade Federal Rural de Pernambuco),
*pelo professor PhD. ... | true |
3a509699a23308b531d382b5d885ee49c63dac71 | Java | ZuRun/learn-practice-create | /lpc-common/lpc-common-monitor/src/main/java/cn/zull/lpc/common/monitor/report/manager/LpcMybatisMonitorManager.java | UTF-8 | 1,300 | 2.0625 | 2 | [
"MIT"
] | permissive | package cn.zull.lpc.common.monitor.report.manager;
import cn.zull.lpc.common.basis.utils.JsonUtils;
import cn.zull.lpc.common.monitor.model.MontiorCollectDataType;
import cn.zull.lpc.common.monitor.model.MontiorCollectDataTypeEnum;
import cn.zull.lpc.common.monitor.report.data.adapter.MybatisMonitorCollectDataAdapter;... | true |
27d4ebcb5993294b49c812e53f32bddf173e38c3 | Java | Elakkiyaab/selenium | /SampleTest/src/SearchTrain.java | UTF-8 | 2,030 | 2.375 | 2 | [] | no_license | import org.apache.commons.io.FileUtils;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
... | true |
3f31c6e61834bf1c501d4d3dcf226a38f64c53f9 | Java | yujia1/Algorithm | /src/map/Entry.java | UTF-8 | 205 | 2.375 | 2 | [] | no_license | package map;
public class Entry {
public String k;
public Integer value;
public Entry next;
public Entry(String k, Integer value) {
this.k = k;
this.value = value;
}
}
| true |
8ab11528defcefc92271ab06b2e56c709dbb2069 | Java | GsusLA/control-maquinaria | /app/src/main/java/mx/grupohi/almacenes/controlmaquinaria/Serializables/Actividades.java | UTF-8 | 2,913 | 2.15625 | 2 | [] | no_license | package mx.grupohi.almacenes.controlmaquinaria.Serializables;
/**
* Created by LERDES2 on 07/03/2017.
*
* Clase que serializa el objeto Actividades con los datos de las actividades registradas
*/
public class Actividades {
private int id;
private int id_reporte;
private String id_concepto;
private... | true |
7707a2a1c6a7badce1fb0e4dc00f17dedb37b84e | Java | nagyist/WhereWeAre | /app/src/main/java/com/dam/t07p02/Modelo/ConexionBD.java | UTF-8 | 5,336 | 2.234375 | 2 | [] | no_license | package com.dam.t07p02.Modelo;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.dam.t07p02.R;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
... | true |
f2bd3e6469be2884459e91cc4e3fb81ce2d83e80 | Java | bellmit/Medscape-decompile | /sources/com/medscape/android/welcome/WelcomeActivity$startMedscape$2.java | UTF-8 | 5,097 | 1.773438 | 2 | [] | no_license | package com.medscape.android.welcome;
import com.medscape.android.Constants;
import com.medscape.android.Settings;
import com.medscape.android.cache.CacheManager;
import com.webmd.wbmdcmepulse.models.CPEvent;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
imp... | true |
dcab8447c1f0f04168a17bb24020db211d4f7fc7 | Java | TheVitik/proglab7 | /Sortinglab/Modules/Processor.java | UTF-8 | 342 | 2.625 | 3 | [] | no_license | //Processor of classes
package Sortinglab.Modules;
import Sortinglab.Interfaces.SortInterface;
public class Processor {
private SortInterface sorter;
public byte[] Start(byte[] array){
sorter.Sort(array);
return array;
}
public void SetSort(SortInterface method){
sorter... | true |
1ada9c7c6dac8bc18558f5d1e1118082cb3c6eb6 | Java | loolzaaa/simple-di-example | /src/main/java/ru/loolzaaa/teach/simpledi/elements/handlers/AnimalHandler.java | UTF-8 | 440 | 3 | 3 | [] | no_license | package ru.loolzaaa.teach.simpledi.elements.handlers;
import ru.loolzaaa.teach.simpledi.annotations.Element;
import ru.loolzaaa.teach.simpledi.elements.Animal;
@Element
public class AnimalHandler implements Handler {
private Animal animal;
public AnimalHandler(Animal animal) {
this.animal = animal;
... | true |
a2acf75eb5b259f07158f7d8d1980aa59ed09177 | Java | alipay/alipay-sdk-java-all | /v2/src/main/java/com/alipay/api/response/KoubeiCateringDishSpecgroupQueryResponse.java | UTF-8 | 1,134 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.KbdishSpecGroup;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: koubei.catering.dish.specgroup.query response.
*
* @a... | true |
c7ec934e2f77642ee75c4d2fbd3b8852caeea10e | Java | Team488/TeamXbot2018 | /Competition2018/src/main/java/competition/subsystems/lean/commands/LeanWithDpadCommand.java | UTF-8 | 1,434 | 2.140625 | 2 | [] | no_license | package competition.subsystems.lean.commands;
import com.google.inject.Inject;
import competition.operator_interface.OperatorInterface;
import competition.subsystems.lean.LeanSubsystem;
import xbot.common.command.BaseCommand;
import xbot.common.properties.DoubleProperty;
import xbot.common.properties.XPropertyManager... | true |
97fc45c0661cc8da44844c57504a584b5852fa23 | Java | PietrosBalbino/New-Thinkers---Aula001 | /Ingrediente.java | UTF-8 | 193 | 2.59375 | 3 | [] | no_license |
class Ingrediente {
public String nome;
public String dataValidade;
public Ingrediente ( String nome, String dataValidade) {
this.nome = nome;
this.dataValidade = dataValidade;
}
} | true |
e1882888cec6d4743e080d63350d3d8cdad95b22 | Java | kylinwang2018/horse_server | /src/main/java/unimelb/bitbox/util/Communication.java | UTF-8 | 694 | 2.640625 | 3 | [] | no_license | package unimelb.bitbox.util;
import unimelb.bitbox.ServerMain;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.logging.Logger;
public class Communication {
private static Logger log = Logger.getLogger(ServerMain.class.get... | true |
2442b73b1f69055f63b96c0c442c4e4e8bf91264 | Java | Minh-Nguyen22/metanit-java | /src/main/java/multi_threading/phaser/Program.java | UTF-8 | 1,151 | 3.4375 | 3 | [] | no_license | package multi_threading.phaser;
import java.util.concurrent.Phaser;
public class Program {
public static void main(String[] args) {
Phaser phaser = new Phaser(1);
new Thread(new PhaseThread(phaser, "Phaser 1")).start();
new Thread(new PhaseThread(phaser, "Phaser 2")).start();
new... | true |
f142ce337143589866620a59dc4e8537f2cc0ca7 | Java | sullis/rewrite | /rewrite-xml/src/main/java/org/openrewrite/xml/AddOrUpdateChild.java | UTF-8 | 3,638 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2021 the original author or authors.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... | true |
1516b94286cc67cd9544cc7f874557634f6e3d06 | Java | IvaCoronel/challenge-recursiva | /challenge/src/main/java/business/BuscadorSocios.java | UTF-8 | 4,458 | 2.859375 | 3 | [] | no_license | package business;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import models.Socio;
public class BuscadorSocios {
private List<Socio> socios;
public BuscadorSocios(List<... | true |
ef3dca493a2b8fe2834edb9d69ccbbff25e987d5 | Java | amakogon/ACO1 | /src/homework/week3/employees/Director.java | UTF-8 | 1,236 | 3.21875 | 3 | [] | no_license | package homework.week3.employees;
import homework.week3.ServiceCenter;
/**
* Created by amakogon on 15.03.15.
*/
public class Director extends Employee implements IDirector {
private ServiceCenter serviceCenter;
public Director(String name, int salary) {
super(name, salary);
}
@Override
public bool... | true |
abc5ada8ab7f0a821ef905452584c2a720fc600d | Java | shwethag/HDFS | /src/hdfs/Client.java | UTF-8 | 992 | 3.171875 | 3 | [] | no_license | package hdfs;
import java.util.Scanner;
import util.Connector;
public class Client {
private Connector connector;
public Client() {
connector = Connector.getConnector();
}
public static void main(String[] args) {
Client client = new Client();
Scanner sc = null;
sc = new Scanner(System.in);
boolea... | true |
43aea48e7e60e6244feffdeff366bdd504e88546 | Java | epam/Lagerta | /lagerta-core/src/test/java/com/epam/lagerta/subscriber/util/MergeUtilUnitTest.java | UTF-8 | 3,404 | 2.34375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright 2017 EPAM Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | true |
e6fda9e3666fac60118bd055de519b60f8531622 | Java | sateesh73/ipl-app | /src/main/java/com/turnament/ipl/repository/TeamRepository.java | UTF-8 | 256 | 1.914063 | 2 | [] | no_license | package com.turnament.ipl.repository;
import org.springframework.data.repository.CrudRepository;
import com.turnament.ipl.model.Team;
public interface TeamRepository extends CrudRepository<Team, Long> {
Team findByTeamName(String teamName);
}
| true |
9578ef43c1c293e044c5dddcdfdfa824b3b73495 | Java | irmle/GOC_JavaServer | /src/Network/RMI_Classes/RMI_InitClasses/RMI_UDP_ConnectionConfirm.java | UTF-8 | 756 | 2.265625 | 2 | [] | no_license | package Network.RMI_Classes.RMI_InitClasses;
public class RMI_UDP_ConnectionConfirm {
public int checkUDP_Connection;
public RMI_UDP_ConnectionConfirm() { }
public RMI_UDP_ConnectionConfirm(flat_RMI_UDP_ConnectionConfirm data) {
this.checkUDP_Connection = data.checkUDPConnection();
}
pu... | true |
fff88560e17b4361dcbe52157cf6003b0e3b6dd4 | Java | CruGlobal/give-content-migration | /bundle/src/main/java/org/cru/importer/GiveDataImportMasterProcess.java | UTF-8 | 6,180 | 2.015625 | 2 | [] | no_license | package org.cru.importer;
import java.io.InputStream;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import javax.jcr.Session;
import org.apache.commons.io.IOUtils;
import org.apache.c... | true |
b3695a80037cd319445aee773b02694801daf200 | Java | arturostrowski/SocialApp | /app/src/main/java/pl/almestinio/socialapp/adapters/CommentsAdapter.java | UTF-8 | 5,327 | 2.234375 | 2 | [] | no_license | package pl.almestinio.socialapp.adapters;
import android.content.Context;
import android.graphics.Color;
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 c... | true |
d3ed395788d1c1a007ce53aeccd683ef4308b71a | Java | ShriHariPrasathCS/pulse | /app/src/main/java/com/pulseplus/model/ContinuePendingOrder.java | UTF-8 | 456 | 1.796875 | 2 | [] | no_license | package com.pulseplus.model;
import com.google.gson.annotations.Expose;
/**
* Bright Bridge on 18-Apr-17.
*/
public class ContinuePendingOrder {
@Expose
public String Result;
@Expose
public String Status;
@Expose
public String Orderid;
public String getResult() {
return Result... | true |
4741e6da40af778cb6812539e6d5b6b5924112dc | Java | bradym80/MenuMine_Java | /src/old/net/sf/hibernate/util/ReflectHelper.java | UTF-8 | 7,565 | 2.15625 | 2 | [] | no_license | // $Id: ReflectHelper.java,v 1.4 2005/08/24 04:33:27 nick Exp $
package net.sf.hibernate.util;
import java.lang.reflect.Constructor;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import net.sf.cglib.beans.BulkBean;
import net.sf.cglib.beans.BulkBeanExcep... | true |
a1a99c5ad30d98d30a2e451dd2b9ed905d6facb2 | Java | happyharley/SlidingMenu | /app/src/main/java/com/example/test/cavas/ui/sufaceview/SurfaceViewTemplate.java | UTF-8 | 1,813 | 2.375 | 2 | [] | no_license | package com.example.test.cavas.ui.sufaceview;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
public class SurfaceViewTemplate extends SurfaceView implements SurfaceHolder.Callback, Runnable {
Sur... | true |
9abdc12af3fb39e6834eb0d2253c63312ae71995 | Java | gferg/TestCRUDAppFinal | /src/main/java/app/Application.java | UTF-8 | 2,278 | 2.578125 | 3 | [] | no_license | package app;
import app.domain.User;
import app.domain.UserStatus;
import app.repository.UserRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBoo... | true |
5c75ae985a2ec26522593223cc63174355d33c35 | Java | adharangaonkar/Application-Engineering-Projects | /SocialCommunitySystem/SocialAndCommunityServiceSystem/src/Interface/HelpSeeker/ManageUserAccount.java | UTF-8 | 12,685 | 2.078125 | 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 Interface.HelpSeeker;
import Business.HelpSeeker.HelpSeeker;
import Business.EcoSystem;
import Business.Employee.Employee;
impo... | true |
6eedd6c0e4c44f09a23c533e304cca102fbd6b3e | Java | LouiLam/YunDaTianXia | /src/com/tlz/shipper/ui/widget/TextViewBarPure.java | UTF-8 | 1,537 | 2.140625 | 2 | [] | no_license | package com.tlz.shipper.ui.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.tlz.shipper.R;
public class TextViewBarPure extends ViewBar {
TextView ... | true |
74adbc5f8c5c932c16a1a65efa7d97492287796f | Java | yuanyanbin/LiveUIAndroid | /liveplayer-sdk-ui/src/main/java/com/baijiayun/live/httputils/util/StringTypeAdapter.java | UTF-8 | 978 | 2.59375 | 3 | [] | no_license | package com.baijiayun.live.httputils.util;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
/**
* Created by Mr.xu on 2018/11/1.
*/
public class StringTypeAdapter extends Typ... | true |
27dbb9283f825079826584ce63f7469a459cc81b | Java | whastica/TallerPAtron-proxy | /src/main/java/co/edu/unicauca/taller_facade_proxy/domain/Order.java | UTF-8 | 1,753 | 2.78125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.unicauca.taller_facade_proxy.domain;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
/*... | true |
03b3789054ab0774b96dc4a5eebcd96325007f65 | Java | LamouchiMS/inf8480 | /tp2/src/ca/polymtl/inf8480/tp2/loadBalancer/LoadBalancer.java | UTF-8 | 6,902 | 2.484375 | 2 | [] | no_license | package ca.polymtl.inf8480.tp2.loadBalancer;
import java.rmi.*;
import java.util.*;
import java.net.*;
import java.nio.*;
import java.io.*;
import java.util.concurrent.*;
import ca.polymtl.inf8480.tp2.shared.*;
public class LoadBalancer implements LoadBalancerInterface {
private String username;
private Strin... | true |
b7eb993c9542f0de852fce0db6e2bd5af9a336c5 | Java | specter01wj/Coding_Practice-Intro_Java_programming | /mysol_ed8/chap_5/lab5_11.java | UTF-8 | 443 | 3.4375 | 3 | [
"MIT"
] | permissive | import java.util.Scanner;
public class lab5_11 {
public static void main(String[] args) {
final int NUM_OF_CHAR = 215;
final int CHAR_PER_LINE = 55;
for(int i = 0; i < NUM_OF_CHAR; i++){
char ch = lab5_10.getRandomChar();
if((i + 1) % CHAR_PER_LINE == 0)
Sys... | true |
73b8c21b1c15224d79e9549b4bb9a5cbfe40216c | Java | Letractively/chunksofcode | /app-game-pong/src/main/java/com/myapp/games/towerdefense/model/Grid.java | UTF-8 | 4,417 | 2.859375 | 3 | [] | no_license | package com.myapp.games.towerdefense.model;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.ListIterator;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.myapp.games.tow... | true |
c636e31190832c6dec46395ebebc7a3a9f590cf8 | Java | F0RIS/CurrencyPairAssignment | /app/src/main/java/bonlinetest/f0ris/com/b_onlinetest/fragment/ActiveChartFragment.java | UTF-8 | 4,755 | 2.171875 | 2 | [] | no_license | package bonlinetest.f0ris.com.b_onlinetest.fragment;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
... | true |
cba47f6f88ec144ad6983a4890745bcc207474fc | Java | wqandroid/devPj | /app/src/main/java/yihaokeji/devpj/network/CallbackForRequest.java | UTF-8 | 711 | 2.125 | 2 | [] | no_license | package yihaokeji.devpj.network;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by wangqiong on 15/3/3.
*/
public class CallbackForRequest {
/**
* 请求成功的回调
* @param json
* @throws JSONException
*/
public void requestSuccess (JSONObject json) throws JSONException ... | true |
6b1850abbc7496b75230ae05b89af1f3b24bb8ee | Java | MoamedNouira/CarteFidelite | /app/src/main/java/com/medbac/carte_fidelite/Adapter/AdapterListAjouteCarteCat.java | UTF-8 | 2,307 | 2.28125 | 2 | [] | no_license | package com.medbac.carte_fidelite.Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.medbac.carte_fidelite.Models.Catégories... | true |
5f0c13ff49b9fc06ce0aa32dd436721b286fbd1c | Java | moutainhigh/new-rep1 | /java-design/src/main/java/com/demo/strategy/StringPrint.java | UTF-8 | 222 | 2.953125 | 3 | [] | no_license | package com.demo.strategy;
public class StringPrint implements Print {
private String s;
public StringPrint(String s) {
super();
this.s = s;
}
public void print() {
System.out.println(s);
}
}
| true |
dda6d0622362138e49cab449de988cf3c47ae6ed | Java | stoplus/VKConect | /app/src/main/java/com/example/den/vkconect/MainActivity.java | UTF-8 | 13,762 | 1.734375 | 2 | [] | no_license | package com.example.den.vkconect;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.net.Uri;
import android.net.wifi.WifiManager;
import and... | true |
921d944480794569de635e6b4f07d35969823161 | Java | EveningMC-Gaming/Customlogin | /Source/main/java/com/eveningmc/customlogin/commands/ReloadCommand.java | UTF-8 | 719 | 2.140625 | 2 | [] | no_license | package com.eveningmc.customlogin.commands;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin;
import com.eveningmc.customlogin.Customlogin;
import com.eveningmc.customlogin.utils.Message;
public class ReloadCommand
{
private stat... | true |
576405e489a315a57c00985fdacb9a5f94d01b4c | Java | pombredanne/descriptors-2 | /impl-javaee-prototype/src/main/java/org/jboss/shrinkwrap/descriptor/impl/webcommon30/FilterTypeImplBase.java | UTF-8 | 2,836 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package org.jboss.shrinkwrap.descriptor.impl.webcommon30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptorBase;
import org.jboss.shrinkwrap.descriptor.api.webcommon30.FilterMutableType;
import org.jboss.shrinkwrap.descriptor.api.webcommon30.Filter... | true |
677811af9d1c813119734e8d264efebaef790ca4 | Java | huyifan1/pandorasbox | /src/main/java/com/uboxol/cloud/pandorasBox/utils/MailUtils.java | UTF-8 | 4,381 | 2.578125 | 3 | [] | no_license | package com.uboxol.cloud.pandorasBox.utils;
import com.uboxol.cloud.pandorasBox.cfg.MailConfig;
import org.springframework.core.io.FileSystemResource;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.mail.javamail.MimeMessageHelper;
import org.springframework.stereotype.Component... | true |