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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
b25346c5cbb2a5808670c1b891c448ea68b562dd | Java | lnquynh/APPIUM_DEMO_PROJECT | /src/test/java/core/ReadExcel.java | UTF-8 | 5,114 | 2.484375 | 2 | [] | no_license | package core;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
public class ReadExcel {
//public static final Logger lo... | true |
7c40ba5d72c6d54ba713aae6ffea8370a66a67fe | Java | ratexx/main | /main/java/com/haak/haaksq/autogen/com/haak/haaksq/autogen/MstCompany.java | UTF-8 | 2,916 | 2.09375 | 2 | [] | no_license | package com.haak.haaksq.autogen;
// Generated Feb 13, 2013 12:10:35 AM by Hibernate Tools 3.4.0.CR1
import java.util.Date;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
imp... | true |
cbf2a1083b9a3b1b31469f70dad026253232251a | Java | mnickens07/liftoffproject2 | /src/main/java/org/launchcode/liftoffproject2/data/EventRepository.java | UTF-8 | 553 | 2.109375 | 2 | [
"MIT"
] | permissive | package org.launchcode.liftoffproject2.data;
import org.launchcode.liftoffproject2.models.Event;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import javax.transaction.Transactional;
@Repository//because EventRepository is extending CrudRepository, I am ... | true |
0b76cc95c0d0df42a522d53c03c25ace51874ee7 | Java | Soracbw/FlowerShop | /src/main/java/com/zy/index/entity/Flower.java | UTF-8 | 2,211 | 2.234375 | 2 | [] | no_license | package com.zy.index.entity;
public class Flower {
int id;
String name;
String description;
String detail;
int usage_id;
int material_id;
int type_id;
int sller_id;
String imgurl;
double price;
public int getId() {
return id;
}
public void setId(int id) {
... | true |
c2fba27d94136b7e4bb4f63e732248a24f548c1f | Java | crogers3/neat | /crogers3/neat/XorTrainer.java | UTF-8 | 4,784 | 2.328125 | 2 | [] | no_license | package crogers3.neat;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
import java.util.stream.Collectors;
import crogers3.InnovationNumberProvider;
import crogers3.neuralnet.NeuralNet;
import crogers3.proto.compiled.NeatProtos.G... | true |
b78a7ea33f248b40b359ceacf5d62b5db1314043 | Java | pearlsortman/aqr-trading-system | /src/main/java/com/aqr/FillOrder.java | UTF-8 | 1,368 | 2.90625 | 3 | [] | no_license | package com.aqr;
import com.google.common.base.Splitter;
import java.math.BigDecimal;
import java.util.List;
/**
* @sampleInput F 1388534400000 MSFT 42.43 300
* <p>
* 1. Message type: This is always F for this file
* 2. Milliseconds from the unix epoch
* 3. Symbol name
* 4. Fill Price
* 5. Fill size
* 6. Sid... | true |
eb014f4ff525ea91bc5a3925a3934303ac7824a0 | Java | RockSands/Ganglia_Watcher_System | /src/main/java/com/ganglia/watcher/common/EbsLogPatternParser.java | UTF-8 | 1,299 | 2.828125 | 3 | [] | no_license | package com.ganglia.watcher.common;
import org.apache.log4j.helpers.FormattingInfo;
import org.apache.log4j.helpers.PatternConverter;
import org.apache.log4j.helpers.PatternParser;
import org.apache.log4j.spi.LoggingEvent;
/**
* <p>
* ๆไพๆฅๅฟๆ ผๅผๅๆไฝใ
* </p>
* @version Revision: 1.0
* @since Date: 2009-5-7... | true |
2c2339ebcc6a78592f028748f10ea5f306c33d9f | Java | dkayiwa/openmrs-module-reporting | /api/src/main/java/org/openmrs/module/reporting/report/definition/service/ReportDefinitionServiceImpl.java | UTF-8 | 6,832 | 1.789063 | 2 | [] | no_license | package org.openmrs.module.reporting.report.definition.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openmrs.Cohort;
import org.openmrs.api.APIException;
import... | true |
c0904caf49c05794a6253d7cef2cf99298a0d499 | Java | BayAreaMetro/travel-model-one | /core/third-party/jppf-2.4/server/src/java/org/jppf/server/peer/PeerNode.java | UTF-8 | 9,657 | 1.882813 | 2 | [] | no_license | /*
* JPPF.
* Copyright (C) 2005-2010 JPPF Team.
* http://www.jppf.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | true |
ba5061bc9216a27ac12a00a51ed1691e006202bc | Java | pablin2402/PROYECTO-PROGRAMACION | /src/Estudiante/view/Menu.java | ISO-8859-1 | 5,157 | 2.9375 | 3 | [] | no_license | package Estudiante.view;
import java.sql.SQLException;
import java.util.Scanner;
import Carrera.entity.NoExisteCarrera;
import Clase.entity.NoExisteClase;
import Estudiante.entity.Estudiante;
import Estudiante.entity.NoExisteEstudiante;
import Notas.entity.NoExisteNota;
import VIEW.InputTypes;
public class Menu {
p... | true |
d1b571e054bcb6b0019bf84a87865ffb2ff782df | Java | Whutcf/AdminUI2 | /src/main/java/com/smic/cf/mapper/TrendChartMapper.java | UTF-8 | 1,022 | 2.03125 | 2 | [] | no_license | package com.smic.cf.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smic.cf.pojo.TrendChart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @Description TODO
* @ClassName TrendChartMapper
* @Author ่กๆๆถ
* @date 2020.... | true |
ea5d01faf1950ce3dafd09313ce93c766b6f03ff | Java | GuoqiangSun/Socket | /app/src/main/java/cn/com/startai/socket/app/activity/WebActivity.java | UTF-8 | 6,019 | 1.851563 | 2 | [] | no_license | package cn.com.startai.socket.app.activity;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.Toast;
import c... | true |
c6e1ffe226f1c401aca0093758b272316bfd129b | Java | AdamSzentesi/Asteroids | /src/asteroids/components/RotateComponent.java | UTF-8 | 108 | 1.992188 | 2 | [] | no_license | package asteroids.components;
public class RotateComponent extends Component
{
public float rate;
}
| true |
03b3cf045d0f14f3090f9783ca242acc4c47cd6c | Java | liang90925/brainwork | /house_robber_III/HouseRobberIII.java | UTF-8 | 1,359 | 3.140625 | 3 | [] | no_license | import com.sun.org.apache.regexp.internal.REUtil;
public class HouseRobberIII {
public class TreeNode {
public int val;
public TreeNode left, right;
public TreeNode(int val) {
this.val = val;
this.left = this.right = null;
}
}
public class ResultType... | true |
63013ab47ad63fa72fbc9eb4fbfc393fb490ec9d | Java | yayuanzi8/cloud-note | /note-service/src/main/java/win/yayuanzi8/noteservice/service/ShareNoteService.java | UTF-8 | 426 | 1.757813 | 2 | [] | no_license | package win.yayuanzi8.noteservice.service;
import win.yayuanzi8.noteservice.domain.Note;
import win.yayuanzi8.noteservice.domain.ShareNote;
import win.yayuanzi8.noteservice.model.NoteView;
import java.util.Set;
public interface ShareNoteService {
ShareNote share(String nid, Integer uid);
Set<NoteView> getM... | true |
5f2d2a3a813367ceccec269dbe3494c38779b8de | Java | gx-2016/seckill | /src/main/java/com/seckill/web/SeckillController.java | UTF-8 | 3,923 | 2.234375 | 2 | [] | no_license | package com.seckill.web;
import com.seckill.dto.Exposer;
import com.seckill.dto.SeckillExectuion;
import com.seckill.dto.SeckillResult;
import com.seckill.entity.Seckill;
import com.seckill.enums.SeckillStateEnum;
import com.seckill.exception.RepeatKillException;
import com.seckill.exception.SeckillCloseException;
imp... | true |
da5675d2b0627593dbdf9876f69966300c8d29ed | Java | WANGBng/moni2 | /myweektwo/src/main/java/com/bwie/wang/mvp/view/activity/MainActivity.java | UTF-8 | 2,188 | 2.203125 | 2 | [] | no_license | package com.bwie.wang.mvp.view.activity;
import android.graphics.Color;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.RadioButton;
imp... | true |
eb73d45080b8a972bb3327f03c5d494bdcdbec0c | Java | wx409475835/MyEclipseWorkSpace | /JavaDemo/src/day1/Demo1.java | UTF-8 | 458 | 3.015625 | 3 | [] | no_license | package day1;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class Demo1 {
public static void main(String argv[]){
//1.5
Integer i = 1; //่ฃ
็ฎฑๅญ
int j=1; //ๆ็ฎฑ
List list = new ArrayList();
list.add(1);
list.add(2);
list.add(3);
Iterator iterator = list.iterat... | true |
5edcf8edfdeaaaa4bf8ac6e0318eca28bb0b407d | Java | Aryat123/gebeya_enterprise_app | /Project.java | UTF-8 | 307 | 1.710938 | 2 | [] | no_license |
package gebeya.enterprise.app;
public class Project {
private String title;
private String description;
private String language;
private int price;
private int duration;
public String []status ={"open project","In progress","completed"};
public Project() {
}
}
| true |
6cd5986240868a695d3ea25c3cd65af560c2a1d0 | Java | flame123flame/baiwa-backend | /src/main/java/egat/model/Category.java | UTF-8 | 751 | 2.109375 | 2 | [] | no_license | package egat.model;
import java.util.List;
public class Category {
private Long cattegoryId;
private String name;
private String descripton;
private List<WorkForm> workFormList;
public Long getCattegoryId() {
return cattegoryId;
}
public void setCattegoryId(Long cattegoryId) {
this.cattegoryId = catteg... | true |
66325e970b51e87e0489971c194f7b8aea015898 | Java | baard/roomba-java | /src/main/java/no/rehn/roomba/ui/ModelDeviceMapper.java | UTF-8 | 8,662 | 2.171875 | 2 | [] | no_license | package no.rehn.roomba.ui;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.PriorityQueue;
import no.rehn.roomba.io.Note;
import no.rehn.roomba.io.RoombaDevice;
import no.rehn.roomba.io.Roomb... | true |
0d58f0c5947c25b78471e9700ea8551f15f343ea | Java | Park1122/ProcessedFoodInfoSystem-Server | /src/main/java/com/plim/plimserver/domain/review/repository/ReviewLikeRepository.java | UTF-8 | 932 | 2.21875 | 2 | [] | no_license | package com.plim.plimserver.domain.review.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import com.plim.plimserver.domain.review.domain.ReviewLike;
public interface ReviewLikeRepo... | true |
dd451a68a39a5a7413edfde94384ce0f6ec4515d | Java | amytraylor/simbryo | /src/main/java/simbryo/synthoscopy/microscope/parameters/ParameterInterface.java | UTF-8 | 547 | 2.375 | 2 | [] | no_license | package simbryo.synthoscopy.microscope.parameters;
/**
* Interface for all micorscope simulation parameters
*
* @author royer
* @param <T>
* parameter value type
*/
public interface ParameterInterface<T>
{
/**
* Returns the parameter default value
*
* @return default value
*/
T getDefa... | true |
1d6a1753750d28562adc85f01318351a7dbb4cad | Java | ayshik-halder/archives-java | /College/LinearSearchArray/linearSearch.java | UTF-8 | 793 | 3.84375 | 4 | [] | no_license |
import java.util.*;
public class linearSearch {
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int i, n, s;
int f = 0;
System.out.println("Enter array size");
n = sc.nextInt();
int[] ar = new int[n];
System.out.printl... | true |
7b3503a1062478641fd077a52290f795f0fcac51 | Java | aronipurwanto/materi-xa | /java/java-source/Bootcamp - Batch XXX/src/day06/Bike07.java | UTF-8 | 250 | 2.859375 | 3 | [] | no_license | package day06;
public class Bike07 {
// blank final variable
final int speedlimit;
// constructor
Bike07() {
speedlimit = 70;
System.out.println(speedlimit);
}
// main method
public static void main(String args[]) {
new Bike07();
}
}
| true |
7dba8572792bad0d2f3a7c038775df817d2626c2 | Java | WillyMareka/Livestock | /app/src/main/java/com/example/probook/livestock/ViewAdds.java | UTF-8 | 9,554 | 1.960938 | 2 | [] | no_license | package com.example.probook.livestock;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log... | true |
76715cdd33cf948df4ad84e64196a5fc5e093ee4 | Java | zwy-node/java_designPattern | /designPattern/src/AdapterPattern/Phone.java | UTF-8 | 756 | 3.65625 | 4 | [] | no_license | package AdapterPattern;
/**
* @program: stuJava
* @description: ๆๆบ็ฑป
* @author: zwy
* @create: 2019-09-20 15:40
**/
public class Phone {
//ๆญฃๅธธ็็ตๅๆฏ220v,ๆฏไธไธชๅธธ้
public static final int v = 220;
private VoltageAdapter adapter;
//ๅ
็ต
public void charge() {
adapter.changVoltage();
}
p... | true |
30bcc2b9b8af163b2c52d4f5ee70a71364d61924 | Java | mingbackmountain/Java-Code | /java_week7/src/Rectangle.java | UTF-8 | 770 | 3.640625 | 4 | [] | no_license | public class Rectangle extends Shape {
double length;
double width;
public Rectangle() {
super.getColor();
}
public Rectangle(String color, double length, double width) {
super.setColor(color);
this.length = length;
this.width = width;
}
@Override
public String toString() {
... | true |
2e25b9a245ac663cad79231115341c5d35ad6950 | Java | anhhn2312/TreasureTrash-Android | /src/com/pt/treasuretrash/object/SearchObj.java | UTF-8 | 1,913 | 2.171875 | 2 | [] | no_license | package com.pt.treasuretrash.object;
import android.annotation.SuppressLint;
@SuppressLint("NewApi")
public class SearchObj extends BaseObject{
// "Keyword": "",
// "CategoryId": 0,
// "Longitude": 0,
// "Latitude": 0,
// "PageSize": 0,
// "CurrentPage": 0,
// "SearchField": "",
// "Width": 0,
// "Height": ... | true |
c8cf727c73478a90323e66e6a5b088737335a6d9 | Java | PanPrizrak/TenderHolmech | /tender/src/main/java/com/holmech/tender/application/controller/AddContactController.java | UTF-8 | 2,371 | 2.21875 | 2 | [] | no_license | package com.holmech.tender.application.controller;
import com.holmech.tender.application.entity.Applicant;
import com.holmech.tender.application.entity.Contacts;
import com.holmech.tender.application.repository.ContactsRepository;
import com.holmech.tender.application.service.ApplicantService;
import org.springframewo... | true |
dbb46e65f6c015e8e60764f55941cbd0d2ae0c78 | Java | Cscar2H/pocketbook | /src/me/cscar/gui/listener/SpendPanelListener.java | UTF-8 | 590 | 2.21875 | 2 | [] | no_license | package me.cscar.gui.listener;
import me.cscar.gui.panel.SpendPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import me.cscar.gui.panel.SpendPanel;
public class SpendPanelListener implements ActionListener {
//็ๅฌๅจ่ทๅPanel็ปไปถ
/*private final SpendPanel sp;
public SpendPane... | true |
8fb235df82818e9bf789706c1baa480c556d2653 | Java | m-wendler/wetfeet-tutorials.java | /guice/src/main/java/wetfeet/guice/GuiceDemo.java | UTF-8 | 1,314 | 3.515625 | 4 | [] | no_license | package wetfeet.guice;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.Injector;
/**
* Demonstrates how to use Guice for injecting dependencies.
*
* @author Mike Wendler
*/
public class GuiceDemo {
/**
* Creates a Guice injector to start the injection process
* and... | true |
136ec370ab298d2d0544eb7386be64d1307c2c4a | Java | 6417/2020 | /src/main/java/frc/robot/commands/PneumaticBumperCommand.java | UTF-8 | 2,890 | 2.5625 | 3 | [] | no_license | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | true |
4c4e418af15a30341b10f9609d88e8e3ea1acfd4 | Java | loverdos/SlipStreamServer | /jar-connector/src/test/java/com/sixsq/slipstream/util/CommonTestUtil.java | UTF-8 | 7,728 | 1.796875 | 2 | [
"Apache-2.0"
] | permissive | package com.sixsq.slipstream.util;
/*
* +=================================================================+
* SlipStream Server (WAR)
* =====
* Copyright (C) 2013 SixSq Sarl (sixsq.com)
* =====
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | true |
e9393e8a9a2d16dcc51302b81ec75a5c7398029d | Java | Gautam123kumar/Online-Application-for-Training-and-placement | /src/com/dts/tpo/dao/TrainingDAO.java | UTF-8 | 4,408 | 2.5 | 2 | [] | no_license | package com.dts.tpo.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import com.dts.core.dao.AbstractDataAccessObject;
import com.dts.core.util.CoreHash;
import com.dts.core.util.LoggerManager;
import com.dts.tpo.model.Training;
public class Tr... | true |
1dd19a303a1bd12c16140f549fb5efcc2722ee84 | Java | futurentech/nalog-client | /src/nalog_client/driver.java | UTF-8 | 1,580 | 2.46875 | 2 | [] | no_license | package nalog_client;
import unisoft.ws.*;
import unisoft.ws.fnsndscaws2.request.NdsRequest2;
import unisoft.ws.fnsndscaws2.request.ObjectFactory;
import unisoft.ws.fnsndscaws2.response.NdsResponse2;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Scanner;
public clas... | true |
c53962e95e75d4de92e04a47079d298441f36a2c | Java | bestwaiting/news-manager-system | /src/com/bn/ServerThread.java | GB18030 | 729 | 2.9375 | 3 | [] | no_license | package com.bn;
import java.net.ServerSocket;
import java.net.Socket;
import static com.bn.Constant.*;
public class ServerThread extends Thread
{
public ServerSocket ss;
@Override
public void run()
{
try
{
ss=new ServerSocket(31418);
System.out.println("ษน, หฟฺบลฃ31418");
... | true |
95393bf876e989f8894037536b627d403a40484e | Java | xybed/MeiShiJia_Web | /src/main/java/com/mumu/meishijia/model/BaseModel.java | UTF-8 | 867 | 2.125 | 2 | [] | no_license | package com.mumu.meishijia.model;
/**
* Created by 7mu on 2016/6/30.
* ๅบ็กmodel
*/
public class BaseModel {
private int resultType;
private int resultCode;//0ไธบๆๅ๏ผ-1ไธบๅคฑ่ดฅ๏ผ-99ไธบ้้ๆฐ็ปๅฝ
private String detail;
private Object data;
public int getResultType() {
return resultType;
}
public ... | true |
63069283c5b3320e63b54b6b8ed2792fb2b58f4e | Java | CarlitoBG/JavaAdvanced | /15.IOFilesAndDirectories-Lab/src/IOFilesAndDirectories/P05WriteEveryThirdLine.java | UTF-8 | 1,030 | 3.609375 | 4 | [] | no_license | package IOFilesAndDirectories;
import java.io.*;
public class P05WriteEveryThirdLine {
public static void main(String[] args) {
String inputPath = "D:\\User\\Documents\\Programming\\04. Java Advanced" +
"\\08. Input-Output, Files and Directories\\Resources\\Files-and-Streams\\input.txt";
... | true |
42962a81ef816ccbb54784e85aff794e2b1f59f3 | Java | fatidominguez/Mastermind | /Mastermind_final/edu.up.mastermind.MastermindMainActivity/src/cs301/up/mastermind/SkipTurnAction.java | UTF-8 | 584 | 2.8125 | 3 | [] | no_license | package cs301.up.mastermind;
import edu.up.game.GameAction;
/**
*This is the GameAction class that skips the player's turn.
* @author Lupita Carabes
* @author Jessica Lazatin
* @author Frank Phillips
* @author Fatima Dominguez
*
* @Date Fall 2012
*/
public class SkipTurnAction extends GameAction{
private st... | true |
45dea26398578c0548eeea5df24df9766f195822 | Java | xxrepo/saa | /saareport.2012/src/com/saa/jdbc/PersistentObject.java | UTF-8 | 1,299 | 2.546875 | 3 | [] | no_license | package com.saa.jdbc;
import java.util.HashMap;
public class PersistentObject implements Persistent {
/**Primary Key Columm name*/
protected String primaryName = "";
protected Object primaryValue = null;
protected String tableName = "";
//private
/**/
protected Object[] columns;
protected HashMa... | true |
83b068512739edfadb764e6c1db62049e178a0e0 | Java | jokerRens/Joker-cloudLin | /joker-designmode/src/main/java/com/joker/designmode/strategy/SubstractStrategy.java | UTF-8 | 271 | 2.6875 | 3 | [] | no_license | package com.joker.designmode.strategy;
/**
* SubstractStrategy
*
* @author joker
* @version 1.0
* 2022/3/14 16:11
**/
public class SubstractStrategy implements Strategy {
@Override
public int calc(int num1, int num2) {
return num1 - num2;
}
}
| true |
32e41d476ebc3d8f722ce734924bb6c9707b1643 | Java | NEWTTR/Practise | /GisTest/src/main/java/com/example/demo/control/CenterController.java | UTF-8 | 781 | 1.929688 | 2 | [] | no_license | package com.example.demo.control;
import com.alibaba.fastjson.JSONObject;
import com.example.demo.dao.CenterMapper;
import com.example.demo.entity.Center;
import com.example.demo.service.CenterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Reques... | true |
ae6cdecde0c07f52cd2af6d5c7a27f66e156e7f5 | Java | mohsincox/springCRUD | /src/main/java/com/javatpoint/controllers/EmpController.java | UTF-8 | 4,589 | 2.515625 | 3 | [] | no_license | package com.javatpoint.controllers;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annota... | true |
9f5391f0c7647130d6614b58046c9bf9e10223c9 | Java | dhivashini/Practice_Interview | /src/com/dhiva/linkedlist/RemoveDuplicates.java | UTF-8 | 442 | 3.265625 | 3 | [] | no_license | package com.dhiva.linkedlist;
import java.util.HashSet;
public class RemoveDuplicates {
public Node removeDups(Node head) {
if (head == null) {
return null;
}
HashSet<Integer> set = new HashSet<>();
Node temp = head;
Node prev = null;
while (temp != null) {
if (!set.contains(temp.value)) {
set.... | true |
bb6e8cb2199d2742e136e8a68d945dd78395e69b | Java | shafigtahmasib/UniSubscribe | /UnSubscribe/src/main/java/com/example/unsubscribe/dto/SubscriptionDTO.java | UTF-8 | 469 | 1.9375 | 2 | [] | no_license | package com.example.unsubscribe.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDate;
@Data
@Builder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
public class SubscriptionDTO {
private Integer id;
private Str... | true |
01b8e15698b01754249504d44e3cfdb7a29a93f4 | Java | sk10salman/Java_tutorial | /Inheritance/src/Multilevel_Inheritance.java | UTF-8 | 722 | 3.859375 | 4 | [] | no_license |
class One
{
One(){
System.out.println("I am constructor base ::::");
}
public void print_base()
{
System.out.println("Base Class::::");
}
}
class Two extends One{
Two(){
System.out.println("I am constructor child1 ::::");
}
public void print_child1()
{
System.out.println("child1 Class::::");
... | true |
9787db35e88b5954d61a61fc8c5fc1609abf6c33 | Java | NextSemester/wedding-dubbo | /wedding-dubbo/wedding-common/src/main/java/com/whut/wedding/entity/User.java | UTF-8 | 2,902 | 2.015625 | 2 | [] | no_license | package com.whut.wedding.entity;
import java.io.Serializable;
public class User implements Serializable {
private long userId;
private String userHeadPortrait;
private String userNickname;
private String userSex;
private String userCity;
private String userIDcard;
private String userAdd;
private Stri... | true |
6e75a009bd5d4e071a26c674c0be6e040f977d42 | Java | disleyd/dvd-store-example | /src/main/java/com/easynet/dvdstore/domain/DvdService.java | UTF-8 | 344 | 1.859375 | 2 | [] | no_license | /*
* Copyright Easynet 2006
*/
package com.easynet.dvdstore.domain;
/**
* @author Jonathan Rogers
*
*/
public interface DvdService {
public Dvd retrieveDvd(String dvdReference) throws DvdNotFoundException, DvdInvalidReference;
public String getDvdSummary(String dvdReference) throws DvdNotFoundExc... | true |
a6cc57537269628e71b7eddaa72acc4e53388560 | Java | changyou0/EasyReport | /docs/demo/ReportProxy.java | UTF-8 | 24,269 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | package com.swb.web.base;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.apache.commons.logging.Log;
import org.apache.commons.lo... | true |
fa29e5399e716febf4d01977cbe198e3c15ea9dd | Java | dmytro-verner/mongodb-university-solutions | /M101J - MongoDB for Java Developers/Week 5 - Aggregation/Homework 5-1/src/main/java/Homework_5_1_Solution.java | UTF-8 | 979 | 2.625 | 3 | [
"MIT"
] | permissive | import com.mongodb.Block;
import com.mongodb.MongoClient;
import com.mongodb.client.*;
import org.bson.Document;
import static com.mongodb.client.model.Accumulators.sum;
import static com.mongodb.client.model.Aggregates.*;
import static java.util.Arrays.asList;
public class Homework_5_1_Solution {
public static v... | true |
0d4767f69ebea2d46353fb51951230c94f6345ea | Java | rodrig0lima/sistema-frequencia | /src/classes/teste.java | UTF-8 | 2,778 | 2.875 | 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 classes;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
... | true |
9f27a2451976c8daff49d70c9bbf3b332c59cddd | Java | zhongxingyu/Seer | /Diff-Raw-Data/1/1_11b8bdfe497ec73953067e39ef3db83a5db8ba85/Search/1_11b8bdfe497ec73953067e39ef3db83a5db8ba85_Search_t.java | UTF-8 | 598 | 2.390625 | 2 | [] | no_license |
import java.io.File;
/**
*
* @author lennon
*/
public class Search {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
FileParser parser = new FileParser(new File("examples/" + args[0]));
parser.parse();
DebugFrame debu... | true |
be99c8dc8b747d32c834773debdfdd2b434e0a55 | Java | frisok/Movies-reactive-rest-service | /src/main/java/nl/reactivemoviesrest/service/moviesdetails/MovieDetailsRESTService.java | UTF-8 | 1,813 | 2.34375 | 2 | [] | no_license | package nl.reactivemoviesrest.service.moviesdetails;
import com.google.common.reflect.TypeToken;
import com.google.gson.Gson;
import lombok.extern.log4j.Log4j2;
import nl.reactivemoviesrest.data.document.MovieDetails;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus... | true |
f69bf02309f6d2e8fe9f2ddb42e6680f986c633a | Java | jklijewska/Spring-Boot | /src/main/java/pl/jklijewska/springboot/VideoApi.java | UTF-8 | 2,270 | 2.640625 | 3 | [] | no_license | package pl.jklijewska.springboot;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import pl.jklijewska.springboot.model.Video;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@RestController
@R... | true |
89cf4ea38ed0bbfa014cfb066081667b20d11660 | Java | simdis/NY_accidents | /Hadoop/src/main/java/hadoop/ny_accidents/lethal_accidents/LethalAccidents.java | UTF-8 | 2,719 | 2.484375 | 2 | [] | no_license | package hadoop.ny_accidents.lethal_accidents;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.had... | true |
d5f8da45f00abf8b0d529325f5b7c68fda199b64 | Java | LaurentFLEIFEL/AdventOfCode2020 | /src/main/java/com/lfl/advent2020/days/day10/AdapterCharger.java | UTF-8 | 3,560 | 2.71875 | 3 | [] | no_license | package com.lfl.advent2020.days.day10;
import com.lfl.advent2020.LinesConsumer;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.eclipse.collections.api.collection.primitive.MutableIntCollection;
import org.eclipse.collections.api.list.primitive.MutableIntList;
import org.eclipse.collections.api.map.... | true |
9ebb72db4f9400b8f13a54cd935ac8130e168e39 | Java | balajiboggaram/algorithms | /src/me/learn/personal/month5/CloneBinaryTreeWithRandomPointer.java | UTF-8 | 1,610 | 3.671875 | 4 | [
"Apache-2.0"
] | permissive | package me.learn.personal.month5;
import java.util.HashMap;
import java.util.Map;
/**
*
* Title 1485 :
*
* Date : Dec 24, 2020
*
* @author bramanarayan
*
*/
public class CloneBinaryTreeWithRandomPointer {
/**
* Basically, you need to maintain a map of old node -> new node.
* then traverse again - lik... | true |
f2c85029aba098f420f117a1235a1532400c2d9a | Java | Brandon32/05MechGame | /src/game/levels/Level01.java | UTF-8 | 574 | 2.359375 | 2 | [] | no_license | package game.levels;
import java.awt.Graphics2D;
import engine.events.GameEvent;
import engine.events.GameEventDispatcher;
import engine.events.GameEvent.GameEventType;
import engine.interfaces.LevelInterface;
import game.sprite.Mech;
public class Level01 implements LevelInterface {
private Mech myMech;
public Le... | true |
c3a00caf868f8f72f2a0de1d53745772745ea7c2 | Java | Dakkra/WaveTableEditor | /src/main/java/com/dakkra/wavetableeditor/ui/WaveDisplay.java | UTF-8 | 3,218 | 3.09375 | 3 | [] | no_license | package com.dakkra.wavetableeditor.ui;
import com.dakkra.wavetableeditor.waveconcept.WaveTable;
import com.dakkra.wavetableeditor.waveconcept.WaveTableListener;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx... | true |
333f4d34612a073873dfa51a42815ec34a073030 | Java | marco523/Supermercado | /trabalho_supermercado-master/src/Produto.java | UTF-8 | 914 | 2.8125 | 3 | [] | no_license | public class Produto {
private String nome;
private Float preco;
private String ref;
protected int quantidade;
public String getNome() {
return nome;
}
public Float getPreco() {
return preco;
}
public String getRef() {
return ref;
}
public int get... | true |
36ec14d20b79bdf8ed59ea59c79be7c2b44428f3 | Java | xiebiao123/CSSP | /CSSP/src/main/java/com/soshow/ssi/redis/service/RedisService.java | UTF-8 | 694 | 2.15625 | 2 | [] | no_license | package com.soshow.ssi.redis.service;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.soshow.ssi.redis.dao.RedisDao;
import com.soshow.ssi.redis.dto.RedisDto;
@Service
public class RedisService {
@Resource
private RedisDao RedisDao;
... | true |
f1eef69507530a5f7d7f4b3cecd32afcfa3a8d8a | Java | jorgecardoso/purewidgets.interactionmanager | /src/org/instantplaces/im/server/rest/representation/json/PlaceRest.java | UTF-8 | 2,591 | 2.109375 | 2 | [] | no_license | /**
*
*/
package org.instantplaces.im.server.rest.representation.json;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
/**
* @author "Jorge C. S. Cardoso"
*
*/
@JsonAutoDetect(fieldVisibility=Visibility.ANY, getterVisibility=Visibility.NONE, i... | true |
649af752226a380a78d2c2c475e9a2882e090209 | Java | wso2/micro-integrator | /integration/dataservice-hosting-tests/tests-integration/tests/src/test/java/org/wso2/ei/dataservice/integration/test/services/NestedQueryTestCase.java | UTF-8 | 4,417 | 1.867188 | 2 | [
"Apache-2.0"
] | permissive | /*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you 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/lic... | true |
56247beb7dc6dda22877180806c8095b9e2bff38 | Java | wilqor/AM_proj | /MobileFood/app/src/main/java/pl/gda/pg/eti/kask/am/mobilefood/db/TagsDataSource.java | UTF-8 | 5,059 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package pl.gda.pg.eti.kask.am.mobilefood.db;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.annotation.NonNull;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import pl.gda.pg.eti.kask.am.mobilef... | true |
30a7bed36a8aa351ab388d3eab2fd9b0dfafc548 | Java | j2k850/wisehub-server | /api/src/main/java/com/wisehub/platform/api/sms/SMSTemplateModeler.java | UTF-8 | 2,619 | 2.421875 | 2 | [] | no_license | package com.wisehub.platform.api.sms;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SMSTemplateModeler {
private static final Logger logger = LoggerFactory.getLogger(SMSTemplateModeler.class);
public static Map<String,Object> model(SendSms ... | true |
ddd31f66ddc875979c9a155b24994ddfaabca8d8 | Java | Luv8436/Programming | /pepcoding/RadixSort.java | UTF-8 | 2,252 | 3.828125 | 4 | [] | no_license | // 1. You are given an array(arr) of integers.
// 2. You have to sort the given array in increasing order using radix sort.
// Input Format
// An Integer n
// arr1
// arr2..
// n integers
// Output Format
// Check the sample ouput and question video.
// Constraints
// 1 <= N <= 10000
// 0 <= arr[i] <= 10^8
// Sample I... | true |
4a8b6320ed485dd1ad8b4d4b169e22b52ce0132d | Java | MaxiLessacher/BSDProject | /3. Iteration/Webservice/GemeindeAPI/src/pkgService/ServiceVerwaltungspersonal.java | UTF-8 | 3,329 | 2.46875 | 2 | [] | no_license | package pkgService;
import java.util.Vector;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.xml.bind.annotation.XmlElement;
import jav... | true |
d275801239f44d12d8a904ef3357265ca97c5e14 | Java | lryxxh/Study | /Test/protocol/protocol/component/Manager.java | UTF-8 | 295 | 1.71875 | 2 | [] | no_license | package protocol.component;
import java.beans.PropertyEditorManager;
import java.util.Vector;
public class Manager {
public Manager() {
PropertyEditorManager.registerEditor(Vector.class, VectorEditor.class);
PropertyEditorManager.registerEditor(String.class, StringEditor.class);
}
}
| true |
33cb2555e31abc0af9b3ae4553c617500ac42dcc | Java | secuconnect/secuconnect-java-sdk | /src/main/java/com/secuconnect/client/model/GeneralMerchantsUrls.java | UTF-8 | 1,967 | 2.46875 | 2 | [
"Apache-2.0"
] | permissive | package com.secuconnect.client.model;
import com.google.gson.annotations.SerializedName;
import java.util.Objects;
/**
* GeneralMerchantsUrls
*/
public class GeneralMerchantsUrls {
@SerializedName("type")
protected String type = null;
@SerializedName("url")
protected String url = null;
public GeneralMer... | true |
1bd31c27cc6901dfaaaaa8865bb07fbeea1d10f8 | Java | bisoelpetjah/sikk-android | /app/src/main/java/com/senyummanja/sikk/views/AktorListItemView.java | UTF-8 | 2,223 | 2.109375 | 2 | [] | no_license | package com.senyummanja.sikk.views;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.senyummanja.sikk.R;
import com.senyummanja.sikk.interfaces.OnAktorIte... | true |
17c15066afff0c7f75649ee53050207b6aab81db | Java | ChrisSmith/BuildMonitor | /buildmonitor2/src/main/java/org/collegelabs/buildmonitor/buildmonitor2/util/Linq.java | UTF-8 | 3,231 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package org.collegelabs.buildmonitor.buildmonitor2.util;
import org.apache.commons.csv.CSVParser;
import org.collegelabs.buildmonitor.buildmonitor2.tests.TestCsvParser;
import java.util.ArrayList;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util... | true |
8630008bbab5ffc8111352338829f384f0c771fd | Java | jiangqiang520/xyfProjects | /XYF-ruoyi/SupplyChain/src/main/java/com/ruoyi/service/IOrderInvoiceService.java | UTF-8 | 1,119 | 1.789063 | 2 | [
"MIT"
] | permissive | package com.ruoyi.service;
import com.ruoyi.domain.OrderInvoice;
import java.util.List;
/**
* ่ฎขๅๅ็ฅจ ๆๅกๅฑ
*
* @author ruoyi
* @date 2019-08-02
*/
public interface IOrderInvoiceService
{
/**
* ๆฅ่ฏข่ฎขๅๅ็ฅจไฟกๆฏ
*
* @param id ่ฎขๅๅ็ฅจID
* @return ่ฎขๅๅ็ฅจไฟกๆฏ
*/
public OrderInvoice selectOrderInvoiceById(S... | true |
b1cb59d582a29104ff5ada3114c1f586f154d0a8 | Java | AlecioP/CompilerAntlr | /src/util/EnvironmentTypes.java | UTF-8 | 2,183 | 3.078125 | 3 | [] | no_license | package util;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
public class EnvironmentTypes {
//contains the stack of scopes. the last one is always the current active scope
//this linked list is used as a stack with LIFO behavior
LinkedList<HashMap<String, STentryTypes... | true |
8e5c5cf4104bde330ec14b1906611ef0fa409bc9 | Java | c4r1sk1m/Game-v1 | /Game v1/src/de/nerogar/gameV1/network/EntityPacket.java | UTF-8 | 124 | 1.820313 | 2 | [] | no_license | package de.nerogar.gameV1.network;
public abstract class EntityPacket extends FactionPacket{
public int entityID = 0;
}
| true |
10b37bfabd3af2f4a7c26f95a52ea8b6a9da7788 | Java | nshekarb4u/mc-connected-api | /src/main/java/com/mastercard/connected/config/Swagger2Config.java | UTF-8 | 1,437 | 2.125 | 2 | [] | no_license | package com.mastercard.connected.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.ApiInf... | true |
7fc66f6410b4ff4521f625e1bd76536913ea93a4 | Java | farizrahman4u/deeplearning4j | /nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/imports/OnnxImportTest.java | UTF-8 | 1,848 | 2.1875 | 2 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | package org.nd4j.imports;
import lombok.val;
import org.junit.After;
import org.junit.Test;
import org.nd4j.imports.graphmapper.onnx.OnnxGraphMapper;
import org.nd4j.linalg.io.ClassPathResource;
import org.nd4j.nativeblas.NativeOpsHolder;
import static org.junit.Assert.assertArrayEquals;
public class OnnxImportTest ... | true |
bf5cb2475308731075c709dc1875ced965755261 | Java | raje2411/JavaInheritence | /Java_inheritence/src/inheritence/RectangleShape5.java | UTF-8 | 942 | 3.515625 | 4 | [] | no_license | package inheritence;
public class RectangleShape5 extends TwoDShapeNew5 {
private String style;
RectangleShape5() {
super();
style = "no style defined";
}
RectangleShape5(String s, double w, double h) { // Defined constructor for sub-class only
super("Rectangle",w, h); // using super() keywords to invok... | true |
d8c800c9098f3262c691f7ff60cf38538df20a57 | Java | arshvardhan/test | /MaxisGetIt/src/com/kelltontech/maxisgetit/ui/activities/ClassifiedScrollActivity.java | UTF-8 | 22,917 | 1.578125 | 2 | [] | no_license | package com.kelltontech.maxisgetit.ui.activities;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
import org.json.JSONArray;
import org.json.JSONException;
imp... | true |
4e2bdc6de81f6f8e1005bf932602acc8747b8702 | Java | RJCash/second-experiment | /src/main/java/com/theironyard/AnimalRepository.java | UTF-8 | 1,420 | 2.4375 | 2 | [] | no_license | package com.theironyard;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* Created by rickiecashwell on 4/12/17.
*/
@Component
public class AnimalRepository {
@Autowired
... | true |
57ad1114bfe779e490163e87860da3513e90a3d3 | Java | xinzhedeai/projectInChrist | /qingganlan01/src/main/java/action/FellowShipAction.java | UTF-8 | 34,153 | 1.882813 | 2 | [] | no_license | package action;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.text.DecimalFormat;
import java.text.Si... | true |
efc2af37b772520b184d7ab04b66ca04067f63d9 | Java | PanNowak/UploaderClient | /src/main/java/com/example/uploaderclient/gui/main_view/control/FileUploadController.java | UTF-8 | 4,494 | 2.296875 | 2 | [] | no_license | package com.example.uploaderclient.gui.main_view.control;
import com.example.uploaderclient.gui.input.boundary.DataProvider;
import com.example.uploaderclient.gui.result_dialog.control.DialogController;
import com.example.uploaderclient.uploader.api.boundary.DataSource;
import com.example.uploaderclient.uploader.api.c... | true |
c775c78093d2bef76d4324a93d251f125774354e | Java | 123Loadboard/apim-event-extractor | /src/main/java/org/one23lb/apim/event/extractor/GlobstarMatcher.java | UTF-8 | 3,211 | 2.765625 | 3 | [] | no_license | package org.one23lb.apim.event.extractor;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* https://en.wikipedia.org/wiki/Glob_(programming)
*/
public class GlobstarMatcher
{
private static final Pattern WILDCARDS = Pattern.compile("(\\*\\*/)|(\\*)");
private final Pattern itsGlobRegex;... | true |
6b807fa387672532aa807bd471a9ad7a7fdec3d9 | Java | zuiqiangge/isp_ms | /isp_ms/apply/java/src/cn/com/pengyue/dao/IApplyConditionHistoryDao.java | UTF-8 | 281 | 1.65625 | 2 | [] | no_license | package cn.com.pengyue.dao;
import java.util.List;
import cn.com.pengyue.pojo.ApplyConditionHistory;
public interface IApplyConditionHistoryDao {
public void add(ApplyConditionHistory history);
public List<ApplyConditionHistory> listByUserId(Integer userId);
}
| true |
db79505bee6f3d7cb9c3bb0a699e42a2baf83964 | Java | eprager/itmd411-final | /HelpDesk/src/Tickets.java | UTF-8 | 12,420 | 2.765625 | 3 | [] | no_license | /**
* @author Emma Prager
* @date 05 May 2019
* @title Final Project
* @file Tickets.java
*/
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.ImageIcon;
import javax.swing.JFr... | true |
6a3561e1d74232c756457c2a05575fe37bd61c9d | Java | Chaussure-org/eis-yq-plg | /eis-yqfs-parent/eis-yqfs-facade/src/main/java/com/prolog/eis/pickstation/model/StationLxPosition.java | UTF-8 | 4,648 | 2.109375 | 2 | [] | no_license | package com.prolog.eis.pickstation.model;
import java.util.Date;
import java.util.Objects;
import com.prolog.framework.core.annotation.AutoKey;
import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Table;
import io.swagger.anno... | true |
a3d526cb117f8a3212234e4156fbd1bd3ba5bbac | Java | fqliao/algorithms | /src/offer/java/SortString.java | UTF-8 | 1,218 | 3.609375 | 4 | [] | no_license | package offer.java;
import java.util.Arrays;
public class SortString {
public static void main(String[] args) {
String str[] = {"B","A","a","ad","C","c"};
bubbleSort(str);
System.out.println(Arrays.toString(str));
}
public static void bubbleSort(String[] str){
if(str == null || str.length <... | true |
105a38edd506e1722ee312fa9f37643d6035baab | Java | xsren/AndroidReverseNotes | /docs/weixin_7.0.4_source/ๅ็ผ่ฏๆบ็ /ๅๆททๆทๅ/src/main/java/com/tencent/p177mm/plugin/appbrand/report/quality/QualitySession.java | UTF-8 | 2,873 | 1.6875 | 2 | [] | no_license | package com.tencent.p177mm.plugin.appbrand.report.quality;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.p177mm.plugin.appbrand.config.AppBrandInitConfigWC;
import com.tencent.p177mm.plugin.appbrand.r... | true |
d61a4e7c2c419ed76d8dfe6b2676162128b3fb5f | Java | andrebispo5/Bomberman-Wifi | /BomberManCM/src/ist/utl/pt/bbcm/sprites/interfaces/Moveable.java | UTF-8 | 204 | 2.1875 | 2 | [] | no_license | package ist.utl.pt.bbcm.sprites.interfaces;
import ist.utl.pt.bbcm.enums.DIRECTION;
public interface Moveable {
public void move(DIRECTION dir);
public void moveRandom();
public boolean canMove();
}
| true |
5c1f1f6a0498e65f13c541ffc82e43dc8b988954 | Java | androng/Asteroids_v2 | /src/ZeroLaserManager.java | WINDOWS-1252 | 12,132 | 2.59375 | 3 | [
"MIT"
] | permissive | import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.util.HashMap;
import java.util.List;
import org.jdesktop.animation.timing.Animator;
impo... | true |
06e372bbd0e340925c917ece326b11518ce94295 | Java | VanessaRP/TrabajoFinalTP2-V-ciclo | /TrabajoEurekaBank/src/entidades/Cliente.java | UTF-8 | 2,739 | 2.640625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package entidades;
/**
*
* @author sistemas
*/
public class Cliente implements Comparable<Cliente> {
private String codigo;
private String apellidoPaterno;
private String apellidoMaterno;
private Str... | true |
578f7b1a4166a43adc15f3a474075e498e23ffe5 | Java | gitSaein/SampleThread | /SampleThread/src/Deamon.java | UTF-8 | 498 | 3.203125 | 3 | [] | no_license | public class Deamon {
public void deamon(){
Thread deamon = new Thread(()->{
while( true ) {
System.out.println("Deamon thread ing");
try {
Thread.sleep(1);
} catch(InterruptedException e) {
e.printStackTrace();
}
}
});
deamon.setDaemon(true);
deamon.start();
try {
... | true |
5ee7d0b7b431306a07381676e3ccd7b6d6177d3b | Java | RyanTech/workplace | /src/com/yueqiu/http/HttpManager.java | UTF-8 | 3,660 | 2.328125 | 2 | [] | no_license | package com.yueqiu.http;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Arrays;
import org.json.JSONObject;
import android.content.Context;
import android.util.Log;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.AsyncHttpResponseHandler;
impo... | true |
f2c715eb844f5fa33718e9a757f0853e789786b3 | Java | fhis/order.client | /server/iih.ci/iih.ci.ord/src/main/java/iih/ci/ord/s/bp/base/relsrv/GetRelSrvTacticDOsBP.java | UTF-8 | 5,753 | 2.28125 | 2 | [] | no_license | package iih.ci.ord.s.bp.base.relsrv;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import iih.bd.bc.udi.pub.IBdSrvDictCodeConst;
import iih.bd.srv.medsrv.d.RelSrvTacticDO;
import iih.bd.srv.medsrv.d.desc.RelSrvTacticDODesc;
import iih.bd.srv.oth.d.BdRelSrvParamDTO;
import iih.ci.ord... | true |
8ba20876850a675a1d5176bebbabc17ca3585938 | Java | checkmarx-ltd/checkmarx-spring-boot-java-sdk | /src/main/java/checkmarx/wsdl/portal/CxWSResponsProjectProperties.java | UTF-8 | 2,833 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.11... | true |
ce36236e0385284288525bd425da0a248a063839 | Java | jiyouchloe/algorithm | /src/main/java/algorithm/Baek2193PinaryNumber.java | UTF-8 | 1,412 | 3.9375 | 4 | [] | no_license | package algorithm;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* <pre>
* algorithm
* Baek2193PinaryNumber.java
* 0๊ณผ 1๋ก๋ง ์ด๋ฃจ์ด์ง ์๋ฅผ ์ด์ง์๋ผ ํ๋ค. ์ด๋ฌํ ์ด์ง์ ์ค ํน๋ณํ ์ฑ์ง์ ๊ฐ๋ ๊ฒ๋ค์ด ์๋๋ฐ, ์ด๋ค์ ์ด์น์(pinary number)๋ผ ํ๋ค. ์ด์น์๋ ๋ค์์ ์ฑ์ง์ ๋ง์กฑํ๋ค.
* ์ด์น์๋ 0์ผ๋ก ์์ํ์ง ์๋๋ค.
* ์ด์น์์์๋ 1์ด ๋ ๋ฒ ์ฐ์์ผ๋ก ๋ํ... | true |
7bcdcff875199b7c08515aab1aa8a57facfb315d | Java | yurinevenchenov1970/TheWeather | /app/src/main/java/com/github/yurinevenchenov1970/theweather/view/MainView.java | UTF-8 | 483 | 1.929688 | 2 | [] | no_license | package com.github.yurinevenchenov1970.theweather.view;
import com.github.yurinevenchenov1970.theweather.bean.SimpleWeatherToShow;
import java.util.List;
/**
* @author Yuri Nevenchenov on 12/20/2017.
*/
public interface MainView {
void showAvailableCitiesList(List<String> availableCities);
int getForecas... | true |
ed8a953890a6cc5c25e024ee706a601d204b0bf8 | Java | GuMengYu/ListenWeather | /app/src/main/java/com/ling/listenweather/util/HandleResponseUtil.java | UTF-8 | 1,326 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package com.ling.listenweather.util;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.ling.listenweather.Model.WeatherData.Weather;
import org.json.JSONArray;
import org.json.JSONObject;
import java.util.List;
import java.util.Map;
/**
* Created by Administrator on 2017/5/10.
*/
... | true |
fc178c314b1a72c1b32a8505b0e0dd38221f31f5 | Java | alialshishaniglobitel/cliPOC | /Core Components/app-ss7/src/com/globitel/Diameter/MessageResponder.java | UTF-8 | 2,553 | 2.125 | 2 | [] | no_license | package com.globitel.Diameter;
import java.io.IOException;
import com.globitel.Diameter.Interfaces.CapabilityExchangeInfo;
import com.globitel.Diameter.Interfaces.IAppConfig;
import com.globitel.Diameter.Interfaces.IMessageResponder;
import com.globitel.XmlDiameter.xml.AVPNode;
import com.globitel.XmlDiameter.xml.IXm... | true |
851719d7de1eb19b384ee8265c6f679712d6a1da | Java | xkx1998/JJBlog | /src/main/java/cn/xkx/ssm/dao/ArticleMapper.java | UTF-8 | 1,380 | 1.851563 | 2 | [] | no_license | package cn.xkx.ssm.dao;
import cn.xkx.ssm.pojo.Article;
import cn.xkx.ssm.pojo.ArticleExample;
import java.util.List;
import cn.xkx.ssm.pojo.ArticleQueryVo;
import org.apache.ibatis.annotations.Param;
public interface ArticleMapper {
long countByExample(ArticleExample example);
int deleteByExample(ArticleE... | true |