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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
5a77bacbd204d9496fff538151cdac66af1f22a8 | Java | jldodds/ELE580-PS2 | /ModelChecker/source-test/proof/model/test/ProofTest.java | UTF-8 | 615 | 2 | 2 | [] | no_license | package proof.model.test;
import java.io.IOException;
import logic.executor.MiniSat;
import logic.test.examples.Examples;
import org.junit.Test;
import proof.model.IdentifierPrinterTraverser;
import proof.model.NamePrinterTraverser;
import proof.model.Proof;
public class ProofTest {
@Test
public void testUnSa... | true |
6590b5abc0d3c0a073aaf68d273f0217a39e63e7 | Java | dachylong/r-causal | /java/edu/cmu/tetrad/search/SepsetsMaxPValuePossDsep.java | UTF-8 | 9,188 | 2.171875 | 2 | [] | no_license | ///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | true |
adb576426103d9dba371b45d6006c51546f88096 | Java | sanghis96/ProgrammingCentre | /competitiveProgramming/Hackerrank/LisasBook.java | UTF-8 | 889 | 3.078125 | 3 | [] | no_license | import java.io.*;
import java.util.*;
public class LisasBook
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int k = sc.nextInt();
int[] t = new int[n];
for(int i=0; i<n; i++)
t[i] = sc.nextInt();
... | true |
ab813f25f38fd1c7e6444c0faba1bedd8a98e42b | Java | bencrealc/dp1-2020-g3-02 | /src/main/java/org/springframework/samples/petclinic/model/auxiliares/JugadorDTO.java | UTF-8 | 2,903 | 2.125 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | package org.springframework.samples.petclinic.model.auxiliares;
import java.time.LocalDate;
import org.springframework.samples.petclinic.enumerate.Estado;
import org.springframework.samples.petclinic.enumerate.Posicion;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;... | true |
87f0cc07da28d8e575cc0aaae4710d87ec288078 | Java | xuanquang226/bookstore-online | /bookstoreonline/app/src/main/java/com/example/quang/bookstoreonline/NewPasswordActivity.java | UTF-8 | 1,226 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package com.example.quang.bookstoreonline;
import android.app.Dialog;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class NewPasswordActivity extends App... | true |
5470dcd1261f864b4b2c6abea5a379c3fda6329a | Java | TccBruna/Sicva-v1.0 | /src/main/java/br/com/sicva/model/Vacinacao.java | UTF-8 | 4,542 | 2.046875 | 2 | [] | no_license | package br.com.sicva.model;
// Generated 05/05/2017 18:52:05 by Hibernate Tools 4.3.1
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import ja... | true |
8a0d11b72db5cf8f255e6456be2b32dfeb816987 | Java | iamacule/phonetest | /app/src/main/java/phamhungan/com/phonetestv3/model/Item.java | UTF-8 | 580 | 2.09375 | 2 | [] | no_license | package phamhungan.com.phonetestv3.model;
/**
* Created by MrAn PC on 22-Jan-16.
*/
public class Item {
private String itemName;
private int idImage;
public Item(int idImage, String itemName) {
this.itemName = itemName;
this.idImage = idImage;
}
public String getItemName() {
... | true |
3218203234313071e210f48c06132e821467404f | Java | SystemaAS/espedsgtvinnsad | /src/no/systema/tvinn/sad/sadimport/model/jsonjackson/topic/JsonSadImportTopicFinansOpplysningerRecord.java | UTF-8 | 2,881 | 2.046875 | 2 | [] | no_license | /**
*
*/
package no.systema.tvinn.sad.sadimport.model.jsonjackson.topic;
import no.systema.main.model.jsonjackson.general.JsonAbstractGrandFatherRecord;
import no.systema.tvinn.sad.util.TvinnSadDateFormatter;
import java.lang.reflect.Field;
import java.util.*;
/**
* @author oscardelatorre
* @date Sep 24, 2014
... | true |
f3b48eed4cad1b4a8ac1fbba5fbed532fa2ffe4d | Java | MD1010/FlightGear | /src/commands/SleepCommand.java | UTF-8 | 243 | 2.546875 | 3 | [] | no_license | package commands;
import interfaces.ICommand;
public class SleepCommand implements ICommand {
@Override
public int doCommand(String[] args) throws Exception {
Thread.sleep(Integer.parseInt(args[0]));
return 1;
}
}
| true |
8510e6e4d5faae7606a98ed3ac2bdf2890defc77 | Java | osundblad/intellij-annotations-instrumenter-maven-plugin | /src/test/java/se/eris/util/TestSupportedJavaVersions.java | UTF-8 | 664 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package se.eris.util;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
@ParameterizedTest(name = "Java target version: {arguments}")
@ValueSo... | true |
d4f394eed22fa73170bd9cebb953de2b1bf01d65 | Java | hoppang0817/t20210112 | /java06/src/com/project/SubjectDAOImpl.java | UTF-8 | 4,069 | 3.046875 | 3 | [] | no_license | package com.project;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
public class SubjectDAOImpl implements SubjectDAO{
private Connection conn = null;
public SubjectDAOImpl(Connection conn) {
super();
th... | true |
08c410c7442dbc0204eb34c786254f0c838227c0 | Java | MauroLucas/Sube | /Proyecto/Sube/src/datos/CostoSubte.java | UTF-8 | 390 | 2.40625 | 2 | [] | no_license | package datos;
public class CostoSubte {
private long idCostoSubte;
private float costo;
public CostoSubte() {
}
public long getIdCostoSubte() {
return idCostoSubte;
}
public void setIdCostoSubte(long idCostoSubte) {
this.idCostoSubte = idCostoSubte;
}
public float getCosto() {
return costo;
}... | true |
b3c3382d4484029c2eb7ea86cef13c925bc64fd3 | Java | rbrea/lobo01 | /pagodiario-domain/src/main/java/com/icetea/manager/pagodiario/utils/NumberUtils.java | UTF-8 | 6,046 | 2.59375 | 3 | [] | no_license | package com.icetea.manager.pagodiario.utils;
import java.math.BigDecimal;
import java.math.MathContext;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import java.util.Random;
public class NumberUtils extends org.apache.commons.lang3.math.NumberUtils {
pub... | true |
c6b49eef4e6ce84c2c872fdd80a48cfa923e8f94 | Java | SebastianTuquerrezG/POO-Platzi | /Java/PagoEfectivo.java | UTF-8 | 120 | 2.109375 | 2 | [] | no_license | class PagoEfectivo extends Pagos{
public PagoEfectivo(Integer id, Integer monto) {
super(id, monto);
}
} | true |
a9396c7dadf3b6eba9c99fcca8057609622fe903 | Java | djiani/1905Java20May | /Week6/MVCExample/src/main/java/com/revature/controller/LoginController.java | UTF-8 | 2,022 | 2.359375 | 2 | [] | no_license | package com.revature.controller;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.... | true |
7161df114f10934a86292f625dd245099e3be578 | Java | SrVictor/ProyectoTienda | /ProyectoTienda/src/Vista/VentanaSeleccionarXML.java | UTF-8 | 3,368 | 2.875 | 3 | [] | no_license | package Vista;
import Modelo.GestionFicheros;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.*;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import javax.swing.filecho... | true |
5279843362487fd97fc0e6b2d0cde8b39a222fba | Java | huyunkai/Practice | /src/thread/MP.java | GB18030 | 1,609 | 3.625 | 4 | [] | no_license | /*
* Ʊ
* ͬʱƱ
* */
package thread;
/*
* ̵߳ĵڶַʽʵRunnableӿ
*
* 1ʵRunnableӿ
* 2Runnableӿеrun
* ߳ҪеĴŵrunС
* 3ͨThreadཨ̶߳
* 4RunnableӿڵΪʵʲݸThreadĹ캯
* ΪʲôRunnableӿݸThreadĹ캯
* ΪԶrunĶRunnableӿڵ
* Ҫ߳ȥָrunͱȷrunĶ
* 5Threadstarṯ߳Runnableӿrun
* ʵַʽͼ̳зʽ
* ʵַʽô˵̳еľԡ
* ڶ߳ʱʹʵַ
*
... | true |
414a17974933ef437e53f5550f749d201a4d9237 | Java | chupeone/mustache-tc | /example/src/example/PropertiesExample.java | UTF-8 | 248 | 1.867188 | 2 | [] | no_license | package example;
import java.io.File;
import java.util.Properties;
public class PropertiesExample {
public static void main(String[] args) {
ConfigurationVariables conf=new ConfigurationVariables();
conf.createstructure();
}
}
| true |
eda7b1c21e0a9375619bf3761e64c75abcf06ddd | Java | nonhex/mc4 | /app/src/main/java/ru/specialist/student/someapp/weather/CityWeather.java | UTF-8 | 518 | 1.945313 | 2 | [] | no_license | package ru.specialist.student.someapp.weather;
/**
* Created by student on 21.07.2015.
*/
public class CityWeather {
public Coord coord;
public Weather[] weather;
public String base;
public Temperatures main;
public int visibility, dt;
public Wind wind;
/*{
"rain":{"1h":0.33},
... | true |
5d7a283cbfd7c4d352453529d15a3dd96b764bb3 | Java | shravanpatel/Student | /src/model/Course.java | UTF-8 | 827 | 2.875 | 3 | [] | no_license | package model;
import lombok.Data;
/**
* @author Shravan - spatel10
* CIS175 - Fall 2021
* Sep 28, 2021
*/
@Data
public class Course {
private int id;
private int number;
private String name;
private int credits;
private double score;
private String grade;
private final double []scoreBracket = {60, 63, 67... | true |
f8715cd0b10ad0f2631bb71673c718edc15ee78c | Java | mvilche/ejbca-ce | /modules/cesecore-common/src-test/org/cesecore/util/LookAheadObjectInputStreamTest.java | UTF-8 | 24,383 | 2.53125 | 3 | [] | no_license | /*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... | true |
6d592f35229546f7b2625915d566e0a9eb6d9a6e | Java | cieplinski-tobiasz/java-prod-labs | /lab-3/ex-2/src/test/java/model/ItemTest.java | UTF-8 | 1,303 | 2.859375 | 3 | [] | no_license | package model;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import java.math.BigDecimal;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.catchThrowable;
publ... | true |
398276a09ca3a1bdddc89c324745e3d2c767f7ec | Java | IgorSiS/desafio-projeto | /src/main/java/br/com/desafio/projeto/api/GetAllProjectsApi.java | UTF-8 | 616 | 1.898438 | 2 | [] | no_license | package br.com.desafio.projeto.api;
import br.com.desafio.projeto.api.response.CreateProjectResponse;
import br.com.desafio.projeto.domain.exception.UseCaseException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Re... | true |
ec648451385e0ff3835f8b91c1c5d7c7ec89f88a | Java | gaeqs/JAMS | /src/main/java/net/jamsimulator/jams/collection/LowHeapIntArrayList.java | UTF-8 | 16,471 | 3.15625 | 3 | [
"MIT"
] | permissive | /*
* MIT License
*
* Copyright (c) 2021 Gael Rial Costas
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | true |
c5dcaf26df7c83cfa031670d0ec923a1db593eb4 | Java | bkiers/Clay | /src/test/java/clay/filter/ExcludeColumnRangeFilterTest.java | UTF-8 | 2,411 | 2.703125 | 3 | [
"MIT",
"Apache-2.0"
] | permissive | package clay.filter;
import clay.input.CSVInput;
import clay.input.StringInput;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class ExcludeColumnRangeFilterTest {
@Test(expected = IllegalArgum... | true |
fc4c14cc7a344533e25949f79094ab3b7b085d2c | Java | mniip/bananapeel | /application/src/main/java/com/mniip/bananapeel/util/BiSet.java | UTF-8 | 2,305 | 3.046875 | 3 | [
"BSD-3-Clause"
] | permissive | package com.mniip.bananapeel.util;
import java.util.Collection;
import java.util.Comparator;
import java.util.Set;
import java.util.TreeSet;
public class BiSet<E> extends TreeSet<E> implements Set<E>
{
private TreeSet<TreeSet<E>> other;
private static class SetComparator<E> implements Comparator<Set<E>>
{
priva... | true |
ccd997c406a8a2d38cbead0a2205ac10c1ce2988 | Java | rafaelhss/elcarteroapp | /NewsCrawler/src/main/java/downloader/batch/hardmob/model/HardMobPromo.java | UTF-8 | 344 | 2.015625 | 2 | [] | no_license | package downloader.batch.hardmob.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import java.net.URI;
import java.net.URL;
/**
* Created by rafa on 04/08/2016.
*/
@Getter
@Setter
@AllArgsConstructor
public class HardMobPromo {
private String titulo;
private URL url;
... | true |
6b1f4bceeee2c078313f061c91e33f16eae75f5a | Java | wangscript007/scw | /scw-lucene/src/main/java/scw/lucene/IndexReaderExecutor.java | UTF-8 | 204 | 1.835938 | 2 | [] | no_license | package scw.lucene;
import java.io.IOException;
import org.apache.lucene.index.IndexReader;
public interface IndexReaderExecutor<T> {
T execute(IndexReader indexReader) throws IOException;
}
| true |
64792bb8e9d5c59ee2ecc4807ae39c9ba0b0a404 | Java | Jackjun724/spring-boot-blog | /src/main/java/com/jacknoob/blog/web/vm/DashBoardVM.java | UTF-8 | 1,366 | 2.4375 | 2 | [
"MIT"
] | permissive | package com.jacknoob.blog.web.vm;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* @author JackJun
* 2019/7/30 16:04
* Life is just about survival.
*/
public class DashBoardVM {
private Charts charts = new Charts();
private String[][] tags;
private Integer dayVisitsNum;
private Inte... | true |
10f770da710a1cee49774c6345969d72f933a1e5 | Java | smilehelo/SecKill | /src/test/java/org/seckill/service/SeckillServiceTest.java | GB18030 | 2,598 | 2.25 | 2 | [] | no_license | package org.seckill.service;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.seckill.dto.Exposer;
import org.seckill.dto.SeckillExecution;
import org.seckill.entity.Seckill;
import org.seckill.exception.RepeatKillException;
import org.seckill.exception.SeckillCloseException;
... | true |
3f557c5cb8ac286fd1884a78809d1b3da79b1a91 | Java | panpanf/jenkinstest1 | /2013_08_12/src/main/java/com/pan/sample1/dataaccess/service/AccountService.java | UTF-8 | 232 | 1.960938 | 2 | [] | no_license | package com.pan.sample1.dataaccess.service;
import com.pan.sample1.dataaccess.model.*;
import java.util.List;
public interface AccountService {
Account save(Account account);
List<Account> findByCustomer(Customer customer);
}
| true |
e3056fc42e46e51887bfc63d6c7aeba5c7fada0a | Java | ZilongZeng/TeamXbot2019 | /Competition/src/main/java/competition/subsystems/pose/PoseSubsystem.java | UTF-8 | 13,192 | 2.125 | 2 | [] | no_license | package competition.subsystems.pose;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import competition.subsystems.drive.DriveSubsystem;
import xbot.common.injection.wpi_f... | true |
f8c37cba6b448ae0efe9b560304e3b765668cdbe | Java | haditabatabaei/webproject | /backend/collecting/dsfj/Java/edited/server.TargetServerConnection.java | UTF-8 | 248 | 1.617188 | 2 | [] | no_license |
package org.springframework.boot.devtools.tunnel.server;
import java.io.IOException;
import java.nio.channels.ByteChannel;
@FunctionalInterface
public interface TargetServerConnection {
ByteChannel open(int timeout) throws IOException;
}
| true |
9aed3a597fcac1533b6daf2c2efbe882bbf1dc07 | Java | SM-Tiwari/Spring-Security | /old/vnm-selfcare-webapps-mega2-master/vnm-selfcare-web-api-2.0/src/main/java/com/gnv/vnm/selfcare/webapi/model/NearbyStoreListRequest.java | UTF-8 | 1,258 | 2.046875 | 2 | [] | no_license | /**
*
*/
package com.gnv.vnm.selfcare.webapi.model;
/**
* @author nandipinto
*
*/
public class NearbyStoreListRequest extends StoreListRequest {
private static final long serialVersionUID = 1603363701040256110L;
private String latitude;
private String longitude;
private String maxDistance;
public Nearby... | true |
080594f21658aa5c4fbf544d5bf508d0f1e557e6 | Java | tianxiake/SimplePrac | /src/main/java/com/snail/test/sort/MergerSort.java | UTF-8 | 594 | 3 | 3 | [] | no_license | package com.snail.test.sort;
/**
* 归并排序
*/
public class MergerSort {
public static void main(String[] args) {
}
public static void mergerSort(int[] data, int startIndex, int endIndex) {
//递归实现的终止条件
if (startIndex >= endIndex) {
return;
}
int r = (startIndex... | true |
da7fc0f1d447e5a5789a1fda47c7f61ad54b0e1d | Java | wansweet/bigbang | /bigbang-core/src/test/java/bigbang/tair/PutGetTest.java | UTF-8 | 1,845 | 2.140625 | 2 | [] | no_license | /*
package bigbang.tair;
import java.util.UUID;
import org.junit.Test;
import com.taobao.tair3.client.Result;
import com.taobao.tair3.client.Result.ResultCode;
import com.taobao.tair3.client.TairClient.TairOption;
import com.taobao.tair3.client.error.TairFlowLimit;
import com.taobao.tair3.client.error.TairRpcError;
... | true |
d1f56463b2e89e104ac813ec9809d58cdb482334 | Java | chihiroanihr/ecomail | /demo/src/Image.java | UTF-8 | 1,979 | 3.296875 | 3 | [] | no_license | import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
public class Image{
public int width,height;
private volatile int x,y;
private BufferedImage img,outputimage;
Image(String name){
try{
// read in an image from a fil... | true |
9ca54de510ea50cf367957391e5777d4a134b1d2 | Java | zhuozhang90/activityBot | /src/dbs/ConnectDB.java | UTF-8 | 726 | 2.609375 | 3 | [] | no_license | package dbs;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoDatabase;
public class ConnectDB {
// return connection to mysql db
public static Connection connectMySQL() throws SQLException {
return DriverManag... | true |
64df2e88ef26c84451c91179bf1ae9228a4fb7ef | Java | D-a-r-e-k/Code-Smells-Detection | /Preparation/processed-dataset/god-class_3_962/13.java | UTF-8 | 328 | 2.328125 | 2 | [] | no_license | public void setFrameSize(int width, int height) {
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
if (0 < width && width < screen.width) {
_logMonitorFrameWidth = width;
}
if (0 < height && height < screen.height) {
_logMonitorFrameHeight = height;
}
updateFrameSi... | true |
378329fd20d6ffe51dfe7306bb5c68cd52061527 | Java | kruasan1ch/Dungeon | /core/src/Entities/Player.java | UTF-8 | 6,081 | 2.484375 | 2 | [] | no_license | package Entities;
import Screens.GameOver;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.Text... | true |
8423cb52372d3e833da0a0cb55caaa2478a0690c | Java | AlexanderPeev/PostapocalypticGame | /GameEngine/src/com/alexanderpeev/projects/java/games/pa/engine/contracts/adt/model/Listener.java | UTF-8 | 620 | 2.875 | 3 | [] | no_license | /**
* Declares the Listener<TObservation> interface.
*/
package com.alexanderpeev.projects.java.games.pa.engine.contracts.adt.model;
/**
* Models an event listener for a particular type of observation. This
* corresponds to an observer in the Observer pattern.
*
* @author Alexander Peev (user: Alexander ... | true |
710566038733b72b5f5f14c63ddb9f132ee06023 | Java | kartik-kumar71/CollegeStuff | /Java/myWork/automaticAttendance/users/Parent.java | UTF-8 | 427 | 1.820313 | 2 | [] | no_license | package automaticAttendance.users;
final class Parent implements Debarr,Profile{
public void viewProfile(){
return;
}
public void viewCalender(){
return;
}
public void editProfile(){
return;
}
private void message() {
return;
}
private void checkLeaveHistory() {
return;
}
publ... | true |
96fa17c3f72d3a9d3d8e491fb2098df78bfcb470 | Java | rlarkdms/library_project | /src/main/java/com/example/controller/MainController.java | UTF-8 | 2,091 | 2.25 | 2 | [] | no_license | package com.example.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMap... | true |
ee7e1d3eeac3eb34d79b581176b9216c8007a7e9 | Java | halooooo/superMovie | /app/src/main/java/dev/baofeng/com/supermovie/utils/SharedBitmapManager.java | UTF-8 | 1,462 | 2.4375 | 2 | [] | no_license | package dev.baofeng.com.supermovie.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.animation.GlideAnimation;
import com.bumptech.glide.request.target.SimpleTarget;
import com.huangyong.down... | true |
6c89cac68b531eeb82fa0695a2ffa5c10dace291 | Java | arywatt/gaia-last | /gaia-module-api/src/main/java/com/gaia/module/api/IPlugin.java | UTF-8 | 374 | 1.695313 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.gaia.module.api;
import java.io.Serializable;
/**
*
* @author komilo
*/
public interface IPlugin extends Serializable {
String name();
String displayName();
String descriptionKey();
... | true |
42628641fc67d22b4958432edfca86db6860c29a | Java | gauravtechcs/JavaBasics | /learnautomationProject/src/TestPackage/ParentClass.java | UTF-8 | 219 | 2.28125 | 2 | [] | no_license | package TestPackage;
public class ParentClass {
//to prevent inheritence
//to prevent method Overriding
public final void start() {
System.out.println("Parent start---start method");
}
}
| true |
5b971cdeeaebf2f04477ac55312492206ac2c2f2 | Java | bboseko/DMTDesktop | /src/com/osfac/dmt/tools/statistic/RandomColor.java | UTF-8 | 878 | 3.109375 | 3 | [] | no_license | package com.osfac.dmt.tools.statistic;
import java.awt.Color;
import java.util.Random;
public class RandomColor {
private Random rand;
/**
* Constructor for objects of class RandomColor initializes the random
* number generator
*/
public RandomColor() {
rand = new Ra... | true |
4d3d6e26e46770f431a51a3e407b5592f3e4b5ce | Java | rampayasi/backbase_Assignment | /src/test/java/backbase/Utilties/ExtentTestManager.java | UTF-8 | 967 | 2.34375 | 2 | [] | no_license | package backbase.Utilties;
import java.util.HashMap;
import java.util.Map;
import com.relevantcodes.extentreports.ExtentReports;
import com.relevantcodes.extentreports.ExtentTest;
public class ExtentTestManager {
static Map<Integer, ExtentTest> extentTestMap = new HashMap<Integer, ExtentTest>();
static ExtentR... | true |
2774cb8f5e8340072b65de7eed7c82c5c7972b7b | Java | panlicun/netty | /netty-server/src/main/java/com/topwalk/server/TextServerHandler.java | UTF-8 | 1,298 | 2.390625 | 2 | [] | no_license | package com.topwalk.server;
import com.topwalk.core.model.TextModel;
import com.topwalk.core.session.Session;
import com.topwalk.core.util.SessionUtil;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* 对... | true |
43ff83e61c3d4a5619a57d2c525376043e7e2bf0 | Java | Agonizedcupid/LoanAdmin | /app/src/main/java/com/example/loanadmin/ResetPasswordActivity.java | UTF-8 | 2,948 | 2.046875 | 2 | [] | no_license | package com.example.loanadmin;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.T... | true |
2811c0a5a503ee7e62c9a658f6e04d455039d0b8 | Java | alisagaoliwei/caseSearch | /src/main/java/com/greatsoft/casecheck/dto/urlbasepath/UrlBasePathResponseDTO.java | UTF-8 | 2,082 | 2.296875 | 2 | [] | no_license | package com.greatsoft.casecheck.dto.urlbasepath;
import com.greatsoft.casecheck.entiry.UrlBasePath;
import com.greatsoft.casecheck.util.DateUtil;
/**
* @Description:
* @Author: yangzhanbiao
* @CreateDate: 2019/5/13 9:53 AM
*/
public class UrlBasePathResponseDTO {
/**
* 业务主键
*/
private String lid... | true |
c114f9768f3586e2a02b35a09f58c93c9cddc947 | Java | lostincastle/NoticeBoardAndroid | /app/src/test/java/com/shishir/onlinenoticeboard/LoginTest.java | UTF-8 | 1,078 | 2.25 | 2 | [] | no_license | package com.shishir.onlinenoticeboard;
import com.shishir.onlinenoticeboard.api.RetrofitInterface;
import com.shishir.onlinenoticeboard.model.UserModel;
import org.junit.Test;
import org.mockito.Mockito;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
import retrofit2.Call;
import... | true |
03a5222cd866e9448458eae2302c805542535389 | Java | plokeshwar/ovt | /src/main/java/com/overture/npc/common/CommonMethods.java | UTF-8 | 1,434 | 2.484375 | 2 | [] | no_license | package com.overture.npc.common;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
public class CommonMethods extends Reporting {
public void closeBrowse... | true |
329d9488aef23eca901af4dcc3e227cc5ee7ac17 | Java | munishk/ScratchPad | /src/Box.java | UTF-8 | 356 | 2.921875 | 3 | [] | no_license | public class Box<T> {
private T t;
public T getT() {
return t;
}
public void setT(T t) {
this.t = t;
}
public <U> void inspect(U u, T t) {
System.out.println("Method type:" + u.getClass());
System.out.println("Class type:" + t.getClass());
}
public static void main(String[] args) {
Bo... | true |
cb4a3fb8977c9ad0581de8f6196308294a657821 | Java | Eldorico/hepial-language-compiler | /src/symbol/VariableSymbol.java | UTF-8 | 506 | 3.09375 | 3 | [] | no_license | package symbol;
/**
* @description: its the parent of
* IntBoolSymbol
* ArraySymbol
*
*/
public abstract class VariableSymbol extends Symbol {
Type type;
public VariableSymbol(int declarationLinesNumber, Type type) {
super(declarationLinesNumber);
this.type = type;
}
public String getType(){
switch(t... | true |
835cd8b27651e44c9bfd6fa43a4f4e845e30261d | Java | inf112-v20/Fellowship-of-the-INF | /src/main/java/inf112/skeleton/app/game_logic/MovesToExecuteSimultaneously.java | UTF-8 | 697 | 3.34375 | 3 | [] | no_license | package inf112.skeleton.app.game_logic;
import java.util.ArrayList;
/**
* A type of arrayList for moves that are to be executed simultaneously. These objects are used when events on the
* board are shown, as some events happen simultaneously (fex when a robot pushes another, both moves simultaneously).
*/
public ... | true |
245eb555fc091c48118b866213f92c9b9fe098e1 | Java | architekt1024/javafxhelper | /src/main/java/io/github/architekt1024/javafxhelper/listview/SimpleStringConverter.java | UTF-8 | 1,407 | 2.734375 | 3 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2020-2023 architekt1024
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | true |
8f7ee1bed33d77c0bcb9a3db1138b809327b9021 | Java | Lidia343/Application-for-H2-Database | /H2DataBaseApplication/src/TableViewerUserEditingListener.java | UTF-8 | 1,925 | 3 | 3 | [] | no_license | /**
* Слушатель редактирования пользователем данных в таблице.
*/
public class TableViewerUserEditingListener {
/**
* Метод для изменения имени пользователя
* @param user - объект класса User (пользователь, имя которого необходимо изменить)
* @param name - имя, которое необходимо присвоить
*/
public void... | true |
8dd5501faf59d8d72d080a0bf7bfa56aedc1f18d | Java | aravindkumar01/ticket-booking | /src/main/java/com/example/demo/Service/UserService.java | UTF-8 | 1,659 | 2.34375 | 2 | [] | no_license | package com.example.demo.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.demo.Entity.Login;
import com.example.demo.Entity.User;
import com.example.demo.Repo.LoginRepo;
import com.example.demo.Repo.UserRe... | true |
42c7be31588b90e473c840b40744f81846c2d369 | Java | wrjym/algorithm | /Algo/src/Main/Main_연구소.java | UTF-8 | 2,988 | 2.671875 | 3 | [] | no_license | package Main;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;
public class Main_연구소 {
static class xy{
public int x;
public int y;
public int num;
public xy(int x, int y, int num) {
super();... | true |
8f5368b817e15606795fb77b2d781fe75416e3ed | Java | Monali-Khandelwal/Maven.Casino | /src/main/java/io/zipcoder/casino/utilities/Membership.java | UTF-8 | 1,246 | 3.15625 | 3 | [] | no_license | package io.zipcoder.casino.utilities;
import io.zipcoder.casino.Player;
import java.util.ArrayList;
import java.util.Arrays;
public class Membership {
private static ArrayList<Player> currentMembers = new ArrayList<Player>();
public static void addMember(Player player) {currentMembers.add(player);}
pu... | true |
1a0fc7a3b3e734f61e2bf0d3681b2a8d15750a2c | Java | wojtor/SII | /src/MusicClassifier.java | UTF-8 | 8,663 | 2.6875 | 3 | [] | no_license | import weka.classifiers.Classifier;
import weka.classifiers.Evaluation;
import weka.classifiers.bayes.NaiveBayesMultinomialUpdateable;
import weka.classifiers.trees.J48;
import weka.core.Attribute;
import weka.core.FastVector;
import weka.core.Instance;
import weka.core.Instances;
import weka.filters.Filter;
import wek... | true |
3e89ecb215fa6e47007246021302786c42bf10f9 | Java | lauriiShii/JAVA | /Actividades/OrientacionObjetos/Fechas/BoletinFechas/src/Ejercicio03.java | UTF-8 | 1,323 | 3.484375 | 3 | [] | no_license |
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Ejercicio03 {
public static void Main(String[] args) {
// TODO Auto-generated method stub
String cadena1, cadena2;
cadena1=normalToAmericano("07/12/1991");
cadena2=americanoToNormal("12/9/2012");
... | true |
a44bc8c3b65edd949876ef2c16c5575855a00acf | Java | vyouyou/practice | /spring/src/main/java/spring/aware/RLAware.java | UTF-8 | 513 | 1.976563 | 2 | [] | no_license | package spring.aware;
import org.springframework.context.ResourceLoaderAware;
import org.springframework.core.io.ResourceLoader;
/**
* @author qisy01
* @create 18-10-24
* @since 1.0.0
*/
public class RLAware implements ResourceLoaderAware {
private ResourceLoader resourceLoader;
@Override
public voi... | true |
b1fa38480b2bf5267ba8ddddf89bc82897349241 | Java | nathakhanh/Shoplify | /src/views/shoppingCartView.java | UTF-8 | 20,100 | 2.265625 | 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 views;
import controllers.ItemController;
import controllers.OrderController;
import global.Global;
import models.ItemModel;
i... | true |
5448c284de568930fc68f414170d8e20deb577c8 | Java | asami-snz/workspace | /EventService/src/main/java/com/example/demo/event/src/Event.java | UTF-8 | 299 | 1.976563 | 2 | [] | no_license | package com.example.demo.event.src;
import java.util.Date;
import lombok.Data;
// DBより取得したイベント詳細を格納するクラス
@Data
public class Event {
private int eventID;
private String eventName;
private Date eventDay;
private String eventDetail;
}
| true |
b340e035a76cd5a4d235fcc72f211025297b62d6 | Java | BobbyIsMe/MurderRunNK | /src/main/java/com/joshuacc/mrnk/lang/ConfigLang.java | WINDOWS-1252 | 5,106 | 2.640625 | 3 | [] | no_license | package com.joshuacc.mrnk.lang;
import cn.nukkit.utils.Config;
import cn.nukkit.utils.TextFormat;
public enum ConfigLang {
//Placeholder
//%l - Map Name
//%p - Player Name
//%k - Killer Name
//%n - Number
//Prefix for some messages in-game to be shown
PREFIXMESSAGE("Prefix Message", "&4&lMurder Run &6&r"),
... | true |
3ab6fb48e754e312eeadf8a5f4e24ed99d9d5d5f | Java | systek/graphql-workshop | /1_starter/java/src/main/java/no/systek/graphqlworkshop/storage/PersonRepository.java | UTF-8 | 485 | 2.5 | 2 | [] | no_license | package no.systek.graphqlworkshop.storage;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Repository;
@Repository
public class PersonRepository {
private static ArrayList<Person> exampleData = new ArrayList<Person>() {{
add(new Person("Karl", "Frontend Developer"));
... | true |
0b6732e1fbb39b8e0ebaaea6db8e456c093ff5f7 | Java | soojin19880828/basic | /tb110_basic/RealEstateCertificatePrinter_qzs_djzm/RealEstateCertificatePrinterBusiness/src/main/java/com/thfdcsoft/framework/business/entity/UsageRecordExample.java | UTF-8 | 24,128 | 2.078125 | 2 | [] | no_license | package com.thfdcsoft.framework.business.entity;
import java.util.ArrayList;
import java.util.List;
public class UsageRecordExample {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database table USAGE_RECORD
* @mbg.generated Thu Jun 28 09:55:44 CST 2018
*/
protected St... | true |
f4f0498498cff0283494c6231d2fb7c8ea0236a2 | Java | EEIT88Team02/TGfunProjHibernate2 | /test1/src/main/java/model/RoomDeviceInfo/RoomDeviceInfoDAO.java | UTF-8 | 1,404 | 2.46875 | 2 | [] | no_license | package model.RoomDeviceInfo;
import java.util.List;
import org.hibernate.Session;
import model.OrderRoomInfo.OrderRoomInfoBean;
import model.RoomInfo.RoomInfoBean;
import model.RoomInfo.RoomInfoDAO;
import model.misc.HibernateUtil;
public class RoomDeviceInfoDAO implements RoomDeviceInfoInterface {
... | true |
29eca87af6fcbe3bcd8cb6208df22686d36c19f2 | Java | accso/fork-join-demo | /fork-join-demo/src/de/accso/testbed/forkjoin/primes/PrimeDriver.java | UTF-8 | 372 | 2.53125 | 3 | [] | no_license | package de.accso.testbed.forkjoin.primes;
import java.util.concurrent.ForkJoinPool;
public class PrimeDriver {
public static void main(String[] args) {
CountPrimesTask task = new CountPrimesTask(0l, 1000l, 10l);
ForkJoinPool pool = new ForkJoinPool(Runtime.getRuntime().availableProcessors());
pool.invo... | true |
f89249a3aad84868d3cef5a0af21c5b7538b8636 | Java | waterskier19/cis226-Intro-To-Java | /Chapter_2/example2-2/Example2_2.java | UTF-8 | 557 | 3.109375 | 3 | [] | no_license | public class Example2_2 {
public static void main(String[] args) {
System.out.println("2 + 5 = " + (2 + 5));
System.out.println("13 + 89 = " + (13 + 89));
System.out.println("34 - 20 = " + (34 - 20));
System.out.println("45 - 90 = " + (45 - 90));
System.out.println("2 * 7 = "... | true |
05e74121c33d3462aaa1cce26354cab47d36dc63 | Java | olga-venger/seoservice | /src/main/java/com/pullenti/ner/person/internal/PersonAttrTermin.java | UTF-8 | 4,181 | 2.015625 | 2 | [] | no_license | /*
* Copyright (c) 2013, Pullenti. All rights reserved. Non-Commercial Freeware.
* This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C#.NET project (www.pullenti.ru).
* See www.pullenti.ru/downloadpage.aspx.
*/
package com.pullenti.ner.person.internal;
public class PersonA... | true |
c95609aef0173f468bb255550235dd8963a72865 | Java | zongweiyang/eLims | /src/cn/labsoft/labos/source/quality/vo/LabQuaAuditRecordDetailVo.java | UTF-8 | 2,811 | 1.851563 | 2 | [] | no_license | package cn.labsoft.labos.source.quality.vo;
import java.util.List;
import cn.labsoft.labos.framework.common.vo.BaseVo;
/**实验室现场内审记录表
*/
public class LabQuaAuditRecordDetailVo extends BaseVo{
private String id;
private String initAuditPlanId;
private String initAuditPlanName;
private String initAuditPlanCont... | true |
107476c6133bbffa68300959c02fcc74873e6d52 | Java | Cierce/DungenTales | /src/com.eisenstudios.dungentales.inventory/WeaponInventory.java | UTF-8 | 5,264 | 2.59375 | 3 | [] | no_license |
package com.eisenstudios.dungentales.inventory;
import com.eisenstudios.dungentales.entity.Space;
import com.eisenstudios.dungentales.weapon.Weapon;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellRenderer;
import java.awt.*;
import java.awt.event.ActionEvent;
impo... | true |
aa8e5afcdbb7a2a8354a5fec30d8c28e5282e2aa | Java | BackupTheBerlios/dataformer-svn | /tags/taggrammar-1.0/src/cz/dataformer/ast/statement/WhileStatement.java | UTF-8 | 732 | 2.8125 | 3 | [] | no_license | /*
* Created on 07/11/2006
*/
package cz.dataformer.ast.statement;
import cz.dataformer.ast.expression.Expression;
/**
* @author mtomcany
*/
public final class WhileStatement extends Statement {
public final Expression condition;
public final Statement body;
public WhileStatement(in... | true |
0248329f0f445e0924ea852d252542a9af840419 | Java | Harium/propan | /src/main/java/com/harium/propan/core/loader/VBOLoader.java | UTF-8 | 389 | 1.859375 | 2 | [] | no_license | package com.harium.propan.core.loader;
import com.harium.propan.core.model.Model;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
public interface VBOLoader {
String DEFAULT_GROUP_NAME = "default";
Model loadModel(URL url, String path) throws IOException;
Model loadModel(S... | true |
4e5da243e42d9fd95bca812a383c345c2567d384 | Java | ravesky/doctorWorkstation | /src/model/bean/User.java | UTF-8 | 1,463 | 2.296875 | 2 | [] | no_license | package model.bean;
import model.Model;
import java.io.Serializable;
public class User implements Serializable{
/**
* createdAt : 2017-11-07 13:50:16
* objectId : 16e90be8d0
* sessionToken : a8b4618f404de85d80ad9e1437f62aca
* updatedAt : 2018-01-04 16:19:55
* username : 123
*/
... | true |
6eb2f3809c5ef2bc3aa46794767af0ca2b69212f | Java | denis-riabchenko/algorithms | /src/main/java/com/riabchenko/algorithms/hackerrank/GiftBoxes.java | UTF-8 | 2,715 | 2.96875 | 3 | [] | no_license | package com.riabchenko.algorithms.hackerrank;
import org.junit.Test;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.math.BigInteger;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
import static com.google.common.truth.Truth.assertThat;
/*... | true |
df68032f1afc9453ddb3c96e32195ef3e750b1d0 | Java | seedzi/xiaomei_eclipse | /src/com/xiaomei/yanyu/widget/PopupDialog.java | UTF-8 | 930 | 2.109375 | 2 | [] | no_license | package com.xiaomei.yanyu.widget;
import com.xiaomei.yanyu.R;
import android.graphics.drawable.ColorDrawable;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.PopupWindow;
public class PopupDialog {
private PopupWindow mPopupWindow;
public void ini... | true |
a120f4bd9953b0de0b0620a4f3908d34b69dfc85 | Java | skalajan/udacity-android-developer-project3 | /app/src/main/java/com/udacity/stockhawk/ui/StockDetailActivity.java | UTF-8 | 7,984 | 2.28125 | 2 | [] | no_license | package com.udacity.stockhawk.ui;
import android.database.Cursor;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
import android.support.v4.content.Loader;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import com... | true |
ba2133b23dfeaa1eae54d110de52905a883aa5dc | Java | omarnakrish/seleniumprojectb22 | /src/test/java/com/cybertek/tests/utilities/BrowserUtils.java | UTF-8 | 250 | 2.171875 | 2 | [] | no_license | package com.cybertek.tests.utilities;
public class BrowserUtils {
public static void sleep(int second) throws InterruptedException {
second*=1000;
//1sec = 1000 milli seconds
//1
Thread.sleep(1000);
}
}
| true |
29ddbe2e4849927d25758c9c203582f73dd2e656 | Java | raeleus/Attack-of-the-Ferocious-Zebra | /core/src/com/ray3k/template/entities/DucklingEntity.java | UTF-8 | 7,780 | 2.1875 | 2 | [
"MIT"
] | permissive | package com.ray3k.template.entities;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.esotericsoftware.spine.*;
import com.ray3k.template.Core;
import com.ray3k.template.Utils;
import com.ray3k.template.screens.GameScreen;
public class Du... | true |
4fcab8f4b929183820f95df2ca6add13f58bb198 | Java | huwei2015/zay_1.6.0 | /app/src/main/java/com/example/administrator/zahbzayxy/activities/MySignUpActivity.java | UTF-8 | 8,318 | 1.890625 | 2 | [] | no_license | package com.example.administrator.zahbzayxy.activities;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import ... | true |
e3601e6ed48ee929ec2888ea270fc97ac6fb184a | Java | tq0818/schoolPC | /yuxin-school-api/src/main/java/com/yuxin/wx/api/student/IStudentFeeStageService.java | UTF-8 | 4,659 | 2.078125 | 2 | [] | no_license | package com.yuxin.wx.api.student;
import java.util.List;
import java.util.Map;
import com.yuxin.wx.model.student.StudentFeeStage;
import com.yuxin.wx.vo.fee.StagingTotalVo;
import com.yuxin.wx.vo.fee.StagingVo;
/**
* Service Interface:StudentFeeStage
* @author wang.zx
* @date 2014-12-5
*/
public inte... | true |
f9d82e18ceca34aa545b2dd3ce628f0614ec2aa0 | Java | mgurevin/z-stack | /landz.kernel.tests/src/z/offheap/zmalloc/perf/AllocatorBenchmarkTest1000B.java | UTF-8 | 1,902 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2013, Landz and its contributors. All rights reserved.
*
* 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
*... | true |
e75e85f83aff933be960c25590947fbdedcb8c97 | Java | akosiatph/TimeSkyBackground | /TimeSkyBackgroundView/src/main/java/me/sangs/time/sky/view/SkyTimeBackgroundView.java | UTF-8 | 20,647 | 1.703125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2017 MR.LEE_(LEE SANG HUN)(leeshoon1344@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | true |
3b2466c49a1801c94b80eaf7d646f71131deff3d | Java | hbsprout08/portfolio1_goonbooz | /GongBooz/src/main/java/com/gb/wn/main/DAO/MusicDAO.java | UTF-8 | 104 | 1.84375 | 2 | [] | no_license | package com.gb.wn.main.DAO;
public interface MusicDAO {
String findMusic(String selectedName);
}
| true |
2cdd3aabddac3537876b3c6ca44efcf62e37d82e | Java | demetoir/vagi | /backend/spring/src/main/java/demetoir/vagi/model/Guest/Guest.java | UTF-8 | 2,264 | 2.078125 | 2 | [] | no_license | package demetoir.vagi.model.Guest;
import demetoir.vagi.model.Emoji.Emoji;
import demetoir.vagi.model.Event.Event;
import demetoir.vagi.model.Like.Like;
import demetoir.vagi.model.Question.Question;
import demetoir.vagi.model.Vote.Vote;
import lombok.*;
import org.springframework.data.annotation.CreatedDate;
import or... | true |
ea3c43f591d69ceae92d14d59a95126a0cddaec3 | Java | MrJiajun/wendawebsite | /src/main/java/com/nwecoder/interceptor/LoginRequiredInterceptor.java | UTF-8 | 1,423 | 1.96875 | 2 | [] | no_license | package com.nwecoder.interceptor;
/**
* Created by Administrator on 2017/5/5 0005.
*/
import com.nwecoder.model.HostHolder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springfram... | true |
46cc115839c37ef63aec69a52cc380c4588535b0 | Java | howardhou/SpringCloud | /stream-hello/src/main/java/com/rongzi/streamhello/Input3Receiver.java | UTF-8 | 284 | 1.820313 | 2 | [] | no_license | package com.rongzi.streamhello;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;
public interface Input3Receiver {
String INPUT = "input3";
@Input(Input3Receiver.INPUT)
SubscribableChannel receive();
}
| true |
6e08574a2604ad21abc7041acbb4a483c53a08ed | Java | HuangHL92/ZHGBSYS | /src/com/insigma/siis/local/pagemodel/dataverify/ProblemDownServlet.java | GB18030 | 31,901 | 1.609375 | 2 | [] | no_license | package com.insigma.siis.local.pagemodel.dataverify;
import java.io.BufferedOutputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Ou... | true |
53e51bc138b8ba7a47f389131071fa62d3ad14b8 | Java | njustesen/broodwar-analysis | /src/domain/buildorder/BuildOrderCleaner.java | UTF-8 | 1,587 | 2.765625 | 3 | [] | no_license | package domain.buildorder;
import java.util.ArrayList;
import java.util.List;
import domain.cost.CostMap;
import analyser.Action;
import analyser.Action.ActionType;
public class BuildOrderCleaner {
private static final List<ActionType> utilities;
private static final int TIME_BLOCK = 2000;
static {
utilities ... | true |
ad45bed714453134645ad7e7a19e08635912554b | Java | APCVSRepo/sdl_android | /sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/OnCommand.java | UTF-8 | 3,682 | 2.265625 | 2 | [] | permissive | package com.smartdevicelink.proxy.rpc;
import android.support.annotation.NonNull;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCNotification;
import com.smartdevicelink.proxy.rpc.enums.TriggerSource;
import java.util.Hashtable;
/**
* This is called when a comm... | true |
863a8546324dcb306d2d168e48291b109bb739fd | Java | chuongnguyen-karrostech/MDMAPI | /mdmrest/src/main/java/com/MDMREST/entity/mdm/WifiType.java | UTF-8 | 284 | 2.125 | 2 | [] | no_license | package com.MDMREST.entity.mdm;
import java.util.List;
public class WifiType
{
private List<WifiData> data;
public WifiType() {
super();
}
public List<WifiData> getData() {
return data;
}
public void setData(List<WifiData> data) {
this.data = data;
}
} | true |
97c653586b4afd1cda0e75f5c5c08bd1f981ed21 | Java | tienit150198/JavaSwing | /Java_Advance/thu7_09.07/src/pro05/Word.java | UTF-8 | 1,064 | 3.515625 | 4 | [] | no_license | package pro05;
import java.util.Scanner;
public class Word {
static Scanner scn = new Scanner(System.in);
String englishWord, vietnamWord;
public Word() {
super();
// TODO Auto-generated constructor stub
}
public Word(String englishWord, String vietnamWord) {
super();
this.englishWord = englishWord;
... | true |
e4415f24d2344c871a14e488e3ac3a9ee1ad2c11 | Java | AnthonyFisi/AppStore | /app/src/main/java/com/mimiperla/empresayego/Repository/Modelo/Gson/Empresa_historialGson.java | UTF-8 | 641 | 1.953125 | 2 | [] | no_license | package com.mimiperla.empresayego.Repository.Modelo.Gson;
import java.util.List;
import com.mimiperla.empresayego.Repository.Modelo.Empresa_historial;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Empresa_historialGson {
@SerializedName("listaEmpresaHist... | true |
86d8191bb8603b684e7ffe8aa40e824d1a5d89c9 | Java | Makus1803/organizer | /src/main/java/com/organizer/domain/common/security/PasswordEncryptorDelegate.java | UTF-8 | 585 | 2.421875 | 2 | [] | no_license | package com.organizer.domain.common.security;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
import javax.transaction.Transactional;
@Component
public class PasswordEncryptorDelegate implements PasswordEncryptor {
private PasswordEncoder pas... | true |
b07fcffcfd3fd110d74f07d8f74e3227f3d098a2 | Java | brandonong66/APCS | /Lesson A10/Lab A10.1/StringUtil1.java | UTF-8 | 3,100 | 3.6875 | 4 | [] | no_license | /**
*
* Last name: Ong
* First name: Brand0n
* Student ID: 12105776
* Period: 3
*
*/
/** Class that has various utility methods f0r strings
*/
public class StringUtil1
{ //Declare instance variables here
private static String f0rmatted;
private static String tempStr;
/**
* Reverses the string inputted
... | true |
2646a3a10f9bbdd89bd73dd59b3ce0659856818d | Java | HausemasterIssue/novoline | /src/net/shadersmod/client/ShaderUniformInt.java | UTF-8 | 776 | 2.03125 | 2 | [
"Unlicense"
] | permissive | package net.shadersmod.client;
import net.shadersmod.client.ShaderOption;
import net.shadersmod.client.ShaderUniformBase;
import net.shadersmod.client.Shaders;
import org.lwjgl.opengl.ARBShaderObjects;
public class ShaderUniformInt extends ShaderUniformBase {
private int value = -1;
public ShaderUniformInt(Str... | true |