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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
c9b716aec94ee814781fab4b4e66949ead1fbe77 | Java | MerveTanrikulu/Java | /Ogrenci Otomasyon Sistemi/Bp2Proje2Merve/src/bp2proje2merve/Giris.java | UTF-8 | 16,907 | 2.15625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bp2proje2merve;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
... | true |
19e905327ea630c6bb2a7902b2caf44bb394cbb6 | Java | Angry-Pixel/The-Betweenlands | /src/main/java/thebetweenlands/common/block/misc/BlockShadowWalker.java | UTF-8 | 4,392 | 1.875 | 2 | [] | no_license | package thebetweenlands.common.block.misc;
import java.util.Random;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.mine... | true |
650b6c32582e48efe8340469180dacb0a451476d | Java | AgneLukoseviciute/records-web | /src/test/java/com/lukoseviciute/programming/util/CSVFileReaderTest.java | UTF-8 | 504 | 2.234375 | 2 | [] | no_license | package com.lukoseviciute.programming.util;
import com.lukoseviciute.programming.models.Athlete;
import org.junit.Assert;
import org.junit.Test;
import java.util.List;
public class CSVFileReaderTest {
@Test
public void testIntoObjects(){
String csvFile = "src/test/java/com/lukoseviciute/appLogic/uti... | true |
6a36a007278eb5d1f43493d7804a59d829a0cbbe | Java | lake4863/Streaming-Wars | /src/main/java/streaming/gui/StdoutToTextAreaStream.java | UTF-8 | 501 | 2.671875 | 3 | [] | no_license | package streaming.gui;
import javax.swing.*;
import java.io.IOException;
import java.io.OutputStream;
public class StdoutToTextAreaStream extends OutputStream {
private JTextArea textArea;
public StdoutToTextAreaStream(JTextArea textArea) {
this.textArea = textArea;
}
@Override
public vo... | true |
e054b2421f947ebc814ebec9c51c8a17fcd929ac | Java | WalterBryant/Animator | /app/src/main/java/com/love/LoveLayout.java | UTF-8 | 5,067 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.love;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.PointF;
import android.graphics.drawable.... | true |
33f2aca9f25c26fe9277208e8a7db0bde3f31791 | Java | RamzesXX/ProjectEuler | /project-euler/src/main/java/com/khanchych/sandbox/t1/ExecutorConsumerAdapter.java | UTF-8 | 394 | 2.6875 | 3 | [] | no_license | package com.khanchych.sandbox.t1;
import java.util.concurrent.Executor;
import java.util.function.Consumer;
public class ExecutorConsumerAdapter implements Consumer<Runnable> {
private final Executor executor;
public ExecutorConsumerAdapter(Executor executor) {
this.executor = executor;
}
pu... | true |
c3fbb3cf722301722b95339d0f7667262a8bef83 | Java | hopshadoop/hops | /hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/XAttrStorage.java | UTF-8 | 5,487 | 1.914063 | 2 | [
"Apache-2.0",
"BSD-2-Clause",
"CC-BY-2.5",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"EPL-1.0",
"Classpath-exception-2.0",
"GCC-exception-3.1",
"BSD-3-Clause",
"CC-PDDC",
"GPL-2.0-only",
"CDDL-1.0",
"MIT",
"LicenseRef-scancode-public-domain",
"GPL-1.0-or-later",
"License... | 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... | true |
7d3a809245acaff3bd5256ff4ea72aa3e1f6cc7d | Java | Soph32/ou-composite | /Author.java | UTF-8 | 2,081 | 3.875 | 4 | [] | no_license |
/**
* Objects of the Author class represent an author and stores their name, nationality and how many
* books they've written.
*
* TMA02 Q2
* @author Pl4typusRex
* @version 2019-01
*/
public class Author
{
// instance variables
private String name;
private String nationality;
private i... | true |
31e798dfb4a3f9fc590cda4e58c67a1c90caf481 | Java | koukisayou/RaceAppDemo | /RaceAppDemo/app/src/main/java/OpenGLES20_furukawa/IndexBuffer.java | UTF-8 | 1,953 | 2.375 | 2 | [
"MIT"
] | permissive | package OpenGLES20_furukawa;
import android.opengl.GLES20;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.ShortBuffer;
import java.util.ArrayList;
/**
* Created by a50602 on 2017/03/17.
*/
public class IndexBuffer extends GLObject {
private int indexBufferId; //インデックスバッファID
privat... | true |
8b6aa84c029c149c02f9b0df62b1a46fedb13776 | Java | chopdev/leetcode_tasks | /array/384_shuffle_an_array/Main.java | UTF-8 | 251 | 1.960938 | 2 | [] | no_license | public class Main {
public static void main(String[] args) {
int[] arr = new int[] {1, 2, 3};
Solution2 sol = new Solution2(arr);
int[] res1 = sol.shuffle();
int[] res2 = sol.reset();
int[] res3 = sol.shuffle();
}
}
| true |
8eb8e0fad7215b89d6f324421ba0604c169a7fdc | Java | chensheng/tamboot | /tamboot-restdocs-mockmvc/src/main/java/com/tamboot/restdocs/mockmvc/AsciidocGenerator.java | UTF-8 | 14,280 | 2.203125 | 2 | [] | no_license | package com.tamboot.restdocs.mockmvc;
import com.tamboot.common.tools.base.ExceptionUtil;
import com.tamboot.common.tools.collection.CollectionUtil;
import com.tamboot.common.tools.io.FileUtil;
import com.tamboot.common.tools.reflect.ReflectionUtil;
import com.tamboot.common.tools.text.TextUtil;
import org.junit.Test;... | true |
5b570bb4a4ffbc3c8f64a558838c4770465a9b4a | Java | witcxc/vrapper | /net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/motions/CPreProcessorMove.java | UTF-8 | 5,576 | 2.96875 | 3 | [] | no_license | package net.sourceforge.vrapper.vim.commands.motions;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.sourceforge.vrapper.platform.TextContent;
import net.sourceforge.vrapper.utils.LineInformation;
import net.sourceforge.vrapper.vim.commands.BorderPolicy;
import net.sourceforge.vrapper.vim.... | true |
59088e78f5c2323992ccb8836282fdebf5f50bbf | Java | jecandelal/petclinic | /src/main/java/com/richardhell/petclinic/model/Persona.java | UTF-8 | 3,258 | 2.234375 | 2 | [] | no_license | package com.richardhell.petclinic.model;
import com.richardhell.petclinic.helper.TypesUtil;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persis... | true |
51cc5195b7ea76a5d3548a626af0877b6378765b | Java | livinglh/leetcode_record | /src/leetcode/editor/cn/P面试题57IIHeWeiSdeLianXuZhengShuXuLieLcof.java | UTF-8 | 1,697 | 3.484375 | 3 | [] | no_license | //输入一个正整数 target ,输出所有和为 target 的连续正整数序列(至少含有两个数)。
//
// 序列内的数字由小到大排列,不同序列按照首个数字从小到大排列。
//
//
//
// 示例 1:
//
// 输入:target = 9
//输出:[[2,3,4],[4,5]]
//
//
// 示例 2:
//
// 输入:target = 15
//输出:[[1,2,3,4,5],[4,5,6],[7,8]]
//
//
//
//
// 限制:
//
//
// 1 <= target <= 10^5
//
//
//
//
package leetcode.editor.cn;... | true |
b710f6b13ff38cad9e4cd2387df5a5973bbddabd | Java | jjmnbv/km_dev | /kmzyc-b2b/kmzyc-b2b-common/src/main/java/com/kmzyc/b2b/model/OrderSync.java | UTF-8 | 1,358 | 1.945313 | 2 | [] | no_license | package com.kmzyc.b2b.model;
import java.math.BigDecimal;
import java.util.Date;
public class OrderSync {
private Long syncId;
private String orderCode;
private String outCode;
private Short syncFlag;
private Date syncDate;
private BigDecimal orderPv;
private BigDecimal orderPr... | true |
f8ad33cf6ffe35c1971d8e1d67ba02dc7ae39cfe | Java | arpitvj/hotspice | /hotspice-backend/src/main/java/com/hotspice/dto/CategoryDto.java | UTF-8 | 600 | 2.15625 | 2 | [] | no_license | package com.hotspice.dto;
import java.util.List;
public class CategoryDto {
private String categoryId;
private String categoryName;
private List<DishDto> dishes;
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId;
}
public ... | true |
331560ddf9f1deaef9958ca4f64effb3b6115fd4 | Java | bogdangritsay/TaskManager | /src/main/java/ua/edu/sumdu/j2se/hritsay/tasks/models/Task.java | UTF-8 | 8,415 | 3.046875 | 3 | [] | no_license | package ua.edu.sumdu.j2se.hritsay.tasks.models;
import org.apache.log4j.Logger;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Objects;
/**
* Class for operations with task
*/
public class Task implements Cloneable, Serializable {
private int taskId;
private String title;
... | true |
6defe9c7ff4d9e5319dd614d6ee3d46e7a4253ee | Java | letuankiet146/travel | /Server/travel/src/main/java/com/travel/dto/CustomerDto.java | UTF-8 | 4,430 | 2.0625 | 2 | [] | no_license | /**
*
*/
package com.travel.dto;
import java.util.Date;
import javax.persistence.Column;
import lombok.Data;
import org.dozer.Mapping;
/**
* @author TuanKiet
*
*/
@Data
public class CustomerDto {
@Mapping("customerId")
private Integer customerIdDto;
@Mapping ("customerCode")
pr... | true |
8c9c2371ecb6053d10e5c3efbca43b07242e1d67 | Java | JBEortiz/App-backend-RedSocial2 | /src/main/java/es/eoi/redsocial/dto/UserWithoutDatesDTO.java | UTF-8 | 222 | 1.640625 | 2 | [] | no_license | package es.eoi.redsocial.dto;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class UserWithoutDatesDTO {
private Long id;
private String name;
private String surname;
private String user;
}
| true |
f1347af99bcbee249474c2d854b0e1c183dbe106 | Java | xsocma00/FIT | /1MITZ/GJA/proj/src/main/java/fit/gja/configuration/WebMvcConfiguration.java | UTF-8 | 791 | 2.078125 | 2 | [] | no_license | package fit.gja.configuration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.CacheControl;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet... | true |
7b96547343e26a78009ce69017af362e3d4b3aba | Java | InitialMind/YakerBlog | /First/src/main/java/first/first/Handles/MyHandler.java | UTF-8 | 10,689 | 2.203125 | 2 | [] | no_license | package first.first.Handles;
import first.first.Entity.*;
import first.first.Enum.ChatBoxExistEnum;
import first.first.Enum.ChatTypeEnum;
import first.first.Enum.InformTypeEnum;
import first.first.Repository.ChatBoxRepository;
import first.first.Repository.ChatRepository;
import first.first.Service.ChatBoxService;
imp... | true |
bb1bc510394ccc616ddd01c4687651d5669bc08d | Java | nevenaDj/KITS_NWT | /projekatN/src/test/java/com/example/constants/BuildingConstatnts.java | UTF-8 | 755 | 2.078125 | 2 | [] | no_license | package com.example.constants;
public class BuildingConstatnts {
public static final int PAGE_SIZE = 2;
public static final String STREET = "address";
public static final String NUMBER = "1a";
public static final int ZIP_CODE = 21000;
public static final String CITY= "Novi Sad";
public static final L... | true |
70b5b9774bb42e1bcd9498c08c1f3f3920f029f7 | Java | cpijavagroup2/SMS2 | /src/com/service/impl/StockServiceImpl.java | UTF-8 | 2,806 | 2.4375 | 2 | [] | no_license | package com.service.impl;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import com.dao.StockDao;
import com.entity.SuppliesStocks;
import com.service.StockService;
... | true |
c7d878bc6ba9f4f073216c8ab8504e30c67bfc83 | Java | aeramli/BackBaseCitiesApp | /app/src/main/java/aeramli/ma/backbasecitiesapp/ui/bindingadapter/RecyclerViewBindingAdapter.java | UTF-8 | 697 | 2.15625 | 2 | [] | no_license | package aeramli.ma.backbasecitiesapp.ui.bindingadapter;
import android.databinding.BindingAdapter;
import android.support.v7.widget.RecyclerView;
import java.util.List;
import aeramli.ma.backbasecitiesapp.city.model.City;
import aeramli.ma.backbasecitiesapp.ui.city.adapter.CityListRecyclerAdapter;
public class Rec... | true |
2f50ecfaa35002f51350d9bde77a964e45307c96 | Java | apratimkho06/FeedbackForEvents | /app/src/main/java/com/example/feedback/database/Event.java | UTF-8 | 991 | 2.125 | 2 | [] | no_license | package com.example.feedback.database;
import com.j256.ormlite.dao.ForeignCollection;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.field.ForeignCollectionField;
import com.j256.ormlite.table.DatabaseTable;
@DatabaseTable(tableName = "event")
public class Event {
@DatabaseField(id = true)
... | true |
74546d00d19f8e54b8c76ab7f55d5762312225b3 | Java | aditya-gov/JulyLeetCodeChallenge | /MaxWidthBinaryTree.java | UTF-8 | 2,903 | 3.65625 | 4 | [] | no_license | /*
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binary tree has the same structure as a full binary tree, but some nodes are null.
The width of one level is defined as the length between the end-nodes (the leftmost... | true |
a6be8a6e0c27a759ffb61be493ca76363c6f21c3 | Java | garuda-secure-technologies-pvt-ltd/garudaclubplus | /source code/GarudaClubPlusMySql/GarudaClubPlus-MysqlNew/src-pos/com/openbravo/pos/sales/restaurant/PendingCreditConfirmationTotalModel.java | UTF-8 | 1,312 | 2.5 | 2 | [] | no_license |
package com.openbravo.pos.sales.restaurant;
import javax.swing.table.AbstractTableModel;
import com.openbravo.pos.sales.restaurant.DebtBillList.PendingCreditConfirmListT;
import java.util.List;
public class PendingCreditConfirmationTotalModel extends AbstractTableModel{
private static final String[] ... | true |
01613333ce08611b6ed09f73c98096fec5902b2f | Java | Denn93/EmergingTechnologiesProject-backend | /RestServiceApp/src/main/java/nl/dennisvdwielen/entity/ContainerLocation.java | UTF-8 | 1,695 | 2.40625 | 2 | [] | no_license | package nl.dennisvdwielen.entity;
import nl.dennisvdwielen.annotations.ForeignKey;
import nl.dennisvdwielen.annotations.PrimaryKey;
import nl.dennisvdwielen.annotations.Table;
import java.sql.Timestamp;
/**
* Created by Dennis on 26-5-2014 at 20:46)
* <p/>
* This code is part of the RestServiceApp project.
* Thi... | true |
a5fd5af33bfec374f7ddf2d8fd58cd6d1a94d351 | Java | bhattadi/Calculator | /MainActivity.java | UTF-8 | 4,439 | 2.703125 | 3 | [] | no_license | package com.calculatorFirstApplicationReleaseForTesting.simplecalculator;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity
{
@Override
... | true |
8cef021e958b7a160c52b0cca89409a723330faa | Java | longthanhtran/spring-basic | /src/main/java/net/tt1/data/DocumentDAO.java | UTF-8 | 143 | 1.757813 | 2 | [] | no_license | package net.tt1.data;
import net.tt1.model.Document;
import java.util.List;
public interface DocumentDAO {
List<Document> getAll();
}
| true |
14a9a7ba753965b8db3d99d6a826cf7101c8ca5b | Java | gergler/Kiki | /View.java | UTF-8 | 1,639 | 2.90625 | 3 | [] | no_license | package com.company;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
class View extends JPanel {
Model model;
static BufferedImage background_image = null;
static BufferedImage gameover_image = null;
static ... | true |
caa6d2d3175d10ac60979400db4c665e2fea3ba0 | Java | steffenx/H5Android | /app/src/main/java/com/example/steffenxuan/yncloudapp/mainBody/presenter/IotControPresenter.java | UTF-8 | 3,106 | 1.914063 | 2 | [] | no_license | package com.example.steffenxuan.yncloudapp.mainBody.presenter;
import android.content.Context;
import android.util.Log;
import com.example.steffenxuan.yncloudapp.mainBody.model.IModel;
import com.example.steffenxuan.yncloudapp.mainBody.model.IotControModel;
import com.example.steffenxuan.yncloudapp.mainBody.model.Iot... | true |
5d08a29238a86a776d8cbed67755940bf9bc2142 | Java | taranzansihag/Job_placement | /Profile.java | UTF-8 | 1,077 | 2.859375 | 3 | [] | no_license | import java.awt.*;
import java.awt.event.*;
import java.sql.*;
import javax.swing.*;
import java.util.*;
public class Profile extends JFrame implements ActionListener{
JButton jb,jb1,jb2;
public Profile (String s){
super(s);
setLayout(null);
jb=new JButton("Student");
jb1=new JButton("Company");
... | true |
f45ba2bef13f06322745f56c8c3fe1d87c0778cb | Java | Wojciech255/wojciech-maziarz-kodilla-java | /kodilla-patterns/src/test/java/patterns/prototype/library/LibraryTestSuite.java | UTF-8 | 1,533 | 3.125 | 3 | [] | no_license | package patterns.prototype.library;
import org.junit.jupiter.api.Test;
import prototype.library.Book;
import prototype.library.Library;
import java.time.LocalDate;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class LibraryTestSuite {
@Test
void testGetBooks() {
//when
... | true |
bb5e1baa2935d5dbbf5bb0a016cf1e2a38e2b965 | Java | BinWang-sh/SpringBootExample | /SpringbootAOP/src/main/java/com/springboot/aop/test/inface/BookService.java | UTF-8 | 155 | 1.78125 | 2 | [] | no_license | package com.springboot.aop.test.inface;
import com.springboot.aop.test.bean.Book;
public interface BookService {
public void showBookInfo(Book book);
}
| true |
2ed55cf382f61a8737ee62ed4c94fd37c44f3e61 | Java | liwan-cn/leetcode | /71. Simplify Path.java | UTF-8 | 645 | 2.875 | 3 | [] | no_license | class Solution {
public String simplifyPath(String path) {
String [] dir = path.split("/");
List<String> list = new ArrayList<>();
for (String s : dir){
if (s.equals("") || s.equals(".")) continue;
if(s.equals("..")){
if (list.size() > 0)
... | true |
99603c1aa478d3be4aecba92517838c12b8f7f3f | Java | lgu-cours/java-generics-td | /src/main/java/generics/examples/finder/TestFinder.java | UTF-8 | 414 | 3.046875 | 3 | [] | no_license | package generics.examples.finder;
import generics.bean.Personne;
public class TestFinder {
/**
* @param args
*/
public static void main(String[] args) {
Finder finder = new Finder();
Personne p = finder.findByName(Personne.class, "Toto");
System.out.println( " Personne : " + p );
String s = f... | true |
b3d9e4f3581208b379e03bbe71df177c38cf18e6 | Java | dandclion0125/java | /oop5/ArrayApp.java | UTF-8 | 733 | 3.3125 | 3 | [] | no_license | public class ArrayApp {
public static void main(String[] args) {
ArrayService newArr1 = new ArrayService();
/*
int[] numbers1 = newArr1.move(5);
for (int i=0 ; i<numbers1.length ; i++) {
System.out.println(numbers1[i]);
}
int[] numbers2 = newArr1.copy(6);
for (int i=0 ; i<numbers2.length ; i++) {
Sys... | true |
51bb5d2e9ad027a5dcae0121e1950b9b732b3be6 | Java | faportillo/LazarusGame | /Java Files/GameEngine/GameObject.java | UTF-8 | 2,350 | 3.390625 | 3 | [] | no_license | package GameEngine;
/*
SHOULD HAVE MADE A GAME OBJECT INTERFACE INSTEAD SINCE
I REUSE THE SAME METHOD NAMES BUT DOESN't HAVE THE SAME CODE
*/
/*
Moved convertToBuffered and split into this class for better
reusability
*/
import java.awt.*;
import java.util.*;
import java.awt.image.*;
... | true |
fd00521b3d4ac8484b6c760a12ba0fe4951ed8e4 | Java | GOGO3z/eclipse-workspace | /.metadata/.plugins/org.eclipse.core.resources/.history/7c/50c1a482ccdf001b105aed3963927de5 | UHC | 529 | 3.15625 | 3 | [] | no_license | package abstractex;
public abstract class Computer { // ҵ带 . ø, ũ, ̽ .
public abstract void display(); // ҵ : θ ϰ, ΰ ҵ
abstract public void typing(); // ҵ
//public void add (int a, int b) { } // Ϲ ҵ
public void turnOn() {
System.out.println(" մϴ.");
}
public void turnOff() {
System.o... | true |
6ac774c80d711ccef25462969d642bc9f90dbae2 | Java | junmamba/mamba-framework | /mamba-framework-context/src/main/java/com/mamba/framework/context/cache/loader/CacheLoader.java | UTF-8 | 355 | 1.96875 | 2 | [] | no_license | package com.mamba.framework.context.cache.loader;
import java.util.Map;
import javax.cache.configuration.MutableConfiguration;
/**
* 缓存加载器
* @author junmamba
*
* @param <K>
* @param <V>
*/
public interface CacheLoader<K, V> {
public String cacheName();
public MutableConfiguration<K, V> configuration();
pu... | true |
72525e59dcc230765bf6e11fe2542c3a4edbe7d6 | Java | CrazyWalk/ViewCollection | /app/src/main/java/org/luyinbros/widget/self/DefaultBannerIndicator.java | UTF-8 | 6,355 | 2.375 | 2 | [] | no_license | package org.luyinbros.widget.self;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
import static android.graphi... | true |
462fb897af3d459c91eb41b2151281a6b9251c71 | Java | KellyEgesa/Weather | /app/src/main/java/com/wit/weather/UserInterface/Weather.java | UTF-8 | 2,061 | 2.03125 | 2 | [] | no_license | package com.wit.weather.UserInterface;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcel;
import android.util.Log;
import android.... | true |
7d92dbb334dd24d0b06f5c41dad9d6c4bece8e5c | Java | hua3467/Java_Assignments | /HomeAssignment_3/src/PointClassTest.java | UTF-8 | 1,165 | 3.71875 | 4 | [] | no_license | /**
*
* @author zhenhua.yang.1
*/
import java.awt.Point;
import java.util.Scanner;
public class PointClassTest
{
public static void main( String [] args )
{
int x1;
int y1;
int x2;
int y2;
Scanner input = new Scanner( System.in );
System.out.print( "x... | true |
aa805e28146e6d710869c6046c2c626458bc34b8 | Java | AllenLin001/unit2Classes | /CityscapeLab/Moon.java | UTF-8 | 1,049 | 3.4375 | 3 | [] | no_license | import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import java.awt.Color;
/**
* a circle shape Moon that can be displaced anywhere on the screen at ()
* Allen Lin
* 10/18/14
*/
public class Moon
{
/**
instancevar xLeft the x-coordinate of the center of the moon on the screen.
instance... | true |
c36796ee2a30f3aa71d30afeffed913fad6d2055 | Java | sooftware/TIL | /Java/day11_besteleven/src/ex01_problem1/Problem1.java | UHC | 445 | 3.421875 | 3 | [] | no_license | package ex01_problem1;
import java.util.*;
public class Problem1 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int age;
System.out.print("INPUT AGE : ");
age=sc.nextInt();
if(19<age && age<30){
System.out.println("20Դϴ.");
}
else if(29<age && age<50){
System... | true |
0720f34539f8609c0a6ae8143b7a8fcb0fec8a1e | Java | Sec-il-n/uploadimagedb-copy | /src/main/java/model/logic/PageNationLogic.java | UTF-8 | 3,043 | 2.5 | 2 | [] | no_license | package model.logic;
public class PageNationLogic {
public int getPageTry(String p,String n,String action,int totalPage){
int page = 0;
int now = 0;
if(n!=null && (action.equals("before") || action.equals("after"))){
try {
now = Integer.parseInt(n);
} catch (NumberFormatException e) {//nullPointer?
... | true |
8bd2ba9b7d2e5e34f2174b5d81bef14b336bf11b | Java | hongoukai123/springcloud | /springcloud-chapter5/src/main/java/com/kai/springcloudchapter5/controller/UserInfoController.java | UTF-8 | 1,293 | 2.5625 | 3 | [] | no_license | package com.kai.springcloudchapter5.controller;
import com.kai.springcloudchapter5.entity.UserInfo;
import com.kai.springcloudchapter5.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.a... | true |
a0f03261b677a96751eaf54792df856605c1576b | Java | ValorCat/legend | /src/legend/compiletime/statement/basic/AssignmentStatement.java | UTF-8 | 1,429 | 2.8125 | 3 | [] | no_license | package legend.compiletime.statement.basic;
import legend.compiletime.Parser;
import legend.compiletime.Token.TokenType;
import legend.compiletime.TokenLine;
import legend.compiletime.error.ErrorLog;
import legend.compiletime.statement.Statement;
import legend.runtime.instruction.AssignInstruction;
import legend.runti... | true |
cc5722d2dbf16ae4c125f449c9eacffdaed2ca8e | Java | stowka/CatchMeeow | /src/net/onthetrain/game/Game.java | UTF-8 | 6,383 | 2.59375 | 3 | [] | no_license | package net.onthetrain.game;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import net.onthetrain.db.Save;
import net.onthetrain.gui.Dialog;
import net.onthetrain.gui.Frame;
public class Game implements Runnable {
private int height, width;
private List<Obstacle> obstacles;
pr... | true |
955da4e3cdd022daa271e044d3c9dd32464c0c9d | Java | Tfarcenim/TankNull | /src/main/java/tfar/tanknull/network/C2SToggleFillMessage.java | UTF-8 | 1,246 | 2 | 2 | [
"Unlicense"
] | permissive | package tfar.tanknull.network;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.network.play.server.SSetSlotPacket;
import net.minecraftforge.fml.network.NetworkDirection;
import net.minecraftforge.fml.network.NetworkEvent;
import tfar.tanknull.TankNullIt... | true |
1e686e047b9b3d9d99c29a33752e77966782c379 | Java | zhangggit/CounterfeitJingDong | /app/src/main/java/com/example/zhanggang/counterfeitjingdong/view/activity/Register2Activity.java | UTF-8 | 2,249 | 1.929688 | 2 | [] | no_license | package com.example.zhanggang.counterfeitjingdong.view.activity;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import com.example.zhanggang.counterfeitjingdong.R;
impor... | true |
69006228bb3e7e5af87f8e862ccd89edd1e25f17 | Java | zhouwenchen/learn-alibaba | /nacos-discovery-consumer-webflux/src/main/java/com/zhouwenchen/reactor/bean/User.java | UTF-8 | 301 | 1.765625 | 2 | [] | no_license | package com.zhouwenchen.reactor.bean;
import lombok.*;
/**
* 用户信息
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
public class User {
private String id;
private String userName;
private String password;
private String name;
private String email;
}
| true |
9a9b995a539749c6dcc6c8fef2568641b839fc87 | Java | samzrat/fontana | /src/main/java/net/vikasta/fontana/network/p2p/BootstrapMgr.java | UTF-8 | 1,065 | 2.46875 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.vikasta.fontana.network.p2p;
import java.util.*;
import java.net.*;
/**
*
* @author ratulmukh
*/
public class BootstrapMgr {
private String bootstrapWebsite;
private String bootstrapFile;
pu... | true |
042cfb4a0fb6a644b22cde69aa569e581c322efb | Java | Fukkatsumi/asya-demo | /android/asiia-mobile/app/src/main/java/com/fukkatsumi/asiia_mobile/JSONPlaceHolderApi.java | UTF-8 | 690 | 2.1875 | 2 | [] | no_license | package com.fukkatsumi.asiia_mobile;
import com.fukkatsumi.asiia_mobile.entity.Device;
import com.fukkatsumi.asiia_mobile.entity.LedStrip;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
public interface JSONPlaceHolderApi {
@GET("/devices/all")
public Call<List<Device>> getDevices();... | true |
ea4cc615162e7aef5148a89ea3b94776eee83bd2 | Java | ptliem91/inventory | /src/main/java/com/liempt/sbinventory/dao/OrderDao.java | UTF-8 | 1,348 | 2.296875 | 2 | [] | no_license | package com.liempt.sbinventory.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import ... | true |
7a186cd66edb29ace01536dd97c3c556c237d5e9 | Java | SunKyungCho/graphgl_samle | /src/main/java/me/toyexample/graphql_sample/repository/OrderRepository.java | UTF-8 | 304 | 1.859375 | 2 | [] | no_license | package me.toyexample.graphql_sample.repository;
import me.toyexample.graphql_sample.domain.Order;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
@Repository
public class OrderRepository {
private List<Order> orderList = new ArrayList<>();
}
| true |
0a7eecd1cd3922b7b1a67b6d329c3fc18bef4675 | Java | firebook/ea | /ea-core/src/main/java/com/app/manager/ea/action/BaseCoreAction.java | UTF-8 | 1,981 | 1.921875 | 2 | [] | no_license | package com.app.manager.ea.action;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import javax.annotation.Resource;
import org.apache.commons.beanutils.BeanUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.app.manager.ea.api.InfEa;
import com.app.manager.ea.model.O... | true |
535d48c4ab9ed5a524ac239743d08fe3ce5aa51d | Java | mingyongli/threedgame-master | /app/src/main/java/com/ws3dm/app/activity/PingceListActivity.java | UTF-8 | 10,149 | 1.867188 | 2 | [] | no_license | package com.ws3dm.app.activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import androidx.recyclerview.widget.LinearLayoutManager;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.Text... | true |
bc7b9b2b2f2298a7b1be5947144cec8b1b1c711e | Java | JeisonSilva/doadoresamigos | /app/src/test/java/com/jsonapp/doadoresamigos/ExclusaoDoadorTest.java | UTF-8 | 1,904 | 2.1875 | 2 | [
"MIT"
] | permissive | package com.jsonapp.doadoresamigos;
import com.jsonapp.doadoresamigos.gestaodoadores.DoadorDto;
import com.jsonapp.doadoresamigos.gestaodoadores.DoadorRepositorio;
import com.jsonapp.doadoresamigos.gestaodoadores.ExclusaoDoador;
import com.jsonapp.doadoresamigos.gestaodoadores.ExclusaoDoadorDal;
import org.junit.Befo... | true |
6ffccdc148fa6923d5b6656d604af595b92760f4 | Java | oantajames/clean-news | /presentation/src/main/java/com/clean/news/view/newssources/NewsSourcesFragment.java | UTF-8 | 3,775 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package com.clean.news.view.newssources;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import and... | true |
3e2da04ec5050c377ce823094ea46d9f3f34f89f | Java | jcohao/leetcode-notebook | /Depth First Search/CheckIfThereIsAValidPathInAGrid.java | UTF-8 | 2,633 | 3.25 | 3 | [] | no_license | import java.util.Queue;
class CheckIfThereIsAValidPathInAGrid {
int m, n;
boolean[][] visited;
// 每条路能通往哪个方向
int[][][] dirs = {
{{0, -1}, {0, 1}},
{{-1, 0}, {1, 0}},
{{0, -1}, {1, 0}},
{{1, 0}, {0, 1}},
{{0, -1}, {-1, 0}},
{{-1, 0}, {0, 1}}
};
... | true |
1d9d4e81e0774945935192eef9401810c2e0f8fc | Java | mayl666/jddd | /o2o-openplatform-api-store/o2o-open-api-sdk/src/main/java/com/jd/o2o/open/api/platform/entity/StationItem.java | UTF-8 | 937 | 2.09375 | 2 | [] | no_license | package com.jd.o2o.open.api.platform.entity;
import java.io.Serializable;
/**
* ClassName StationItem </br>
* 2015年10月8日 下午5:36:07 </br>
* @author zhoudeming </br>
* @version 1.0.0
*/
public class StationItem implements Serializable {
private static final long serialVersionUID = 4492023058731074934L;
priv... | true |
49cb303e74bc4a8b8296f56df4ff6abc620bf1a4 | Java | metaborg/pie | /lang/lang.test/src/test/java/mb/pie/lang/test/variables/variableGenericTypeSpecific/VariableGenericTypeSpecificTest.java | UTF-8 | 416 | 1.65625 | 2 | [
"Apache-2.0"
] | permissive | package mb.pie.lang.test.variables.variableGenericTypeSpecific;
import mb.pie.lang.test.variables.Box;
import org.junit.jupiter.api.Test;
import static mb.pie.lang.test.util.SimpleChecker.assertTaskOutputEquals;
class VariableGenericTypeSpecificTest {
@Test void test() throws Exception {
assertTaskOutput... | true |
403e9f6bcc354fb42d3328960f1d793c0e005525 | Java | shereen95/Book-Store | /Book-Store/src/main/Publisher.java | UTF-8 | 906 | 2.859375 | 3 | [] | no_license | package main;
import java.util.ArrayList;
public class Publisher {
private String pubName;
public String getPubName() {
return pubName;
}
public String getAddress() {
return address;
}
public String getPhone() {
return phone;
}
public void setProperities(ArrayList<String> properities)... | true |
86e1600bbf217c09dd0060066d5909d050ea11f6 | Java | zchao-fight/bhf | /src/cn/ccf/forum/Service/ReplyService.java | UTF-8 | 299 | 1.726563 | 2 | [] | no_license | package cn.ccf.forum.Service;
import java.util.List;
import cn.ccf.forum.model.Reply;
import org.apache.ibatis.session.RowBounds;
public interface ReplyService {
public List<Reply> list(int id, RowBounds rowbounds);
public int create(Reply reply);
public int selectReplyCount(int id);
}
| true |
3e75885396974be171b509d61b01a6d2f2217dd1 | Java | ggj0601/study-imooc | /src/main/java/com/imooc/studyluckymoney/controller/GirlController.java | UTF-8 | 2,700 | 2.5 | 2 | [] | no_license | package com.imooc.studyluckymoney.controller;
import com.imooc.studyluckymoney.Utils.ResultUtils;
import com.imooc.studyluckymoney.domain.Girl;
import com.imooc.studyluckymoney.domain.Result;
import com.imooc.studyluckymoney.repository.GirlRepository;
import com.imooc.studyluckymoney.service.GirlService;
import org.sl... | true |
219bb0ca5bec940710828505bc2052ff2dcf75e1 | Java | sanikuz/malware-vis | /java/MalwareVis/src/gatech/edu/pcap/Digest.java | UTF-8 | 1,471 | 2.90625 | 3 | [] | no_license | package gatech.edu.pcap;
public class Digest {
private String name;
private long totNumPackets;
private long totSize;
private long numStreams;
private long numDNSStreams;
private long numTCPStreams;
private double duration;
public Digest(String name, long totNum, long totSize, long num... | true |
07e336bc762dba1fffcb8b050f4979b41a0fe96b | Java | hamzachikar/sqliTest | /src/ecom/items/item_service/controller/functions/FunctionService.java | UTF-8 | 433 | 2.125 | 2 | [] | no_license | package ecom.items.item_service.controller.functions;
import ecom.items.item.factory.factory_item.Item;
import java.util.Map;
public interface FunctionService {
void removeItem(String nameItem, int quantity, Map<String, Item> items);
void checkAndAddItem(String name, int quantity, int priceUnit, Map<String,... | true |
4fe6c343dfb22a2441eeb793a0aeac6a0b680ad7 | Java | Schille/Text-Analyzer | /src/org/textanalyzer/tests/TestFrontendProfileManager.java | UTF-8 | 3,239 | 2.375 | 2 | [] | no_license | package org.textanalyzer.tests;
import static org.junit.Assert.assertEquals;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.textanalyzer.database.DatabaseConnector;
import org.textanalyzer.database.Document;
i... | true |
5f6f5e2a0f1df073d964ac055715bd8f93d46ed2 | Java | congscallion/ds | /src/main/java/io/ds/congscallion/collections/tree/SplayTree.java | UTF-8 | 601 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | /**
* BrandBigData.com Inc. Copyright (c) 2019 All Rights Reserved.
*/
package io.ds.congscallion.collections.tree;
/**
* 伸展树
*
* 暂不实现
*
* @author wangcong
* @version $Id: SplayTree.java, v0.1 8/13/19 6:27 PM wangcong Exp $$
*/
public class SplayTree<E extends Comparable> extends AbstractBinarySearchTree<E> i... | true |
0e2cf893c2be7d77eecbbaa9b64ffaae03362c94 | Java | dshekin/Tic_Tac_Toe | /src/Human.java | UTF-8 | 1,820 | 3.609375 | 4 | [] | no_license | import java.util.Scanner;
/**
* Created with IntelliJ IDEA.
* User: scorp
* Date: 22.07.13
* Time: 13:21
* To change this template use File | Settings | File Templates.
*/
public class Human {
private String name;
private char symbolForGame;
private TicTacToe game;
private Scanner input = new Sca... | true |
135090b1b1d7c04b0fb6ef2d0ca080b6fd5b0d59 | Java | gqf1995/GQFYanShi | /mybaselibrary/src/main/java/com/fivefivelike/mybaselibrary/base/BaseApp.java | UTF-8 | 3,553 | 2.046875 | 2 | [] | no_license | package com.fivefivelike.mybaselibrary.base;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.support.multidex.MultiDex;
import android.util.Log;
import com.blankj.utilcode.util.Utils;
... | true |
48e8009b54eab3a6c39b076e6861ff78ddaafb4b | Java | yezarou/Curso-Android | /Ruben - Modulo 1/RP1/src/Ej06_NumeroReal.java | UTF-8 | 820 | 3.90625 | 4 | [] | no_license | import java.util.Locale;
import java.util.Scanner;
public class Ej06_NumeroReal {
public static void main(String[] args) {
// Declaración de variables.
double valor,decimal;
int entero;
Scanner entrada = new Scanner(System.in);
entrada.useLocale(Locale.ENGLISH);
// ... | true |
2531608d4495859b9a7cb359d51617888be4acdf | Java | sam-almighty/bms-clientsdk-android-applaunch | /AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/api/AppLaunchListener.java | UTF-8 | 371 | 1.59375 | 2 | [
"Apache-2.0"
] | permissive | package com.ibm.mobile.applaunch.android.api;
import com.ibm.mobile.applaunch.android.AppLaunchFailResponse;
import com.ibm.mobile.applaunch.android.AppLaunchResponse;
/**
* Created by norton on 9/22/17.
*/
public interface AppLaunchListener {
public void onSuccess(AppLaunchResponse response);
public voi... | true |
b600760646691e0efe935651b613950f11ad46fd | Java | NinjaCodingPK/SpringMVC | /src/java/controller/Table.java | UTF-8 | 455 | 2.015625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
/**
*
* @author wookie
*/
public class Table {
private String table_name;
public String getTable_name(... | true |
8613c40653f7cb05e7cd382ca149508418104c97 | Java | zaifei5/Document | /JavaWeb/java/代码/简单100/java实用编程100(1)例1-55/实例49/getURL.java | UTF-8 | 1,379 | 3.046875 | 3 | [] | no_license | /**
* <p>Title: ��ȡһ��URL�ı�</p>
* <p>Description: ͨ��ʹ��URL�࣬����һ�����������ȡ�����ݡ�</p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Filename: getURL.java</p>
* @author ��
* @version 1.0
*/
public class getURL{
public static void main(String[] arg){
if(arg.length!=1){
System.out.println("USE java ge... | true |
a118de4b22f1d1c9264f652abd6f88f565a0fc2a | Java | gongmi/workSpace | /BOPTest8/src/cn/edu/nju/dan/algo/AuId2Id.java | UTF-8 | 7,937 | 2.140625 | 2 | [] | no_license | package cn.edu.nju.dan.algo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import org.json.JSONArray;
import cn.edu.... | true |
90a1102799e44be23146af9d78a67c2ec480013f | Java | nal-src/NataliiaLozova | /src/test/java/ua/hillel/uiTest/hw13/HoverMenuTest.java | UTF-8 | 1,061 | 2.078125 | 2 | [] | no_license | package ua.hillel.uiTest.hw13;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.testng.Assert;
import org.testng.annotations.Test;
import ua.hillel.uiTest.common.BaseUITestWithoutPageObject;
public class HoverMenuTest extends BaseUITestWithoutPageObject {
@Test
public void chec... | true |
c0c5bb088858ab4b75c512c046b297298a7b8aa5 | Java | bellmit/hmf | /src/main/java/com/hmf/web/manager/controller/TestController.java | UTF-8 | 2,220 | 2.140625 | 2 | [] | no_license | package com.hmf.web.manager.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.... | true |
950d88d8b5959b29be08d8bce4f4fe25fd222d6c | Java | bergoeK/Microservice-example | /src/main/java/com/user/service/UserImpl.java | UTF-8 | 874 | 2.234375 | 2 | [] | no_license | package com.user.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.user.model.User;
import com.user.repository.UserReposit... | true |
23f24abc0b28de23dd08ffb33f1c61bb52070ab6 | Java | Vedana/rcfaces-1.2 | /org.rcfaces.core/src-jsf1_2-generated/org/rcfaces/core/internal/taglib/ImageComboTag.java | UTF-8 | 7,485 | 1.773438 | 2 | [] | no_license | package org.rcfaces.core.internal.taglib;
import javax.faces.application.Application;
import javax.faces.component.UIComponent;
import org.rcfaces.core.internal.component.Properties;
import javax.el.ValueExpression;
import javax.faces.component.UIViewRoot;
import org.apache.commons.logging.Log;
import javax.servlet.js... | true |
e6993d48f0e67c6dfdcf7103bb2d0e8ab09bc96b | Java | qgkang/Java_code | /day09/demo4/CallName.java | UTF-8 | 1,336 | 3.65625 | 4 | [] | no_license | package day09.demo4;
import java.util.*;
public class CallName {
public static void main(String[] args) {
ArrayList<Student> list = new ArrayList<Student>();
addStudent(list);
printStudent(list);
randomStudent(list);
}
public static void addStudent(ArrayList<Student> list){
... | true |
3204e9984322e8176d6cdc2279f69f9c32e024e8 | Java | zhuxin3230213/springboot | /zsgl/src/test/java/cn/gmuni/zsgl/service/impl/FacultyProfessionServiceImplTest.java | UTF-8 | 1,408 | 2.09375 | 2 | [] | no_license | package cn.gmuni.zsgl.service.impl;
import cn.gmuni.zsgl.service.FacultyProfessionService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.co... | true |
c9fc402ee524d8ad8f3865a585283e95cde689fa | Java | flaviol-souza/bench4q | /trustie/Bench4Q/branches/20090917/src/org/bench4Q/console/ui/ProcessStatusTableModel.java | UTF-8 | 6,945 | 1.882813 | 2 | [] | no_license | // Copyright (C) 2001 - 2008 Philip Aston
// Copyright (C) 2001, 2002 Dirk Feufel
// All rights reserved.
//
// This file is part of The Grinder software distribution. Refer to
// the file LICENSE which is part of The Grinder distribution for
// licensing details. The Grinder distribution is available on the
// ... | true |
2610ad979e124a4ef1f417d201f27bab68407934 | Java | Aphiekim/Mini_project | /Mini_Project/Project_w_hojun/src/TripPackage/Manager/AbstractTripManager.java | UTF-8 | 578 | 2.046875 | 2 | [] | no_license | package TripPackage.Manager;
import java.util.ArrayList;
import TripPackage.VO.TripVO;
public interface AbstractTripManager {
public TripVO searchID(String id);
public TripVO searchPW(String passWord);
public TripVO searchName(String name);
public TripVO searchPhone(String phone);
public ArrayList<Tri... | true |
ef1e6d079840b9849349301ba88235e1800e0401 | Java | ecostanzi/academy-spring-boot | /src/main/java/it/intesys/academy/examination/ExaminationJdbcDao.java | UTF-8 | 2,296 | 2.40625 | 2 | [] | no_license | package it.intesys.academy.examination;
import it.intesys.academy.examination.model.Examination;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.support.GeneratedKeyHo... | true |
a5b52f33b8449856e427a15b83acc2a160b8f4d7 | Java | solomonfc/FISP | /FISP_git/src/com/synesoft/fisp/domain/repository/dp/DmDepositBalanceCheckRepositoryImpl.java | UTF-8 | 1,089 | 1.96875 | 2 | [] | no_license | package com.synesoft.fisp.domain.repository.dp;
import javax.annotation.Resource;
import jp.terasoluna.fw.dao.QueryDAO;
import jp.terasoluna.fw.dao.UpdateDAO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;
im... | true |
54908e4ef30b1d6ff6d431937fb3c865d5cd59de | Java | adrielcordazzo/catedral | /sistema/src/main/java/br/com/xlabi/entity/Contratante_roles.java | UTF-8 | 3,849 | 1.84375 | 2 | [] | no_license | //
// package br.com.xlabi.entity;
//
// import javax.persistence.Column;
// import javax.persistence.Entity;
// import javax.persistence.GeneratedValue;
// import javax.persistence.Id;
// import javax.persistence.JoinColumn;
// import javax.persistence.ManyToOne;
// import javax.persistence.Table;
//
// import java.ut... | true |
8e23689346aa65b5545749bcd61c63aadfbb6762 | Java | resJson/MessengerIPCDemo | /app/src/main/java/resjson/com/testdemo/AidlIpcService.java | UTF-8 | 3,397 | 2.359375 | 2 | [] | no_license | package resjson.com.testdemo;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.os.RemoteCallbackList;
import android.os.RemoteException;
import android.widget.Toast;
import java.util.List;
import java.util.concurrent.CopyOnWriteA... | true |
388aeab795b00e0464b10e956bfd4b739d21eafd | Java | abcijkxyz/jump-pilot | /plug-ins/MatchingPlugIn/trunk/src/fr/michaelm/jump/plugin/match/matcher/SemiHausdorffDistanceMatcher.java | UTF-8 | 2,386 | 2.5625 | 3 | [] | no_license | /*
* (C) 2017 Michaël Michaud
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed ... | true |
cbe34b6cb7c3576ec9e671d9f5925175e130a311 | Java | pahaya/revoluttest | /src/test/java/ru/pahaya/entrypoints/concurrency/OutOfMoneyTransactionEntryPointTest.java | UTF-8 | 2,934 | 2.5625 | 3 | [] | no_license | package ru.pahaya.entrypoints.concurrency;
import com.anarsoft.vmlens.concurrent.junit.ConcurrentTestRunner;
import com.anarsoft.vmlens.concurrent.junit.ThreadCount;
import com.google.gson.Gson;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.After;
import org.junit... | true |
02f135a10ddfcd10f7886a2bfe0c418720c4f7e2 | Java | Gofrettin/WoWFishingBot-1 | /src/controller/Listeners/SelectTooltipRegionButtonListener.java | UTF-8 | 978 | 2.421875 | 2 | [] | no_license | package controller.Listeners;
import model.FisherMan;
import model.Main;
import model.Tools.Lang;
import model.Tools.UITools;
import view.mainGUI;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* Created by jelle on 23-6-2017.
*/
public class SelectTooltipRegionB... | true |
e078355d416919cbe8112d05c511e8f653d084bf | Java | ttae00/java | /src/javaproject_4w/MyRuns156.java | UHC | 986 | 3.734375 | 4 | [] | no_license | package javaproject_4w;
/*
* ڿ - ȭ Ư¡
* ȭ
* synchronized Ű带 Ѵ
*
*/
public class MyRuns156 implements Runnable {
@Override
public void run() {
// TODO Auto-generated method stub
show();
}
// 忡 ۾ ĥ ٸ ٸ
public synchronized void show() {
// TODO Auto-generated method stub
// 忡 ڽ ̸ ϰ, ٸ ̸ ... | true |
a12d05879493d7bf2aafa0930c6f80fc7ef8fdcd | Java | paulsandor97/UatsAp22 | /app/src/main/java/com/polos/uatsap22/database/MyDatabase.java | UTF-8 | 2,210 | 2.21875 | 2 | [] | no_license | package com.polos.uatsap22.database;
import android.arch.persistence.db.SupportSQLiteDatabase;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
import android.support.annotation.NonNull;
import ... | true |
9630157988a07a57f91abab209cc2e1522968b7c | Java | blacku12/ATM | /src/com/ing/tech/atm/PopulateDB.java | UTF-8 | 832 | 2.46875 | 2 | [] | no_license | package com.ing.tech.atm;
import java.io.IOException;
import java.math.BigDecimal;
public class PopulateDB {
public static void main(String[] args) {
// try {
// DBOperations operations = new DBOperations();
// operations.writeAccount(new Account("1234", new BigDecimal(12_000)));
// ... | true |
8abf80d27adcbe416dfb120abd70ec8ea860947d | Java | fidelfcastro/23102_Patrones | /Patrones_Parcial01/180126_Practica00/src/Walkable.java | UTF-8 | 98 | 1.929688 | 2 | [] | no_license | /**
* Created by fidel on 1/26/2018.
*/
public interface Walkable {
void getWalk();
}
| true |
5fdc37987f4a5e0dd8f08c48b4fcbf1a64369767 | Java | gregdavisd/vecmath | /src/javax/vecmath/Matrix3f.java | UTF-8 | 45,584 | 2.078125 | 2 | [] | no_license | /*
* $RCSfile: Matrix3f.java,v $
*
* Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* ... | true |
4c2b6b9b963a50693055ccefd315a8c7419c1ec3 | Java | AlaaRaedDawood/Bachelor | /app/src/main/java/com/example/start/IntersectedPoints.java | UTF-8 | 852 | 2.359375 | 2 | [] | no_license | package com.example.start;
import android.graphics.Point;
public class IntersectedPoints implements java.io.Serializable {
private PointF point ;
// private PointF startPointLine ;
// private PointF stopPointLine ;
// private PointF startPointConnectedLine ;
// private PointF stopPointConnectedLi... | true |
20d57488fc6759067f44667c7d62f96b8b284ed2 | Java | josephgunawan97/OnlineCanteen | /onlineCanteen/app/src/main/java/com/example/asus/onlinecanteen/activity/RegisterStoreActivity.java | UTF-8 | 12,748 | 1.765625 | 2 | [] | no_license | package com.example.asus.onlinecanteen.activity;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.suppor... | true |