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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ad0b2b2f1d81201017be7e264d9b300ad036df80 | Java | gauravchug/open-kilda | /services/wfm/src/main/java/org/openkilda/wfm/topology/network/service/NetworkBfdPortService.java | UTF-8 | 10,250 | 1.710938 | 2 | [
"Apache-2.0"
] | permissive | /* Copyright 2019 Telstra Open Source
*
* 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 |
271c013b27f79c758228ec66b06a00e5e4506dfe | Java | ggyool/study-alone | /design-pattern/intobooks/src/composite/Elevator.java | UTF-8 | 362 | 2.78125 | 3 | [] | no_license | package composite;
public class Elevator implements Device {
@Override
public void turnOn() {
System.out.println("Elevator on");
}
@Override
public void turnOff() {
System.out.println("Elevator off");
}
@Override
public void addDevice(Device device) {
throw new... | true |
a45e23d8f797fbe3f330247286c7b68e16e15962 | Java | BryceLee/android-demo | /demo/src/main/java/javademo/lizhongxin/demo/MainActivity.java | UTF-8 | 2,993 | 2.21875 | 2 | [] | no_license | package javademo.lizhongxin.demo;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import java.io.File;
import java.io.FileI... | true |
5f7f085caa3b9bf6d4b4abd09dcca566dd56d2b4 | Java | langitem/dissertation_spring_web_mvc | /SpringMvcImplementation2/src/com/emanuellangit/dissertation/model/SequenceInformation.java | UTF-8 | 933 | 2.1875 | 2 | [] | no_license | package com.emanuellangit.dissertation.model;
public class SequenceInformation {
private String nucleotideSequence;
private String filename;
private String blastDb;
private String emailAddress;
private Float eValue;
public String getNucleotideSequence() {
return nucleotideSequence;
}
public void setNucle... | true |
cb70147a9b2599b0baa1f181b9424a62a5e8ffa8 | Java | Pacorrote/Metodos_Numericos | /DerivacionNumerica/src/gui/Frame1.java | UTF-8 | 14,396 | 2.578125 | 3 | [] | no_license | package gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BoxL... | true |
6e7a5e5dde2144a2cf5f66e940423aa968f5315e | Java | sansiex/SansiLab | /sansilab-interpreter/src/main/resources/javacc/SansiScript/CommandNode.java | UTF-8 | 518 | 1.882813 | 2 | [] | no_license | /* Generated By:JJTree: Do not edit this line. CommandNode.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
public class CommandNode extends SimpleNode {
public CommandNode(int id... | true |
65af76ce641fc6d7fe8211c4a8f2b18d3f2d6858 | Java | razvangvr/clean-code-java | /src/main/java/victor/training/exception/GlobalExceptionHandler.java | UTF-8 | 1,246 | 2.34375 | 2 | [
"MIT"
] | permissive | //package victor.training.exception;
//
//import lombok.RequiredArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.context.MessageSource;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//import org.springframework.web.bind.annotation.ResponseStatus;
//import org.spring... | true |
285c2eb8395d5427785f43a70688c88f3713ca08 | Java | RITdb/ritdb.Translator | /src/ritdb/RiStdfToWideTables.java | UTF-8 | 11,582 | 2.640625 | 3 | [
"MIT"
] | permissive | package ritdb;
import java.io.File;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import jav... | true |
564621c63039f5b213a5842280188d811527a9fb | Java | athenaHyun/repository | /mydata/src/main/java/com/gsitm/mydata/api/insu/irps/transactions/IrpTranListDto.java | UTF-8 | 596 | 1.625 | 2 | [] | no_license | package com.gsitm.mydata.api.insu.irps.transactions;
import lombok.*;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class IrpTranListDto {
private String rspCode; // 세부 응답코드
private String rspMsg; /... | true |
810570b5d666a9975bb1a83c3917df7a022954d1 | Java | Emin-86/mySelenium | /src/test/java/com/cybertek/tests/homeWork/WindowHandlePractice.java | UTF-8 | 1,603 | 2.578125 | 3 | [] | no_license | package com.cybertek.tests.homeWork;
import com.cybertek.utilities.WebDriverFactory;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.test... | true |
28552c68c5b8766f16b004e8d2c67722e9103d89 | Java | isupersky/old-personal-projects | /SpringDataJpaGITHUB/BOOTCAMP-jpa2/jpa2project/src/main/java/com/jpa2/jpa2project/controller/SIngleTableController.java | UTF-8 | 1,003 | 2.3125 | 2 | [] | no_license | package com.jpa2.jpa2project.controller;
import com.jpa2.jpa2project.entities.Doctor;
import com.jpa2.jpa2project.entities.Person;
import com.jpa2.jpa2project.entities.Student;
import com.jpa2.jpa2project.repositories.PersonRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfra... | true |
2122860fc92faa561b60461dd9015fdf852b6dd4 | Java | 2017398956/StockHelper | /src/personal/nfl/utils/FileUtil.java | UTF-8 | 1,266 | 2.734375 | 3 | [] | no_license | package personal.nfl.utils;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.LineNumberReader;
public class FileUtil {
public static void readFile(String path) {
}
public static long getLineNumber(File file) {
if (file.exists()) {
try {
... | true |
715f3edfb807d1a79118aa622031dfdb7dbcc04a | Java | astepnov/play243java | /app/controllers/Application.java | UTF-8 | 398 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package controllers;
import com.google.inject.Inject;
import play.mvc.Controller;
import play.mvc.Result;
import services.SomeService;
import views.html.index;
public class Application extends Controller {
@Inject
private SomeService someService;
public Result index() {
someService.someMethod();... | true |
c1d4cfa86cafb71205964e45f21bec77dc3073d1 | Java | 123s678/menzhen | /xiangmuservice/src/main/java/com/xm/service/MedicalrecordtemplateDtoService.java | UTF-8 | 389 | 1.789063 | 2 | [] | no_license | package com.xm.service;
import com.xm.entity.dto.MedicalrecordtemplateDto;
import java.util.List;
import java.util.Map;
public interface MedicalrecordtemplateDtoService {
List<MedicalrecordtemplateDto> getMedicalDtoList(Map<String,Object> map);
int getCount(Map<String,Object> map);
List<Medicalrecordtem... | true |
7c314effd54025812cc0e1f1d7a9175ea246d1b9 | Java | nikhilkumarrathi/microservices-playground | /src/main/java/consumer/serde/ProductSerde.java | UTF-8 | 232 | 1.59375 | 2 | [
"MIT"
] | permissive | package consumer.serde;
import io.micronaut.configuration.kafka.serde.JsonSerde;
import producer.vo.Product;
public class ProductSerde extends JsonSerde<Product> {
public ProductSerde() {
super(Product.class);
}
}
| true |
4ba6712ca6eff82fafa98fa91d75ddba0d00cf44 | Java | nastacio/devops-insights-cognosde | /src/main/java/nastacio/cognosde/paas/CognosEmbeddedService.java | UTF-8 | 1,408 | 1.84375 | 2 | [
"Apache-2.0"
] | permissive | /********************************************************* {COPYRIGHT-TOP} ****
* Copyright 2018 Denilson Nastacio
*
* 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.apac... | true |
660f19be9c4eb8cecc4491bebe407fce7e620fba | Java | ElenaKrunic/Cinema_Project | /biosko/src/bioskop/model/Sala.java | UTF-8 | 780 | 2.3125 | 2 | [] | no_license | package bioskop.model;
import java.util.ArrayList;
public class Sala {
private int id;
private String naziv;
private ArrayList<TipProjekcije> tipProjekcije;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getNaziv() {
return naziv;
}
public void setNaziv(S... | true |
9f35e080d5edc6baa2136d153a568e8b9e39e925 | Java | Arbiture1/scc110 | /Square.java | UTF-8 | 1,503 | 3.5625 | 4 | [] | no_license | import javax.swing.*; // loads operations to give me a full range of tools
import java.awt.*; // loads operations to give me a full range of tools
import java.awt.Image; // loads operations to give me a full range of tools
import java.util.*; // loads operations to give me a full range of tools
import java.a... | true |
dc9208caa6583b2902fb77fb3c95d7552b02df2b | Java | normalek/money-transfers | /src/main/java/com/revolut/transfers/exception/account/AccountBalanceException.java | UTF-8 | 376 | 2.140625 | 2 | [] | no_license | package com.revolut.transfers.exception.account;
import com.revolut.transfers.exception.TransfersBaseException;
import com.revolut.transfers.util.ErrorEnum;
public class AccountBalanceException extends TransfersBaseException {
public AccountBalanceException(ErrorEnum errorEnum) {
super(errorEnum.getMessag... | true |
8a7068a1521b8e1a52dfe94658c1992cc14bfe4c | Java | ddpapa/PeanutVideo | /generator/src/main/java/org/peanutvideo/system/mapper/AppUserMapper.java | UTF-8 | 380 | 1.8125 | 2 | [] | no_license | package org.peanutvideo.system.mapper;
import org.peanutvideo.system.domain.AppUser;
public interface AppUserMapper {
int deleteByPrimaryKey(Integer id);
int insert(AppUser record);
int insertSelective(AppUser record);
AppUser selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(App... | true |
5c5f0043a32cb5781a086defa01731e147688c62 | Java | satishrsgp/API-Project | /src/main/java/com/endpoints/Chart_UpdateOrderedVaccine.java | UTF-8 | 17,052 | 1.742188 | 2 | [] | no_license | package com.endpoints;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Objects;
import org.testng.asserts.SoftAssert;
import com.testscripts.BaseTest;
import com.utils.DatabaseConnection;
import com.utils.Log;
import com.utils.ValidateResults;
public class Chart_UpdateOrderedVaccine
{
publi... | true |
7fc2194615adfa5a34d26c22d4b70d359cea18e1 | Java | Falco830/ProjectRepository | /Even Fibbonacci Numbers/src/LargestPalindrome.java | UTF-8 | 1,699 | 3.578125 | 4 | [] | no_license |
import java.math.*;
public class LargestPalindrome {
public static void main(String[] args) {
System.out.println("LARGEST PALINDROME with x-digit numbers: " + LargestPalindromeDigit(4));
}
public static int LargestPalindromeDigit(int digits) {
int numA = (int) (Math.pow(10, digits)) - 1;... | true |
99c59159bcb01f1505f25786eb62fd1ba02dcfc5 | Java | Nenma/ap-lab11 | /src/main/java/ro/uaic/info/pa/lab11/services/PlayerService.java | UTF-8 | 345 | 1.992188 | 2 | [] | no_license | package ro.uaic.info.pa.lab11.services;
import ro.uaic.info.pa.lab11.entity.model.Player;
import java.util.List;
public interface PlayerService {
List<Player> getAll();
Player getById(Long id);
Player save(Player player);
Player update(Player player);
Player patch(Player player);
void d... | true |
7bbb9bf1f88950d9b830efcaae152bc6e25e3dae | Java | NathanLi/CardDoctor | /app/src/main/java/com/yunkahui/datacubeper/test/ui/cardResult/ExpenseDistributeItemView.java | UTF-8 | 1,391 | 2.046875 | 2 | [] | no_license | package com.yunkahui.datacubeper.test.ui.cardResult;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.yunkahui.datacubeper.R;
/**
* 周末时间消费分布--item
*/
public class ExpenseDistributeItemView extends RelativeLayout {
... | true |
e8f47dc69539ae8f5aea58efa766127bd841a977 | Java | 98ning/LaiCode-3 | /537. Calculate factorial of n.java | UTF-8 | 282 | 2.96875 | 3 | [] | no_license | // Easy
// 求n的阶乘. Assumption, n > 1.
// Example:
// 1, n = 3, return 6
// 2, n = 4, return 24
// 3, n = 5, return 120
public class Solution {
public int factorial(int n) {
int ans = 1;
for (int i = 1; i <= n; ++i) {
ans *= i;
}
return ans;
}
}
| true |
e32b53c05b7135ce795a3da08a063dc7198315c9 | Java | akadir/case-study | /src/main/java/io/github/akadir/casestudy/discount/enumeration/DiscountType.java | UTF-8 | 1,121 | 2.984375 | 3 | [] | no_license | package io.github.akadir.casestudy.discount.enumeration;
public enum DiscountType {
RATE {
@Override
public double calculateDiscount(double price, double discountRate) {
if (isApplicable(price, discountRate)) {
return price * (discountRate * 0.01);
} else {
... | true |
52033d0ac869de50e987229d4b2fdbf177069d45 | Java | remmi21/ProjectSWS-Events | /src/main/java/event/Price.java | UTF-8 | 756 | 2.46875 | 2 | [] | no_license | package event;
import ioinformarics.oss.jackson.module.jsonld.annotation.JsonldProperty;
import ioinformarics.oss.jackson.module.jsonld.annotation.JsonldType;
@JsonldType("http://schema.org/PriceSpecification")
public class Price {
@JsonldProperty("http://schema.org/name")
private String name;
@JsonldProp... | true |
d87ad18d8b43b65c701502036c29f5c2910e9b9b | Java | Wesley-yang/RED | /src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin/src/org/robotframework/ide/eclipse/main/plugin/project/build/causes/ProblemCategory.java | UTF-8 | 15,876 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2015 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.ide.eclipse.main.plugin.project.build.causes;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.function.Predica... | true |
96d63921fe88bd637b83a9edb49b7945f7ba12c9 | Java | chenBingX/SuperTextView | /app/src/main/java/com/coorchice/supertextview/Utils/Timer.java | UTF-8 | 2,054 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2017 CoorChice <icechen_@outlook.com>
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... | true |
b745ac2424417003267477eaa9592eab749011a5 | Java | scimmia/Jiankangdangan | /app/src/main/java/com/jiayusoft/mobile/shengli/emr/community/ehr/EhrAdapter.java | UTF-8 | 2,822 | 2.109375 | 2 | [] | no_license | package com.jiayusoft.mobile.shengli.emr.community.ehr;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.ButterKnife;
import... | true |
5fa88a9432cb6128da7d2a682dd6579d55ede72f | Java | Arjunganta/new-project | /git project/src/gitproject/CricketApplication.java | UTF-8 | 4,508 | 2.828125 | 3 | [] | no_license | package gitproject;
import java.util.*;
public class CricketApplication {
static int score;
static int total = 0;
static int need;
static int[] balls = new int[6];
public static void getScore() {
Scanner sc = new Scanner(System.in);
LinkedList<String> batsman = new LinkedList<String>();
bat... | true |
01ea75b2b4103390bdeb41fb4738cef3f6cc3357 | Java | syed-ahamed04/ion-java | /src/com/amazon/ion/ValueFactory.java | UTF-8 | 18,918 | 2.4375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2007-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* o... | true |
b5ddc7ea7df468f4f5040626f1c99fb6a6d3737f | Java | Sumathy-Sridhar/Java_UseCases | /JavaLab_Two/src/com/srm/javalabtwo/StringConcatenation.java | UTF-8 | 553 | 3.3125 | 3 | [] | no_license | package com.srm.javalabtwo;
import java.util.Scanner;
import java.util.logging.Logger;
public class StringConcatenation {
static Logger log=Logger.getLogger(StringConcatenation.class.getName());
public static void main(String[] args) {
var sc=new Scanner(System.in);
log.info("Concatenating Two Strin... | true |
46dcc8457debaa52a52cef20be4f6f60979c4006 | Java | mh3061997/CareCureMedSystem | /src/main/java/com/carecure/medsysten/repositories/repoMedImage.java | UTF-8 | 234 | 1.640625 | 2 | [] | no_license | package com.carecure.medsysten.repositories;
import com.carecure.medsysten.resources.resMedImage;
import org.springframework.data.repository.CrudRepository;
public interface repoMedImage extends CrudRepository<resMedImage,Long> {
}
| true |
951b1c4e1d9f9e36eb0eec8f94350a92480d4f94 | Java | MateuszSz/hotel | /hotel/src/main/java/com/szymczak/service/RoomService.java | UTF-8 | 1,305 | 2.40625 | 2 | [] | no_license | package com.szymczak.service;
import com.szymczak.dto.RoomDto;
import com.szymczak.maper.DtoMaper;
import com.szymczak.model.Room;
import com.szymczak.model.WindowsOrientation;
import com.szymczak.repository.RoomRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... | true |
174fe3331ebdd5c7f6e80a8732e164882913cbdd | Java | Kenyo-cell/threadVariables | /1/src/User.java | UTF-8 | 513 | 3.234375 | 3 | [] | no_license | public class User extends Thread {
private final int FREQUENCY = 2500;
private final int COUNT = 5;
private final Game game;
public User(Game game) {
setName("User");
this.game = game;
}
@Override
public void run() {
for (int i = 0; i < COUNT; i++) {
try... | true |
85dd1078f3b10fff7b5e40ad30abb46b3a656efc | Java | MotiRR/ChatBot | /client/src/src/main/java/sber/edu/restrictions/RestrictionsSaver.java | UTF-8 | 1,940 | 2.6875 | 3 | [] | no_license | package sber.edu.restrictions;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.hibernate.Session;
import sber.edu.database.DataBaseManager;
import sber.edu.kafka.messageReceiver.MessageListener;
import sber.edu.kafka.messageReceiver.RestrictionEntity;
import sber.edu.kafka.messageReceive... | true |
25d15d725e5fb86b9e9a20958ba315a9c63ccf29 | Java | hrules6872/GitEgo | /app/src/main/java/com/hrules/gitego/presentation/commons/images/ImageLoader.java | UTF-8 | 1,518 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2017. Héctor de Isidro - hrules6872
*
* 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 appli... | true |
17ada83f5f14afcef6fac07f239ee2717a486b94 | Java | VSmigielski/mThree-Java-Program-Training | /LargestAndSmallestInArray/src/Main.java | UTF-8 | 1,613 | 4.28125 | 4 | [] | no_license | public class Main {
public static void main(String[] args) {
// Initialize and allocate memory for array of 8 elements
int[] arr = new int[8];
// Add values into array, begin at index 0
arr[0] = 2;
arr[1] = 3;
arr[2] = 4;
arr[3] = 0;
arr[4] = 1;
... | true |
f960be39da7450200750a501cc2eab72a3f85bbe | Java | aaomidi/DataStructures | /src/main/java/com/aaomidi/datastructures/lessons/l01/IArray.java | UTF-8 | 248 | 2.6875 | 3 | [] | no_license | package com.aaomidi.datastructures.lessons.l01;
public interface IArray {
/**
* Sorts the array.
*/
void sort();
/**
* Gets the index of a value in the array.
*
* @return
*/
int indexOf(int key);
}
| true |
c2fbc2c1dc7256cba6328f534f060911dbf102ae | Java | ijdotta/TDP-P3-Shooter | /src/logica/visitors/premios/VisitorAplicarCuarentena.java | UTF-8 | 1,766 | 2.84375 | 3 | [] | no_license | package logica.visitors.premios;
import logica.entidades.estados.InfectadoCongeladoState;
import logica.entidades.infectados.Alpha;
import logica.entidades.infectados.Beta;
import logica.entidades.infectados.Infectado;
import logica.entidades.jugador.Jugador;
import logica.entidades.premios.EfectoCuarentena;
import lo... | true |
a4948fc8ff2c41c2b534b18f216f64c835cd8c27 | Java | georgivelchev/Homework | /Java-Syntax-Homework/src/DecimaltoHex.java | UTF-8 | 282 | 3.015625 | 3 | [] | no_license | import java.util.Scanner;
import java.lang.StringBuilder;
public class DecimaltoHex {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int a = input.nextInt();
String hex = Integer.toHexString(a);
System.out.println(hex.toUpperCase());
}
}
| true |
7eaa7af979457dcd8927d06592268a17995830b9 | Java | pyromaticx/uxp-backend | /src/main/java/com/uxp/dao/OrganizationMasterDAO.java | UTF-8 | 216 | 1.507813 | 2 | [] | no_license | package com.uxp.dao;
import org.springframework.data.repository.CrudRepository;
import com.uxp.model.OrganizationMaster;
public interface OrganizationMasterDAO extends CrudRepository<OrganizationMaster, Long>{
}
| true |
871a7cb1298e328ce5b277cc5df836d68e07ff32 | Java | mio4kon/AspectMahou | /decompile/output/app/src/main/java/org/aspectj/lang/reflect/InterTypeMethodDeclaration.java | UTF-8 | 590 | 2.015625 | 2 | [
"MIT"
] | permissive | package org.aspectj.lang.reflect;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
public abstract interface InterTypeMethodDeclaration
extends InterTypeDeclaration
{
public abstract AjType<?>[] getExceptionTypes();
public abstract Type[] getGenericParame... | true |
0d3d663929f13db58a9d06af3d260308e2b7dcb4 | Java | Irwin1985/Foxship | /src/v1/AstProgram.java | UTF-8 | 196 | 2.03125 | 2 | [] | no_license | package v1;
import java.util.List;
public class AstProgram extends Ast {
List<Ast> commands;
public AstProgram() {}
public AstProgram(List<Ast> commands){
this.commands = commands;
}
}
| true |
f32f3714f768fcbb71ec817614ac41791ef648de | Java | thysce/fast3d | /fast3d/simple/FrameRate.java | UTF-8 | 4,763 | 3.46875 | 3 | [] | no_license | package fast3d.simple;
import fast3d.math.Vector3d;
/**
* a class used by SimplePanel3d to acquire constant over time repaint() calls
* <br>
* repaints the JComponent given to the constructor ongoing in specified
* intervals <br>
*
* @author Tim Trense
*/
public class FrameRate extends Thread {
private fina... | true |
cd4c7373c5a7dbaf8f5e78f7c63c8613c766b0fb | Java | ejb3/spring-retry-demo | /src/test/java/com/example/spring/retry/RemoteServiceTest.java | UTF-8 | 612 | 1.953125 | 2 | [] | no_license | package com.example.spring.retry;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
import com.example.spring.retry.se... | true |
793bf1ab78ecd8f7beeeedfea41fd3b6ef7f70d2 | Java | wjyGamedev/client_taixinkanghu | /taixinkanghu/src/main/java/com/taixinkanghu/widget/dialog/register_page_dialog/RegisterDialog.java | UTF-8 | 3,391 | 2.078125 | 2 | [] | no_license | /**
* Copyright (c) 213Team
*
* @className : com.taixinkanghu.widget.dialog.register_page_dialog.${type_name}
* @version : 1.0.0
* @author : WangJY
* @description : ${TODO}
* <p/>
* Modification History:
* Date Author Version Description
* ----------------------------------------------------------... | true |
c30175d52a1e69374a9caf95de4cec954af9b44a | Java | moraleAK/canno | /src/main/java/com/el/canno/thread/MyThreadPool.java | UTF-8 | 585 | 2.296875 | 2 | [] | no_license | package com.el.canno.thread;
import sun.nio.ch.ThreadPool;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/**
* User Canno
* Date 2018/3/28
* Time 10:03
*/
public class MyThreadPool {
private final ThreadPoolExecutor exec... | true |
027ce46481acbdf42fb0c0de068062efe4680d04 | Java | geisadedica/teste-api-cvc | /src/main/java/br/com/cvc/test/ClienteBrokerTest.java | UTF-8 | 1,014 | 2.296875 | 2 | [] | no_license | package br.com.cvc.test;
import static org.junit.Assert.*;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.LinkedHashMap;
import org.apache.http.client.ClientProtocolException;
import org.junit.Test;
import br.com.cvc.bean.QuartoBean;
import br.com.cvc.client.service.impl.HotelServiceImpl;... | true |
0fc399a88d4e3cd85b62e9b58fe210557549eaa8 | Java | Vibhor0705/Lab_book | /lab10/Lab10Exercise3.java | UTF-8 | 328 | 3.453125 | 3 | [] | no_license | interface Power3{
void power(String x,String y);
}
public class Lab10Exercise3 {
public static void main(String[]args)
{
Power3 fobj = (x,y) -> {
if (x=="VIBHOR" && y=="JAISWAL")
System.out.println(true);
else
System.out.println(false);
};
fobj.power("VIBHOR","JAISWAL");
... | true |
7c9805c5149ed33fcbd64585918f62fc599834b8 | Java | danieromanoff/Software-Management-Tool | /SoftwareManagementTool/src/softwaremanagementtool/agile/ui/SaveAlert.java | UTF-8 | 562 | 2.4375 | 2 | [] | no_license | package softwaremanagementtool.agile.ui;
import java.util.Optional;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import javafx.scene.control.Alert.AlertType;
public class SaveAlert {
public static boolean save() {
Alert alert = new Alert(AlertType.CONFIRMATION);
alert.setTitle("... | true |
b697fa3b729dff19a51c6f6e568010aea7188bf8 | Java | ingorewho/alipay-exam | /alipay-redpack/src/main/java/com/alipay/redpack/api/dao/RedPackDAO.java | UTF-8 | 914 | 2.109375 | 2 | [] | no_license | package com.alipay.redpack.api.dao;
import com.alipay.redpack.api.entity.RedPacket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @Author renzhiqiang
* @Description 红包数据库接入层
* @Date 2019-04-10
**/
@Mapper
public interface RedPackDAO {
/... | true |
65b1d8ab3aae332d42258aa0bd1ca59e70cded87 | Java | UlasMuezzinoglu/hrmsFinal | /src/main/java/ulas/hrmsDemo/entities/concretes/Talent.java | UTF-8 | 1,018 | 1.96875 | 2 | [] | no_license | package ulas.hrmsDemo.entities.concretes;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persist... | true |
393f737e42d35515d8071aa074f2bf29fa94a037 | Java | Wu-Zi-Xia/keep | /src/main/java/com/cduestc/keep/service/CommentService.java | UTF-8 | 5,878 | 2.109375 | 2 | [] | no_license | package com.cduestc.keep.service;
import com.cduestc.keep.dto.AchieveCommentDTO;
import com.cduestc.keep.enums.CommentTypeEnum;
import com.cduestc.keep.mapper.CommentExMapper;
import com.cduestc.keep.mapper.CommentMapper;
import com.cduestc.keep.mapper.PostExMapper;
import com.cduestc.keep.model.Comment;
import com.cd... | true |
9e80eb8e49f6538bafbba5656825b20cd63bdd3d | Java | huangqiang01/hdd | /src/com/hdd/bean/ImgArr.java | GB18030 | 2,426 | 1.867188 | 2 | [] | no_license | package com.hdd.bean;
import java.io.Serializable;
/**
*
* ȡͼƬ
* @author Q
* @created 201674 2:28:23
* @since
*/
public class ImgArr implements Serializable {
private static final long serialVersionUID = 773534906664586976L;
private String id;
private String typeid;
private String albumid;
private Strin... | true |
88039202a3487dce9dd12b408b81a2b564aecb99 | Java | saranmovva/Java-Swing-Game | /src/edu/ben/groupproject/Board.java | UTF-8 | 5,085 | 3.40625 | 3 | [] | no_license | package edu.ben.groupproject;
/**
* Board class that manipulates the game board
*
* @author Saraan
*/
public class Board {
private Tile[][] board;
/**
* Default Constructor
*/
public Board() {
board = new Tile[MirskyTrail.HEIGHT_OF_BOARD][MirskyTrail.WIDTH_OF_BOARD];
clearBoard();
}
/**
* Gets ... | true |
e76a40dcb942685c1922135d4da98c49ad93f0f8 | Java | nekkantiravi/Testcucumber | /PurchaseAndDelivery/Common/src/main/java/com/macys/sdt/projects/PurchaseAndDelivery/Common/panels/website/checkout/interfaces/PlentiSection.java | UTF-8 | 734 | 1.523438 | 2 | [] | no_license | package com.macys.sdt.projects.PurchaseAndDelivery.Common.panels.website.checkout.interfaces;
import com.macys.sdt.projects.PurchaseAndDelivery.Common.htmlelements.annotations.FindBy;
import com.macys.sdt.projects.PurchaseAndDelivery.Common.pages.Page;
import ru.yandex.qatools.htmlelements.element.Button;
import ru.ya... | true |
0629e2bcaad59ba5a8dfde09a6289a92d3194e7b | Java | jimcoles/actionable | /actionables-pmc-ref/src/main/java/com/oculussoftware/api/repi/ViewType.java | UTF-8 | 2,552 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package com.oculussoftware.api.repi;
/**
* $Workfile: ViewType.java $
* Create Date: 5/11/2000
* Description: Enumerates types of views for DataView
*
* Copyright 7-01-2000 Oculus Software. All Rights Reserved.
*
* @author J. Coles
* @version 1.2
*/
/* $History: ViewType.java $
*
* ***************** Version 5 **... | true |
526024c4ede00d399eac8a56c2016fa33f58b51f | Java | sparkaochong/java-basic | /src/main/java/com/ac/day20190209/PersonTest.java | UTF-8 | 408 | 2.5625 | 3 | [] | no_license | package com.ac.day20190209;
/**
* Created by Chong Ao on 2019/2/9.
*/
public class PersonTest {
public static void main(String[] args) {
//这个时候没有实例化对象产生
System.out.println(Person.getCountry());
Person.setCountry("中国-清朝");
System.out.println(Person.getCountry());
System.out... | true |
74848cf08654eae13cbc9a1f0df077c45c8ebd3d | Java | pcache/utopiasite | /src/main/java/com/nuoyu/utopia/utopiasso/common/utils/JsonUtil.java | UTF-8 | 2,953 | 2.921875 | 3 | [] | no_license | package com.nuoyu.utopia.utopiasso.common.utils;
import com.nuoyu.utopia.utopiasso.web.dto.ExampleDto;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.map.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.ArrayList;
import java.util.I... | true |
c5204ffdb83f8ee14ecc688c4776448a9f403204 | Java | EthanPrentice/Shaka_Android | /app/src/main/java/ethanprentice/com/partyplaylist/adt/PlayerStatus.java | UTF-8 | 298 | 2.4375 | 2 | [] | no_license | package ethanprentice.com.partyplaylist.adt;
public enum PlayerStatus {
PLAYING (1001),
PAUSED (1002),
STOPPED (1003),
ERROR (1004);
private int val;
PlayerStatus (int val) {
this.val = val;
}
public int getValue() {
return val;
}
}
| true |
acd9491d65f97fc28920081e48c65fe178afb63b | Java | cainzhong/java-mail-with-signature-demo | /src/test/java/com/java/mail/signature/operation/DataServiceTest.java | UTF-8 | 965 | 2.203125 | 2 | [] | no_license | package com.java.mail.signature.operation;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.easymock.PowerMock;
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
public class DataServiceTest {
@T... | true |
450b89fdf46534e788c45b7d116a88d5f311fd28 | Java | vivekpandey46/Testing | /p/DemoTestNG/src/TestNG/DepensMethodsDemo.java | UTF-8 | 322 | 2.5 | 2 | [] | no_license | package TestNG;
import org.testng.annotations.Test;
public class DepensMethodsDemo {
@Test(priority=1)
public void DependsMethods()
{
System.out.println("First Mehtods");
int i=9/0;
}
@Test(dependsOnMethods = "DependsMethods")
public void DepndsMethod1()
{
System.out.println("Second Method");
}
... | true |
3e48c8fc995f8b2147a38e35df81411adc73063c | Java | CoffeeAfterWakingUp/MedHelp | /src/main/java/com/epam/tcfp/medHelp/entity/MedicineByPharmacy.java | UTF-8 | 1,890 | 2.484375 | 2 | [] | no_license | package com.epam.tcfp.medHelp.entity;
import java.util.Objects;
public class MedicineByPharmacy {
private Long id;
private Medicine medicine;
private Pharmacy pharmacy;
private Integer price;
private Boolean exist;
public Long getId() {
return id;
}
public ... | true |
79290aa446bbd3a2e712a823b36b6c6b85f75553 | Java | frankmolenaar1986/fpai-powermatcher | /net.powermatcher.fpai.test/src/net/powermatcher/fpai/test/SystemTimeService.java | UTF-8 | 441 | 2.421875 | 2 | [] | no_license | package net.powermatcher.fpai.test;
import net.powermatcher.core.scheduler.service.TimeService;
/** Implementation of the TimeService which uses the system clock */
public class SystemTimeService implements TimeService {
@Override
public long currentTimeMillis() {
// use the system clock
return System.currentTi... | true |
8e124027cf91a0a80fcfdcfbd057d1c2b2f7d103 | Java | gekson/vanhackforum | /VanHackForum/src/main/java/com/vh/forum/service/CommentaryService.java | UTF-8 | 1,663 | 2.15625 | 2 | [] | no_license | package com.vh.forum.service;
import java.time.LocalDateTime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;
import org.spring... | true |
497084724316efe708fbcfa2f4345b536cfd51c4 | Java | afrianwick/tes2 | /iam/src/main/java/com/pertamina/portal/iam/activity/PayslipActivity.java | UTF-8 | 28,435 | 1.578125 | 2 | [] | no_license | package com.pertamina.portal.iam.activity;
import android.Manifest;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bun... | true |
07f4de74d78ed0eda1779510aefcfc2f1ee976a5 | Java | LuigiPapino/PapinoMovieDB | /app/src/main/java/net/dragora/papinomoviedb/common/Tools.java | UTF-8 | 1,578 | 2.078125 | 2 | [] | no_license | package net.dragora.papinomoviedb.common;
import android.content.Context;
import com.nispok.snackbar.Snackbar;
import com.nispok.snackbar.SnackbarManager;
import com.nispok.snackbar.listeners.ActionClickListener;
import net.dragora.papinomoviedb.R;
/**
* Created by nietzsche on 27/06/15.
*/
public class Tools {
... | true |
6b4c4d602a6c1f8fcf5c022e697865d4bcd02d56 | Java | afelipe20125/java-song | /song/src/song/Song.java | UTF-8 | 1,949 | 3.21875 | 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 song;
/**
*
* @author mlarrubia
*/
public class Song {
/**
* @param args the command line arguments... | true |
16ee6d63cf212955fe483bb7d36484fa5a85302a | Java | newSue/trade | /trade-facade/src/main/java/com/pzj/voucher/lineVo/SpecialityProductVoucherVo.java | UTF-8 | 454 | 2.109375 | 2 | [] | no_license | package com.pzj.voucher.lineVo;
import java.io.Serializable;
/**
* 特产产品凭据信息.
* @author YRJ
*
*/
public class SpecialityProductVoucherVo implements Serializable {
private static final long serialVersionUID = 1L;
/** 收货人信息 */
private String address;
public String getAddress() {
... | true |
bb43af7d640945b110a58102cbc37ec7997c38a2 | Java | Hossam-C/front | /src/main/java/com/mediscreen/front/service/PatientService.java | UTF-8 | 401 | 1.960938 | 2 | [] | no_license | package com.mediscreen.front.service;
import com.mediscreen.front.DTO.PatientDTO;
import java.util.List;
public interface PatientService {
public PatientDTO getPatient(Integer id);
public List<PatientDTO> getPatientList();
public PatientDTO addPatient(PatientDTO patientDTO);
public PatientDTO upd... | true |
302dbf5488271f6ac14e5d223c03903a7cd70f4b | Java | ml-think-tanks/msm8996-vendor | /cne/iwlanservice/src/vendor/qti/iwlan/IWlanLog.java | UTF-8 | 1,916 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
package vendor.qti.iwlan;
import android.util.Log;
import android.os.SystemProperties;
public class IWlanLog {
private static boolean DBG_PROPERTY = SystemProperties.get... | true |
9134b7bd383cbe0cb7768b1b08e262239db9dc2d | Java | officefloor/OfficeFloor | /officefloor/tutorials/JwtHttpServer/src/test/java/net/officefloor/tutorial/jwthttpserver/JwtHttpServerTest.java | UTF-8 | 2,887 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | package net.officefloor.tutorial.jwthttpserver;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import net.officefloor.server.http.HttpMethod;
import... | true |
7a7a7810e0e60b9b9136743a44532ec1a3206797 | Java | abgl1993/Test | /src/com/timesinternet/alive/search/beans/Result.java | UTF-8 | 1,184 | 2.09375 | 2 | [] | no_license | package com.timesinternet.alive.search.beans;
import java.io.Serializable;
public class Result implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private String imageLink;
private String title;
private String source;
private String link;
private String master_category... | true |
f021366eb247dddc2740eb5aae7e9ae8d191717d | Java | jbear18/Level-0-Jessie-Shen | /src/CircleRing.java | UTF-8 | 1,400 | 3.421875 | 3 | [] | no_license | /*******************************************************************************
* Copyright (c) The League of Amazing Programmers 2013-2017
* Level 0
* Circle Ring
* Duration=.5
* Platform=Eclipse
* Type=Recipe
* Objectives=nested for loops
*
********************************************... | true |
12f6bb354f31b6bd3a3bb5785522df1cf8e76f28 | Java | zuzuAndroid/epolice | /db/src/main/java/mapper/CarColorMapper.java | UTF-8 | 678 | 2.28125 | 2 | [] | no_license | package mapper;
import org.apache.ibatis.annotations.*;
import pojo.CarBrand;
import pojo.CarColor;
import java.util.List;
@Mapper
public interface CarColorMapper {
@Select("select id,code,name from car_color order by id")
List<CarColor> findAll();
@Select("select id,code,name from car_color where name... | true |
80ca7fba79e1bf81e281868a867328eee4fc535e | Java | liuweiming1997/201527010414vimiming | /src/main/java/cn/edu/scau/cmi/liuweiming/composite/safe/Organization.java | UTF-8 | 191 | 2.234375 | 2 | [] | no_license | package cn.edu.scau.cmi.liuweiming.composite.safe;
public abstract class Organization {
String name;
Organization(String _name) {
name = _name;
}
abstract String getName();
}
| true |
807f2c7e1ab296286048e35e65d0aa6918666909 | Java | ingjuanfg/test_automation_screenplay | /src/main/java/co/com/ingjuanfg/userinterface/HomeProductsPage.java | UTF-8 | 1,183 | 2.015625 | 2 | [] | no_license | package co.com.ingjuanfg.userinterface;
import static net.serenitybdd.screenplay.targets.Target.the;
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.screenplay.targets.Target;
import org.openqa.selenium.By;
public class HomeProductsPage extends PageObject {
public static final Target LBL_PRODU... | true |
4a5beb1912a1d0da8d5d38f1820614f5d076e78b | Java | satyendra91/codeTest | /social/src/main/java/com/hsbc/test/social/MaximumLenghException.java | UTF-8 | 218 | 1.59375 | 2 | [] | no_license | package com.hsbc.test.social;
public class MaximumLenghException extends RuntimeException {
public MaximumLenghException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
}
| true |
b2be9db83002a57cb88aa3f87b5074e0d773bdd6 | Java | okelah/PrimeFacesAdminLTE | /src/main/java/com/kurtomerfaruk/admin/chart/Pie.java | UTF-8 | 3,383 | 2.140625 | 2 | [] | no_license | package com.kurtomerfaruk.admin.chart;
import com.googlecode.wickedcharts.highcharts.options.ChartOptions;
import com.googlecode.wickedcharts.highcharts.options.Cursor;
import com.googlecode.wickedcharts.highcharts.options.DataLabels;
import com.googlecode.wickedcharts.highcharts.options.PlotOptions;
import co... | true |
5d299f0bae5bde29bab6ebf30bf30bf97d44065c | Java | MinecraftRoleplayDevelopment/Plugins | /Sounds/jp/mydns/dyukusi/itemsounds/listener/InventoryListener.java | UTF-8 | 3,767 | 2.125 | 2 | [] | no_license | /* */ package jp.mydns.dyukusi.itemsounds.listener;
/* */
/* */ import java.util.HashMap;
/* */ import jp.mydns.dyukusi.itemsounds.ItemSounds;
/* */ import jp.mydns.dyukusi.itemsounds.soundinfo.SoundInformation;
/* */ import org.bukkit.Material;
/* */ import org.bukkit.Sound;
/* */ import org.b... | true |
b7f6eac8bdb3ab464d71cc544dfd1b0d8da62cb2 | Java | athahar123/AutomationSeleniumJavaProject | /AutomationSeleniumJavaProject/src/javaTests/StringManipulationsTest.java | UTF-8 | 3,823 | 3.703125 | 4 | [] | no_license | package javaTests;
/**
* String Test
*
* @author Sangam
*/
public class StringManipulationsTest {
public static void StringConcatenation(String fn, String mn, String ln, int age){
System.out.println(fn + " "+ mn + " "+ ln + "'s age is "+ age +" years!");
//FirstName MiddleName LastName's age i... | true |
9f84fb64aa9c62b049e011253e8e087188a02c88 | Java | jrodriguezcepa/AssesmentV2 | /Assesment/src/assesment/persistence/user/UsReportLocalHome.java | UTF-8 | 451 | 1.539063 | 2 | [] | no_license | /*
* Generated by XDoclet - Do not edit!
*/
package assesment.persistence.user;
/**
* Local home interface for UsReport.
* @generated
*/
public interface UsReportLocalHome
extends javax.ejb.EJBLocalHome
{
public static final String COMP_NAME="java:comp/env/ejb/UsReportLocal";
public static final String ... | true |
16839786a6b15f393c1292243e8ee8b89ebb97da | Java | 972507002/The-Web-of-Used-car-Trading-Servlet-version- | /后台/S4Manager/src/cn/com/service/impl/CarAgeServiceImpl.java | UTF-8 | 2,594 | 2.421875 | 2 | [] | no_license | package cn.com.service.impl;
import java.util.List;
import java.util.Map;
import cn.com.bean.*;
import cn.com.dao.impl.*;
import cn.com.dao.*;
import cn.com.service.*;
/**
* 车龄信息服务实现类
*@author lej
*/
public class CarAgeServiceImpl implements ICarAgeService,IPageDao {
//车辆信息操作实现类的引用
private CarAgeDaoImpl carAge... | true |
44a2e1097e3ce2936acc68e72e52f088bb76871c | Java | losblancos113/graphql-test | /src/main/java/com/hmtri/graphqltest/repository/UserRepository.java | UTF-8 | 435 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | package com.hmtri.graphqltest.repository;
import com.hmtri.graphqltest.model.User;
import org.springframework.data.cassandra.core.mapping.MapId;
import org.springframework.data.cassandra.repository.CassandraRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interf... | true |
60285742352fc23a34fb5514c33020cc4616d970 | Java | blastlab-teamcity/youtrack-worklog-viewer | /src/main/java/de/pbauerochse/worklogviewer/excel/ExcelColumnRenderer.java | UTF-8 | 4,182 | 2.578125 | 3 | [
"MIT"
] | permissive | package de.pbauerochse.worklogviewer.excel;
import de.pbauerochse.worklogviewer.fx.tabs.domain.DisplayRow;
import javafx.scene.control.TreeItem;
import org.apache.poi.ss.usermodel.*;
import java.util.List;
/**
* @author Patrick Bauerochse
* @since 07.07.15
*/
public abstract class ExcelColumnRenderer {
priva... | true |
3dcd1fc57a94e17de4c8a08e453aa6720231b1de | Java | kingTec-org/Zhitingyun | /zhiting-andr1/app/src/main/java/com/xiyoukeji/zhitingyun/bindings/ImageBindings.java | UTF-8 | 595 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | package com.xiyoukeji.zhitingyun.bindings;
import android.databinding.BindingAdapter;
import android.widget.ImageView;
import com.xiyoukeji.zhitingyun.util.GlideUtil;
import com.xiyoukeji.zhitingyun.util.Utils;
public class ImageBindings {
@BindingAdapter("avatar_url")
public static void loadIc(ImageView i... | true |
0d725081f473177de7d9fe73edfcb90cde167d74 | Java | rezghansa/webSenasumaT | /src/webSenasumaT/SubTopics.java | UTF-8 | 2,418 | 2.34375 | 2 | [] | no_license | package webSenasumaT;
import java.io.Serializable;
import java.sql.ResultSet;
import java.util.HashMap;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.ComponentSystemEvent;
@ManagedBean(name = "subtopics", eager... | true |
78d5adcae2d276831be07d135dab427ae550ad57 | Java | Vidya-Jay/ProjectTest | /src/online/Condition_Methods.java | UTF-8 | 1,946 | 2.75 | 3 | [] | no_license | package online;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class Condition_Methods {
public static WebDriver driver;
public void Login() throws InterruptedEx... | true |
42e90d244e11f843b012dcc768a8e38187026371 | Java | carlosmahumane/fenix | /src/main/java/net/sourceforge/fenixedu/presentationTier/Action/exceptions/InvalidSituationActionException.java | UTF-8 | 3,683 | 2.421875 | 2 | [] | no_license | /*
* Created on 5/Mar/2003
*
* To change this generated comment go to
* Window>Preferences>Java>Code Generation>Code Template
*/
package net.sourceforge.fenixedu.presentationTier.Action.exceptions;
/**
*
* @author Nuno Nunes (nmsn@rnl.ist.utl.pt) Joana Mota (jccm@rnl.ist.utl.pt)
*/
public class InvalidSituat... | true |
08fc693023af9e6d5dd4c9516126d367f1f06427 | Java | metanet-ci/joker | /joker-engine/src/test/java/cs/bilkent/joker/engine/adaptation/impl/adaptationaction/SplitPipelineActionTest.java | UTF-8 | 6,826 | 1.75 | 2 | [] | no_license | package cs.bilkent.joker.engine.adaptation.impl.adaptationaction;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import cs.bilkent.joker.engine.adaptation.AdaptationAction;
import cs.bilkent.joker.engine.adaptation.AdaptationPerformer;
import cs.bilkent.joker.engine.adaptation.impl.adaptation... | true |
d760a30c5f45e72bb5953262d2b09e4ec351d319 | Java | cvdnn/PanoramaApp | /app-meipai/src/main/java/com/arashivision/onestream/Codec/BufferInfo.java | UTF-8 | 150 | 1.53125 | 2 | [] | no_license | package com.arashivision.onestream.Codec;
public class BufferInfo {
public int flags;
public long presentationTimeUs;
public int size;
}
| true |
d92f46e1742f429cda32445681249f0e80fd1904 | Java | love208-vip/wei-dev-utils | /src/main/java/com/superwei/utils/excel/aliexcel/test/ExcelController.java | UTF-8 | 4,784 | 2.296875 | 2 | [] | no_license | package com.superwei.utils.excel.aliexcel.test;
import com.superwei.utils.excel.aliexcel.EasyExcelUtil;
import com.superwei.utils.http.HttpClientUtil;
import org.apache.commons.io.FileUtils;
import org.apache.http.entity.ContentType;
import org.springframework.mock.web.MockMultipartFile;
import org.springframework.we... | true |
720877ac869ad3e34f8b9e9fa87b8933ccbd0538 | Java | hanasat/BacklogIFP | /src/com/program/main.java | UTF-8 | 1,018 | 2.421875 | 2 | [] | no_license | package com.program;
import com.dao.NewsDao;
import com.dao.ReporterDao;
import com.model.News;
import com.model.Tag;
import java.sql.SQLException;
import java.sql.Date;
import java.util.ArrayList;
public class main {
public static void main(String[] args) throws Exception {
/*
ReporterDao reporter = ne... | true |
1887e065db58477d13dddae59bdfb741e7b26b15 | Java | ashishrpc/test | /src/com/myExecutor/Producer.java | UTF-8 | 703 | 3 | 3 | [] | no_license | package com.myExecutor;
public class Producer implements Runnable{
private Broker broker;
public Producer(Broker broker){
this.broker=broker;
}
@Override
public void run() {
// TODO Auto-generated method stub
try{
for(int i=0;i<10;i++){
... | true |
42d798dabcdddc3249b742d497c144fb01485277 | Java | jdonee/MyBatis-Spring-Boot | /src/main/java/jdonee/mybatis/springboot/mapper/CityMapper.java | UTF-8 | 252 | 1.640625 | 2 | [] | no_license | package jdonee.mybatis.springboot.mapper;
import jdonee.mybatis.springboot.model.City;
import jdonee.mybatis.springboot.util.MyMapper;
/**
* @author liuzh_3nofxnp
* @since 2016-01-22 22:17
*/
public interface CityMapper extends MyMapper<City> {
}
| true |
a72ac049557adb87ce2be5342d548877775082c1 | Java | sanikapanika/spring-rate-limiter | /spring-rate-limiter/src/main/java/com/sanikapanika/ratelimiter/ThrottlingKey.java | UTF-8 | 3,104 | 2.75 | 3 | [
"Apache-2.0"
] | permissive | package com.sanikapanika.ratelimiter;
import com.sanikapanika.ratelimiter.cache.Cache;
import java.lang.reflect.Method;
import java.util.Objects;
/**
* Class holding method execution context
* Used as a key in {@link Cache}
*/
public class ThrottlingKey {
private final Method method;
private final int li... | true |
cbd21bfd2e868765ae695013c65d52dc90366f3c | Java | vriche/adrm | /src/dao/com/vriche/adrm/model/Carrier.java | WINDOWS-1252 | 12,672 | 1.6875 | 2 | [] | no_license | /****************************************************************************
* Created on 2006-10-13 *
* *
* @author <a href="mailto:hongxilin@yahoo.com.cn">hongxi</a> *
*... | true |
46332737a10440638dd5b61316acf24ceac94926 | Java | daguGit/jianzhi-offer | /src/main/java/com/github/dagugit/algorithm/_19_PrintMatrix.java | UTF-8 | 2,376 | 4.25 | 4 | [] | no_license | package com.github.dagugit.algorithm;
import java.util.ArrayList;
/**
* 顺时针打印矩阵
* <p>
* 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,
* 例如,如果输入如下4 X 4矩阵: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
* 则依次打印出数字1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10.
*/
public class _19_PrintMatrix {
/**
* 思路:
* 1、特殊情况
* -A:当matri... | true |