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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
7c665cd01e94fc32b28a7236e5674ed109ea9a77 | Java | Zorozxq/JavaCharts | /src/main/java/com/bigdata/entity/TingGender.java | UTF-8 | 1,213 | 2.265625 | 2 | [] | no_license | package com.bigdata.entity;
import java.util.Date;
public class TingGender {
private Integer id;
private String gender; //语音播报人性别
private Integer tingCnt; //播放次数
private Integer tingUserCnt; //用户总数
private Date date; //日期
private Double avgTingCnt; //平均播报次数
public Double getAvgTingCnt()... | true |
3c79f8ec07f4470253c48943d9f99c49e7eebade | Java | pymongo/server_monitor_android | /app/src/main/java/com/monitor/exchange/fragment/MonitorFragment.java | UTF-8 | 3,661 | 2.140625 | 2 | [] | no_license | package com.monitor.exchange.fragment;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.TextView;
import and... | true |
ff178aa512e7a76235458591f34166f1be1e7511 | Java | willhsu0604/java_se_sample | /java_se_sample/src/com/will/ch_18/RegexTest_18_1.java | UTF-8 | 632 | 3.359375 | 3 | [] | no_license | package com.will.ch_18;
public class RegexTest_18_1 {
public static void main(String[] args) {
String str = "Java is great";
System.out.println("str.matches(\"Java.+\"): " + str.matches("Java.+"));
System.out.println("str.matches(\"Java.\"): " + str.matches("Java."));
String[] array = str.split(" ");
fo... | true |
96f29a8d3c93fc4362584d3d16c0df008bf5720f | Java | FURCAS-dev/FURCAS | /ngpm/de.hpi.sam.bp2009.ngpm/src/integration/xsd/Attribute.java | UTF-8 | 3,244 | 2.125 | 2 | [] | no_license | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package integration.xsd;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Attribute</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link integration.xsd.Attribute#getUse <em>Use</e... | true |
40acf54cae8b33fe3c8f9c94bc35c8e72533c5a7 | Java | liurenyou/JDBC | /src/main/java/dao/UserDao.java | UTF-8 | 1,785 | 2.828125 | 3 | [] | no_license | package dao;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import entity.User;
import util.DBUtil;
/**
* Dao:数据访问对象 是一个接口
* @author liurenyou
*
*/
public class... | true |
d6c706799995bec97fc0df98de20854f61d95b78 | Java | johndoe-jpg/HTML | /Vetsi_bere/src/vetsi_bere/Card.java | UTF-8 | 1,245 | 2.984375 | 3 | [] | no_license | package vetsi_bere;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
/**
*
* @author THUND
*/
public class Card {
private int internalValue;
private Suit suit;
private Value value;
private String imgPath;
... | true |
7ef802e409b246a90f15ba9f02be9a6493a1ded8 | Java | barkmyungwoo/notebook | /miniGameHeaven/src/client/game/poketmonRacing.java | UHC | 3,213 | 2.671875 | 3 | [] | no_license | package client;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.Random;
import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JLabel... | true |
41cf1733aa9c7bcc8195c7da59611a929c803943 | Java | shanecro/FinalCodingAssignment | /RocketBLL/src/main/java/exceptions/RateException.java | UTF-8 | 438 | 2.53125 | 3 | [] | no_license | package exceptions;
import rocketDomain.RateDomainModel;
public class RateException extends Exception {
// * Add RateRomainModel as an attribute
private RateDomainModel rdm;
// * Create a constructor, passing in RateDomainModel
public RateException(RateDomainModel rdm){
this.rdm = rdm;
}
// * ... | true |
55f49154c727313ea95390d5cba037bf3e7ce5fe | Java | table526/hw3-pqichen | /hw3-pqichen/src/main/java/org/apache/uima/tools/components/Evaluator_withNamedEntity.java | UTF-8 | 9,149 | 2.078125 | 2 | [] | no_license | /*
* @author Qichen Pan (Andrew_Id: pqichen)
*
* Evaluator_withNamedEntity: This class is responsible for evaluating the performance of four algorithms.
*
* It serves as the CasConsumer in CPE pipeline (CasConsumerDescriptor_withNamedEntity, hw3-pqichen-aae-as-CPE).
*
* It first retrieves Gold_AS info to get ... | true |
0b294f6a5c5025f8a2b03c1d537e169a4ccd72f6 | Java | EliCas5931/GameStoreAPI | /Services/invoice-service/src/main/java/com/company/invoiceservice/service/InvoiceServiceLayer.java | UTF-8 | 4,144 | 2.296875 | 2 | [] | no_license | package com.company.invoiceservice.service;
import com.company.invoiceservice.dao.InvoiceDao;
import com.company.invoiceservice.dao.InvoiceItemDao;
import com.company.invoiceservice.model.Invoice;
import com.company.invoiceservice.model.InvoiceItem;
import com.company.invoiceservice.model.InvoiceViewModel;
import org.... | true |
61092b8bdee352501eb53f3c9f69bb7000e3e43b | Java | rishvanjay/HelpMe | /app/src/main/java/com/example/brandon/auxilio/HelperSignUp.java | UTF-8 | 6,690 | 2.078125 | 2 | [] | no_license | package com.example.brandon.auxilio;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.wi... | true |
87491547776e586958325329c3d5c2abdab5b4a8 | Java | MadisKarli/hbaseExamples | /src/main/java/util/GetFunction.java | UTF-8 | 506 | 2.046875 | 2 | [] | no_license | package util;
import org.apache.hadoop.hbase.client.Get;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.apache.spark.api.java.function.Function;
/**
* Created by Madis-Karli Koppel on 29/12/2017.
*/
public class GetFunction implements Function<byte[], Get> {
private static fina... | true |
0bbdf2064f40cc8885c9baefe31362e7ded0d945 | Java | GarimaPoudel1/Assignment | /src/assignment1/Task19.java | UTF-8 | 809 | 3.828125 | 4 | [] | no_license | package assignment1;
import java.util.Scanner;
public class Task19 {
public static void main(String[] arg) {
Scanner sc = new Scanner(System.in);
System.out.print("Please enter first side of a triangle: ");
int first = sc.nextInt();
System.out.print("Please enter second side of a ... | true |
cc0e653e95848dc6405a19fdf9efd0ec48e3db29 | Java | alexh95/PT | /ptlab/as3/src/com/alexh95/model/scheduler/Scheduler.java | UTF-8 | 6,550 | 2.78125 | 3 | [] | no_license | package com.alexh95.model.scheduler;
import java.util.ArrayList;
import com.alexh95.model.Server;
import com.alexh95.model.simulator.SimulatorObservable;
import com.alexh95.model.simulator.SimulatorObserver;
import com.alexh95.model.task.Task;
import com.alexh95.services.DataFunc;
import com.alexh95.services.Logger;
... | true |
5801476dbee6bc209dafd3d42fd265170ee2ced5 | Java | mkarwowski/minesweeper | /src/pomoc/Help.java | WINDOWS-1250 | 1,869 | 3.203125 | 3 | [] | no_license | package pomoc;
import java.awt.*;
import javax.swing.*;
@SuppressWarnings("serial")
public class Help extends JFrame {
public static final int X = 700;
public static final int Y = 260;
public Help() {
setTitle("Pomoc");
setSize(X, Y);
HelpH help = new HelpH();
Container powZawartosci = getContent... | true |
271641c1404b48fdd60d4a40da39f4e5b2be81a6 | Java | phuong144/Sorting-Code | /QuickSort.java | UTF-8 | 1,783 | 3.4375 | 3 | [] | no_license |
public class QuickSort {
public static void quicksort(int[] array, int start, int end) {
if( start >= end) {
return;
}
int pivot = array[start];
int head = start+1;
int tail = end;
int index = partition(array, head, tail, pivot);
if(array[index] < array[start]) {... | true |
44264820dbc723b827933c5081a1e7a39d050c8d | Java | TheGanesh/spring-data-rest | /src/main/java/com/ganesh/springboot/dao/PlayerDao.java | UTF-8 | 406 | 1.75 | 2 | [] | no_license | package com.ganesh.springboot.dao;
import com.ganesh.springboot.domain.Player;
import com.ganesh.springboot.domain.Team;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;
/**
* Created by Ganesh on 7/30/16.
*/
@RestResource(path = "players"... | true |
8e0efd62c6c2801dcc1cf737c8149301c1611d68 | Java | aayushi-95/BLEToolbox | /BLEToolbox/app/build/generated/source/apt/debug/com/freescale/bletoolbox/view/WheelSizePickerDialog$$ViewBinder.java | UTF-8 | 691 | 1.75 | 2 | [] | no_license | // Generated code from Butter Knife. Do not modify!
package com.freescale.bletoolbox.view;
import android.view.View;
import butterknife.ButterKnife.Finder;
import butterknife.ButterKnife.ViewBinder;
public class WheelSizePickerDialog$$ViewBinder<T extends com.freescale.bletoolbox.view.WheelSizePickerDialog> implement... | true |
c2626430da6e009294e0836b102c0ee4b154f461 | Java | veekoo2/arkisto | /arkisto/src/fi/iki/veekoo/arkisto/Config.java | UTF-8 | 1,092 | 2.40625 | 2 | [] | no_license | package fi.iki.veekoo.arkisto;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import com.vaadin.server.VaadinService;
public class Config {
private static String servletBase = null;
private static Properties confProps = new Properties();
Config() {
// Confi... | true |
73ebb0ba910491983c80d23560f16aaaee484842 | Java | mojotintin/leetcode | /src/algorithms/tree/InvertBinaryTree.java | UTF-8 | 696 | 3.3125 | 3 | [] | no_license | package algorithms.tree;
import algorithms.entities.TreeNode;
/**
* Created by calabash on 2017/3/28.
* Problem Number : 226
* Problem Name : Invert Binary Tree
* Description : https://leetcode.com/problems/invert-binary-tree/#/description
* Difficulty : Easy
* Tags : Tree
*/
public class InvertBinaryTree {
... | true |
1103e1ba6041dc0b842ca7fe54ff4e66619521a9 | Java | kirtigupta13/ContinousFramework | /src/test/java/com/cerner/devcenter/education/models/ResourceRequestTest.java | UTF-8 | 9,634 | 2.71875 | 3 | [] | no_license | package com.cerner.devcenter.education.models;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
/**
* Tests the {@link ResourceRequest} class.
*
* @author Navya Rangeneni (NR046827)
* @author Vatsal Kesarwani (VK049896)
*/
public class ResourceRequestTest {
private static final int VALID... | true |
1af862e8c365a281089da4b88491b04b8406b5d2 | Java | danthemanvsqz/Frogger | /src/frogger/IHop.java | UTF-8 | 84 | 1.96875 | 2 | [] | no_license | // IHop Interface
package frogger;
public interface IHop {
void hop(String d);
}
| true |
c31c126130d41a9fb508248687a84aca73a008fa | Java | tomdev2008/svnprojects | /tencent-datamining/src/main/java/cc/pp/tencent/analysis/singleweibo/WeiboUtils.java | UTF-8 | 788 | 2.25 | 2 | [] | no_license | package cc.pp.tencent.analysis.singleweibo;
import java.sql.SQLException;
import cc.pp.tencent.jdbc.WeiboJDBC;
/**
* Title: 微博分析工具类
* @author wanggang
* @version 1.1
* @since 2013-05-27
*/
public class WeiboUtils {
/**
* @获取accesstoken
* @return
* @throws SQLException
*/
public st... | true |
f2bfcfa6a70a5b6376e0e7cd755e23f6d1eae74a | Java | sassoni/TheExceptioNulls | /projectskullnbones/src/main/java/com/theexceptionulls/projectskullnbones/webservices/OfferImageLoader.java | UTF-8 | 4,744 | 2.421875 | 2 | [] | no_license | package com.theexceptionulls.projectskullnbones.webservices;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import javax.net.ssl.*;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;... | true |
ec1782f13ef7d7239faa8484fefd91f71ca65b6a | Java | anterostecnologia/anterospersistenceserialization | /src/main/java/br/com/anteros/persistence/serialization/jackson/AnterosObjectMapper.java | UTF-8 | 2,689 | 1.804688 | 2 | [] | no_license | /*******************************************************************************
* Copyright 2012 Anteros Tecnologia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... | true |
0ce4916fc08260cb6c315396a039ae3ec2c9f202 | Java | vid962/timesTablesFinalUD | /app/src/main/java/com/example/android/timestablesfinalud/MainActivity.java | UTF-8 | 1,781 | 2.328125 | 2 | [] | no_license | package com.example.android.timestablesfinalud;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.SeekBar;
import java.util.ArrayList;
public class MainActivity extends AppCompa... | true |
4ff6d68bd5a8bdf74dc350742b15050c9aa7bb42 | Java | codrodev/Covid19Tracker | /app/src/main/java/com/android/dubaicovid19/utility/services/NotificationService.java | UTF-8 | 2,053 | 2.34375 | 2 | [] | no_license | package com.android.dubaicovid19.utility.services;
import android.annotation.TargetApi;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Build;
import com.android.dubaicovid19.utility.Global;
public class NotificationService {
priv... | true |
6f8c00fa4b498c9e3fc2536677a4c0e08328ccf9 | Java | lvandroid/SignUpServer | /src/main/java/com/bsty/base/bean/WXSession.java | UTF-8 | 554 | 1.921875 | 2 | [] | no_license | package com.bsty.base.bean;
import lombok.Data;
/**
* 值 说明 最低版本
* -1 系统繁忙,此时请开发者稍候再试
* 0 请求成功
* 40029 code 无效
* 45011 频率限制,每个用户每分钟100次
*/
@Data
public class WXSession {
private String openid;//用户唯一标识
private String session_key;//会话密钥
private String unionid;//用户在开放平台的唯一标识符,在满足 UnionID 下发条件的情况下会返回
... | true |
32e083babac5b91c0a11c6bf951375c89cc08e81 | Java | sxmafei/examManger | /shiro-exam/src/main/java/com/mf/domain/Project.java | UTF-8 | 2,024 | 2.125 | 2 | [] | no_license | package com.mf.domain;
import java.util.Date;
public class Project {
private String projectid;
private String unitid;
private String name;
private Date startdate;
private Date enddate;
private String contactperson;
private String phone;
private String status;
... | true |
318292a008fbf0fbdbe68858db275fe6eeda2caf | Java | acgist/snail | /snail/src/main/java/com/acgist/snail/gui/event/adapter/RefreshTaskListEventAdapter.java | UTF-8 | 660 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package com.acgist.snail.gui.event.adapter;
import com.acgist.snail.gui.event.GuiEvent;
import com.acgist.snail.net.application.ApplicationMessage;
/**
* GUI刷新任务列表事件
*
* @author acgist
*/
public class RefreshTaskListEventAdapter extends GuiEvent {
public RefreshTaskListEventAdapter() {
super(Type.RE... | true |
746c003de3c8c9a81dffc4fc3d555c821f45ec36 | Java | jianghan200/wxsrc6.6.7 | /app/src/main/java/com/tencent/mm/plugin/sns/storage/w.java | UTF-8 | 2,814 | 1.757813 | 2 | [] | no_license | package com.tencent.mm.plugin.sns.storage;
import android.database.Cursor;
import com.tencent.mm.bt.h;
import com.tencent.mm.modelsfs.FileOp;
import com.tencent.mm.modelsfs.SFSContext.FileEntry;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java.util.Iterator;
import jav... | true |
ac89c466ce458afacbde3020912d680a464e9653 | Java | EXXETA/sonar-esql-plugin | /esql-frontend/src/main/java/com/exxeta/iss/sonar/esql/tree/impl/statement/DeleteStatementTreeImpl.java | UTF-8 | 2,536 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | /*
* Sonar ESQL Plugin
* Copyright (C) 2013-2022 Thomas Pohl and EXXETA AG
* http://www.exxeta.com
*
* 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/lice... | true |
9a9dc55f57a8f9aceea6076f36a38fd99fc6463b | Java | SubDong/best-sem | /perfect-dao/src/main/java/com/perfect/dao/account/AccountRegisterDAO.java | UTF-8 | 517 | 2 | 2 | [] | no_license | package com.perfect.dao.account;
import com.perfect.dao.base.HeyCrudRepository;
import com.perfect.dto.SystemUserDTO;
/**
* Created by SubDong on 2014/9/30.
*/
public interface AccountRegisterDAO extends HeyCrudRepository<SystemUserDTO,Long> {
/**
* 注册系统用户
*
* @param systemUserEntity
*/
... | true |
1dfa086da62b73b63ebec98fb48746e64f66eb01 | Java | liqiao1992/xingyun | /app/src/main/java/com/lq/xingyun/utils/CommonUtils.java | UTF-8 | 747 | 2.171875 | 2 | [] | no_license | package com.lq.xingyun.utils;
import com.lq.xingyun.XinYunApplication;
import java.util.Locale;
/**
* Created by lenovo on 2016/9/1.
*/
public class CommonUtils {
public static int getCurrentLanguage() {
int lang =SharedPreferencesUtils.getInteger("language_mode");
if (lang == -1) {
... | true |
fe931646aeb67d0df8c23cbfe54507ffbbfb2268 | Java | fischerfel/TUM-Crypto | /data/cipher/secure/Snippet20554389_3149.java | UTF-8 | 550 | 3.09375 | 3 | [] | no_license | public static byte[] RSADecrypt(final byte[] encryptedBytes)
throws NoSuchAlgorithmException, NoSuchPaddingException,
InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
Cipher cipher1 = Cipher.getInstance("RSA");
System.out.println("RSA Encryption key: " + privateKey.get... | true |
b6fabc343497cd55f37f7d1b662064f76e131199 | Java | Jananisowmi/My-Application | /src/main/java/com/janu/myapplication/controller/UserController.java | UTF-8 | 1,838 | 2.453125 | 2 | [] | no_license | package com.janu.myapplication.controller;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springfram... | true |
a16a2107bfadbd4ad5f8a0b486d1ef64d9fe6f27 | Java | AY2021S1-CS2113T-T09-3/tp | /src/main/java/seedu/quotesify/commands/list/ListQuoteCommand.java | UTF-8 | 4,192 | 2.875 | 3 | [] | no_license | package seedu.quotesify.commands.list;
import seedu.quotesify.commands.Command;
import seedu.quotesify.exception.QuotesifyException;
import seedu.quotesify.lists.ListManager;
import seedu.quotesify.quote.QuoteList;
import seedu.quotesify.quote.QuoteParser;
import seedu.quotesify.store.Storage;
import seedu.quotesify.u... | true |
0591079f23f1329c5331029c782270c32e36b729 | Java | lihui121/jxlx-parent | /office-service/src/main/java/com/jxlx/controller/OfficeController.java | UTF-8 | 1,116 | 1.96875 | 2 | [] | no_license | package com.jxlx.controller;
import com.jxlx.Feign.OfficeFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import o... | true |
f011e0abf0714ecda817202186c72c06c23e38a8 | Java | wurenxi/MapReduceDemo | /src/main/java/com/atguigu/mapreduce/partitionerandwritableComparable/ProvincePartitioner2.java | UTF-8 | 766 | 2.453125 | 2 | [] | no_license | package com.atguigu.mapreduce.partitionerandwritableComparable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Partitioner;
/**
* @author gxl
* @date 2021年08月16日 15:42
*/
public class ProvincePartitioner2 extends Partitioner<FlowBean, Text> {
@Override
public int getPartition(FlowBean... | true |
7d45880e3c84f333a4390f421cc1ba5987fea504 | Java | PowerJob/PowerJob | /powerjob-remote/powerjob-remote-framework/src/main/java/tech/powerjob/remote/framework/base/RemotingException.java | UTF-8 | 281 | 1.882813 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package tech.powerjob.remote.framework.base;
import java.io.IOException;
/**
* RemotingException
*
* @author tjq
* @since 2022/12/31
*/
public class RemotingException extends RuntimeException {
public RemotingException(String message) {
super(message);
}
}
| true |
f2d067cda8d0db91eab407741ff5e68d74f1d4ac | Java | Zhangyinbi/yjk | /buildcaptain/src/main/java/com/xiaomizhuang/buildcaptain/entity/YanShouResult.java | UTF-8 | 437 | 1.757813 | 2 | [] | no_license | package com.xiaomizhuang.buildcaptain.entity;
/**
* 描述: 申请验收后返回的结果
* --------------------------------------------
* 工程:
* #0000 mwy 创建日期: 2016-09-27 16:10
*/
public class YanShouResult {
private String return_msg;
public String getReturn_msg() {
return return_msg;
}
public void ... | true |
1a35f08baa09c44b50fd0c5c083b4661eb24e55a | Java | Jason1iu/my-springboot | /src/main/java/com/example/myspringboot/controller/HelloController.java | UTF-8 | 380 | 2.09375 | 2 | [] | no_license | package com.example.myspringboot.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
/**
* @author LiuJie
* @date 2019年12月23日 下午6:26:20
*
*/
@Controller
public class HelloController {
@GetMapping("/hello")
public String hello(S... | true |
1b229f954a203edd322ec08ea8ed71b500246785 | Java | ParkRawon/20210830 | /20210830/src/main/java/co/micol/prj/web/FrontController.java | UTF-8 | 2,820 | 2.140625 | 2 | [] | no_license | package co.micol.prj.web;
import java.io.IOException;
import java.util.HashMap;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletReq... | true |
c5fff2979c97ebf5781ed0882ec6221fee133da4 | Java | kolesnikovakatya/tp_2014_02_java_kolesnikova | /src/main/java/frontend/Frontend.java | UTF-8 | 4,095 | 2.546875 | 3 | [] | no_license | package frontend; /**
* Created by katya on 2/15/14.
*/
import templater.PageGenerator;
import logic.User;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;... | true |
4674d57f0e1790aebdbc0d8e84b6a78f788f6168 | Java | rocketeerli/Design-Pattern | /DesignPatternPrinciple/src/DIP/Fruit.java | UTF-8 | 57 | 2.265625 | 2 | [] | no_license | package DIP;
public interface Fruit {
void eaten();
}
| true |
eb0e193eabac62037b57729def80771e3a8e5cff | Java | anandk6758/untitled2 | /src/designPattern/builderPattern/CarDirector.java | UTF-8 | 398 | 2.875 | 3 | [] | no_license | package designPattern.builderPattern;
public class CarDirector {
public static void main(String[] args) {
CarEngineer engineer = new CarEngineer();
engineer.buildCar();
System.out.println(engineer.getCar().getBase());
System.out.println(engineer.getCar().getColor());
System.out.println(engineer.getCar().g... | true |
635c34a03473ad50cf08a49e088685ce97b3445b | Java | naavaaamiii/mulenEclipse | /Eclipse-Workspace-master/OrgGdgRocky/src/main/java/com/gdg/rocky/classes/Sender.java | UTF-8 | 2,307 | 3.03125 | 3 | [] | no_license | package com.gdg.rocky.classes;
import java.util.Scanner;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.activemq.ActiveMQConnection;... | true |
1276a3f2f0f02d25485d66d1ada95fbfcc8c7e8a | Java | mesacarlos/WebConsole | /src/es/mesacarlos/webconsole/config/ConfigManager.java | UTF-8 | 5,981 | 2.546875 | 3 | [
"MIT"
] | permissive | package es.mesacarlos.webconsole.config;
import java.net.InetSocketAddress;
import java.util.*;
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration;
import es.mesacarlos.webconsole.WebConsole;
public class ConfigManager {
... | true |
91e10f9b2194d8cf40afa18b47d788b0dc6738a2 | Java | etiennerobinet/plc4x | /plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/api/commands/AdsReadDeviceInfoResponse.java | UTF-8 | 5,575 | 2.015625 | 2 | [
"Apache-2.0",
"Unlicense"
] | permissive | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... | true |
782fc019983ff3e59ef84e8233e6da8c52acb85d | Java | tiperciucromeo/curs6 | /ex2/app/src/main/java/com/romeotutorial/ex2/activity_four.java | UTF-8 | 1,768 | 2.4375 | 2 | [] | no_license | package com.romeotutorial.ex2;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class activity_four extends AppCompatActivity {
@Override
protected void onCr... | true |
4b1fc7294fb434875a8ae68b2cb6d95fb85fb505 | Java | kmkumar/todolist | /todolist/todolist-web/src/main/java/com/rackspace/services/ToDoListServiceController.java | UTF-8 | 4,401 | 2.046875 | 2 | [] | no_license | package com.rackspace.services;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.ext.XLogger;
import org.slf4j.ext.XLoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springf... | true |
ae3a3f5b6cde0af42dda7523fef6a69b8b5f326e | Java | fernandoplramires/Palindromes | /src/main/java/br/com/ramires/palindrome/controller/PalindromeController.java | UTF-8 | 289 | 1.6875 | 2 | [] | no_license | package main.java.br.com.ramires.palindrome.controller;
import main.java.br.com.ramires.palindrome.service.PalindromeServiceFacadeImpl;
public class PalindromeController {
public static void main(String[] args) {
PalindromeServiceFacadeImpl.getInstance().run(args);
}
}
| true |
07ac826d557ad0f22c6212f242c6d8811085db09 | Java | wcz85617/JY3-Java | /test0505/addOneAccount.java | GB18030 | 2,029 | 2.734375 | 3 | [] | no_license | package com.alibaba.tt;
import java.io.IOException;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Properties;
import java.sql.Connection;
public class addOneAccount {
public static Properties prop;
static {
prop = new Properties();
... | true |
95145001ee91165eaf5d06a7424d170066b1360b | Java | m1174321/fh1811 | /src/main/java/com/fh/shop/controller/BrandController.java | UTF-8 | 730 | 2.203125 | 2 | [] | no_license | package com.fh.shop.controller;
import com.fh.shop.biz.IBrandService;
import com.fh.shop.common.SuccessResponse;
import com.fh.shop.po.Brand;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@RequestMapping("/api/brand")
@RestController
public class BrandController {
@Resource... | true |
98d28d479af7d46e54c3feba3c62e0f388fe9103 | Java | Epilepsik/MineTG | /src/main/java/ru/deade/minetg/MineTG.java | UTF-8 | 4,045 | 2.375 | 2 | [] | no_license | package ru.deade.minetg;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import ru.deade.minetg.telegramBotClient.Formatting;
import ru.deade.minetg.telegramBotClient.TelegramBotClient;
import ru.deade.minetg.telegramBotClient.APIModel.TelegramMessage;
import ru.d... | true |
c4452f1daeca43482fd865921917509973d5ab26 | Java | scmorgen/UCSC_Hackathon_2015 | /SimpleGame/app/src/main/java/com/example/arcainne/BamBam/GamePlayActivity.java | UTF-8 | 8,475 | 2.390625 | 2 | [] | no_license | package com.example.arcainne.BamBam;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.MenuItem;
import android.widget.TextView;
import com.getpebble.android.kit.PebbleKit;
import com.getpebble.android.kit.util.Pebbl... | true |
b1ac45e7d1e981a1ec121f4f1631f9826aaa1f8c | Java | icalapuja/FileManager | /src/main/java/com/mdp/filemanager/FileSFTP.java | UTF-8 | 2,520 | 2.78125 | 3 | [] | no_license |
package com.mdp.filemanager;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSch;
import com.jcraft.jsch.Session;
import java.util.Vector;
public class FileSFTP {
private String host;
private int port;
private String user;
private String password;
private Session session;
private ... | true |
4f2095d4b74641d7c5b2081e909452599d2e1a8f | Java | intel/cordova-plugin-ocf | /src/android/OcfResourceRepresentation.java | UTF-8 | 2,298 | 2.5 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package com.intel.cordova.plugin.ocf;
// Java
import java.lang.reflect.Array;
import java.util.Iterator;
import java.util.HashMap;
import java.util.Map;
// Android
import android.util.Log;
// Third party
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class OcfResourceR... | true |
831d0671758f6ae98da4c59379a058767379a333 | Java | jsphvega/CursoDis | /src/main/java/DTO/DTOArchivoConversacion.java | UTF-8 | 330 | 2.140625 | 2 | [] | no_license | package DTO;
/**
* DTO que recibe los parametros de conversacion
*
* @author ChuckyBueno
* @since 11-Octubre-2016
**/
public class DTOArchivoConversacion {
private String tipoArchivo;
public String getTipo() {
return tipoArchivo;
}
public void setTipo(String pTipo) {
this.tipoArchivo = pTipo... | true |
0543e431c4fdf05123dabccbf8559a1d877f0e0d | Java | VinferJ/LearnJava | /StreamApi/src/main/java/stream/sequential/EndStreamTest.java | UTF-8 | 8,500 | 3.390625 | 3 | [] | no_license | package stream.sequential;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;
import model.Employee;
import utils.ListGenerateUtil;
import java.util.*;
import java.util.stream.Collectors;
/**
* @author Vinfer
* @version v1.3
* @date 2020-10-09 17:16
* @description
**/
public class EndStreamTest {
... | true |
0b7049efacbb7b848978cf9a502945373e8985ba | Java | linkeer8802/api-resolver | /api-resolver-core/src/main/java/org/tangerine/apiresolver/util/StringUtil.java | UTF-8 | 359 | 2.6875 | 3 | [
"Apache-2.0"
] | permissive | package org.tangerine.apiresolver.util;
public class StringUtil {
public static int getStrCount(String source, String target) {
int count = -1;
int index = -1;
int fromIndex = 0;
do {
index = source.indexOf(target, fromIndex);
fromIndex = index + target.length();
count++;
} while (inde... | true |
ee838c242ff41ea5d228d91e5e853039872cffe7 | Java | MarcoAntonioGomes/Desenvolvimento_Orientado_a_Objeto_POO | /Mensagens_DiaSemana/src/DiasdaSemana/Domingo.java | UTF-8 | 179 | 2.34375 | 2 | [] | no_license | package DiasdaSemana;
public class Domingo extends DiasDaSemana {
public Domingo(String Mensagem) {
setDia(" Domingo");
setMensagem(Mensagem);
}
}
| true |
5e21f6af78d229f05ad3e57062fdb158bd6f3b3e | Java | zhanglydia/TeammaeT | /UserOfMazeSolver.java | UTF-8 | 1,422 | 3.46875 | 3 | [] | no_license | import java.util.*;
public class UserOfMazeSolver {
public static void main(String[] args) {
if (args.length < 3) {
System.out.println("USAGE: java UserOfMazeSolver PATH RANK FILE\n");
System.out.println(" PATH (filepath):");
System.out.println(" The path to th... | true |
d47d0f861ac7acbd49f4063cdf6cb5e81528c199 | Java | krubios/techonology-comparator-poc | /ComparatorTechnologyProject/src/comparator/preferences/wifi/tdma/WifiTdmaComboFieldEditor.java | UTF-8 | 6,680 | 1.929688 | 2 | [] | no_license | package comparator.preferences.wifi.tdma;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.preference.FieldEditor;
import org.eclipse.jface.preference.StringFieldEditor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.event... | true |
94b93cd656c4d80db63ca4f5c4577b3b68cbb525 | Java | FosterPanda/hommyshop | /src/main/java/ua/com/hommyshop/serviceImp/BrandServiceImp.java | UTF-8 | 953 | 2.34375 | 2 | [] | no_license | package ua.com.hommyshop.serviceImp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ua.com.hommyshop.dao.BrandDao;
import ua.com.hommyshop.entity.Brand;
import ua.com.hommyshop.service.BrandService;
@Service
pub... | true |
35bec55a4a35c65fd69f2c8b999629e3a4257eba | Java | p-grabowski/Zadanie4AuthSQLite | /app/src/main/java/com/example/zadanie3auth/DataBaseHelper.java | UTF-8 | 7,253 | 2.46875 | 2 | [] | no_license | package com.example.zadanie3auth;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import j... | true |
00b4f0d6d62791d88c02aad8dbdf589f56ae2552 | Java | so1gging/portfolio_RUNNINGDOG | /app/src/main/java/runningdog/project/com/runningdog/MainActivity.java | UTF-8 | 12,422 | 2.0625 | 2 | [] | no_license | package runningdog.project.com.runningdog;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Requi... | true |
37d5265185c949853c32237c85c5e250efc4edfd | Java | fanguangjie1989/springcloud-demo-parent | /springcloud-demo-provider-sleuth-zipkin/src/main/java/com/cnoic/app/demo/model/MenuExample.java | UTF-8 | 58,591 | 2.3125 | 2 | [
"MIT"
] | permissive | package com.cnoic.app.demo.model;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class MenuExample {
/**
* This field corresponds to PAYMENT_MENU
*
* @mbg.generated 2018-06-14 16:54:25
*/
protected String orderByClause;
/*... | true |
08f2dee82a6ce065546cea1c786f3165f772827f | Java | narasi15/PhotoManager | /ProjectPhase2/src/mvc/ControllerHelper.java | UTF-8 | 3,080 | 2.859375 | 3 | [] | no_license | package mvc;
import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;
public class ControllerHelper {
// METHOD TO CHANGE SCREEN PASSING NO OBJECTS OVER EXCEPT MODEL
... | true |
3ec4edc7783a7db1b1402fc89d7bf217a3f6c595 | Java | RajaniKantTiwari/myrepo | /app/src/main/java/com/app/community/network/request/dashboard/MeetingEventRequest.java | UTF-8 | 721 | 2.015625 | 2 | [] | no_license | package com.app.community.network.request.dashboard;
/**
* Created by Amul on 28/12/17.
*/
public class MeetingEventRequest {
private double lat;
private double lng;
private int page;
private int size;
public double getLat() {
return lat;
}
public void setLat(double lat) {
... | true |
11b7eac978d4bb26c41c9cde5d27d73145e89eb9 | Java | soliviantar/SeriesGuide-Extension-Stremio | /app/src/main/java/com/uwetrottmann/seriesguide/extensionexample/app/ExampleExtensionService.java | UTF-8 | 1,435 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.uwetrottmann.seriesguide.extensionexample.app;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import com.battlelancer.seriesguide.api.Action;
import com.battlelancer.seriesguide.api.Episode;
import com.battlelancer.seriesguide.api.Movie;
import com.battlelancer.seriesguide... | true |
1277d60f0a456fb4d36b808c851d7f71a5d00b9b | Java | Sushmitha-94/2021DS | /src/DoublyLinkedList.java | UTF-8 | 1,943 | 3.71875 | 4 | [] | no_license | public class DoublyLinkedList {
static Node head =null;
public static class Node{
int data;
Node previous;
Node next;
Node(int data){
this.data = data;
}
}
//insert new node
public static void insertFirst(Node node) {
if(head==null) {
head = node;
head.previous = null;
head.next = nu... | true |
298d102dad77ee3b13a443c24de2e4a728d2f993 | Java | openxxs/server | /DomeOS/src/main/java/org/domeos/framework/engine/event/deployStatus/PodRestartTooMuchEvent.java | UTF-8 | 294 | 1.648438 | 2 | [
"Apache-2.0"
] | permissive | package org.domeos.framework.engine.event.deployStatus;
import org.domeos.framework.engine.event.DMEvent;
/**
* Created by xupeng on 16-5-10.
*/
public class PodRestartTooMuchEvent extends DMEvent<Integer>{
public PodRestartTooMuchEvent(Integer source) {
super(source);
}
}
| true |
c84a2f2e318caf97b09632158fc2fa0fdc9751fd | Java | DPMFinalProject/DPM-Final-Project | /FinalProject/src/navigation/localization/USLocalizationDiagonal.java | UTF-8 | 3,021 | 3.0625 | 3 | [] | no_license | /**
* DPM Final Project
* Team 10
* ECSE 211: Design Principles and Methods
*
* USLocaizationDiagonal.java
* Created On: Mar 24, 2015
*/
package navigation.localization;
import static util.Utilities.pause;
import lejos.nxt.Sound;
import sensors.managers.ObstacleDetection;
import util.Direction;
import util.Meas... | true |
cb08a10fb856a22135e398152b31fb716be2ede8 | Java | zhangwei9757/xiaocaibao | /game8/xxkg/src/main/java/com/tumei/game/services/RobService.java | UTF-8 | 7,048 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | package com.tumei.game.services;
import com.tumei.common.DaoGame;
import com.tumei.common.RemoteService;
import com.tumei.model.*;
import com.tumei.common.Readonly;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import... | true |
3e4e7a638300b68f878ca9227d6b7e49875aadd0 | Java | MohammedMustaq/Hibernate | /HibernateProject/src/main/java/com/caps/dev/hibernate/MainClassHibernate.java | UTF-8 | 898 | 3.078125 | 3 | [] | no_license | package com.caps.dev.hibernate;
import java.util.Scanner;
import com.caps.dev.DAO.DAOInterface;
public class MainClassHibernate {
static Scanner scn=new Scanner(System.in);
public static void main(String[] args) {
try
{
DAOInterface ref=new HibernateImpl();
String input="";
System.... | true |
2933a20832adb4879b6971c9e53cbc7f20ec77dd | Java | spring-projects/spring-framework | /spring-web/src/test/java/org/springframework/web/method/annotation/ModelFactoryOrderingTests.java | UTF-8 | 11,062 | 1.5625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2002-2023 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 |
1f9c065f6898cd0f457c617059ebb3079f7f76ef | Java | locactus/loans | /src/main/java/xyz/platform56/loans/utils/ModelMapperBasedTransformer.java | UTF-8 | 656 | 2.328125 | 2 | [] | no_license | package xyz.platform56.loans.utils;
import com.google.common.base.Function;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class ModelMapperBasedTransformer<S, D> implements Function<S, D> {
@A... | true |
233503f2f9f7139ff6ae455b635eecf9b92844df | Java | jonathanyeung/agricola | /src/main/java/agricola/occupations/edeck/StoneCarrier.java | UTF-8 | 619 | 3.03125 | 3 | [
"MIT"
] | permissive | package agricola.occupations.edeck;
import agricola.DeckSet;
import agricola.occupations.Occupation;
public class StoneCarrier implements Occupation {
@Override
public DeckSet getDeckSet() {
return DeckSet.E;
}
@Override
public String getName() {
return "Stone Carrier";
}
... | true |
0922a551305bafe8fe937d51224ab779a1c5231d | Java | Bennienator/Monopoly | /src/de/seben/monopoly/client/Client.java | UTF-8 | 5,183 | 2.734375 | 3 | [] | no_license | package de.seben.monopoly.client;
import de.seben.monopoly.client.frames.ChatFrame;
import de.seben.monopoly.client.frames.ConnectFrame;
import de.seben.monopoly.client.frames.PitchFrame;
import de.seben.monopoly.client.listeners.CommandReceiveListener;
import de.seben.monopoly.client.listeners.ConsoleCommandListener;... | true |
26473530161cf9c92cfcc0cb52f0ca1d3b7c712c | Java | MostZhangZhiQiang/myHegeProjcet | /HeGe/src/com/hege/pts/data/AdvertItemBean.java | UTF-8 | 445 | 1.90625 | 2 | [] | no_license | package com.hege.pts.data;
public class AdvertItemBean {
private String is_on;
private String url;
private String photo;
public String getIs_on() {
return is_on;
}
public void setIs_on(String is_on) {
this.is_on = is_on;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.u... | true |
27fb5d8602cd8c3127310d6b88dcc0dae4927f8b | Java | gi-web/java | /fileUpload/ServerSendFile.java | UHC | 1,054 | 3.015625 | 3 | [] | no_license | package fileUpload;
import java.net.*;
import java.io.*;
public class ServerSendFile {
public ServerSendFile() {
ServerSocket ss;
try {
ss = new ServerSocket(7788);
System.out.println(" Ͽϴ..!!");
Socket s = ss.accept();
System.out.println(" " + s + " Ǿϴ..!!");
InputStream in = s.getInputStream... | true |
5ee3910ce4ccf7becef892e493ac6b126350bcc2 | Java | xlqwyd/WebProject | /프로젝트/HeatMap2.1/src/main/java/kr/or/connect/heatmap/dto/HeatMapFormData.java | UTF-8 | 5,510 | 1.9375 | 2 | [] | no_license | package kr.or.connect.heatmap.dto;
import java.io.IOException;
import java.sql.Date;
import java.sql.Time;
import java.util.List;
import java.util.Base64;
import java.util.Base64.Decoder;
import java.util.Base64.Encoder;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotat... | true |
ea6e594bfaf181f9cbd967814cc77b7679dfd621 | Java | rodrigoieh/Dynatrace-AppMon-WebSphere-MQ-Monitoring-Plugin | /src/com/dynatrace/plugins/mq/MQMonitorPlugin.java | UTF-8 | 4,509 | 2.171875 | 2 | [] | no_license | /**
* This template file was generated by dynaTrace client.
* The dynaTrace community portal can be found here: http://community.dynatrace.com/
* For information how to publish a plugin please visit http://community.dynatrace.com/plugins/contribute/
**/
package com.dynatrace.plugins.mq;
import java.util.logging.L... | true |
793c3054792a924fac0c394f1117fa28ed02f6ca | Java | rafaelol/soclienteservidor | /SO/src/br/ufrj/dcc/so/entidade/ApagarArquivo.java | UTF-8 | 1,725 | 2.65625 | 3 | [] | no_license | package br.ufrj.dcc.so.entidade;
import java.io.File;
import br.ufrj.dcc.so.controle.ControleArquivo;
public class ApagarArquivo extends Requisicao{
/**
*
*/
private static final long serialVersionUID = 1L;
private String tarefa= "apagando arquivo";
private String nomeArquivo;
/*
* Me... | true |
be9e76238183ef0fb384aa558e54721c62a3b183 | Java | chooli/com.jumkid.live | /src/main/com/jumkid/live/flightaware/schedules/DataSet.java | UTF-8 | 2,428 | 2.078125 | 2 | [] | no_license | package com.jumkid.live.flightaware.schedules;
import com.fasterxml.jackson.annotation.JsonProperty;
public class DataSet {
private String ident;
@JsonProperty("actual_ident")
private String actualIdent;
@JsonProperty("departuretime")
private Integer departureTime;
@JsonProperty("arrivaltime")
private ... | true |
15952a56ac4b80c12d8bb74ebd31b841ff47edd0 | Java | collinjackson/image_picker | /example/android/app/src/main/java/com/yourcompany/app/MainActivity.java | UTF-8 | 646 | 1.953125 | 2 | [
"BSD-3-Clause"
] | permissive | package com.yourcompany.app;
import android.content.Intent;
import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugin.ImagePickerPlugin;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sa... | true |
f98cac362d6af07abc5501ae9a0b2cdef85d4508 | Java | rodriguezjoaquin/LaboratorioComp2 | /Trabajos_Practicos/src/TPN9/Ejercicio2/Oficinas.java | UTF-8 | 990 | 3.25 | 3 | [] | no_license | package TPN9.Ejercicio2;
public class Oficinas implements Edificio{
private int cantidadOficinas;
private double superficie;
public Oficinas(){
cantidadOficinas = 0;
superficie = 0;
}
public Oficinas(int cantidadOficinas, double superficie){
this.cantidadOficinas = cantida... | true |
a3d7aabbbcb56a81e575858763a2ae15057859de | Java | gonzalch/AndroidGraphicsApp | /JTurtleLib/Tutorial/src/turtle/tut05/Tut05.java | UTF-8 | 221 | 2.46875 | 2 | [] | no_license | // Tut05.java
package turtle.tut05;
import turtle.*;
public class Tut05 extends Playground
{
void main()
{
st();
for (int i = 0; i < 4; i++)
{
fd(100);
rt(90);
}
}
}
| true |
cb5d6a5c7be2a6728667a7470b9a23c5b1dc8d23 | Java | guillepb10/simple-server | /commons-netty/src/main/java/com/simplyti/util/concurrent/Future.java | UTF-8 | 179 | 1.65625 | 2 | [] | no_license | package com.simplyti.util.concurrent;
import java.util.concurrent.CompletionStage;
public interface Future<T> extends io.netty.util.concurrent.Future<T>, CompletionStage<T>{
}
| true |
4a81d073ac9ffb002bf8ecdb4b13507ee793544a | Java | bellmit/liangyou | /src/main/java/com/liangyou/api/pay/QueryPayChannelApi.java | UTF-8 | 1,290 | 2.015625 | 2 | [] | no_license | package com.liangyou.api.pay;
/**
* 支付渠道查询
* @author Administrator
*
*/
public class QueryPayChannelApi extends PayModel {
private String apiType; //渠道类型
private String cardType; //渠道类型
private String payType; //渠道类型
private String publicTag; //渠道类型
private String owner; //渠道类型
private String[... | true |
96ae7a60c02d217e44f87695cceb26fc79cf106f | Java | Hereticked/Old-Code | /Java/CSC 1500/Semester2/chap7/Smile.java | UTF-8 | 1,153 | 3.21875 | 3 | [] | no_license | // James Poulette
// CSC 1550 03
// 99 - 04 - 04
// Smile.java page 360 #1
// Known Bugs : None
// Smiley face changes whenever the button is pushed.
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
public class Smile extends Applet implements ActionListener
{
Button pressMe = new Button("Pre... | true |
706bbf7f34e25f48eaab8f36aacab542fd0c9b03 | Java | willpyshan13/CarStoreApi | /account/account-web/src/main/java/com/car/account/web/model/vehicle/VehicleConfig.java | UTF-8 | 791 | 1.921875 | 2 | [] | no_license | package com.car.account.web.model.vehicle;
import com.car.common.datasource.model.BaseModelInfo;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;
/**
* @author xlj
* @date 2020/12/19
*/
@Data
@Table(name = "vehicle_config")
public class VehicleConfig extends BaseModelInfo {
... | true |
4669cba859f2884052106389d45b31b350323f9c | Java | Alaeddine-Nasri/ImmobilierEsi | /src/com/company/Maison.java | UTF-8 | 5,601 | 2.78125 | 3 | [] | no_license | package com.company;
import java.util.Date;
public class Maison extends Habitable {
private int nbr_etages;
private boolean garage;
private boolean jardin;
private boolean piscine;
private float surface_habitable;
public Maison(String adresse, Wilaya wilaya, float surface, Proprietaire propri... | true |
74cfa19b95142b6698b3f02a02240b72381e5884 | Java | Outer2g/Reinforcement-Learning-Project | /AgentDeep/src/main/java/game/Transition.java | UTF-8 | 560 | 2.515625 | 3 | [] | no_license | package game;
import enumerate.Action;
import utils.Utils;
/**
* Created by outer2g on 30/04/17.
*/
public class Transition {
public FightingGameState cstate,nstate;
public Utils.ReducedActions actionTaken;
public double rewardAchieved;
public Transition(){}
public Transition(FightingGameState c... | true |
a5807f669ad15119e5c22fcdc3a1a192ab05f0c9 | Java | Cermellus/Ermes | /src/main/java/nz/co/it4biz/service/mapper/CreditReasonMapper.java | UTF-8 | 586 | 2.21875 | 2 | [] | no_license | package nz.co.it4biz.service.mapper;
import nz.co.it4biz.domain.*;
import nz.co.it4biz.service.dto.CreditReasonDTO;
import org.mapstruct.*;
/**
* Mapper for the entity CreditReason and its DTO CreditReasonDTO.
*/
@Mapper(componentModel = "spring", uses = {})
public interface CreditReasonMapper extends EntityMapper... | true |
73970fc29c0dfdc1a0a179256c6ea6e1ea74e145 | Java | almasud/Android-Fundamentals | /app/src/main/java/com/example/almasud/fundamental/list_and_recycler_view/RecyclerViewActivity.java | UTF-8 | 1,929 | 2.578125 | 3 | [] | no_license | package com.example.almasud.fundamental.list_and_recycler_view;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.wi... | true |
b79dfd3d0b9cf43f62e26870b649bc85868bb13c | Java | kkarnwal/spring-cloud-learning | /security-order-engine/src/main/java/trade/security/controller/OrderBookController.java | UTF-8 | 3,225 | 2.125 | 2 | [] | no_license | package trade.security.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotati... | true |
6a61bcc3394ca73894e397e36a78531bebc7a699 | Java | meAlexander/ITTalents | /JavaBasics/Lecture9HomeworkTasks/src/Season5Test1Task2.java | UTF-8 | 1,109 | 3.671875 | 4 | [] | no_license | import java.util.Scanner;
public class Season5Test1Task2 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter some text: ");
String text = scanner.nextLine();
String mostFrequentWord = searchMostFrequentWord(text);
Sys... | true |
1f02c8b6a6746924c5490475326b2d3208d89ad1 | Java | SdKarrmann/Nibbles | /OO Design/Nibbles/DefaultComponent/DefaultConfig/Default/Nibbles.java | UTF-8 | 1,758 | 2.015625 | 2 | [] | no_license | /*********************************************************************
Rhapsody : 8.0
Login : polusj
Component : DefaultComponent
Configuration : DefaultConfig
Model Element : Nibbles
//! Generated Date : Thu, 6, Apr 2017
File Path : DefaultComponent/DefaultConfig/Default/Nibbles.java
*************************... | true |