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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
fa170ea4245eb7174f31a53f3d947f194dc714fe | Java | gohv/ScoreCard | /app/src/main/java/xyz/georgihristov/scorecard/Holes.java | UTF-8 | 565 | 2.640625 | 3 | [] | no_license | package xyz.georgihristov.scorecard;
/**
* Created by gohv on 05.12.16.
*/
public class Holes {
private String hole;
private int pointCount;
public Holes(String hole, int pointCount) {
this.hole = hole;
this.pointCount = pointCount;
}
public String getHole() {
return h... | true |
85400a6fbec6c453b304fd6a73ac085b68a531b8 | Java | glaubercunha/transf_sched | /src/test/java/br/com/gc/transfsched/infrastructure/repository/TransferRepositoryTest.java | UTF-8 | 1,750 | 2.359375 | 2 | [] | no_license | package br.com.gc.transfsched.infrastructure.repository;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autow... | true |
e202a6eed5667dec52a452156e50ead178babe79 | Java | yangyu2320/potchr | /data/src/main/java/com/potchr/data/ccode/service/impl/CustomerImportServiceImpl.java | UTF-8 | 7,338 | 2.15625 | 2 | [] | no_license | package com.potchr.data.ccode.service.impl;
import com.potchr.data.ccode.entity.ImportedCustomer;
import com.potchr.data.ccode.repository.CustomerRepository;
import com.potchr.data.ccode.service.CustomerImportService;
import com.potchr.util.StringByteUtil;
import org.apache.commons.lang.StringUtils;
import org.apache.... | true |
066fc7025d4d8d92df78d4baca951dcf63451727 | Java | aliyun/aliyun-openapi-java-sdk | /aliyun-java-sdk-vcs/src/main/java/com/aliyuncs/vcs/model/v20200515/ListCorpsResponse.java | UTF-8 | 4,929 | 1.695313 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 agreed to in writing, software
* distributed u... | true |
16bfad04ce452a6a18c048d69111daf0d1da7908 | Java | AliSmili/ListaJava | /ALI_SieteYmedio/src/models/Carta.java | UTF-8 | 1,106 | 3.125 | 3 | [] | no_license | package models;
public class Carta {
private String numero;
private String palo;
//Constructor
public Carta (String numero , String palo){
this.numero = numero;
this.palo = palo;
}
@Override
public String toString(){
return numero + " de " + palo;
}
... | true |
43bf13d4eb45607537549abe03a4158ff4a67734 | Java | wenbeir/coursework_1 | /src/test/java/Dec2HexTest.java | UTF-8 | 461 | 2.40625 | 2 | [] | no_license | import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class Dec2HexTest {
@Test
public void test1(){
final String[] args = new String[]{"14"};
Dec2Hex.main(args);
assertEquals("E", Dec2Hex.hexadecimal);
}
@Test
public void t... | true |
02d4e12ba7186e5d6e69ed32727cb8cfbb545e6c | Java | sunyuhan1998/MyGame | /src/com/sunyuhan/pojo/GameExample.java | UTF-8 | 27,383 | 2.25 | 2 | [] | no_license | package com.sunyuhan.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class GameExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public GameExample() {
oredCriteria = new ArrayList<Criteria>();... | true |
98dd46fffffe6b9918c580f1c981cc193065bb07 | Java | newrishman/LibrarySB | /src/main/java/ru/newrishman/library/service/BookServiceImpl.java | UTF-8 | 1,438 | 2.390625 | 2 | [] | no_license | package ru.newrishman.library.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.newrishman.library.domain.Book;
import ru.newrishman.library.repository.BookRepository;
import java.util.List;
@Service
public class BookServiceImpl implement... | true |
f0f9f0ae0576f2b3e2e0921088f4e77b71119fb0 | Java | yexingf/cxcar | /shop/com/enation/app/shop/component/product/plugin/store/GenericGoodsStorePlugin.java | UTF-8 | 18,289 | 1.867188 | 2 | [] | no_license | package com.enation.app.shop.component.product.plugin.store;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Tra... | true |
9fae458d895697df901b0cf32ab9da6c90de36b6 | Java | coco8864/coco-queuelet | /queuelet-system/src/main/java/naru/queuelet/typed/ASyncWriteQueuelet.java | UTF-8 | 999 | 2.328125 | 2 | [] | no_license | package naru.queuelet.typed;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.Channel;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SocketChannel;
import java.util.Map;
import naru.queuelet.Queuelet;
import naru.queuelet.QueueletContext;
public clas... | true |
63f16b2488f8b00cbee70316a7898363e8d42a81 | Java | czuluagah/xmen-dna-analyzer | /adn-sentinel/src/main/java/com/xmen/dnasentinel/services/impl/DNASentinelServiceImpl.java | UTF-8 | 1,352 | 2.296875 | 2 | [] | no_license | package com.xmen.dnasentinel.services.impl;
import org.springframework.stereotype.Service;
import com.xmen.dnasentinel.model.AnalysisResult;
import com.xmen.dnasentinel.model.DNAAnalysisStats;
import com.xmen.dnasentinel.model.DNASequence;
import com.xmen.dnasentinel.services.DNAAnalysisStorageService;
import com.xme... | true |
10695de98f070623cf603651685ff9552f3ab52f | Java | Meuris/MobieleApps3 | /app/src/main/java/com/example/projectsmobieleapps/restaurantapp/MainActivity.java | UTF-8 | 5,129 | 1.875 | 2 | [] | no_license | package com.example.projectsmobieleapps.restaurantapp;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.location.Location;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android... | true |
e97d43c79766b803abf2c5e67bfb356bf783622b | Java | HuAnPQ/patrones-diseno-cf | /src/solid/Presentacion.java | UTF-8 | 129 | 2.3125 | 2 | [] | no_license | package solid;
public class Presentacion {
public void imprimir(IFigura figura) {
System.out.println(figura.area());
}
}
| true |
c7415083da2e1c23f0c51c171b0855a5e789ba06 | Java | anihacc/CraftStudioAPI | /src/main/java/com/leviathanstudio/craftstudio/client/json/CSJsonReader.java | UTF-8 | 13,049 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.leviathanstudio.craftstudio.client.json;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.util.Map.Entry;
import javax.vecmath.Vector3f;
import org.apache.commons.io.Charsets;
import com.google.gson.JsonArray;
import com.google.gson.JsonE... | true |
5c3e0fc32fe860da1f2d02782d232063246aa4a4 | Java | 18668197127/ZhailuQB | /app/src/main/java/com/mouqu/zhailu/zhailu/ui/adapter/AllorderRecyclerviewAdapter.java | UTF-8 | 24,876 | 1.765625 | 2 | [] | no_license | package com.mouqu.zhailu.zhailu.ui.adapter;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseMultiItemQuickAdapter;
import com.chad.... | true |
0420cb37985bc8c5e4852d7fba62e2b68f1cedbf | Java | appirio-tech/direct-app | /components/scorecard_management/src/java/tests/com/topcoder/management/scorecard/persistence/stresstests/StressTestHelper.java | UTF-8 | 2,882 | 2.21875 | 2 | [] | no_license | /*
* Copyright (C) 2006 TopCoder Inc., All Rights Reserved.
*
* TestHelper.java
*/
package com.topcoder.management.scorecard.persistence.stresstests;
import java.io.BufferedReader;
import java.io.FileReader;
import java.sql.Connection;
import java.sql.Statement;
import java.util.Iterator;
import com.topcoder.util... | true |
a9b5b6688327906b158c130f81e5d4f1d0dc68ad | Java | marouen05/gitfinal | /PIDev/src/edu/esprit/tests/TestAnimalPerdu.java | UTF-8 | 1,457 | 2.640625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.esprit.tests;
import edu.esprit.DAO.AnimalPerduDAO;
import edu.esprit.entities.AnimalPerdu;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
*
* @author Melek
*/
public ... | true |
d99b2f1d7c84bb96c93ddc65639a8ecefb9a31b7 | Java | session-kniP/logical_expression_parser | /src/com/sessionknip/parser/names/NamesToken.java | UTF-8 | 407 | 2.59375 | 3 | [] | no_license | package com.sessionknip.parser.names;
import com.sessionknip.parser.TokenType;
public class NamesToken {
private final TokenType type;
private final String name;
public NamesToken(TokenType type, String name) {
this.type = type;
this.name = name;
}
public TokenType getType() {
... | true |
c9707805c88e4da9fe30de5f81a9392785963124 | Java | Jeronimo-MZ/URI | /java/URI1099.java | UTF-8 | 675 | 3.25 | 3 | [] | no_license | import java.util.Scanner;
public class URI1099 {
public static void main(String args[]) {
Scanner teclado = new Scanner(System.in);
int N ,x, y, temp,soma;
N = teclado.nextInt();
for (int i = 0; i < N; i++){
x = teclado.nextInt();
y = teclado.nextInt();
... | true |
9c6cd65dc60d24323e67222ebd7891ef6cbee44a | Java | daniel-kevin/Kumpulan-Game-Arcade | /Kumpulan_game_arcade/src/Tetris/GameThread.java | UTF-8 | 4,694 | 2.796875 | 3 | [] | no_license | package Tetris;
import GameObject.AudioPlayer;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Date;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
public class GameThread extends... | true |
a5cdd7bc236c445fbc1a7a644954351460547bda | Java | java110/MicroCommunity | /service-api/src/main/java/com/java110/api/smo/msg/IListMsgSMO.java | UTF-8 | 319 | 1.765625 | 2 | [
"Apache-2.0"
] | permissive | package com.java110.api.smo.msg;
import com.java110.core.context.IPageData;
import org.springframework.http.ResponseEntity;
/**
* 查询 消息
*/
public interface IListMsgSMO {
/**
* 查询消息
* @param pd 上下文对象
* @return
*/
ResponseEntity<String> listMsg(IPageData pd);
}
| true |
e3b4c0d507418355dc7f54cfffdbed4bbc8a0df1 | Java | fis2021/Rezervare_cabana | /src/main/java/org/loose/fis/sre/services/AdService.java | UTF-8 | 2,156 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | package org.loose.fis.sre.services;
import org.dizitart.no2.Nitrite;
import org.dizitart.no2.objects.Cursor;
import org.dizitart.no2.objects.ObjectRepository;
import org.dizitart.no2.objects.filters.ObjectFilters;
import org.loose.fis.sre.exceptions.AdAlreadyExistsException;
import org.loose.fis.sre.model.Ad;
import j... | true |
9e12ea26e83442148a43045cd7b5842b073cc83d | Java | fizzed/blaze | /blaze-core/src/main/java/com/fizzed/blaze/util/Streamables.java | UTF-8 | 8,975 | 2.296875 | 2 | [] | no_license | /*
* Copyright 2015 Fizzed, Inc.
*
* 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 agreed t... | true |
dcb7caf23eeff037e6790658186cd141b9f6a1ec | Java | ajit-cs/Spring-Training | /BasicDemo/src/main/java/com/cs/demo/Engine.java | UTF-8 | 105 | 1.742188 | 2 | [] | no_license | package com.cs.demo;
public class Engine {
public void start()
{
System.out.println("start");
}
}
| true |
394d44177c4c8767f85729906cec044ba9a19ec6 | Java | mpaesen/ProgrammerenMetJava | /immobiliën/src/model/TypeWoning.java | UTF-8 | 1,038 | 3.046875 | 3 | [] | no_license | package model;
public enum TypeWoning {
VILLA("Villa"), LOFT("Loft"), APPARTEMENT("Appartement"), STUDIO("Studio"), HUIS("Huis");
private String type;
TypeWoning(String type) {
this.type = type;
}
public static TypeWoning getTypeKamer(String type) {
switch (type) {
cas... | true |
2147620635ba9909134b06c4df00623ab32915b1 | Java | SergeyChubarov/ATM | /src/main/java/com/ATM/serivce/OperationService.java | UTF-8 | 216 | 1.898438 | 2 | [] | no_license | package com.ATM.serivce;
import com.ATM.domain.Operation;
public interface OperationService {
void saveBalanceOperation(String cardNumber, String code);
void saveWithdrawOperation(Operation operation);
}
| true |
5ee466ef52868a991fa998a177c2f0a95c4ec808 | Java | 2015-Human-Beens/Tiles | /src/tiles/TileEnvironment.java | UTF-8 | 1,196 | 2.8125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tiles;
import environment.Environment;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java... | true |
1927eb415785928125b3ef44a405048113ca5d8e | Java | leolimajr/currency-converter | /src/test/java/com/leolimajr/sample/service/CurrencyConverterServiceTest.java | UTF-8 | 861 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive |
package com.leolimajr.sample.service;
import java.math.BigDecimal;
import com.leolimajr.sample.service.exception.CannotGetExchangeRateException;
import org.junit.Test;
import org.mockito.Mockito;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
/**
* @author Leo Lima
*... | true |
6764a42e97910337e3c33f4825e833745e1bcc05 | Java | acurat/keycloak-token-generator | /token-generator-service/src/main/java/org/acurat/tokens/keycloak/TokenGeneratorServiceApplication.java | UTF-8 | 1,759 | 1.773438 | 2 | [] | no_license | package org.acurat.tokens.keycloak;
import lombok.extern.slf4j.Slf4j;
import org.acurat.tokens.keycloak.model.KeycloakProperties;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
im... | true |
25730f8eaeedb55fc39bc6a1bf9bfcb4ff16d0a9 | Java | CrazyStoneJy/DataStructureSummary | /code/java/src/me/crazystone/study/common/Node.java | UTF-8 | 442 | 2.8125 | 3 | [] | no_license | package me.crazystone.study.common;
/**
* Created by crazystone on 17-2-14.
*/
public class Node {
public String name;
public Node next;
public int value;
// public Node(String name) {
// this.name = name;
// }
public Node(String name, int value) {
this.name = name;
th... | true |
1e007f24612f7351a7b33a5a3b8fa51cafec2556 | Java | TanLeYang/ip | /src/main/java/duke/storage/DukeState.java | UTF-8 | 707 | 2.75 | 3 | [] | no_license | package duke.storage;
import duke.task.TaskList;
/**
* Represents the state of the Duke app at a point of time
*/
public class DukeState {
private TaskList taskList;
private Storage storage;
/**
* Constructs a new DukeState with the given TaskList and Storage
*
* @param taskList TaskLis... | true |
6f23648b3f0ae490f5de2cf9213edf91547331c2 | Java | denmob/2020-05-otus-spring-Emelyanov-home-work | /hw07-spring-data-jpa/src/main/java/ru/otus/hw07/core/repositories/CommentRepository.java | UTF-8 | 288 | 1.867188 | 2 | [] | no_license | package ru.otus.hw07.core.repositories;
import org.springframework.data.repository.CrudRepository;
import ru.otus.hw07.core.models.Comment;
import java.util.List;
public interface CommentRepository extends CrudRepository<Comment,Long> {
List<Comment> getAllByBookId(long bookId);
}
| true |
31b8f9afd507dcb46a2806b49876304a6bdd3f4e | Java | thiagofalmeida/choosewisely | /app/src/main/java/com/tfalmd/theroadsofar/finale/choosewisely/model/Hero.java | UTF-8 | 926 | 2.703125 | 3 | [] | no_license | package com.tfalmd.theroadsofar.finale.choosewisely.model;
/**
* Created by tfalmd on 24/06/15.
*/
public class Hero {
private String name;
private int id;
private int hasId;
public Hero(int id, String name, int hasId) {
this.id = id;
this.name = name;
this.hasId = hasId;
... | true |
933baf84c024eee12f262b6f2705a0e732cb563d | Java | RogerFang/spring-boot-data-access-demo | /src/main/java/com/roger/support/jpa/filter/CSearchFilter.java | UTF-8 | 389 | 2.296875 | 2 | [] | no_license | package com.roger.support.jpa.filter;
public class CSearchFilter {
public enum COperator {
EQ, LIKE, GT, LT, GTE, LTE, NEQ, NOTNULL, NOTEMPTY
}
public String fieldName;
public Object value;
public COperator operator;
public CSearchFilter(String fieldName, COperator operator, Object value) {
this.fieldName... | true |
541fff617a53738c8284bee5733401376e9569eb | Java | imadcn/imadcn-framework | /imadcn-framework-test/src/main/java/com/imadcn/test/lock/RedisLockTest.java | UTF-8 | 6,208 | 2.375 | 2 | [] | no_license | package com.imadcn.test.lock;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.scheduling.conc... | true |
8d865187e1513186a281081eebc7ecab476c5e54 | Java | luist23/TSC_Desafio_mef3D | /src/com/luist23/mef3d/scenes/pasos/ScenePaso3.java | UTF-8 | 9,634 | 2.390625 | 2 | [] | no_license | package com.luist23.mef3d.scenes.pasos;
import javafx.stage.Stage;
import com.luist23.mef3d.scenes.numeracion.TypeScene;
import com.luist23.mef3d.scenes.model.SceneModel;
import com.luist23.mef3d.utils.FormulasUtil;
import java.util.ArrayList;
public class ScenePaso3 extends SceneModel {
public void inicializar(... | true |
e0b3e199a722d22547ad24807bf7c87b81a317cd | Java | beercan1989/eve-pos-mad | /src/EvePosMad/EvePosMad_AboutBox.java | UTF-8 | 8,365 | 2.09375 | 2 | [] | no_license | package eveposmad;
import java.awt.Desktop;
import java.net.URI;
import org.jdesktop.application.Action;
public class EvePosMad_AboutBox extends javax.swing.JDialog
{
public EvePosMad_AboutBox(java.awt.Frame parent)
{
super(parent);
initComponents();
getRootPane().setDefaultButton(closeB... | true |
6891faa9374731324ef9a3070427413b560f825a | Java | pecsi/vertx-springboot-realworld-example-app | /src/main/java/com/example/realworld/RealworldApplication.java | UTF-8 | 958 | 2 | 2 | [] | no_license | package com.example.realworld;
import com.example.realworld.infrastructure.vertx.configuration.VertxConfiguration;
import com.example.realworld.infrastructure.vertx.verticle.HttpVerticle;
import io.vertx.reactivex.core.Vertx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boo... | true |
48a423a818aa094161d0cf71415b52816b4484ea | Java | ivangreve/Progra-Avanzlada | /2016-1ºCuatri/GuiaEjercicios/src/unidad3Ej11/BaseA.java | UTF-8 | 94 | 2.125 | 2 | [] | no_license | package unidad3Ej11;
class BaseA{
void mostrar() {
System.out.println("clase BaseA");
}
}
| true |
e364cc0a100487090490b34f6b2442e23baaa288 | Java | LingWu0/GreenDaoDemo | /app/src/main/java/com/example/xxsj/greendaodemo/MyDaoHelper.java | UTF-8 | 1,979 | 2.3125 | 2 | [] | no_license | package com.example.xxsj.greendaodemo;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.text.TextUtils;
import org.greenrobot.greendao.query.QueryBuilder;
import java.util.List;
import bean.UserBean;
import dao.DaoMaster;
import dao.DaoSession;
import dao.UserBeanDao;
/... | true |
b85935dc9a811d589680cd5a05828bca332e9b30 | Java | thevarungupta1/java-hibernate-demo | /src/main/java/com/thevarungupta/ProjectHibernate/ReadEmployee.java | UTF-8 | 776 | 2.359375 | 2 | [] | no_license | package com.thevarungupta.ProjectHibernate;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class ReadEmployee {
public static void main(String[] args) {
Configuration cfg = new Configuration();
cfg.configure("hibernate.cfg.xml");
... | true |
0591999c1990de82ff3daa327f29ecba018d5c53 | Java | goviksyn/exchange | /src/main/java/com/grasshopper/exchange/order/OrderBook.java | UTF-8 | 5,410 | 2.578125 | 3 | [] | no_license | package com.grasshopper.exchange.order;
import com.grasshopper.exchange.common.Side;
import com.grasshopper.exchange.publisher.BBOPublisher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.... | true |
b1f074cd167dbadb4503cc37c57b7380b4a41266 | Java | rashadulrakib/RelatednessAndApplication | /relatedness/src/main/java/dal/relatedness/phrase/bigram/BigramGeneratorFromFourGramContext.java | UTF-8 | 5,946 | 2.34375 | 2 | [] | no_license | package dal.relatedness.phrase.bigram;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.Date;
import java.util.Map;
import java.util.TreeSet;
import dal.relatedness.phrase.constants.PhraseDirectories;
import dal.r... | true |
6f5960872a3f49875ac712711cb3d817c70c9ab4 | Java | tagaibek/java-practice | /src/exams/exam0826_2/Flowers.java | UTF-8 | 710 | 3.0625 | 3 | [] | no_license | package exams.exam0826_2;
import acmp.utils.AdylUtils;
import java.io.IOException;
import java.util.Arrays;
/**
* Created by Human on 26.08.2017.
*/
public class Flowers {
public static void main(String[] args) throws IOException {
int number = AdylUtils.readInt();
String[] flowers = {"G","C","... | true |
593466bb4b7e061757493238262c76e977a39cb8 | Java | PriyaMuthaiya/SeleniumAug2021 | /Project/MyntraProject.java | UTF-8 | 3,539 | 2.515625 | 3 | [] | no_license | package week4.day2;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.We... | true |
459969bb232e905bcf5453a12e122c3f16f43fbe | Java | antoprise/JDBC-Practice | /JDBC/src/controller/EmployeeController.java | UTF-8 | 8,077 | 3.015625 | 3 | [] | no_license | /*
* To change this license header, choose License Headeresult in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
import db.ConnectionManager;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLExcepti... | true |
cebfe506aa95b93b186d71b613a89d530240f250 | Java | SunnyGarg/visit-count-writer | /tokopedia-visit-writer-commons/src/main/java/com/utils/CommonUtils.java | UTF-8 | 258 | 2.296875 | 2 | [] | no_license | package com.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
public class CommonUtils {
public static String convertDateToYearAndMonth(Date date) {
return new SimpleDateFormat(Constants.SIMPLE_DATE_FORMAT).format(date);
}
}
| true |
df487e306207294ff90751c0f3d06997aaa98de5 | Java | MachintJavaTeam/project | /project-main/demoSpring/src/main/java/com/example/demo/Services/EmployeeService.java | UTF-8 | 774 | 2.015625 | 2 | [] | no_license | package com.example.demo.Services;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.demo.Dao.EmployeeDao;
import com.example.demo.Entity.Employee;
import com.example.demo.Entity... | true |
b73cce2ba4c9c7e351435b15f87bbc8ccbd6e001 | Java | chandranlishanth/project1 | /EMS/src/com/flp/ems/dao/EmployeeDaoImplForList.java | UTF-8 | 570 | 2.375 | 2 | [] | no_license | package com.flp.ems.dao;
import java.util.ArrayList;
import com.flp.ems.domain.Employee;
interface IemployeeDao
{
void AddEmployee(Employee e);
void ModifyEmployee();
void RemoveEmployee();
void SearchEmployee();
void getAllEmployee();
}
public class EmployeeDaoImplForList implements IemployeeDao
{
ArrayL... | true |
c79103d3bd5aab94ebb36320071839e198583615 | Java | TheOnlyWish/APPS | /云端笔记app/客户端/云端笔记/src/com/king/loadnote/fragment/content/impl/MenuFragment.java | GB18030 | 8,247 | 1.914063 | 2 | [] | no_license | package com.king.loadnote.fragment.content.impl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.os.Handler;
import android.view.View;
import android.view.View.OnClickListener;
import... | true |
f4d06b5ac912e056238dc8a43ecd0700efdc5b53 | Java | JasonChong96/Mugger | /app/src/main/java/com/bojio/mugger/listings/fragments/CustomFilterListingsFragments.java | UTF-8 | 9,639 | 1.757813 | 2 | [] | no_license | package com.bojio.mugger.listings.fragments;
import android.app.DatePickerDialog;
import android.arch.lifecycle.ViewModelProviders;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.chip.Chip;
import android.support.design.chi... | true |
440b7e4b9fdde1efb5832278ff954f3a7d369fe7 | Java | amirrooholamini/Shohada | /app/src/main/java/activities/ActivityMartyr.java | UTF-8 | 7,325 | 1.882813 | 2 | [] | no_license | package activities;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.view.animation.Animation;
impo... | true |
2645d03f02c69c084b07e3b4e1ca9f2f2b5e9c7d | Java | GuillaumeDerval/JavaGrading | /src/test/java/RunTests.java | UTF-8 | 357 | 1.710938 | 2 | [] | no_license | import com.github.guillaumederval.javagrading.GradingListener;
import org.junit.runner.JUnitCore;
public class RunTests {
public static void main(String args[]) {
JUnitCore runner = new JUnitCore();
runner.addListener(new GradingListener(false));
runner.run(StdTests.class, ParametersTests.... | true |
2569c7098edea99e605de4e78defa8b50e720c00 | Java | ujjwalchk-it/Assessment-Lab-ImageDownload | /assessment/src/main/java/com/ujjwal/test/lab/assessment/Executor.java | UTF-8 | 2,624 | 3.375 | 3 | [] | no_license | /**@author Ujjwal Chakraborty : ujjwalchk@yahoo.co.in
* @Date 11/08/2019 , Bangalore
*/
package com.ujjwal.test.lab.assessment;
import java.util.InputMismatchException;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Scanner;
/**
*
*
* This is the main Executor class that c... | true |
6ef87ceba97dcf4bfdc1b66810c4026573330f7e | Java | rajakumarjha/CURD-Demo-New | /Crud-Operations-DemoNew/src/main/java/inmemorycrudoperationspacagedemoAppNew/MemberController.java | UTF-8 | 1,894 | 2.390625 | 2 | [] | no_license | package inmemorycrudoperationspacagedemoAppNew;
import java.util.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping... | true |
d519d343671d8aa21df58ee1b3f0cece2b266bf0 | Java | wjp236/netty-server | /src/main/java/com/tumbleweed/netty/core/util/StringUtils.java | UTF-8 | 4,213 | 2.59375 | 3 | [] | no_license | package com.tumbleweed.netty.core.util;
import com.tumbleweed.netty.core.constants.ConstantsBase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final class StringUtils {
private stat... | true |
bfe9e65cf25818f0e15f2eb85f87a660c09cbb23 | Java | holyhope/algo4 | /sources/fr/upem/pperonne/caterer/GraphFlow.java | ISO-8859-1 | 9,938 | 3.0625 | 3 | [] | no_license | package fr.upem.pperonne.caterer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.function.BiConsumer;
/**
* classe pour les graphe de ... | true |
bc3797458be4ca549471061b863a2619f0bb04fb | Java | BastianBueeler/Kassensystem-Modul-120 | /ProjektM120/src/applicationView/View3Controller.java | UTF-8 | 3,396 | 2.375 | 2 | [] | no_license | package applicationView;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Butto... | true |
de8bfcd8907c3de23e973df433b7ae7d9263f428 | Java | k-short/CSC-640-Project | /src/EventScheduleManagement.java | UTF-8 | 1,678 | 3.1875 | 3 | [] | no_license | import java.util.ArrayList;
/**
* Created by ken12_000 on 10/10/2016.
*/
public class EventScheduleManagement {
ArrayList<TeamEvent> eventList;
EventAccess eventAccess;
/**
* Constructor that creates the EventAccess object and retrieves event list from it.
*/
public EventScheduleManagement... | true |
f5097f1f0b13f031c55f4f77cd3dead55ad672b1 | Java | zhaohg/AtomikosJta | /src/main/java/com/zhaohg/web/JtaTestContoller.java | UTF-8 | 1,019 | 1.992188 | 2 | [] | no_license | package com.zhaohg.web;
import com.zhaohg.service3.JtaTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.s... | true |
7b4410bd9750089ba26ee3e7c1d54c372f7e26f3 | Java | kripesh123/sales-app-backend | /src/main/java/com/kripesh/salesapp/controller/ItemController.java | UTF-8 | 3,007 | 2.34375 | 2 | [] | no_license | package com.kripesh.salesapp.controller;
import static com.kripesh.salesapp.controller.utils.ApiConstant.ACTION_CHECK_ITEMS;
import static com.kripesh.salesapp.controller.utils.ApiConstant.API_VER;
import static com.kripesh.salesapp.controller.utils.ApiConstant.ITEM_PATH;
import java.util.ArrayList;
import java.util.... | true |
da36ae0de327b6f70d5dbe89a8a74400a3ddc354 | Java | lesan1995/BTSManagement | /app/src/main/java/com/example/lequa/btsmanagement/ui/nhatram/NhaTramViewModel.java | UTF-8 | 4,526 | 1.96875 | 2 | [] | no_license | package com.example.lequa.btsmanagement.ui.nhatram;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.Transformations;
import android.arch.lifecycle.ViewModel;
import com.example.lequa.btsmanagement.model.NhaMang;
import com.example.lequa.btsmanagement... | true |
e4b57d28b3bf6cc2f11fcbd3fab5e97143df81f4 | Java | ktzhang/ExampleWork | /PlaceItFinal - Android App/src/edu/ucsd/placeit/fragment/NewLocationPlaceIt.java | UTF-8 | 6,412 | 2.015625 | 2 | [] | no_license | package edu.ucsd.placeit.fragment;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.HashMap;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import... | true |
6f2409473be60a2eccc8633b22bcf687cd44f9f6 | Java | madmaw/iassetlab | /iassetlab-core/src/main/java/com/iassetlab/core/data/FileDataPath.java | UTF-8 | 1,227 | 2.8125 | 3 | [] | no_license | package com.iassetlab.core.data;
import com.iassetlab.core.DataPath;
import java.io.*;
/**
* Created with IntelliJ IDEA.
* User: chris
* Date: 5/03/13
* Time: 4:51 PM
* To change this template use File | Settings | File Templates.
*/
public class FileDataPath implements DataPath {
private File file;
... | true |
c7a68d12776ea2fd25763a7cfc11a43b5260894a | Java | Jesse0810/Project | /src/com/njwangbo/service/netdisk/impl/NetDiskServiceImpl.java | UTF-8 | 1,684 | 2.046875 | 2 | [] | no_license | package com.njwangbo.service.netdisk.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.njwangbo.mapper.netdisk.NetDiskMapper;
import com.njwangbo.pojo.n... | true |
65d44224460e113f74f21b4b29718175449063bf | Java | moutainhigh/xybbc-mall-service | /mallpc-service/src/main/java/com/xingyun/bbc/mallpc/common/exception/MallPcExceptionCode.java | UTF-8 | 12,013 | 2.34375 | 2 | [] | no_license | package com.xingyun.bbc.mallpc.common.exception;
import com.xingyun.bbc.core.enums.IResultStatus;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
/**
* 运营中台错误码
*
* @author penglu
* @version 1.0.0
* @date 2019-08-18
* @copyright 本内容仅限于浙江云贸科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
*/
@Getter
@... | true |
2ea2613c0695d7b3fe3258d1e66f7b712692d64b | Java | BSPQ18-19/BSPQ19-S4 | /src/test/java/servidor/es/deusto/spq/jdo/JDOTest.java | UTF-8 | 5,155 | 2.28125 | 2 | [] | no_license | package servidor.es.deusto.spq.jdo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.rmi.RemoteException;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;
import ... | true |
1325aee9b1bf5aee19e596d29db4d27de4a5bd18 | Java | hagneva1/esup-sgc-client | /src/main/java/org/esupportail/esupsgcclient/ui/FileLocalStorage.java | UTF-8 | 3,612 | 2.578125 | 3 | [
"Apache-2.0"
] | permissive | package org.esupportail.esupsgcclient.ui;
import java.io.EOFException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.... | true |
5d61ac229acf2bf2ac24c761288768428e6cf785 | Java | diab2013/CEGEP-Projects | /Semester3 - 2017/Tentacule mauve, la contre-attaque/TP2/src/ca/qc/bdeb/info3/tp2/Main.java | UTF-8 | 523 | 2.390625 | 2 | [] | no_license | package ca.qc.bdeb.info3.tp2;
import ca.qc.bdeb.info3.tp2.controleur.Controleur;
import javax.swing.UIManager;
/**
* Classe Main du programme.
*
* @author Vlad Drelciuc et Diab Khanafer
*/
public class Main {
/**
* Méthode Main du programme.
*
* @param args
*/
public static void main(... | true |
7628a0cb15181d8de709ec0166b76d54fc85d0f1 | Java | msucil/midpoint | /provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/Slf4jConnectorLogger.java | UTF-8 | 3,095 | 1.945313 | 2 | [
"Apache-2.0",
"GPL-1.0-or-later",
"MPL-2.0",
"EPL-1.0",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"CDDL-1.0",
"MIT"
] | permissive | /*
* Copyright (c) 2010-2013 Evolveum
*
* 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 la... | true |
68251bd4c89d5a8f884babbb7cb6db595f94bc02 | Java | Nullify404/Travy | /app/src/main/java/com/nullify/travi/ChatroomGroupAdapter.java | UTF-8 | 5,770 | 1.96875 | 2 | [
"MIT"
] | permissive | package com.nullify.travi;
import android.app.Activity;
import android.graphics.Bitmap;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.v4.graphics.drawable.RoundedBitmapDrawable;
import android.support.v4.graphics.drawable.RoundedBitmapDrawableFactory;
import android.view.Lay... | true |
089b7523e531ce5583d2243d11fc95de33b821f2 | Java | PrestigePvP/RankCapes | /bukkit/src/main/java/com/jadarstudios/rankcapes/bukkit/RankCapesBukkit.java | UTF-8 | 10,475 | 2.0625 | 2 | [
"MIT"
] | permissive | /**
* RankCapes Bukkit Plugin
*
* Copyright (c) 2013 Jacob Rhoda.
* Released under the MIT license
* http://github.com/jadar/RankCapes/blob/master/LICENSE
*/
package com.jadarstudios.rankcapes.bukkit;
import com.jadarstudios.rankcapes.bukkit.CapePackValidator.InvalidCapePackException;
import com.jada... | true |
ebf6acd8551bc4516bfb8e710dd78eeb69a41be9 | Java | arvindhmk/basicsSelenium | /src/Javaprograms/Leastfreqeleminarray.java | UTF-8 | 1,060 | 3.5625 | 4 | [] | no_license | package Javaprograms;
//Java program to find the least frequent element
//in an array
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
public class Leastfreqeleminarray {
static int leastFrequent(int arr[],int n)
{
// Insert all elements in hash.
Map<Integer,Integer> cou... | true |
de72f13c65ca468ba93ded85d4594bdc9b4e910c | Java | bilalsheikh1/EventVenues.pk | /src/com/easybooking/model/Marquee.java | UTF-8 | 5,618 | 1.9375 | 2 | [] | no_license | package com.easybooking.model;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Gene... | true |
4811bbb644118afa158dc3282f141e473f92a7f1 | Java | harishk97/udemy-java-developer-course-coding-solutions | /teennumberchecker.java | UTF-8 | 605 | 3.65625 | 4 | [] | no_license | package com.company.learning;
public class teennumberchecker {
public static void main(String[] args) {
boolean out=hasTeen(19,23,45);
boolean out1=isTeen(19);
System.out.println(out);
System.out.println(out1);
}
public static boolean hasTeen(int age1, int age2, int age3){
... | true |
3dcb1e2bb9f651cb0dc2e04d1d563f4f4dc77d80 | Java | vZome/vzome | /core/src/main/java/com/vzome/core/edits/B4Polytope.java | UTF-8 | 6,381 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive |
package com.vzome.core.edits;
import org.w3c.dom.Element;
import com.vzome.core.algebra.AlgebraicField;
import com.vzome.core.algebra.AlgebraicNumber;
import com.vzome.core.algebra.AlgebraicVector;
import com.vzome.core.commands.AttributeMap;
import com.vzome.core.commands.XmlSaveFormat;
import com.vzome.core.const... | true |
17e081a3a0f8827043c6d0e9dc77d7b83c629a70 | Java | KB-Silence/HRMS-Project | /hrms/src/main/java/kilobyte/hrms/api/controllers/JobExperiencesController.java | UTF-8 | 2,341 | 2.21875 | 2 | [] | no_license | package kilobyte.hrms.api.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.... | true |
b7713c1f575765748b530121f1090c0a2fab4f2b | Java | wumengfei/wmf_leetcode | /src/binaryTree/convertDuLinkList.java | UTF-8 | 658 | 2.921875 | 3 | [] | no_license | package binaryTree;
import binaryTree.traversing_bt.Node;
import java.util.Stack;
public class convertDuLinkList {
// 将二叉树转成双向链表
public Node convert(Node root){
Stack<Node> stack = new Stack<>();
Node p = root;
Node pre = null;
while (!stack.isEmpty() || p!=null){
w... | true |
26af6c8d89a90a93d0312eafa056bfd15db1195c | Java | damienzhong/javase-base-resource | /19.面向对象三大特性/多态/DuoTaiDemo.java | GB18030 | 1,634 | 4.46875 | 4 | [] | no_license | /*
̬ͬһڲͬʱֳIJͬ״̬
èèèǶ
ˮҺ塢塢壩
è m = new è();
d = new è();
̬ǰ
AҪм̳йϵ
BҪзд
ʵûҲǿԵģûû塣
CҪиָ
f = new Zi();
̬еijԱص㣺
AԱ
뿴ߣп
B췽
ʱʸĹ췽Ըݽгʼ
CԱ
뿴ߣпұ
D̬
뿴ߣп
(̬أ㲻дԷʻߵ)
ڳԱڷдпұߡ
*/
class Fu{
public int num = 100;
public void show(){
System.out.println("show Fu");
}
pu... | true |
2726a45a092b4500bc79e96238357bfacd04e269 | Java | kinshuk4/algorithms-java | /src/main/java/com/vaani/dsa/algo/paradigm/dp/LongestValidParentheses.java | UTF-8 | 2,957 | 3.71875 | 4 | [] | no_license | package com.vaani.dsa.algo.paradigm.dp;
import java.util.Stack;
/* https://leetcode.com/problems/longest-valid-parentheses/
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring is "()", w... | true |
799f872ee371b40bb9e305e3a181271a5b5bbb61 | Java | aravetisai/opencookbook | /core/src/main/java/org/ocobo/model/IngredientFlavor.java | UTF-8 | 1,207 | 2.359375 | 2 | [] | no_license | package org.ocobo.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Flavor... | true |
76504f65efdafe88902c92685b3250930e05a6a7 | Java | jiaminw12/CS4218_team02_2017 | /test/sg/edu/nus/comp/cs4218/impl/app/CdApplicationTest.java | UTF-8 | 4,406 | 2.703125 | 3 | [] | no_license | package sg.edu.nus.comp.cs4218.impl.app;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
impo... | true |
db87f7b0d9e188e2f1dad1caa331be94893f49b2 | Java | Deepika123-star/SwaRealAdmin | /app/src/main/java/com/smartwebarts/swarealadmin/dashboard/adapter/OurAssociateAdpter.java | UTF-8 | 2,106 | 2.03125 | 2 | [] | no_license | package com.smartwebarts.swarealadmin.dashboard.adapter;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import andr... | true |
5a593d85c3c7797d305a5d9336ea675eb2b651d0 | Java | ash9nov/jvarkit | /src/main/java/com/github/lindenb/jvarkit/tools/misc/AddLinearIndexToBed.java | UTF-8 | 3,498 | 2.21875 | 2 | [
"MIT"
] | permissive | package com.github.lindenb.jvarkit.tools.misc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util... | true |
f848128e0b863ff71b3b6fec80a791c775184d29 | Java | Ajaybarath/user-data-microservice | /src/main/java/com/example/userdatamicroservice/Repository/AddressRepository.java | UTF-8 | 461 | 1.742188 | 2 | [] | no_license | package com.example.userdatamicroservice.Repository;
import com.example.userdatamicroservice.Models.Address;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.repository.CrudRepository;
import org.s... | true |
539df0d20a2caea683fed169cab397fc3eb0461d | Java | PNU-2020-team4/Book-Review-Platform-Back-End | /src/main/java/com/team4/bookreview/daoimpl/ReviewDAOImpl.java | UTF-8 | 1,367 | 2.078125 | 2 | [] | no_license | package com.team4.bookreview.daoimpl;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import com.team4.bookreview.dao.ReviewDAO;
import ... | true |
e7b03766e271bef55c8f24e5a49bb20b5af76934 | Java | nuisanceless/crm_github | /app/src/main/java/com/drugoogle/sellscrm/MainActivity.java | UTF-8 | 16,954 | 1.59375 | 2 | [] | no_license | package com.drugoogle.sellscrm;
import android.app.SearchManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.design.wi... | true |
c041c47e494556edf3382ec4bc4524495a7a03e0 | Java | github4git/geronimo | /modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java | UTF-8 | 4,519 | 1.875 | 2 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | /**
*
* Copyright 2003-2004 The Apache Software Foundation
*
* 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... | true |
7e09c72a4afe34f497b88e21b4a9a2b2f9f7810c | Java | rakesh-gyawali/FooDonate_Charity | /app/src/main/java/com/example/foodonate_charity/account/charityRegistrationDevelopment/CharityRegistrationAPI.java | UTF-8 | 711 | 2.046875 | 2 | [] | no_license | package com.example.foodonate_charity.account.charityRegistrationDevelopment;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
public interface CharityRegistrationAPI {
@FormUrlEncoded
@POST("registration-charity/register")
Call<Registra... | true |
64d146c8e36efb737bf512479baba3dda64e5e36 | Java | bossirreplaceable/Yobo_RxJava | /app/src/main/java/com/yobo/yobo_rxjava/test3/Test_Map.java | UTF-8 | 1,269 | 2.765625 | 3 | [] | no_license | package com.yobo.yobo_rxjava.test3;
import com.yobo.yobo_rxjava.Utils;
import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.functions.Function;
import io.reactivex.rxjava3.functions.Predicate;
/**
* Created by ZhangBoshi
* on 2020-04-01
*/
public class Test_Map {
public static void main(S... | true |
c86731ac77cf2877adf52ce6b9b0094bda14d3fc | Java | carlos-salinas/konekti | /core/konekti.dao.sensor.impl/src/main/java/com/thingtrack/konekti/dao/sensor/impl/internal/SensorTypeDaoImpl.java | UTF-8 | 707 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.thingtrack.konekti.dao.sensor.impl.internal;
import org.springframework.stereotype.Repository;
import com.thingtrack.konekti.dao.sensor.api.SensorTypeDao;
import com.thingtrack.konekti.dao.template.JpaDao;
import com.thingtrack.konekti.domain.sensor.SensorType;
/**
* @author Thingtrack S.L.
*
*/
@Repo... | true |
52984c471bf079666ab12c1c8d095357a9a416ab | Java | dandelion133/sword | /src/com/qian/BFS.java | GB18030 | 4,935 | 3.4375 | 3 | [] | no_license | package com.qian;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
public class BFS {
private static final int MAXPATH = Integer.MAX_VALUE;
// ڽӾ洢ͼ
// --A B C D E F G H I
// A 0 1 0 0 0 1 1 0 0
// B 1 0 1 0 0 0 1 0 1
// C 0 1 0 1 0 0 0 0 1
... | true |
8ecaebcd538cce6fe10453f69718b788982fb0af | Java | apmasell/gisql | /src/ca/wlu/gisql/ast/AstLiteralReference.java | UTF-8 | 2,666 | 2.4375 | 2 | [] | no_license | package ca.wlu.gisql.ast;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Iterator;
import org.apache.commons.collections15.iterators.EmptyIterator;
import org.apache.commons.collections15.set.ListOrderedSet;
import org.apache.log4j.Logger;
import ca.wlu.gisql.ast.type.Type;
impor... | true |
8b2e867e78023eec8453e8892ccb30fea9edf338 | Java | eusoon/Mobile-Catalog | /ifx-json/src/ong/eu/soon/ifx/element/AthResponse.java | UTF-8 | 100 | 1.5625 | 2 | [] | no_license | package ong.eu.soon.ifx.element;
public enum AthResponse {
Approve, Decline, PickUp, Refer
}
| true |
ebac62b9fb2dcf0fe0c3506ad7092a20119bfc69 | Java | chelin192837/FaceToFace | /FaceToFace/faceToface-mall/mall-API/src/main/java/com/macro/mall/api/dto/FacStudentRequirementParam.java | UTF-8 | 383 | 1.742188 | 2 | [
"Apache-2.0"
] | permissive | package com.macro.mall.api.dto;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class FacStudentRequirementParam {
private String studentName;
private String studentIphone;
private String problem;
//清华还是北大
private String teachMajor;
//其他内容
private String other;
... | true |
1f3507c43abf5ffd4b73c90168302fc767d774f9 | Java | sim1-avo/PocketMuseum | /src/control/opera/RecuperaImmagini.java | UTF-8 | 1,337 | 2.484375 | 2 | [] | no_license | package control.opera;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import model.opera.Oper... | true |
13df0695f04f4ff6200670aaa131747501d102ee | Java | jyfmidi/NaiveSSHBookstore | /src/com/dao/OrderDao.java | UTF-8 | 1,028 | 1.96875 | 2 | [] | no_license | package com.dao;
import com.entity.OrdersEntity;
import org.hibernate.internal.CriteriaImpl;
import java.math.BigDecimal;
import java.util.Vector;
/**
* Created by 滩涂上的芦苇 on 2016/6/8.
*/
public interface OrderDao {
// insert cart into database to become an order
public void pay(OrdersEntity or... | true |
b972fab775b67ffbd8308ac5af7e7ee030ec2f59 | Java | carpenlc/EFD | /src/main/java/com/solers/delivery/util/password/UserPasswordEncoder.java | UTF-8 | 2,471 | 2.203125 | 2 | [] | no_license | /****************************************************************
*
* Solers, Inc. as the author of Enterprise File Delivery 2.1 (EFD 2.1)
* source code submitted herewith to the Government under contract
* retains those intellectual property rights as set forth by the Federal
* Acquisition Regulations agree... | true |
fb58d1d7a172139af3be28c5109cc7f3d248222e | Java | EGjaedong/javaBasic-Objects | /src/test/java/com/cultivation/javaBasic/showYourIntelligence/StackFrameHelper.java | UTF-8 | 486 | 2.359375 | 2 | [] | no_license | package com.cultivation.javaBasic.showYourIntelligence;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
public class StackFrameHelper {
public static String getCurrentMethodName() {
// TODO: please modify the following code to pass the test
// <--start
StackTraceElem... | true |
905e78222acd8fbae2489455802de68e411defb1 | Java | fidransky/discussment | /discussment-core/src/test/java/org/danekja/discussment/core/mock/UserDao.java | UTF-8 | 934 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | package org.danekja.discussment.core.mock;
import org.danekja.discussment.core.accesscontrol.domain.IDiscussionUser;
import org.danekja.discussment.core.dao.GenericDao;
import java.util.Collection;
import java.util.List;
/**
* Created by Martin Bláha on 13.05.17.
*
* The interface extends GenericDao on methods fo... | true |