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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
5dc192c6f6fb34f143b2e5edd73a125a2aeb7c97 | Java | eodgooch/Adventure | /src/adventure/Predicate.java | UTF-8 | 207 | 2.234375 | 2 | [] | no_license |
package adventure;
/*
* Interface Predicate
*
* Implemented by a predicate suitable for passing to the Person.hasA
* method
*
*/
public interface Predicate {
public boolean check (Thing obj);
}
| true |
bddcff10b2b69713b23a776690e48a3904e63170 | Java | dmartinpro/gwt-incubator-lib | /GWT-Incubator-Security/src/main/java/com/gwtincubator/security/server/GWTAuthenticationProcessingFilter.java | UTF-8 | 1,379 | 2.15625 | 2 | [] | no_license | /**
*
*/
package com.gwtincubator.security.server;
import javax.servlet.http.HttpServletRequest;
import org.springframework.security.AuthenticationException;
import org.springframework.security.ui.webapp.AuthenticationProcessingFilter;
/**
* In order to return an error page with a HTTP status code 4xx... | true |
cf13736f18592349dc82f4f0ca5fbeadd070ac8b | Java | yashols/JavaConcurrency | /src/main/java/com/problems/ReverseQueue.java | UTF-8 | 1,293 | 3.59375 | 4 | [] | no_license | package com.problems;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Stack;
public class ReverseQueue {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedRea... | true |
7bad9b0f0b8262402570c3a2a93e6630a03f1919 | Java | 1992aleksandar/hotel-reservations-app-spring-boot | /hotel-spring-boot/src/test/java/com/hotelapp/swb/service/unit/HotelServiceTests.java | UTF-8 | 3,579 | 2.09375 | 2 | [] | no_license | package com.hotelapp.swb.service.unit;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import javax.transaction.Transactional;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans... | true |
391ff6ea5ca6128439cf48b5e9b5aca1d37851e1 | Java | Nova281/7Wonders | /src/Board.java | UTF-8 | 11,248 | 2.921875 | 3 | [] | no_license | import java.io.*;
import java.util.StringTokenizer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Scanner;
import java.util.Iterator;
import static java.lang.System.*;
public class Board {
private ArrayList<Card> deck;
private ArrayList<Card> discard;
p... | true |
c381efe6343304158cf19fa9a891c806d8817f10 | Java | BG2G/NexusCrush | /src/Grid.java | UTF-8 | 861 | 3.125 | 3 | [] | no_license | import elements.Element;
import elements.Type;
/**
* Created by Nicolas on 5/30/2016.
*/
public class Grid {
private Element[][] grid;
private int size;
private int length;
public Grid (int size, int length, Type[] types) {
this.size = size;
this.length = length;
grid = ne... | true |
cc7fefc76655d58365dd1ba9f0f732f7e253f4ac | Java | JetBrains/MPS | /languages/baseLanguage/collections/source_gen/jetbrains/mps/baseLanguage/collections/typesystem/map_type_comparableWith_Map_ComparisonRule.java | UTF-8 | 3,535 | 1.789063 | 2 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package jetbrains.mps.baseLanguage.collections.typesystem;
/*Generated by MPS */
import jetbrains.mps.lang.typesystem.runtime.ComparisonRule_Runtime;
import jetbrains.mps.lang.pattern.GeneratedMatchingPattern;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.typesystem.runtime.IsApplicable2Stat... | true |
40f1e59f5ece8c4169e427b6f0adee3c20047be6 | Java | lidanh/SouthParkMinesweeper | /minesweeper/views/ChooseLevelView.java | UTF-8 | 7,004 | 2.609375 | 3 | [] | no_license | package minesweeper.views;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;
import java.awt.Insets;
import java.awt.event.MouseListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import java... | true |
ed498a9d63c1a20e828d4c92e4e29e12bb2e0b26 | Java | 994108345/ManagePlantfrom | /src/com/manageplantfrom/entity/PHCSMP_Staff.java | UTF-8 | 2,234 | 1.976563 | 2 | [] | no_license | package com.manageplantfrom.entity;
import java.util.Date;
/**
* 用户信息表
* @author wuhaifei
*
* @date 2016年8月9日
*/
public class PHCSMP_Staff {
private int Staff_ID;//用户ID(主键)
private String Staff_Name;//用户名(默认工号)
private String PassWord;//密码
private String real_Name;//真实姓名
private String Sex;//... | true |
c96644c268858afd7dfd154ee08c39e890a3bf2a | Java | sadrayi/appsoar-teknesian | /card-slider-simple-example/src/main/java/ir/appsoar/teknesian/Dialoge/DivarContactDialogue.java | UTF-8 | 1,901 | 2.21875 | 2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package ir.appsoar.teknesian.Dialoge;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import ir.appsoar.teknesia... | true |
53f069e75ba56520124bdba896eb187b1667f4f6 | Java | gaikwadgaurav997/dnd_springMVC_hibernate | /src/main/java/com/capgemini/dnd/customexceptions/DateValueException.java | UTF-8 | 285 | 1.9375 | 2 | [
"MIT"
] | permissive | package com.capgemini.dnd.customexceptions;
public class DateValueException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1629320184726383796L;
public DateValueException() {
}
public DateValueException(String message) {
super(message);
}
}
| true |
1d722bd58468896353f81240e3eef8a1b3b4768e | Java | bkwsoft/rov-1 | /wet/src/main/java/me/jbuelow/rov/wet/vehicle/AccessoryConfig.java | UTF-8 | 225 | 1.65625 | 2 | [] | no_license | /**
*
*/
package me.jbuelow.rov.wet.vehicle;
import java.util.UUID;
/**
* @author Jacob Buelow
* @author Brian Wachsmuth
*/
public interface AccessoryConfig {
UUID getId();
String getName();
void validateConfigurtion();
}
| true |
4a98b768d60352745a1177a7fc1b59303d08880d | Java | rishabh-997/Order-Managemnet | /app/src/main/java/com/example/ordermanagement/Login/MVP/LogInActivity.java | UTF-8 | 2,923 | 2.015625 | 2 | [] | no_license | package com.example.ordermanagement.Login.MVP;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import an... | true |
14fad60e426a6a9f23dba9e5856a5c35f1d7576e | Java | cgmolive/Forum1304 | /src/main/java/com/example/demo/Desktop.java | UTF-8 | 252 | 1.984375 | 2 | [] | no_license | package com.example.demo;
public class Desktop extends Dispositivo implements ComportamentoReproducaoDesktop{
private ComportamentoReproducaoDesktop reproducaoDesktop;
@Override
public void reproduzir() {
reproducaoDesktop.reproduzir();
}
}
| true |
4b88c720d253fe4cf0ce1b4e1214c79022a36c8e | Java | abdullahcangul/publisher | /punishment/src/main/java/com/cng/punishment/repository/PunishmentTypeRepository.java | UTF-8 | 283 | 1.632813 | 2 | [] | no_license | package com.cng.punishment.repository;
import com.cng.punishment.entity.PunishmentType;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* PunishmentTypeRepository
*/
public interface PunishmentTypeRepository extends JpaRepository<PunishmentType,Long> {
} | true |
7f3180343e9a41189f9b63883702dfcb24233934 | Java | tnstrssnr/joana | /ifc/sdg/qifc/joana.ifc.sdg.qifc.qif_interpreter/test/edu/kit/joana/ifc/sdg/qifc/qif_interpreter/AppTest.java | UTF-8 | 3,692 | 2.796875 | 3 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | package edu.kit.joana.ifc.sdg.qifc.qif_interpreter;
class AppTest {
/*
@Test
public void recognizeCondHead() throws IOException, InterruptedException {
Program p = TestUtils.build("If");
p.getEntryMethod().getCFG().print();
CFG g = p.getEntryMethod().getCFG();
assertEquals(1, g.getBlocks().stream().filter... | true |
f4666326a960a07a379f1781db0d1618c275049d | Java | kevinrisqi/TicketOnline-UASMobile | /app/src/main/java/com/zenai/ticketonline/LoginActivity.java | UTF-8 | 3,428 | 2.265625 | 2 | [] | no_license | package com.zenai.ticketonline;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.firebase.ui.auth.AuthUI;
import com.google.firebase... | true |
bdb8320f3862f4763075d44cb3fdc22f99dbbd00 | Java | i820189/APPBureau | /APPBureau2/app/src/main/java/com/appbureau/appbureau/MainActivity.java | UTF-8 | 6,055 | 1.867188 | 2 | [] | no_license | package com.appbureau.appbureau;
import android.content.Context;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.A... | true |
1a7b6eff5ef51b50aea043766da96f08448ba754 | Java | henrypinkard/pycro-manager | /java/src/main/java/org/micromanager/remote/RemoteStorageMonitor.java | UTF-8 | 3,165 | 2.515625 | 3 | [
"BSD-3-Clause"
] | permissive | /*
* 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 org.micromanager.remote;
import java.nio.ByteBuffer;
import java.util.concurrent.*;
import mmcorej.org.json.JSONException;
im... | true |
9a53bc8d479ece6e4c70c6a3ccbed7c94b25c2b0 | Java | zhoumingkun/transactionSystem | /src/main/java/com/toughguy/transactionSystem/service/content/prototype/ITransactionFinancingApplyService.java | UTF-8 | 851 | 1.9375 | 2 | [] | no_license | package com.toughguy.transactionSystem.service.content.prototype;
import com.toughguy.transactionSystem.model.content.po.TransactionFinancingApply;
import com.toughguy.transactionSystem.model.content.po.TransactionSignup;
import com.toughguy.transactionSystem.service.prototype.IGenericService;
/**
* 融资申请service... | true |
30947c0d524bd16fdeaf3272cacec9c75602b181 | Java | garasaja/Retrofit-test | /app/src/main/java/com/mini/testretrofit/StoreService.java | UTF-8 | 195 | 1.796875 | 2 | [] | no_license | package com.mini.testretrofit;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
public interface StoreService {
@GET("store")
Call <List<Store>> storeInfo();
}
| true |
d274b49f18178c056272b8c2ad81e4a7d1a15344 | Java | xie1314/shaxian | /shaxian/home/home-server/src/main/java/com/isxxc/domain/dto/UserBankingProfilDTO.java | UTF-8 | 3,187 | 2.140625 | 2 | [] | no_license | package com.isxxc.domain.dto;
import com.isxxc.constant.CommonFolderConstant;
import com.isxxc.domain.entity.UserBankingProfilDO;
import org.apache.commons.lang3.StringUtils;
import cc.likq.util.MyBeanUtils;
public class UserBankingProfilDTO extends UserBankingProfilDO {
/**
* 经营许可证
*/
private St... | true |
cc91018af8e5e0c4701449ac42898d977c899e81 | Java | liuyuan0520/TripPlanner | /TripPlanner/src/controller/FindStopAction.java | UTF-8 | 1,502 | 2.34375 | 2 | [] | no_license | package controller;
import javax.servlet.http.HttpServletRequest;
import org.genericdao.RollbackException;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import databean.Route;
import model.DAO;
import model.Model;
/**
* @author Yuan Liu
* @date 05/09/2016
*/
public class FindStopAction ext... | true |
ef289c8841f614c7f19b6a6679b81ee0dc3f6a3b | Java | yegorf/inex-desktop | /src/sample/mail/MailChecking.java | UTF-8 | 3,383 | 2.390625 | 2 | [] | no_license | package sample.mail;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.mail.PasswordAuthentication;
import... | true |
f3e3514bef291380837ea37fa0aba37d17827044 | Java | SamimaAktar/Hotel-Building | /windows/SlidingWindow.java | UTF-8 | 128 | 2.25 | 2 | [] | no_license | package windows;
public class SlidingWindow extends Window {
public SlidingWindow() {
windowType = "Sliding Window";
}
}
| true |
26c8e5c992f3ac0c88e7d3ffc2e8eac91796d9fb | Java | yu-eric/IB-Computer-Science-HL-2 | /src/chapter1/tvSizeTester.java | UTF-8 | 535 | 3.484375 | 3 | [] | no_license | package chapter1;
import java.util.Scanner;
public class tvSizeTester {
public static void main(String[] args) {
tvSize tv = new tvSize();
Scanner in = new Scanner(System.in);
System.out.println("Please enter the diagonal length in inches: ");
double diagSize = in.nextDouble();
... | true |
4b8b6d703cb6df17e9a5c6c42ceea497d33e7b06 | Java | zfazek/JavaGameEngine | /src/main/java/com/ongroa/rectGame/Rect.java | UTF-8 | 1,511 | 3.25 | 3 | [] | no_license | package com.ongroa.rectGame;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
public class Rect {
int id;
float x;
float y;
float dx;
float dy;
float ax;
float ay;
float size;
float speed;
Color color;
public Rect(int id, float x,... | true |
80791c7c25f18d4c66897e2551e0115d0dad80a3 | Java | yosriz/kin-sdk-core-android | /kin-sdk-core/src/main/java/kin/sdk/core/ServiceProvider.java | UTF-8 | 1,307 | 2.65625 | 3 | [
"MIT"
] | permissive | package kin.sdk.core;
public class ServiceProvider {
/**
* main ethereum network
*/
public static final int NETWORK_ID_MAIN = 1;
/**
* ropsten ethereum TEST network
*/
public static final int NETWORK_ID_ROPSTEN = 3;
/**
* rinkeby ethereum TEST network
*/
public ... | true |
7bc7718b425762a30697a01460a52a922b338f0c | Java | shijie971/tb | /src/main/java/com/tongbu/datasources/mapper/mysql/PetitionBasicInfoMapper.java | UTF-8 | 474 | 1.578125 | 2 | [] | no_license | package com.tongbu.datasources.mapper.mysql;
import com.tongbu.datasources.model.mysql.PetitionBasicInfo;
import org.apache.ibatis.annotations.Mapper;
/**
* @Title: PetitionBasicInfoMapper
* @Package: com.tongbu.datasources.mapper.mysql
* @Author: ysj闫世杰
* @Email: 1105324813@qq.com
* @Date: Created in 2021/4/28 ... | true |
3466e495315b04647588e757228be550a312e8f9 | Java | aaarland/OOP | /04.StudyBuddy/QuestionFB.java | UTF-8 | 1,267 | 3.40625 | 3 | [] | no_license |
public class QuestionFB implements Question {
String question;
String answer;
int points;
/**
* the constructor builds the question with inputs from question maker
*
* @param question the question that is being asked
* @param answer the answer to the question
* @param points amount of ... | true |
e7ffe65ad5b7b03c386d8f1fe3ed403acf6d60c5 | Java | leekitman/practiseFramework | /kylinframework/src/main/java/com/leekitman/kylin/framework/helper/DatabaseHelper.java | UTF-8 | 10,534 | 2.671875 | 3 | [] | no_license | package com.leekitman.kylin.framework.helper;
import com.leekitman.kylin.framework.util.CollectionUtil;
import com.leekitman.kylin.framework.util.PropsUtil;
import org.apache.commons.dbcp2.BasicDataSource;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanHandler;
import or... | true |
aeed0dd4f24c2626025bb054937c88dc256c958a | Java | MR-TY/SpringMVC | /SpringMVC-2/src/com/ty/springmvc/crud/interceptors/FirstInterceptor.java | UTF-8 | 1,456 | 2.5625 | 3 | [] | no_license | package com.ty.springmvc.crud.interceptors;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
public class FirstInterceptor implements HandlerInterceptor{
@Over... | true |
0edba02d5d95f3ec065bcc7e7930aabe9ae26794 | Java | sbravor64/torneo | /src/com/company/view/MenuParticipantes.java | UTF-8 | 3,630 | 2.84375 | 3 | [] | no_license | package com.company.view;
import java.io.IOException;
import java.util.Scanner;
import com.company.manager.*;
import com.company.model.Participante;
public class MenuParticipantes {
void show() throws IOException {
Scanner sc = new Scanner(System.in);
Inscribir inscribir = new Inscribir();
... | true |
43f189014ba85a53a79abf2769fd61b608fe8d3d | Java | Flo890/languagelogger-app | /ResearchIME-Module/src/main/java/de/lmu/ifi/researchime/config/ConfigurationManager.java | UTF-8 | 3,782 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2016 - 2018 ResearchIME Project
*
* 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 |
26ca82ba01cc4e50d3ecb4778e90f704ab498805 | Java | jetrs/jetrs | /client/jetty-client-9/src/main/java/org/jetrs/InputStreamResponseListener.java | UTF-8 | 11,340 | 2.140625 | 2 | [
"MIT"
] | permissive | //
// ========================================================================
// Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available und... | true |
ee4db5d636e4bc9e5678774b2cd56397b87493eb | Java | Kvark900/quarkus-messaging-system | /src/main/java/io/bgr/DemoResource.java | UTF-8 | 622 | 2.203125 | 2 | [] | no_license | package io.bgr;
import io.quarkus.panache.common.Sort;
import javax.transaction.Transactional;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import java.util.List;
@Path("/demo")
public class DemoResource {
@GET
@Path("/list")
@Produces(MediaType.APPLICATION_JSON)
@Transactional
publi... | true |
b3f6bd5f16f362a332484dd79917b80a416cdbf2 | Java | zhangyong521/zyxx-shiro | /src/main/java/com/zyxx/system/controller/LoginController.java | UTF-8 | 4,928 | 2 | 2 | [] | no_license | package com.zyxx.system.controller;
import com.alibaba.fastjson.JSON;
import com.zyxx.common.annotation.LoginLog;
import com.zyxx.common.authorization.ShiroUtils;
import com.zyxx.common.consts.SessionConst;
import com.zyxx.common.entity.ResponseResult;
import com.zyxx.common.entity.UserInfoSession;
import com.zyxx.com... | true |
f291719fa04cbd22560129135726b91375767758 | Java | tnmyshukla/e-Commerce | /src/main/java/com/grail/ecom/model/User.java | UTF-8 | 1,240 | 2.125 | 2 | [] | no_license | package com.grail.ecom.model;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
@Entity
@Data
@Table(name = "user")
public class User {
@Id
@Ge... | true |
7d0145b4fbf9d9abff24b21b7cc0b369f218adeb | Java | jasonbelt/acl | /org.sireum.aadl.osate.acl/src-gen/org/sireum/aadl/osate/acl/aCL/IdExpr.java | UTF-8 | 1,174 | 1.960938 | 2 | [] | no_license | /**
* generated by Xtext 2.20.0
*/
package org.sireum.aadl.osate.acl.aCL;
import org.osate.aadl2.NamedElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Id Expr</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link... | true |
0015d915d8b802c11e47a1a62280d84c46d6f7d5 | Java | GoDeeper96/ProyectoFinalFICOPrograWeb | /src/main/java/pe/com/fico/serviceimpl/ClientServiceImpl.java | UTF-8 | 1,308 | 2.171875 | 2 | [] | no_license | package pe.com.fico.serviceimpl;
import java.io.Serializable;
import java.util.List;
import java.util.Optional;
import javax.inject.Inject;
import javax.inject.Named;
import javax.transaction.Transactional;
import pe.com.fico.dao.IClientDao;
import pe.com.fico.entities.Customer;
import pe.com.fico.servic... | true |
a73f8f4d09a0390e18c36738dc3397937164187a | Java | maze36/AISAnalyzer | /analyzer/src/main/java/controller/input/stringSimilarity/DestinationIdentifier.java | UTF-8 | 1,800 | 3.03125 | 3 | [] | no_license | package controller.input.stringSimilarity;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import info.debatty.java.stringsimilarity.Damerau;
import model.port.Port;
import model.port.PortContainer;
public class DestinationIdentifier {
public static Port identifyHarbour(String ais, PortContainer po... | true |
6bf8c69e14418ec1d22a0caa87e2e88179fee583 | Java | brunoyui/fruitProject | /src/main/java/com/frutare/web/rest/mapper/PedidoMapper.java | UTF-8 | 746 | 2.09375 | 2 | [] | no_license | package com.frutare.web.rest.mapper;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import com.frutare.domain.Pedido;
import com.frutare.domain.conta.Conta;
import com.frutare.web.rest.dto.PedidoDTO;
@Mapper(componentModel = "spring", uses = {ProdutoMapper.class, PagamentoMapper.class})
public interface ... | true |
6863e0e90d8b5c8cb121a87c929ea1e282ffeabe | Java | aliyun/aliyun-openapi-java-sdk | /aliyun-java-sdk-vpc/src/main/java/com/aliyuncs/vpc/model/v20160428/DisableNatGatewayEcsMetricRequest.java | UTF-8 | 1,936 | 1.804688 | 2 | [
"Apache-2.0"
] | permissive | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | true |
343fb2a9ac43ed114fa2c844cd365ac379e34c0b | Java | M3te0r/PlanMyTripJFW | /web/WEB-INF/src/PlanMyTrip/action/ActionStyle.java | UTF-8 | 1,722 | 2.53125 | 3 | [] | no_license | package PlanMyTrip.action;
import org.esgi.web.framework.action.interfaces.IAction;
import org.esgi.web.framework.context.interfaces.IContext;
import java.io.*;
/**
* Created by Mathieu on 02/06/2015.
*/
public class ActionStyle implements IAction {
@Override
public int setPriority(int i) {
return... | true |
9891f65e4dce4b995015dfd6816651a93909b7c6 | Java | matercero/ec | /src/main/java/es/matercero/ec/services/impl/ClienteService.java | UTF-8 | 1,839 | 2.25 | 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 es.matercero.ec.services.impl;
import es.matercero.ec.daos.IDao;
import es.matercero.ec.hibernate.Cliente;
import es.matercero... | true |
f1dcd51fa6c6a2fa177b487ab94eef495f3c11c8 | Java | ssitu/Function_Approximator | /FunctionApproximator/src/functionapproximator/Function1D.java | UTF-8 | 292 | 2.625 | 3 | [] | no_license | package functionapproximator;
import java.util.function.Function;
public class Function1D {
private Function<Double, Double> fx;
Function1D(Function<Double, Double> fx) {
this.fx = fx;
}
public double evaluate(double x) {
return fx.apply(x);
}
}
| true |
d9769b1fad1276c482226123ae75029f25a7f76f | Java | 15295813299/background_ssm | /src/main/java/com/fl/interceptor/LoginInterceptor.java | UTF-8 | 1,356 | 2.0625 | 2 | [] | no_license | package com.fl.interceptor;
import com.fl.pojo.UserInfo;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class Lo... | true |
5aa44723cca4719dd547da432ede2beaf9def4ad | Java | arpitamathad/Test-Yantra | /src/dayone/OnlyNumbers.java | UTF-8 | 470 | 3.046875 | 3 | [] | no_license | package dayone;
import java.util.Arrays;
public class OnlyNumbers {
public static void main(String[] args)
{
//int num=0,upper,lower=0;
String s1="",s2="";
String str="abuc12 hi34 ahaf45";
char[] arr = str.toCharArray();
for(int i=0;i<str.length();i++)
{
if(Character.isAlphabetic(arr[i])... | true |
eacce4297a2f79d56a7faba6cf61286c4d0bdc02 | Java | gfoltin/AutobazarAppBackend | /src/main/java/GustoGroup/AutobazarBackend/jwt/security/WebSecurity.java | UTF-8 | 3,597 | 2.046875 | 2 | [] | no_license | package GustoGroup.AutobazarBackend.jwt.security;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.spr... | true |
f4f0634a5dfc1b876534aff28a5b8c06cdbd2662 | Java | ncharlton02/Robogeddon-libgdx | /client/src/com/noahcharlton/robogeddon/ui/ingame/InventoryList.java | UTF-8 | 1,232 | 2.46875 | 2 | [
"MIT"
] | permissive | package com.noahcharlton.robogeddon.ui.ingame;
import com.noahcharlton.robogeddon.Core;
import com.noahcharlton.robogeddon.ui.UIAssets;
import com.noahcharlton.robogeddon.ui.widget.*;
import com.noahcharlton.robogeddon.world.item.Item;
public class InventoryList extends Stack {
public InventoryList() {
f... | true |
c3e5d3c84ca5190713346cee0a5ed8e142872102 | Java | vir474/ViralBoards | /ViralBoards/src/com/viralboards/remoteloader/TopicsTableLoaderServlet.java | UTF-8 | 2,665 | 2.015625 | 2 | [] | no_license | package com.viralboards.remoteloader;
import java.io.IOException;
import java.util.Set;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpS... | true |
43862c33e05e1a5a204c6460d6937b92ad604757 | Java | Yogso92/interfacesGuerre | /src/actions/Marcher.java | UTF-8 | 176 | 2.453125 | 2 | [] | no_license | package actions;
public class Marcher implements Deplacement {
private static String str = "Je marche";
public Marcher() {
}
public String deplacer() {
return str;
}
}
| true |
52b17478cc224b898b9611d8e466998861939aed | Java | dargall91/ser316-spring2021-B-dargall-DP | /src/main/java/codeamon/CodeamonStatsFactory.java | UTF-8 | 2,634 | 3.640625 | 4 | [] | no_license | package codeamon;
/**
* A Factory Method class for getting the stats for a specific type of Codeamon. Each Codeamon has
* a specific Base Stat Value for each stat that determines how that stat grows with the Codeamon's
* level, and each Codeamon species shares the same Base Stat Values.
*
* <p>
* The followi... | true |
38fb0c113dfb741fb52d952d770b372cd40795df | Java | heibaifu/logistics-back | /src/main/java/com/ansel/dao/ILineOverallDao.java | UTF-8 | 796 | 1.90625 | 2 | [
"MIT"
] | permissive | package com.ansel.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import com.ansel.bean.LineOverall;
public interface ILineOverallDao extends JpaRepository<LineOverall, Long> {
Line... | true |
6f30f3310e868287ff5691a890b307bec0269893 | Java | MrMarkutan/library | /src/test/java/vertagelab/library/controller/UserControllerTest.java | UTF-8 | 8,689 | 2.171875 | 2 | [] | no_license | package vertagelab.library.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframework.beans.factory.annotatio... | true |
ee97627567f19bfbc3188eabd442c83dfa749965 | Java | velasquezjc/cia-jpa | /src/main/java/enre/entities/CorteServicioMedia.java | UTF-8 | 1,427 | 2.015625 | 2 | [] | no_license | package enre.entities;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;;
@Entity
@Table(name = "corteServicioMedia")... | true |
61f691d1dfbf5f24b5f249b95b37cc4d447e8d42 | Java | thienlh/CJ_workshop_8 | /CustomTableModel/src/customtablemodel/EmployeeTableModel.java | UTF-8 | 1,703 | 3.1875 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package customtablemodel;
import java.util.Vector;
/**
*
* @author thienlh
*/
public class EmployeeTableModel<E> extends javax.swing.table.AbstractTableModel {
String[] header;
int[] index;
Vector<Emplo... | true |
0fabe9e1795789b9eb9d6b9cea7d4cc6b8f7996f | Java | nwoodthorpe/BusStop | /Android/app/src/main/java/com/nwoodthorpe/busstop/AddActivity.java | UTF-8 | 2,040 | 2.171875 | 2 | [] | no_license | package com.nwoodthorpe.busstop;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Imag... | true |
b416d5c18a0afd3c4012b75b6eef590e1653f2aa | Java | asdbaihu/webmagic-63 | /src/main/java/com/chenyl/vvic/Vvic.java | UTF-8 | 1,618 | 1.84375 | 2 | [
"Apache-2.0"
] | permissive | package com.chenyl.vvic;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* Created by iluvsnail on 2017/5/21.
*/
public class Vvic {
private String name;
private String addr;
private String phone;
private String qq;
private String wechat;
private String location;
private St... | true |
e4c45d45bcc601554c8e9a69b144cefa0cbce9cd | Java | StarOceanReimi/etltool | /src/main/java/com/limin/etltool/core/Reducer.java | UTF-8 | 485 | 2.421875 | 2 | [] | no_license | package com.limin.etltool.core;
import java.util.Collection;
import java.util.stream.Stream;
/**
* @author 邱理
* @description
* @date 创建于 2019/12/18
*/
public interface Reducer<E, C extends Stream<E>, O> extends Transformer<C, O> {
O accumulate(O out, E data);
O init();
default O combine(O o1, O o2)... | true |
99757f22cb8c2d6a9db1b6b07a03dbfa190d6358 | Java | moutainhigh/qd-insurance | /qding-api/src/main/java/com/qding/api/call/app/qding/v2_3_0/struct/brick/response/data/GetProjectByCityIdResponseData.java | UTF-8 | 2,209 | 2.109375 | 2 | [] | no_license | package com.qding.api.call.app.qding.v2_3_0.struct.brick.response.data;
import com.qding.api.annotation.ExplainAnnotation;
import com.qding.api.call.app.qding.v1_3_0.struct.brick.City;
import com.qding.api.call.app.qding.v1_3_0.struct.brick.Project;
import com.qding.api.call.app.qding.v2_3_0.struct.brick.ProjectsByGro... | true |
ce9055d2d5395722d0662b5cedd53eef97697e34 | Java | tainamedeiros/Urban-fix | /app/src/main/java/com/mobile/urbanfix/urban_fix/fragments/AccountFragment.java | UTF-8 | 1,824 | 2.171875 | 2 | [] | no_license | package com.mobile.urbanfix.urban_fix.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.mobile.urbanfix.urban_fi... | true |
3c644fe075a5336c9a68278d51187983f0a7e47d | Java | marianax-magalhaes/Delivery | /DeliveryJava/src/com/minhaempresa/view/PraticaEquals.java | UTF-8 | 467 | 2.71875 | 3 | [] | no_license | package com.minhaempresa.view;
import com.minhaempresa.domain.Massa;
public class PraticaEquals {
public static void main(String[] args) {
Massa massa1 = new Massa();
massa1.setTipo("Macarrão");
massa1.setMolho("Pesto");
Massa massa2 = new Massa();
massa2.setTipo("Macarrã... | true |
a3e4ab9c9afc67a9155652a2f263f6c489ce6c00 | Java | suhuakai/nzk_websit_protal | /web_common/src/main/java/com/web/common/utils/pdf/CodecHelper.java | UTF-8 | 4,616 | 2.671875 | 3 | [] | no_license | package com.web.common.utils.pdf;
import com.web.core.exception.ValidationException;
import com.web.core.util.LocalAssert;
import net.glxn.qrgen.QRCode;
import net.glxn.qrgen.image.ImageType;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.lang.StringUtils;
import java.io.*;
/**
* 编码格式处理辅助工... | true |
cfafc079884d4a7007a4ce4dcd81633234828863 | Java | DavidHarper/genealogy | /com/obliquity/genealogy/test/peopleviewer/PeopleViewer.java | UTF-8 | 4,744 | 2.234375 | 2 | [] | no_license | /*
* genealogy - a package for reading genealogy data in GEDCOM format
*
* Copyright (C) 2008-2014 David Harper at obliquity.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation;... | true |
9ece2f0eb94ba9ef8ec2163ca473bc1429182005 | Java | bodar/utterlyidle | /test/com/googlecode/utterlyidle/rendering/exceptions/LastExceptionsTest.java | UTF-8 | 1,701 | 2.46875 | 2 | [] | no_license | package com.googlecode.utterlyidle.rendering.exceptions;
import com.googlecode.totallylazy.Pair;
import com.googlecode.totallylazy.Sequence;
import com.googlecode.totallylazy.time.StoppedClock;
import com.googlecode.utterlyidle.Request;
import org.junit.Test;
import static com.googlecode.totallylazy.Sequences.repeat;... | true |
e9dd93706e8a1e18b7bbdf605a1cf9953435d233 | Java | imace/YodaQA-Android | /app/src/main/java/in/vesely/eclub/yodaqa/adapters/RecyclerViewAdapterBase.java | UTF-8 | 949 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package in.vesely.eclub.yodaqa.adapters;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
/**
* Created by vesely on 2/3/15.
*/
public abstract class RecyclerViewAdapterBase<T, V extends View & Binder<T>> extends RecyclerView.Adapter<ViewWrapper<T, V>> {
@... | true |
1cd04c65fc759b88b61d176eaa776ee1d1292efc | Java | fisk810/Multadd | /src/com/company/Main.java | UTF-8 | 561 | 3.390625 | 3 | [] | no_license | package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
System.out.println((multadd(10.0, 20.0, 30.0)));
System.out.println(Math.sin(Math.PI/4) + (Math.cos(Math.PI/4))/2);
System.out.println(Math.log(10)+Math.log(20));
System.out... | true |
031471d1cffb31eb8e5e36437ae1fa93f50ccccb | Java | luyw520/music | /src/com/music/bean/MusicList.java | UTF-8 | 1,160 | 1.945313 | 2 | [] | no_license | package com.music.bean;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Property;
import java.io.Serializable;
@Entity(nameInDb = "l_music_list")
public class MusicList implements Serializable{
@Property(nameInDb = "so... | true |
0d2cc668b4541444e905427c928cf1bef4553843 | Java | tomhero/CustomApaterTest | /app/src/main/java/com/example/administrator/listviewtest/MyCustomAdapter.java | UTF-8 | 2,302 | 2.71875 | 3 | [] | no_license | package com.example.administrator.listviewtest;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
i... | true |
00acf1ba5956fbd91a3598d4c23d65e0944cf310 | Java | sapurabhi/MyImumCode | /IMUMCode/WebServiceCall/src/com/imum/ws/CardInactive/CardInactivepprovalBPMProcessPortClient.java | UTF-8 | 856 | 1.84375 | 2 | [] | no_license | package com.imum.ws.CardInactive;
import javax.xml.ws.WebServiceRef;
// !THE CHANGES MADE TO THIS FILE WILL BE DESTROYED IF REGENERATED!
// This source file is generated by Oracle tools
// Contents may be subject to change
// For reporting problems, use the following
// Version = Oracle WebServices (11.1.1.0.0, build ... | true |
c75c232f414327d8d9f02c4d58ef23e5bc776062 | Java | NJLOVER/jettyMVC | /src/main/java/cn/whm/rest/result/PlainTextRESTResult.java | UTF-8 | 459 | 2.40625 | 2 | [] | no_license | package cn.whm.rest.result;
import java.io.StringWriter;
/**
* Created by wanghm on 2014/9/30.
*/
public class PlainTextRESTResult extends AbstractRESTResult{
private StringWriter outputWrite;
public PlainTextRESTResult(){
outputWrite = new StringWriter(1024);
}
public StringWriter getWrit... | true |
14c1453a6904984f0be74f973a0a131a307d19ea | Java | wang1186956992/spring-boot2-examples | /spring-boot2-clickhouse/src/main/java/com/example/demo/dao/UserInfoMapper.java | UTF-8 | 472 | 1.867188 | 2 | [
"Apache-2.0"
] | permissive | package com.example.demo.dao;
import com.example.demo.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* <p></p>
* Created by @author zhezhiyong@163.com on 2020/4/28.
*/
@Mapper
public interface UserInfoMapper {
// 写入数据
vo... | true |
3498d9a3531bc9891efc9029cc10fb3e3191099b | Java | zbdbao/java_se | /memeIntlijTest/src/com/meme/webservice/UserDetails.java | UTF-8 | 3,254 | 2.28125 | 2 | [] | no_license |
package com.meme.webservice;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for userDetails complex type.
*
* <p>The following schema fragment specifies the expected content contained within this cla... | true |
5d396757b5e32a878c441fe0092a11115212658c | Java | knightmstr/bloodhub | /app/src/main/java/edu/app/bloodhub/BaseActivity.java | UTF-8 | 3,515 | 1.9375 | 2 | [] | no_license | package edu.app.bloodhub;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.AppCompatTextView;
import android.view.LayoutInf... | true |
3cd1d8494f559c2c28b997fcc4d24bc85b260d19 | Java | dhrav/DS | /BinaryTree/PostOrderWIthoutStack.java | UTF-8 | 1,381 | 3.78125 | 4 | [] | no_license | package BinaryTree;
class NodeCustom {
int data;
boolean visited;
NodeCustom left, right;
NodeCustom(int data) {
this.data = data;
left = null;
right = null;
visited = false;
}
}
public class PostOrderWIthoutStack {
public static void main(String[] args) {
... | true |
82fd59c6d6aec3feb3878115ca59ecde6c3ae540 | Java | happyjun190/smarthome | /src/main/java/com/smarthome/dao/log/AppVersionDAO.java | UTF-8 | 1,062 | 2.015625 | 2 | [] | no_license | package com.smarthome.dao.log;
import com.smarthome.model.log.TabAppVersion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;
@R... | true |
a589f492fd3859ef65bd92774e94e4b5cd9796c9 | Java | hyoGirl/companyCode | /Atomikos-03/src/main/java/com/spring/atomikos/service/impl/BServiceImpl.java | UTF-8 | 1,151 | 2.09375 | 2 | [] | no_license | package com.spring.atomikos.service.impl;
import com.spring.atomikos.entity.B;
import com.spring.atomikos.mapper.slave.BMapepr;
import com.spring.atomikos.service.BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springfr... | true |
dad2ef0f1ec24e23ca94e587f9c9d79a3f56a558 | Java | manjunathy-ezdi/IdeaProjects | /SimpleSpring2/src/main/java/hibernate/dbObjects/Student.java | UTF-8 | 1,686 | 2.625 | 3 | [] | no_license | package hibernate.dbObjects;
import org.springframework.stereotype.Component;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
/**
* Created by EZDI\manjunath.y on 1/2/16.
*/
@Component
@Entity
@Table(name="student... | true |
1b95a056b517b813bae364fe32d59823164ce42a | Java | need-hug/demo | /src/main/java/com/soft/demo/validation/BeanValidationDemo.java | UTF-8 | 1,888 | 2.875 | 3 | [] | no_license | package com.soft.demo.validation;
import com.soft.demo.validation.entity.User;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.ValidationException;
import javax.validation.Validator;
import java.util.Iterator;
import java.util.Set;
/** java bean实体参数验证
* @Auth... | true |
ef5685fe860931b4f29c92c5c1cfdb81b6b10837 | Java | PabloRPalma/systop | /agile-web/src/main/java/agileweb/support/db/HsqldbListener.java | UTF-8 | 5,446 | 2.546875 | 3 | [] | no_license | package agileweb.support.db;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.apache.com... | true |
0395eff7579dfc4ed543a52dc1b79ccb0b5c5e7d | Java | SozNgx/Spring-AOP | /src/main/java/com/example/demo/Controller/EmployeeController.java | UTF-8 | 1,016 | 2.3125 | 2 | [] | no_license | package com.example.demo.Controller;
import com.example.demo.Entity.Employee;
import com.example.demo.Servive.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import o... | true |
bb1e8be6c4f0b5f99db092328a5137652bd1f472 | Java | yueqi1125/BookstoreExercise | /src/com/xt/java/Model/User.java | UTF-8 | 1,145 | 2.234375 | 2 | [] | no_license | package com.xt.java.Model;
public class User {
private String userName;
private String pwd;
private String nickName;
private String trueName;
private String tel;
private String question;
private String answer;
public String getUserName() {
return userName;
}
public void... | true |
6d2316e2bdbdb97059e402c717ddd472d76922c6 | Java | TankaiHub/topc | /src.archive.2/dynamic/CombinationLockDiv2.java | UTF-8 | 1,541 | 2.875 | 3 | [] | no_license | package topc.dynamic;
import java.util.*;
import java.io.*;
// SRM 607 Division II Level Three - 1000
// dynamic programming
// statement: http://community.topcoder.com/stat?c=problem_statement&pm=12969&rd=15840
// editorial: http://apps.topcoder.com/wiki/display/tc/SRM+607
public class CombinationLockDiv2 {
int dp... | true |
5bf18e333d03c9f3a1f4406a9d2442a821fe0c7e | Java | hozhiyi/LeetCode.java | /src/_202107_JulyLeetCodingChallenge/_566_ReshapeTheMatrix.java | UTF-8 | 1,095 | 3.4375 | 3 | [] | no_license | package _202107_JulyLeetCodingChallenge;
public class _566_ReshapeTheMatrix {
public static int[][] matrixReshape(int[][] mat, int r, int c) {
int n = mat.length;
int m = mat[0].length;
if (m * n != r * c)
return mat;
int[][] res = new int[r][c];
int row = 0, col... | true |
65ff4c167fe8cbd4065f9fe002b49250f600ff00 | Java | JoeYichong/marshmallow | /mm-scraper/src/main/java/yich/base/selenium/chrome/devtools/_ChromeDevTools.java | UTF-8 | 8,301 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package yich.base.selenium.chrome.devtools;
import com.neovisionaries.ws.client.WebSocket;
import com.neovisionaries.ws.client.WebSocketAdapter;
import com.neovisionaries.ws.client.WebSocketException;
import com.neovisionaries.ws.client.WebSocketFactory;
import org.apache.commons.codec.binary.Base64;
import org.json.J... | true |
a398bed3297f643cc7a68f7d36b05548a2a35155 | Java | myeagleyang/123 | /testcase/src/main/java/testframe/AutoInject.java | UTF-8 | 443 | 2.0625 | 2 | [] | no_license | package testframe;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author xin.wang
* 自动装配标签
*/
@Target(ElementType.FIELD)
@Retention(Ret... | true |
26ed1c3b4fcf0f362867afab5c990a06bc29426f | Java | vijethkharvi/ELF-06June19-Covalense-VijethKharvi | /CoreJava/src/com/covalense/javaapp/arraylist/examples/ArrayStringForEach.java | UTF-8 | 371 | 3.03125 | 3 | [] | no_license | package com.covalense.javaapp.arraylist.examples;
import java.util.ArrayList;
import lombok.extern.java.Log;
@Log
public class ArrayStringForEach {
public static void main(String[] args) {
ArrayList<String> al = new ArrayList<String>();
al.add("charu");
al.add("cks");
al.add("vijeth");
al.add("swetha");
... | true |
e49992626f756a7f0292ad2b6d2c04edf388b843 | Java | LucasIsabel/Spring_MVC | /src/main/java/br/com/manger/main/service/TitleService.java | UTF-8 | 703 | 2.09375 | 2 | [] | no_license | package br.com.manger.main.service;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.manger.main.model.Titulo;
import br.com.manger.main.repository.TitulosRepository;
@Service
@... | true |
49aa152e472731006d8563d0585bff6c32c92d9b | Java | anglachelgo/terremark-api | /src/main/java/com/terremark/api/PublicIp.java | UTF-8 | 2,632 | 2 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2012 Terremark Worldwide Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | true |
dc0ef7a1bf24560ae3c325eee6508cb96d22a561 | Java | Zhaobbb/ImportantMethod | /app/src/main/java/com/example/joker/importantmethod/MainActivity.java | UTF-8 | 2,752 | 2.328125 | 2 | [] | no_license | package com.example.joker.importantmethod;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.widget.R... | true |
1165f8af8e2f3a621471acd1b9b42b9c5f81073c | Java | Pieterjaninfo/PP | /src/pp/block4/cc/test/IlocTest.java | UTF-8 | 3,756 | 2.359375 | 2 | [
"Unlicense"
] | permissive | package pp.block4.cc.test;
//import org.junit.*;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import pp.iloc.Assembler;
import pp.iloc.Simulator;
import pp.iloc.eval.Machine;
import pp.iloc.model.Program;
import pp.iloc.parse.FormatException;
import java.io.File;
import java.io.IOExceptio... | true |
90170a76e32ecaf2b29f37153aa7d12c968cf88e | Java | DataDog/dd-trace-java | /dd-java-agent/instrumentation/java-concurrent/src/main/java/datadog/trace/instrumentation/java/concurrent/AbstractExecutorInstrumentation.java | UTF-8 | 2,103 | 1.992188 | 2 | [
"Apache-2.0",
"UPL-1.0",
"MIT",
"BSD-3-Clause"
] | permissive | package datadog.trace.instrumentation.java.concurrent;
import static datadog.trace.agent.tooling.bytebuddy.matcher.HierarchyMatchers.implementsInterface;
import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.named;
import datadog.trace.agent.tooling.Instrumenter;
import datadog.trace.api.Instrument... | true |
09ef08e98db9a8029af5bde0a37c1b4d783587b0 | Java | Deeischeesy/CarRace | /src/CarBetApp.java | UTF-8 | 2,353 | 3.09375 | 3 | [] | no_license |
import java.awt.*;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.List;
import java.util.ArrayList;
import javax.swing.*;
public class CarBetApp extends Bettors {
private static Car[] allcars;
static List<Bettors> allBettors = new ArrayList<Bettors>();
static Calendar ca... | true |
03e14366bc76aaf2519ded6702d4a8b42bc6adcf | Java | cash2one/hospitalAdmin | /jumper-hospital-admin/src/main/java/com/jumper/hospital/vo/VOExaminationOrder.java | UTF-8 | 1,217 | 2.265625 | 2 | [] | no_license | /*
* @文件名: VOExamination.java
* @创建人: aaron
* @创建时间: 2016-2-19
* @包名: com.jumper.hospital.vo
* @版本: 1.0
* 版权所有 © 深圳京柏医疗
* 描述:
*/
package com.jumper.hospital.vo;
/**
* 类名称:VOExamination
* 类描述:
* 创建人:aaron
* 创建时间:2016-2-19 下午6:03:03
* 修改人:aaron
* 修改时间:2016-2-19 下午6:03:03
* 修改备注:
* @version 1.0
*/
public... | true |
e1e6d17fbfe05cb3b0861bcc81490b90918d3983 | Java | trixobird/trade-validation-back | /src/main/java/cy/meritkapital/tradevalidation/model/Translations.java | UTF-8 | 903 | 1.726563 | 2 | [] | no_license |
package cy.meritkapital.tradevalidation.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"de",
"es",
... | true |
13fc8acf19c39ebde89af38fd07cfb2e664676d3 | Java | kinget007/replaykit.java | /src/test/java/io/appetizerio/PlanCommandTest.java | UTF-8 | 603 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | package io.appetizerio;
import org.junit.Test;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import static org.junit.Assert.*;
/**
* Created by luoy on 2017/6/6.
*/
public class PlanCommandTest {
@Test
public void run() throws Exception {
ReplayKit kit = new Repl... | true |
eba1df44923c3dfa392dfee067ec2afbb7688d07 | Java | zhurunshi/thinkinginjava | /src/pers/rush/intermediate/_12_泛型_简单泛型/Amphibian.java | UTF-8 | 128 | 1.570313 | 2 | [] | no_license | package pers.rush.intermediate._12_泛型_简单泛型;
/**
* 两栖动物
* @author RUSH
*
*/
public class Amphibian {
}
| true |
a6b4b2afb444edbc9f293dde4e18321f852b6fcc | Java | Ika62/gestion-lan-api | /src/main/java/fr/gestion/lan/repository/TeamRepository.java | UTF-8 | 322 | 1.8125 | 2 | [] | no_license | package fr.gestion.lan.repository;
import fr.gestion.lan.entity.Team;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;
/**
* Created by Florian NICOLAS on 03/04/2017.
*/
public interface TeamRepository extends JpaRepository<Team, Long> {
Optional<Team> findOneById(Long ... | true |
216142cff13fe7af2da164f5227c946cceb97484 | Java | aegistudio/ResonanceJGUI | /resonance-jui-arranger/src/main/java/net/aegistudio/resonance/jui/arranger/Arranger.java | UTF-8 | 3,196 | 2.171875 | 2 | [] | no_license | package net.aegistudio.resonance.jui.arranger;
import java.awt.Color;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JPopupMenu;
import net.aegistudio.resonance.music.channel.Channel;
import net.aegistudio.resonance.music.channel.MidiChannel;
import net.aegistudio.resonance.... | true |