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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
64757583ed792f547194e2a307039ccbfb185e7d | Java | garlicsauce/funds-transfer | /src/main/java/io/garlicsauce/fundstransfer/config/FeignConfig.java | UTF-8 | 759 | 2.046875 | 2 | [] | no_license | package io.garlicsauce.fundstransfer.config;
import feign.Logger;
import feign.codec.ErrorDecoder;
import io.garlicsauce.fundstransfer.shared.ExchangeRatesApiUnavailableException;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import static feign.Feign... | true |
3fe33ae5a60f513e2e4ee00251b9ca0f8fbcfe40 | Java | sproutup/innoserv_mvp | /app/controllers/LikesController.java | UTF-8 | 2,199 | 2.21875 | 2 | [] | no_license | package controllers;
import be.objectify.deadbolt.java.actions.SubjectPresent;
import com.fasterxml.jackson.databind.JsonNode;
import models.Likes;
import models.Post;
import models.Product;
import models.User;
import play.Logger;
import play.mvc.BodyParser;
import play.mvc.Controller;
import play.mvc.Result;
import ... | true |
8ad484885c7cecf0b1839915c874d07aa468c61d | Java | firak01/Projekt_Kernel02_JAZKernel | /JAZKernel/src/basic/zKernel/status/IEventObjectStatusLocalSetZZZ.java | UTF-8 | 310 | 1.695313 | 2 | [] | no_license | package basic.zKernel.status;
import basic.zBasic.IObjectZZZ;
import basic.zBasic.util.datatype.enums.EnumZZZ;
public interface IEventObjectStatusLocalSetZZZ extends IObjectZZZ{
public Enum getStatusEnum();
public String getStatusText();
public boolean getStatusValue();
public int getID();
}
| true |
360348c224d5935f9fde3f5a8c5d85c524e1b075 | Java | renovate-bot/google-api-java-client-services | /clients/google-api-services-webmasters/v3/1.27.0/com/google/api/services/webmasters/model/UrlCrawlErrorsSample.java | UTF-8 | 4,873 | 1.945313 | 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 under t... | true |
11470348f52488af20b0c6ff0fb75c3c2c356c50 | Java | fjh658/bindiff | /src_fernflower/com/google/protobuf/GeneratedMessage$3.java | UTF-8 | 1,445 | 2.015625 | 2 | [] | no_license | package com.google.protobuf;
import com.google.protobuf.Descriptors$FieldDescriptor;
import com.google.protobuf.Descriptors$FileDescriptor;
import com.google.protobuf.GeneratedMessage$1;
import com.google.protobuf.GeneratedMessage$CachedDescriptorRetriever;
final class GeneratedMessage$3 extends GeneratedMessage$Cach... | true |
bf888a0a781dd94223b9ace642f173f7976f1d47 | Java | Mathangi-C/BugTrackingSystem | /BugTrackingSystem/src/main/java/com/cg/bts/controller/EmployeeController.java | UTF-8 | 6,137 | 2.296875 | 2 | [] | no_license | package com.cg.bts.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.http.Htt... | true |
3f0fe615849cae182ad223747ac4cb8b3f2aed86 | Java | liuzheming/practice | /src/main/java/dataStructure/sort/QuickSort.java | UTF-8 | 2,015 | 3.671875 | 4 | [] | no_license | package dataStructure.sort;
import java.util.Arrays;
/**
* Description:
* <p>
* Created by lzm on 2018/1/25.
*/
public class QuickSort {
private static <T extends Comparable<T>> boolean less(T i, T j) {
return i.compareTo(j) < 0;
}
private static void exch(Comparable[] arr, int i, int j) {
... | true |
ae8d1a0c280d4cf9128c1e9533bca99b6083537f | Java | xabaohui/modules-storage | /src/main/java/com/xabaohui/modules/storage/dto/DistrBatchRequestDTO.java | UTF-8 | 1,026 | 2.015625 | 2 | [] | no_license | package com.xabaohui.modules.storage.dto;
import java.util.List;
public class DistrBatchRequestDTO {
private String outTradeNo; // 外部交易号
private Integer operateor;// 操作员ID
private String memo;// 操作备注
private List<DistrBatchRequestDetail> list;
public DistrBatchRequestDTO() {
}
public DistrBatchRequestDTO(In... | true |
dc5eb35e95723331c6b5107fdeb1afaee5dcc67b | Java | anuragkumarak95/java-practice | /workplace/FirstServletProject/src/org/ak/j2EE/First.java | UTF-8 | 839 | 2.5 | 2 | [] | no_license | package org.ak.j2EE;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class First
*/
@WebServ... | true |
d530f0f5ff6b10aa271c1700fc510d0b12d77789 | Java | ggditzel/ExplodingKittens | /Codigo/TelaPrincipal.java | MacCentralEurope | 7,402 | 2.296875 | 2 | [] | no_license |
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.JFrame;
import javax.swing.J... | true |
f3adbf4a5e1013911c3794658645e9c8b1909a5b | Java | mohamedIbrahimAhmed/androidApplicationArchitecture | /main/java/com/example/rxandroid/comments/interactors/PostInteractor.java | UTF-8 | 1,109 | 2.21875 | 2 | [] | no_license | package com.example.rxandroid.comments.interactors;
import android.support.v4.util.ArrayMap;
import com.example.rxandroid.Main.model.Post;
import com.example.rxandroid.common.Keys;
import com.example.rxandroid.servecies.NetworkUtils;
import mohamedibrahim.networklib.services.common.BaseService;
import moham... | true |
82318ae03bee9e35f661bf0a1609159da915e8f6 | Java | KatsiarynaZhalabkevich/DataStorageRelayServer | /car_server/src/main/java/com/github/zhalabkevich/car_server/repository/TenantRepository.java | UTF-8 | 257 | 1.609375 | 2 | [] | no_license | package com.github.zhalabkevich.car_server.repository;
import com.github.zhalabkevich.car_server.entity.Tenant;
import org.springframework.data.jpa.repository.JpaRepository;
public interface TenantRepository extends JpaRepository<Tenant, Long> {
}
| true |
f1c8ea1426769ee1eda1d0aace5e2b17a6d70ddb | Java | pooriaPoorsarvi/commerce-back-end | /src/main/java/com/productions/ppt/commercebackend/app/order/purchase/ProductPurchaseController.java | UTF-8 | 2,813 | 2.0625 | 2 | [] | no_license | package com.productions.ppt.commercebackend.app.order.purchase;
import com.productions.ppt.commercebackend.app.order.OrderEntity;
import com.productions.ppt.commercebackend.app.order.OrderService;
import com.productions.ppt.commercebackend.app.product.ProductEntity;
import com.productions.ppt.commercebackend.app.... | true |
352df7e956bab55692fbfddba408599aa2a6bf86 | Java | a3a/RHIPE | /code/java/org/godhuli/rhipe/RHWriter.java | UTF-8 | 3,700 | 1.804688 | 2 | [] | no_license | // /**
// * Licensed to the Apache Software Foundation (ASF) under one
// * or more contributor license agreements. See the NOTICE file
// * distributed with this work for additional information
// * regarding copyright ownership. The ASF licenses this file
// * to you under the Apache License, Version 2.0 (the
... | true |
8edca5ee6c2958189a9804446a2529133fafa373 | Java | ww36315610/cif-resttest | /src/main/java/com/cif/winds/controller/UAT_TagQueryController3001.java | UTF-8 | 2,708 | 1.835938 | 2 | [] | no_license | package com.cif.winds.controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import com.alibaba.fastjson.JSONObject;
import com.cif.utils.httpclient.Oauth;
import com.cif.winds.beans.TagsRequest;
import com.cif.winds.repository.RestfulDao;
imp... | true |
93b5ca58f4192d4f8326a1eb0563e4ec6398aa47 | Java | YUEIT/java_common | /middle/src/main/java/cn/yue/base/middle/router/RouterCard.java | UTF-8 | 12,337 | 1.953125 | 2 | [] | no_license | package cn.yue.base.middle.router;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.SparseArray;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.io.Serializable;
import jav... | true |
f1e4e0b3550831d7d2eb753bc59aa31a40e15d20 | Java | leephu93/BTTH_JAVA1 | /src/BAI13/QLXEOTO.java | UTF-8 | 2,857 | 3.015625 | 3 | [] | no_license | package BAI13;
import java.util.ArrayList;
import java.util.Scanner;
public class QLXEOTO {
public static void main(String[] args) {
// XEOTO xoto = new XEOTO();
// xoto.NHAPTHONGTINXE();
// xoto.XEMTHONGTINXE();
Scanner scanner = new Scanner(System.in);
ArrayLi... | true |
d07ba71b59ce1e9cba936c74508802302807bd62 | Java | Moiski/EShop | /DAO/src/main/java/by/moiski/dao/entities/OrderDetail.java | UTF-8 | 2,350 | 2.4375 | 2 | [] | no_license | package by.moiski.dao.entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import j... | true |
1c5e178e3b53a32ee0edf8fad6921677287faf54 | Java | patrickmbasco/DojoSurvey | /src/main/java/com/pbasco/DojoSurvey/SurveyController.java | UTF-8 | 266 | 1.859375 | 2 | [] | no_license | package com.pbasco.DojoSurvey;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class SurveyController {
@RequestMapping("/")
public String survey() {
return "survey.jsp";
}
}
| true |
d9213b27f87a58b98a625adfe4a4c4c212b2b6f4 | Java | ruqqq/tdd-sales-tax-problem | /src/test/java/sg/ruqqq/salestax/ItemTest.java | UTF-8 | 1,900 | 3.015625 | 3 | [] | no_license | package sg.ruqqq.salestax;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class ItemTest {
@Test
void item_is_an_imported_product() {
Item item = new Item(1, "imported box of chocolate", 1500, true, Item.Type.OTHERS);
assertTrue(item.isImported());
}... | true |
5228cdfa955215104f091f27ab4961eb7ad61d21 | Java | flyPisces/LeetCodeSolution | /EvaluateReversePolishNotation/Solution.java | UTF-8 | 1,464 | 4.1875 | 4 | [] | no_license | package EvaluateReversePolishNotation;
import java.util.*;
/**
* Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /. Each operand may be an integer or another expression.
Some examples:
["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9
["4", "13", "5", "/", ... | true |
f5b860286dcf7319345996c899e995dc0a5e5f88 | Java | BJFU-ProfessionalPractice/Client | /FastEC/latte-core/src/main/java/com/wuchao/latte/net/callback/IError.java | UTF-8 | 178 | 1.875 | 2 | [
"MIT"
] | permissive | package com.wuchao.latte.net.callback;
/**
* @author: gary
* @date: 2020/10/23 23:08
* @desciption:
*/
public interface IError {
void onError(int code, String msg);
}
| true |
6b569a5806c646574010cd1f97642865b4da2a04 | Java | gayashanbc/Slot-Machine-Game-Java | /src/TestDrive.java | UTF-8 | 198 | 1.570313 | 2 | [] | no_license | import javax.swing.SwingUtilities;
import view.SlotMachine_UI;
public class TestDrive {
public static void main(String[] args) {
SwingUtilities.invokeLater(() -> new SlotMachine_UI());
}
}
| true |
18befe472be3d6dd381321e104ecf1544b568e5d | Java | andyjfahey/Android2018 | /app/src/main/java/uk/co/healtht/healthtouch/model/entities/HTTrackerPain.java | UTF-8 | 2,117 | 2.578125 | 3 | [] | no_license | package uk.co.healtht.healthtouch.model.entities;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.io.Serializable;
import java.util.List;
import uk.co.healtht.healthtouch.model.db.DBConstant;
/**
* Created by Najeeb.Idrees on 04-Jul-17.
*/
@DatabaseTable(tabl... | true |
4396b3992ec8129dfbf55dfde0d2880fb2705b3a | Java | MingWEN-CS/Java-RSRepair | /src/ca/uwaterloo/ece/qhanam/jrsrepair/compiler/MemoryFileManager.java | UTF-8 | 879 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package ca.uwaterloo.ece.qhanam.jrsrepair.compiler;
import java.util.HashMap;
import java.util.Map;
import javax.tools.FileObject;
import javax.tools.ForwardingJavaFileManager;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileManager;
import javax.tools.JavaFileObject.Kind;
/**
* From https://weblogs.jav... | true |
ce68461a93f73aafdddd544ba3c8aaf6bf06076e | Java | mateng04/ZXW | /android/MyApplication/app/src/main/java/com/mobile/zxw/myapplication/myinterface/MenuCommand.java | UTF-8 | 104 | 1.609375 | 2 | [] | no_license | package com.mobile.zxw.myapplication.myinterface;
public interface MenuCommand {
void onClick();
} | true |
c535f94eea31c752a308a926f70af3375ac6155b | Java | NKChiu/ctbapi | /src/main/java/com/ctbapit/dao/ICoinDao.java | UTF-8 | 313 | 1.875 | 2 | [] | no_license | package com.ctbapit.dao;
import org.springframework.data.repository.CrudRepository;
import com.ctbapit.entity.CurrencyEntity;
public interface ICoinDao extends CrudRepository<CurrencyEntity, Integer>{
/**
* @description 查詢幣別資料 by code
*/
public CurrencyEntity findByCode(String code);
}
| true |
2dae544ef141de763058466fd8aecbf6a31931e2 | Java | SherlockShi/RxJavaBestPractise | /app/src/main/java/com/sherlockshi/rxjavabestpractise/activity/category11_operators_to_convert_observables/Category11Operator1GetIteratorActivity.java | UTF-8 | 1,825 | 2.921875 | 3 | [] | no_license | package com.sherlockshi.rxjavabestpractise.activity.category11_operators_to_convert_observables;
import com.sherlockshi.rxjavabestpractise.R;
import com.sherlockshi.rxjavabestpractise.base.BaseOperatorSampleActivity;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import rx.Observable;
... | true |
65255d42c5195d1d86d847ad6c300d0594a629c3 | Java | sonhosu/java | /Day20210408/src/kr/or/kh/obj1/List.java | UTF-8 | 1,329 | 2.703125 | 3 | [] | no_license | package kr.or.kh.obj1;
import java.util.HashMap;
public class List {
private String gubun;
public List() {
}
public void list() {
System.out.println("===전체출력====");
for(int i=0;i<Register.haksaList.size();i++) {
HashMap<String,String> haksaHash=Register.haksaList.get(i);
gubun=haksaHas... | true |
e4fff430431470b73baabaab6eabf48e2e75b86a | Java | softwarestrategies/projectx-java | /common/src/main/java/io/softwarestrategies/projectx/common/exceptions/ValidationException.java | UTF-8 | 451 | 2.09375 | 2 | [] | no_license | package io.softwarestrategies.projectx.common.exceptions;
import org.springframework.validation.BindingResult;
public class ValidationException extends RuntimeException {
private final transient BindingResult bindingResult;
public ValidationException(BindingResult bindingResult) {
super();
t... | true |
69d34c5cae5e7de595f99ea299762352dc32dc73 | Java | schonherz-java-ee-2016-q4/homework | /SzaboAttila/hazi-6/web/src/main/java/hu/schonherz/blog/web/user/UserController.java | UTF-8 | 1,260 | 2.046875 | 2 | [] | no_license | package hu.schonherz.blog.web.user;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sprin... | true |
aaf7e7ac5394c67e6c2e06fd32fe2081d5866973 | Java | RamboSingh/pulseAutomation | /src/test/java/tests/web/PulseLogin.java | UTF-8 | 659 | 1.953125 | 2 | [] | no_license | package tests.web;
import java.util.Map;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import com.pearson.common.framework.shared.pagefactory.PageFactory;
import web.pageObjects.LoginPage;
public class PulseLogin extends WebBaseClass {
... | true |
1465de52a1e288d2135aff1db4ae828bebfa7171 | Java | TabishAnwarShaikh/Ladder | /src/test/java/com/ideas/snakesnladders/DiceTest.java | UTF-8 | 669 | 2.828125 | 3 | [] | no_license | package com.ideas.snakesnladders;
import junit.framework.TestCase;
import org.junit.Test;
import com.ideas.snakesnladders.core.Dice;
public class DiceTest extends TestCase {
@Test
public void testDefaultDice() {
Dice dice = new Dice();
for (int i = 0; i < 100; i++) {
assertTrue(dice.roll() <= dice.maxValu... | true |
3b41272a1f368f8bcf4f6cc0fca8f75f3388dab1 | Java | proohit/accountingappdesktop | /src/gui/operations/RecordOperationHandler.java | UTF-8 | 12,915 | 2.53125 | 3 | [] | no_license | package gui.operations;
import java.sql.SQLException;
import java.time.LocalDate;
import DBTables.RecordTable;
import DBTables.WalletTable;
import data.Record;
import data.Wallet;
import gui.Ui;
import gui.operations.buttonHandler.AddClickHandler;
import gui.operations.buttonHandler.DeleteClickHandler;
im... | true |
05b8b2b4442bc8e32a52d7c99d37e57961979e40 | Java | pf4j/pf4j | /pf4j/src/test/java/org/pf4j/test/JavaFileObjectDataProvider.java | UTF-8 | 2,194 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2012-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | true |
eff7a8d393f4c5acea6f094433675ff6aca25e97 | Java | tsiemens/pathfinder-toolkit | /pathfinder-toolkit/src/main/com/lateensoft/pathfinder/toolkit/dao/GenericDAO.java | UTF-8 | 176 | 1.898438 | 2 | [] | no_license | package com.lateensoft.pathfinder.toolkit.dao;
import java.util.List;
/** A base DAO (Data Access Object) */
public interface GenericDAO<T> {
public List<T> findAll();
}
| true |
fdde3966e6c8ea20df23ad87b8d04d1b5838d53a | Java | Alieenkr/movieReservation | /src/member/db/memberDAO.java | UHC | 3,721 | 2.59375 | 3 | [] | no_license | // ȸ, α, ȸ , ȸ
package member.db;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import member.db.memberBean;
public class memberDAO {
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = n... | true |
cd86d90fbeacfeadb33794ea68756c67d27c14c6 | Java | asam268/DataStructures | /src/amm/MyQueue.java | UTF-8 | 1,146 | 3.28125 | 3 | [] | no_license | package amm;
public class MyQueue {
private int front, rear, size;
private int capacity;
public String[] array; // TODO: make private and update tests
public MyQueue(int capacity) {
this.capacity = capacity;
this.array = new String[this.capacity];
this.front = this.size = 0;
... | true |
6d98b05bf443d238e9259e9c0689213c4e39681b | Java | chefvivica/Music-Store-App | /OnlineMusic/src/main/java/com/service/ProductService.java | UTF-8 | 939 | 2.109375 | 2 | [] | no_license | package com.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.anno... | true |
cbca6c3a22ffdf7f3ed30aae59dffc43139ce511 | Java | devlopper/org.cyk.system.root | /root-model/src/main/java/org/cyk/system/root/model/party/person/MedicalInformationsAllergy.java | UTF-8 | 592 | 1.835938 | 2 | [] | no_license | package org.cyk.system.root.model.party.person;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter @Setter @NoArgsConstructor @Entity
publi... | true |
f1b3df55d77cd9cb6645d89d1e64127e945e6aee | Java | immortalcatz/LightOrbs | /src/main/java/ladysnake/lightorbs/common/entities/EntityPsiFirefly.java | UTF-8 | 856 | 2.4375 | 2 | [] | no_license | package ladysnake.lightorbs.common.entities;
import ladysnake.lightorbs.common.config.LightOrbsConfig;
import net.minecraft.world.World;
import java.util.Random;
public class EntityPsiFirefly extends EntityFirefly {
public EntityPsiFirefly(World worldIn, double x, double y, double z) {
super(worldIn, x,... | true |
fa72b804340f25db1211f0aaa1fd60ade4979bdc | Java | gjy12345/tpp | /CinemaShop/CinemaShopApp/src/main/java/cn/gjyniubi/cinema/app/core/comment/service/CommentService.java | UTF-8 | 3,954 | 1.890625 | 2 | [] | no_license | package cn.gjyniubi.cinema.app.core.comment.service;
import cn.gjyniubi.cinema.app.core.cinema.mapper.FilmScheduleMapper;
import cn.gjyniubi.cinema.app.core.comment.dto.SimpleCommentDto;
import cn.gjyniubi.cinema.app.core.comment.mapper.CommentMapper;
import cn.gjyniubi.cinema.app.core.comment.vo.CreateCommentVo;
impo... | true |
393652fe24bbce9c627425879380597a23a14f12 | Java | matsim-up/up-playgrounds | /nmviljoen/src/main/java/playground/nmviljoen/phd/gridExamples/GridExperiment.java | UTF-8 | 6,364 | 2.59375 | 3 | [] | no_license | /* *********************************************************************** *
* project: org.matsim.*
* GridExperiment.java
* *
* *********************************************************************** *
* ... | true |
5985ecc556072796daf8ded876d702a226d9d30d | Java | druidJane/Druid3.0.3 | /web-server/sharecommon/src/main/java/com/xuanwu/msggate/common/sbi/entity/FrameWrapper.java | UTF-8 | 2,766 | 2.34375 | 2 | [] | no_license | /*
* Copyright (c) 2011 by XUANWU INFORMATION TECHNOLOGY CO.
* All rights reserved
*/
package com.xuanwu.msggate.common.sbi.entity;
import com.xuanwu.msggate.common.sbi.entity.MsgFrame;
import com.xuanwu.msggate.common.sbi.entity.Ticket;
import com.xuanwu.msggate.common.sbi.ent... | true |
7c9743e424d2201c3ca4744f9119db711630aa91 | Java | happyjianguo/order-service-parent | /orders-common/src/main/java/com/dili/orders/dto/CardQueryDto.java | UTF-8 | 385 | 1.78125 | 2 | [] | no_license | package com.dili.orders.dto;
public class CardQueryDto {
private String cardNo;
private Long accountId;
public String getCardNo() {
return cardNo;
}
public void setCardNo(String cardNo) {
this.cardNo = cardNo;
}
public Long getAccountId() {
return accountId;
}
public void setAcco... | true |
e9856e0067c89d0e97d0adcf6334780a581d4982 | Java | anmuer/designDemo | /src/main/java/mediator/UniteNations.java | UTF-8 | 121 | 1.898438 | 2 | [] | no_license | package mediator;
public abstract class UniteNations {
abstract void declare(String message,Country colleague);
}
| true |
693d757df66465d4f06e0c100c6d3141daac2e24 | Java | biocodellc/biocode-fims | /src/utils/dashboardGenerator.java | UTF-8 | 10,725 | 2.21875 | 2 | [] | no_license | package utils;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
import settings.bcidConnector;
import java.util.Iterator;
/**
* class to generate the users dashboard
*/
public class dashboardGenerator {
private String accessToken;
private String refres... | true |
1a00e9cebc4612e8211f6c3dd6f9c0c5cf0f5150 | Java | fedinskiy/practice-java | /Spring/src/main/java/ru/fedinskiy/spring/implementations/URLDownloader.java | UTF-8 | 406 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package ru.fedinskiy.spring.implementations;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import ru.fedinskiy.spring.interfaces.Downloader;
/**
* Created by fedinskiy on 01.03.17.
*/
@Component("urldown")
//@Primary
public class URLDownloader implements Dow... | true |
ba3f55ada2ac382e4ef23a241b7aeae1ad76f0e0 | Java | Denniza/JavaRush-Tasks | /2.JavaCore/src/com/javarush/task/task19/task1906/Solution.java | UTF-8 | 750 | 3.03125 | 3 | [] | no_license | package com.javarush.task.task19.task1906;
/*
Четные символы
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String file1 = reader.readLine();
String fi... | true |
51bf614ffd504d0a3713bc82b1bc5238136443eb | Java | Roktar/Bitcamp | /bitcamp-java-project/src10_homework/main/java/bitcamp/java106/pms/type/GroupDescription.java | UTF-8 | 2,158 | 2.875 | 3 | [] | no_license | package bitcamp.java106.pms.type;
import java.util.Scanner;
import bitcamp.java106.pms.origin_type.Description;
public class GroupDescription extends Description {
String tName, tDes, tMax, tStart, tEnd;
private int num = 0;
public void add(Scanner sc) {
System.out.print("팀명? ");
this.tNa... | true |
ca91804334080dacc8d908257076c0583a14bf68 | Java | claudioed/matches-spring | /src/main/java/tech/claudioed/matches/MatchesResource.java | UTF-8 | 690 | 2.09375 | 2 | [] | no_license | package tech.claudioed.matches;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestContr... | true |
7b8382a1f29a048bb83b547eecfbced5273ac6fb | Java | gabrielone/Type-of-Triangle | /determine-type-of-triangle/src/main/java/triangle_type/TriangleDefinition.java | UTF-8 | 1,286 | 2.90625 | 3 | [] | no_license | package triangle_type;
public class TriangleDefinition {
public static TriangleType classify(final double invalid, final double scalene, final double isosceles) {
int triangle_length;
if ((invalid <= 0) || (scalene <= 0) || (isosceles <= 0)) {
return TriangleType.INVALID;
}
triangle_length = ... | true |
e01ab3b7dafbe216bd5dec809bc56a953606398a | Java | ATOM03/Competitive | /src/Array/rotation/MaximumSum/Main.java | UTF-8 | 1,047 | 3.296875 | 3 | [] | no_license | package Array.rotation.MaximumSum;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc=new Scanner(System.in);
int tc=sc.nextInt();
while(tc-->0){
int N=sc.nextInt();
int ar[]=new int[N];
for(int i=0;i<N;i++){
... | true |
b960ba44c6a2f5ec796322e81f38820e08b4ec1c | Java | GuofanLee/springboot-practice | /part-01-spring4/src/main/java/com/springboot/practice/chapter01/n03_aop/AopConfig.java | UTF-8 | 454 | 1.835938 | 2 | [] | no_license | package com.springboot.practice.chapter01.n03_aop;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
/**
* 请填写类的描述
*
* @author GuofanLee
* @date 2019-09-25 15:09
*/
@Confi... | true |
c46e5722b90ce44b24df128ca13c2adbb835aaeb | Java | ameyab95/Selenium | /a52242/Google.java | UTF-8 | 857 | 2.140625 | 2 | [] | no_license | import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class Google {
WebDriver driver;
@Test
@Parameters({"b... | true |
2e921f65a0a2dc484eae26e198ab4706908bc6ca | Java | mengzaiyuanfang/springboot | /src/main/java/com/zhousui/exceptionhandler/ExceptionEnum.java | UTF-8 | 578 | 2.75 | 3 | [] | no_license | package com.zhousui.exceptionhandler;
/**
* Created by lenovo on 2017/5/28.
*/
public enum ExceptionEnum {
UNKNOW_ERROR("-1","未知错误"),
SUCCESS("0","成功"),
PRIMARY("100","你还在上初中吧"),
MIDDLE("101","你还在上小学吧"),
;
private String retCode;
private String retDesc;
ExceptionEnum(String retCode, ... | true |
a7071bb7ac9f2abfbd5f3eb558026d6998be789f | Java | ThiliniCH/AutomationCourse | /Day1/src/test/java/annotations/Scenario1.java | UTF-8 | 453 | 2.296875 | 2 | [] | no_license | package annotations;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class Scenario1 {
@Test
public void test1(){
System.out.println("test1");
}
@BeforeMethod
public void beforeMethod(){
System.out.... | true |
1a72ca49fb3842dd0469a79a10ccb9666d804e83 | Java | traynaud/commission_calculator | /src/main/java/com/malt/model/condition/enums/NumericalOperator.java | UTF-8 | 652 | 3.046875 | 3 | [] | no_license | package com.malt.model.condition.enums;
import lombok.Getter;
/**
* Represents operators that can be applied on Numerical objects
*
* @author Tanguy
* @version 1.0
* @since 30 May 2019
*
*/
public enum NumericalOperator {
EQUALS("eq"),
GREATER_THAN("gt"),
LOWER_THAN("lt");
@Getter
private final String op... | true |
522be1c0bd924cd41c934f163ac8728a91700f7b | Java | 11kempCp/Guidance | /app/src/main/java/com/example/guidance/realm/model/onecallWeather/minutely.java | UTF-8 | 411 | 2.34375 | 2 | [] | no_license | package com.example.guidance.realm.model.onecallWeather;
/**
* Created by Conor K on 05/03/2021.
*/
public class minutely {
int dt;
int precipitation;
public minutely(int dt, int precipitation) {
this.dt = dt;
this.precipitation = precipitation;
}
public int getDt() {
... | true |
7f6bda34a205d0c3e6aef6617098c6d93c39e84c | Java | erayayaz/Diagonal-15-Puzzle | /src/BFS.java | UTF-8 | 3,507 | 3.703125 | 4 | [] | no_license | import java.util.*;
public class BFS {
static int[][] solution = {{1, 2, 3, 4},
{12, 13, 14, 5},
{11, 0, 15, 6},
{10, 9, 8, 7}};
private int maxNumberOfStoredInMemory = 0;
private final HashSet<State> visited = new HashSet<>();
private final Queue<State> frontier... | true |
f1c465b1d3670e725d0c85825ceaf5feef4a7c98 | Java | nsfantom/SuperDealTT | /app/src/main/java/tm/fantom/superdealtt/SDModule.java | UTF-8 | 575 | 1.921875 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package tm.fantom.superdealtt;
import android.app.Application;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import tm.fantom.superdealtt.db.DbModule;
/**
* Created by fantom on 26-Sep-17.
*/
@Module(
includes = {
DbModule.class,
}
)
public final clas... | true |
b3c55e88813b17db1a5166a751cb7f54883e422d | Java | akhilsharma12297/Interview-Prepration | /Stack/daily_temperature.java | UTF-8 | 528 | 2.890625 | 3 | [] | no_license | package mystack;
import java.util.*;
public class daily_temperature {
public static int[] findwarmertemp(int temp[] ){
int res[]=new int[temp.length];
Stack<Integer> st=new Stack<>();
for(int i=temp.length-1;i>=0;i-- ){
while(st.size()>0 && temp[i]>=temp[st.peek()]){
st.pop();
}
res[i]=st.size()==0?0:st.pee... | true |
ab66367b8162c7f29a67834cddde6fc5299c532b | Java | Philthy-Phil/git-testing | /task1/controller/ElfUtil.java | UTF-8 | 1,579 | 3.015625 | 3 | [] | no_license | package controller;
import model.Child;
import model.Elf;
import java.util.ArrayList;
import java.util.Comparator;
public class ElfUtil {
public ElfUtil() {
// TODO Auto-generated constructor stub
}
// elf age ->
public int elfSetRandomAge() {
return (int)(Math.random() * 1000 + 100);
}
// elf tier -> n... | true |
2eccbf8b58c0c1165612154e339c12e00956a8ba | Java | EBIBioSamples/X-S | /src/main/java/uk/ac/ebi/biosd/xs/keyword/OWLClassTerms.java | UTF-8 | 661 | 2.328125 | 2 | [] | no_license | package uk.ac.ebi.biosd.xs.keyword;
import java.util.Set;
import org.semanticweb.owlapi.model.OWLClass;
public class OWLClassTerms
{
private OWLClass ocls;
private Set<String> terms;
private final String label;
public OWLClassTerms(OWLClass ocls, String label)
{
super();
this.ocls = ocls;
... | true |
165ae6958a161744d3d34116ed71d4546440e5c0 | Java | Tamakasi/alkfejl | /alkfejl/src/main/java/hu/elte/alkfejl/service/UserService.java | UTF-8 | 2,555 | 2.28125 | 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 hu.elte.alkfejl.service;
import hu.elte.alkfejl.entity.User;
import hu.elte.alkfejl.annotation.Role;
import hu.elte.a... | true |
e819f3f9a50bcd32d89d2e8ac00e88c446d25d00 | Java | liinahamari/PopularMovies | /app/src/main/java/com/example/guest/popularmovies/adapters/ReviewsPagerAdapter.java | UTF-8 | 1,401 | 2.265625 | 2 | [] | no_license | package com.example.guest.popularmovies.adapters;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import com.example.guest.popularmovies.mvp.model.reviews.Review;
import com.example.guest.popularm... | true |
54402e7ce4d594dd01c3c2b516e672aefbaf5846 | Java | duanfb/RecyclerViewDivider-master | /app/src/main/java/com/study/wnw/recyclerviewdivider/MainActivity.java | UTF-8 | 2,668 | 2.6875 | 3 | [] | no_license | package com.study.wnw.recyclerviewdivider;
import android.graphics.Rect;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import java.util.ArrayList;
import java.util.... | true |
801aa2355a12852ccf945a3ca1179bc44bd2690f | Java | ahm20070810107/RuiShiKeYan-cancer | /src/main/java/com/RuiShiKeYan/SubMethod/GetLangChuangShenYanTime.java | UTF-8 | 3,242 | 2.09375 | 2 | [] | no_license | package com.RuiShiKeYan.SubMethod;
import com.RuiShiKeYan.Common.Method.DateFormat;
import com.RuiShiKeYan.Common.Method.ReadExcelToMap;
import com.RuiShiKeYan.Common.Method.RuiShiKeYan;
import com.alibaba.fastjson.JSONObject;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import java.util.HashMap... | true |
44cbb34e60dc156ca806231058271d59605bdf85 | Java | oscargcs/CyberclickTwo | /src/CyberclickTwo/PasswordHandler.java | UTF-8 | 720 | 2.984375 | 3 | [] | no_license |
package CyberclickTwo;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
public abstract class PasswordHandler {
public abstract boolean isValidPassword(String line);
public abstract int countValidPasswords() throws FileNotFoundException;
... | true |
1c211a6d8e1275f7de5fad968f81784d1c4bd139 | Java | tzHome/AndroidUsefulExample_AlertDialog | /alertdialogdemo/src/main/java/com/coder/alertdialogdemo/MainActivity.java | UTF-8 | 9,855 | 2.453125 | 2 | [] | no_license | package com.coder.alertdialogdemo;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.View;
import android.vi... | true |
f96f6ff1f85eee9aacd51119986bcd9fe49d6f6d | Java | JayiceZ/Jayice-LeetCode-Record | /第204周/543二叉树直径.java | UTF-8 | 1,040 | 3.90625 | 4 | [] | no_license | 543. 二叉树的直径
给定一棵二叉树,你需要计算它的直径长度。一棵二叉树的直径长度是任意两个结点路径长度中的最大值。这条路径可能穿过也可能不穿过根结点。
示例 :
给定二叉树
1
/ \
2 3
/ \
4 5
返回 3, 它的长度是路径 [4,2,1,3] 或者 [5,2,1,3]。
注意:两结点之间的路径长度是以它们之间边的数目表示。
/**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
... | true |
5d5e959e1b52bd2ec4bc1be263e9792b6fef3009 | Java | zhiji6/mih | /MED-CLOUD/med-service/src/main/java/nta/med/service/ihis/handler/drgs/DRG0130U00SaveLayoutHandler.java | UTF-8 | 3,000 | 1.890625 | 2 | [] | no_license | package nta.med.service.ihis.handler.drgs;
import nta.med.core.domain.drg.Drg0130;
import nta.med.core.glossary.DataRowState;
import nta.med.data.dao.medi.drg.Drg0130Repository;
import nta.med.core.infrastructure.socket.handler.ScreenHandler;
import nta.med.service.ihis.proto.DrgsModelProto.DRG0130U00SaveLayoutInfo;
i... | true |
70ab871e97d3bef631d7634fea76ffb1a67e2b15 | Java | symanwula/housecalldemo | /src/main/java/com/example/demo/model/service/statistics/UserBehaviorComponentsService.java | UTF-8 | 1,063 | 1.867188 | 2 | [] | no_license | package com.example.demo.model.service.statistics;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.example.demo.model.bean.statisticsData.UserBehaviorCompon... | true |
d26fad30453c66124b613f4c9dc4176517fb486d | Java | KevinBer/Examen1-B30957- | /src/Modelo/DBPersonaPais.java | UTF-8 | 815 | 2.671875 | 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 Modelo;
import java.util.ArrayList;
/**
*
* @author estudiante
*/
public class DBPersonaPais <T> {
private Ar... | true |
6af0175c90b7b8ff17ac264c1c4392b073114fdc | Java | sfassm/SFLearning | /SFBlueIDGetUserInfo/src/com/ibm/labsvcbb/blueid/probing/BlueIDTokenProcessor.java | UTF-8 | 1,333 | 2.5 | 2 | [] | no_license | package com.ibm.labsvcbb.blueid.probing;
/**
*
*/
import java.io.StringReader;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonReader;
import javax.json.JsonString;
import javax.json.JsonStructure;
import javax.json.JsonValue;
import javax.xml.bind.DatatypeConverter;
public class BlueID... | true |
76c9857f1ac22e89885724756c008f1ac999f4ec | Java | rossoliverb/kungfuchess | /app/src/main/java/com/blumhorst/ross/kungfuchess/view/BoardActivity.java | UTF-8 | 1,855 | 2.46875 | 2 | [] | no_license | package com.blumhorst.ross.kungfuchess.view;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import com.blumhorst.ross.kungfuchess.R;
import com.blumhorst.ross.kungfuchess.presenter.BoardPresenter;
import com.blumhorst.ross.kungfuchess.presenter.BoardPresenterImpl;
... | true |
14407a48ac58c182ed712a42785d293ec3c0f490 | Java | boubkeraberwag/familyTree | /src/main/java/fr/aberwag/familytree/service/PhotosManagmentService.java | UTF-8 | 622 | 1.890625 | 2 | [] | no_license | package fr.aberwag.familytree.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import fr.aberwag.familytree.domain.neo4j.Membre;
import fr.aberwag.familytree.repository.neo4j.MembreRepository;
@Service
public class PhotosManagmentService {
@Auto... | true |
d75b6ca20cd345a638c17fe1b494caaa16820a8b | Java | vinu/jira-cloud-rest-api | /src/main/java/com/xminds/jira/rest/client/api/IssueWorklogsApi.java | UTF-8 | 28,610 | 1.9375 | 2 | [] | no_license | package com.xminds.jira.rest.client.api;
import com.xminds.jira.rest.client.ApiException;
import com.xminds.jira.rest.client.ApiClient;
import com.xminds.jira.rest.client.Configuration;
import com.xminds.jira.rest.client.Pair;
import javax.ws.rs.core.GenericType;
import com.xminds.jira.rest.client.model.ChangedWorkl... | true |
f3612351c6f83b9262ad8d2f6a83d9ba6ff25a51 | Java | renanrocha1/workspace | /EstrutruraDados/src/lista/UsaListaS.java | UTF-8 | 313 | 2.84375 | 3 | [] | no_license | package lista;
public class UsaListaS {
public static void main(String[] args) {
ListaSimples l = new ListaSimples();
l.inserePrimeiro("A", 1);
l.inserePrimeiro("A", 1);
l.inserePrimeiro("A", 1);
while(!l.estaVazio()){
System.out.println(l.primeiro().nomeEtapa);
l.removePrimeiro();
}
}
}
| true |
e5d33a6cb7f7859146c9db8469c03fa844808fb6 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_69fbd1d2995e735bcac9616daa5435c412d2f5ff/TransitServerGtfs/2_69fbd1d2995e735bcac9616daa5435c412d2f5ff_TransitServerGtfs_t.java | UTF-8 | 10,839 | 1.84375 | 2 | [] | no_license | /* This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be use... | true |
4b4d36883477f285bed612f3599bcaa22c8fd353 | Java | devidayalan/WELLOnlineAPITesting | /WELLOnline_APITesting/src/test/java/com/project/testCases/GetAAPTests.java | UTF-8 | 1,624 | 2.09375 | 2 | [] | no_license | package com.project.testCases;
import static io.restassured.RestAssured.given;
import java.io.IOException;
import org.testng.annotations.Test;
import com.common.base.TestBase;
import com.common.utils.ExcelParserUtils;
public class GetAAPTests extends TestBase {
@Test
public void getAAPAll() {
... | true |
de7bf44503885b7c6546cdb703c7d168220b5e91 | Java | xxfastboy/Recipes_Project | /Recipes/app/src/main/java/com/acer/recipes/fragments/AllRecipesFragment.java | UTF-8 | 4,784 | 2.078125 | 2 | [] | no_license | package com.acer.recipes.Fragments;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.LinearLayoutM... | true |
3a9e1c618449a97ca54a864de215d7b087407596 | Java | zeppaman/wrenchdb | /src/WrenchDb.Data/src/WrenchDb/Data/Helpers/DeleteBuilder.java | UTF-8 | 2,666 | 2.40625 | 2 | [] | no_license | /*
* Copyright (C) 2013 Daniele Fontani
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | true |
a0d9634bdda3c9bd927ef1a1b037b5ebcd19a1ee | Java | sgjh4040/TimeAttack | /src/main/java/kr/co/timeattack/web/member/model/MemberModel.java | UTF-8 | 1,904 | 2.015625 | 2 | [] | no_license | package kr.co.timeattack.web.member.model;
import kr.co.timeattack.web.cart.model.CartModel;
import kr.co.timeattack.web.good.model.GoodModel;
import kr.co.timeattack.web.member.dto.AdminMemberDto;
import kr.co.timeattack.web.member.dto.MemberDto;
import kr.co.timeattack.web.order.model.OrderModel;
import lombok.*;
i... | true |
e37a3b9f27091ff4751ec2efd70f2387fe3aadcf | Java | hungbv09089/DATN1 | /app/src/main/java/com/example/datn1/ui/activity/ProfileDetailAcivity.java | UTF-8 | 3,445 | 2.125 | 2 | [] | no_license | package com.example.datn1.ui.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.example.datn1.R;
import com.squareup.picasso.Picasso;
import de.hdodenhof... | true |
afe174e09dcd6dae534420aa70379b984e37449c | Java | lbydemo/movieRecommend | /business/src/main/java/com/example/business/pojo/Actor.java | UTF-8 | 235 | 1.75 | 2 | [] | no_license | package com.example.business.pojo;
import lombok.Data;
import java.io.Serializable;
@Data
public class Actor implements Serializable {
private int aid;
private String role;
private String name;
private String pic;
}
| true |
55ac90167a0ef5a8dfeb9a001b3e85695fe28451 | Java | ducnhuan/New | /NewTest/restfultserver/restful/webcontent/Employee.java | UTF-8 | 1,166 | 2.28125 | 2 | [] | no_license | package restful.webcontent;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "Response")
@XmlAccessorType(XmlAccessType.FIELD)
public class Employee {
private String ShopID;
private S... | true |
58b15c3d929c4015101c3868b337b39afbe4fdf6 | Java | KHikami/ProjectFiCallingDeciphered | /DialerJADXDecompile/cjj.java | UTF-8 | 380 | 1.632813 | 2 | [] | no_license | public final class cjj {
public static final bwi[] a;
static {
a = new bwi[]{new cjk(bwi.a("0\u0082\u0003\u00db0\u0082\u0002\u00c3\u00a0\u0003\u0002\u0001\u0002\u0002\t\u0000\u00abO\u00f9\u00af\u0013\u0017N\u00b50")), new cjl(bwi.a("0\u0082\u0003\u00db0\u0082\u0002\u00c3\u00a0\u0003\u0002\u0001\u0002\u... | true |
865c8e2768397d7ad5c32d4ac70c14923f82de03 | Java | SIM-YYF/flink-metrics | /src/main/java/com/k2data/yn/test/flink/HopJudgeFunction.java | UTF-8 | 2,076 | 2.46875 | 2 | [] | no_license | package com.k2data.yn.test.flink;
import com.k2data.yn.test.pojo.PointData;
import com.k2data.yn.test.pojo.PointDataWithHop;
import org.apache.flink.api.common.functions.RichMapFunction;
import org.apache.flink.api.common.state.ValueState;
import org.apache.flink.api.common.state.ValueStateDescriptor;
import org.apach... | true |
ce6dca43df67c211d3eb3045aa23cc812efabdf7 | Java | grozhnev/yaal_examples | /Groovy+/Xml/test/dom/XMLUnitUsage.java | UTF-8 | 1,051 | 2.34375 | 2 | [] | no_license | package dom;
import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.XMLUnit;
import org.junit.jupiter.api.Test;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
import java.io.IOException;
import static org.junit.jupiter.api.Assertions.assertFalse;
/**
* Использование статических метод... | true |
72a63df4fc8a3c4581da7ecf7062c040c906be79 | Java | jasta/dagger | /examples/android-simple/src/main/java/com/example/dagger/simple/dummy/DummyClass250.java | UTF-8 | 105 | 1.617188 | 2 | [
"Apache-2.0"
] | permissive | package com.example.dagger.simple.dummy;
public interface DummyClass250 {
public void printHello();
}
| true |
8350626d437428c8fea4154994cbcc0735fdbed1 | Java | lj88811498/db | /src/main/java/com/youedata/nncloud/modular/nanning/model/FinanceDetails.java | UTF-8 | 5,805 | 2.125 | 2 | [] | no_license | package com.youedata.nncloud.modular.nanning.model;
import com.youedata.nncloud.modular.nanning.anno.Too;
import io.swagger.annotations.ApiModel;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;... | true |
d5bc821af61112fe680f02ef100dfaa364d5c535 | Java | RyanTech/study_Android | /ComicsIsland_Community/src/com/android/comicsisland/bean/BookShopBean.java | UTF-8 | 492 | 1.585938 | 2 | [] | no_license | package com.android.comicsisland.bean;
import java.util.List;
/**
* 专辑bean
*
* @author zhjunliu
*
* 2014年7月23日
*/
public class BookShopBean {
public String targetmethod; // 跳转方法
public String bigbooksjson; //每个专辑漫画列表json数据
public String id; //专辑 id
public String targetargument; //跳转参数... | true |
4c0644a9a38abb7af71585c6af106cc0c99cd467 | Java | sproctor/warlock2 | /bundles/cc.warlock.core.stormfront/src/main/cc/warlock/core/stormfront/IStormFrontTagHandler.java | UTF-8 | 1,986 | 2.140625 | 2 | [] | no_license | /**
* Warlock, the open-source cross-platform game client
*
* Copyright 2008, Warlock LLC, and individual contributors as indicated
* by the @authors tag.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free ... | true |
a1fcdb9d54866c4aa8d799136be9b6f70b44f288 | Java | CabbageUntil/im | /src/main/java/com/csxx/service/webContact/WebContactService.java | UTF-8 | 1,290 | 1.648438 | 2 | [] | no_license | package com.csxx.service.webContact;
import com.csxx.vo.common.TableDTO;
import com.csxx.dto.contact.WebContactDetailDTO;
import com.csxx.bo.unifiedLogin.ValidResponseEntity;
import com.csxx.vo.webContact.CategoryVO;
import com.csxx.vo.webContact.DeleteList;
import com.csxx.vo.webContact.MergeResult;
import com.csxx.v... | true |
db9175a050e2a935ede957ef431fbcbc3d49ee90 | Java | mevryn/brewed-public | /server/src/main/java/com/brewed/core/model/brewery/Brewery.java | UTF-8 | 1,233 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package com.brewed.core.model.brewery;
import com.brewed.core.model.beer.Beer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
@AllArgsConstructor... | true |
c168cd4009cac44162a2548c905d5596e8199d9c | Java | Geisterkirche/ILB | /src/ILBprocessing/beans/helpers/NodeCCDMComponent.java | UTF-8 | 6,172 | 2.140625 | 2 | [] | no_license | package ILBprocessing.beans.helpers;
import ILBprocessing.MainEntryPoint;
import ILBprocessing.beans.NodeCCDMPair;
import lib.model.service.KeysDictionary;
import lib.tools.ConverterFINALIZED;
import lib.tools.GlobalPoolOfIdentifiers;
import java.util.ArrayList;
public class NodeCCDMComponent{
public String sour... | true |
acc6ae5774fa653cd948e42d31ac519424592863 | Java | jflanzer123/SampleWebJPAProject | /src/main/java/com/jflanzer/springboot/web/jpa/customerInvoices/entities/InvoiceLine.java | UTF-8 | 1,831 | 2.609375 | 3 | [] | no_license | package com.jflanzer.springboot.web.jpa.customerInvoices.entities;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import com.fasterxml.jackson.annotation.JsonIgnore;
@Entity
publ... | true |
d6c1c1c5dcaa316377261167c7b11cf7d2b630ad | Java | cato447/AbizeitungVotingSystem | /src/main/java/com/github/cato447/AbizeitungVotingSystem/entities/Candidate.java | UTF-8 | 1,373 | 2.859375 | 3 | [] | no_license | package com.github.cato447.AbizeitungVotingSystem.entities;
import javax.persistence.*;
@Entity
@Table(name = "candidates")
public class Candidate implements Comparable<Candidate>{
public Candidate() {
super();
}
public Candidate(String name, Category category) {
super();
this.na... | true |
8ceed27f9883ee02dc7dae7ef7409428bab9a3b9 | Java | P79N6A/alibaba-1 | /web-b/src/main/java/com/sun3d/why/service/impl/CcpSpecialEnterServiceImpl.java | UTF-8 | 2,210 | 2.203125 | 2 | [] | no_license | package com.sun3d.why.service.impl;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.culturecloud.model.be... | true |