hexsha stringlengths 40 40 | size int64 8 1.04M | content stringlengths 8 1.04M | avg_line_length float64 2.24 100 | max_line_length int64 4 1k | alphanum_fraction float64 0.25 0.97 |
|---|---|---|---|---|---|
dd0ca4feb7c54c51d6d2177bec9ab781e8ce60fd | 9,427 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 50.682796 | 100 | 0.800785 |
bce927a33a005029b8813d0301571e4bb54c3170 | 6,858 | /*******************************************************************************
* Copyright 2018 Johns Hopkins University
*
* 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... | 33.950495 | 161 | 0.702391 |
b9b9378a2dcfc39a0fb96d593b676ab697390d15 | 30,923 | /*
* Copyright 2005 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 39.442602 | 100 | 0.650681 |
230c9c6111c6c2f197367e9d00605aa9db50f7c1 | 7,309 | package org.aries.tx.client.handler;
import java.util.Iterator;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPHeader;
import javax.xml.soap.SOAPHeaderElement;
import javax.xml.soap.SOAPMessage;
import ... | 32.484444 | 172 | 0.751266 |
50eb0d87b17c13b23fa83cbe2f1cf7ed434c6957 | 1,024 | /*
* 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 gui.actions;
import domaine.controle.Schema;
import gui.RecyclApp;
/**
*
* @author Vincent
*/
public class ModificationSch... | 23.813953 | 82 | 0.633789 |
2e8f98704b9d77e11ae2b8ec43ef090f0ef97803 | 1,505 | /*
* Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 33.444444 | 75 | 0.74485 |
f2d978def151f374b7c9375d240f6d24c858e93f | 304 | package io.mzlnk.fluqxverse.authn.common.exception;
import lombok.Getter;
@Getter
public class InvalidEnumException extends RuntimeException {
private final String value;
public InvalidEnumException(String value, String message) {
super(message);
this.value = value;
}
}
| 19 | 63 | 0.726974 |
0883995511c0e81700e2d225d3d71bb9703c32cf | 428 | package todo.core.java8.growing.jdk5;
import java.util.Arrays;
import java.util.List;
public class ForEach {
public static void main(String[] args) {
int[] arr = {1, 4, 5, 7};
for (int i : arr) {
System.out.println(i);
}
List<String> names = Arrays.asList("王爵nice", ... | 19.454545 | 68 | 0.53972 |
da3793aa95292f7df0dddecb379b274f994f2120 | 2,316 | package de.inovex.jshot;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.KeyListener;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.MouseListener;
import org.eclipse.swt.events.MouseMoveListener;
/**
*
* @author ruben.jenster@inovex.de
*... | 21.247706 | 84 | 0.671848 |
aa88c14045273aa002cc879aa43acdbdb5b7d3a0 | 2,358 | package features.domain;
import java.util.ArrayList;
import java.util.List;
import joist.domain.DomainObject;
import joist.domain.orm.queries.Alias;
import joist.domain.orm.queries.JoinClause;
import joist.domain.orm.queries.columns.AliasColumn;
import joist.domain.orm.queries.columns.ForeignKeyAliasColumn;
import joi... | 36.276923 | 156 | 0.770992 |
28f95da9c09dda23da5e848dc6891583b0a84e3a | 333 | package com.ibm.healthplanner.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.FOUND)
public class ResourceExistsException extends RuntimeException {
public ResourceExistsException(String message)
{
super(messag... | 22.2 | 63 | 0.804805 |
55ab5c5bf04cde6157634a2fcbf46c875aa99bef | 953 | package org.klisho.crawler.utils.parsers;
import com.drew.imaging.ImageMetadataReader;
import com.drew.imaging.ImageProcessingException;
import com.drew.metadata.Metadata;
import com.drew.metadata.exif.ExifSubIFDDirectory;
import java.io.File;
import java.io.IOException;
import java.util.Date;
/**
* Created by Ola-... | 25.756757 | 100 | 0.700944 |
031171cde59cb050685f7863c4797619ec44ed2e | 803 | package com.arrow.pegasus.service;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "com.arrow.pegasus.service.event")
public class EventServiceProperties {
private final static long DEFAULT_CHECK_INTERVAL = 500;
private final static long DEFAULT_EX... | 27.689655 | 75 | 0.728518 |
86d7c9eb8f75fe3ba2c5fb92909570a1f3ab4b24 | 280 | package service;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Date;
public interface IBanqueRemote extends Remote {
public double conversion(double mt) throws RemoteException;
public Date getServerDate() throws RemoteException;
}
| 21.538462 | 62 | 0.767857 |
bd044abded9a446724eb7f008fff24a88c24be03 | 826 | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
package com.microsoft.azure.toolkit.lib.common.operation;
import com.microsoft.azure.toolkit.lib.common.bundle.AzureBundle;
import com.microsoft.azure.too... | 35.913043 | 124 | 0.77724 |
a7ec8c3d83bb81abac7b65952a67ae5190d236db | 11,470 | /*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.75
* Generated at: 2017-03-24 05:45:10 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
packag... | 46.626016 | 242 | 0.66286 |
3a29b7208cb47461726a27f9c504b809da06725a | 547 | package com.kaqi.niuniu.ireader.ui.adapter;
import com.kaqi.niuniu.ireader.model.bean.HotCommentBean;
import com.kaqi.niuniu.ireader.ui.adapter.view.HotCommentHolder;
import com.kaqi.niuniu.ireader.ui.base.adapter.BaseListAdapter;
import com.kaqi.niuniu.ireader.ui.base.adapter.IViewHolder;
/**
* Created by newbieche... | 30.388889 | 74 | 0.780622 |
26159eec4ef27ee158335c884fa18330ddd77f1e | 397 | package jetbrains.buildServer.artifacts.s3.publish.errors;
import java.util.Map;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface ResponseAdapter {
@NotNull
public Map<String, String> getHeaders();
@Nullable
public String getHeader(@NotNull final String he... | 20.894737 | 58 | 0.778338 |
ebdfd45298bb83bd5c782efc92f7e87dc19bf742 | 8,442 | package org.innovateuk.ifs.category.transactional;
import org.innovateuk.ifs.BaseUnitTestMocksTest;
import org.innovateuk.ifs.category.domain.InnovationArea;
import org.innovateuk.ifs.category.domain.InnovationSector;
import org.innovateuk.ifs.category.domain.ResearchCategory;
import org.innovateuk.ifs.category.mapper... | 49.368421 | 135 | 0.802653 |
a8dbaf2773cdad594377ff3a1273eca47a1c0bf5 | 513 | package fr.sii.ogham.sms.exception.message;
import static fr.sii.ogham.core.CoreConstants.SERIAL_VERSION_UID;
public class PhoneNumberTranslatorException extends AddressingException {
private static final long serialVersionUID = SERIAL_VERSION_UID;
public PhoneNumberTranslatorException(String message, Throwable ca... | 27 | 73 | 0.812865 |
f52053dd2be26679d7b26b0d21c9a9f1c07ff0d4 | 1,545 | package com.aliyun.odps.examples.unstructured;
import com.aliyun.odps.data.Record;
import com.aliyun.odps.io.OutputStreamSet;
import com.aliyun.odps.io.SinkOutputStream;
import com.aliyun.odps.udf.DataAttributes;
import com.aliyun.odps.udf.ExecutionContext;
import com.aliyun.odps.udf.Outputer;
import java.io.IOExcept... | 27.105263 | 122 | 0.699676 |
c67e5618366cadc862b26a4bf9238c01b027b26f | 427 | package io.github.michaelsixtyfour.materials.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.sound.BlockSoundGroup;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
public class BlockStorage extends Block {
public BlockStorage() {
... | 30.5 | 101 | 0.791569 |
93084b4bcc2ec286d1c51b62717d36b533b0ca02 | 5,365 | package uk.gov.di.authentication.shared.helpers;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.Collections;
import java.util.Map;
import java.util.stream.... | 48.772727 | 100 | 0.625536 |
9348c6ff263b229a979ab55b51a2fca410151745 | 871 | package api.v1.resources;
import beans.RecommendationsBean;
import dtos.Song;
import com.kumuluz.ee.logs.cdi.Log;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.util.List;
@Log
@Applic... | 27.21875 | 74 | 0.734788 |
52578be0e270514d6d69ae52a4489de893b8c82e | 794 | public class Circle extends Shape {
private double radius = 1.0;
public Circle() {
}
public Circle(double radius) {
this.radius = radius;
}
public Circle(double radius, String color, boolean filled) {
super(color, filled);
this.radius = radius;
}
public double... | 19.85 | 64 | 0.542821 |
b5a52c1b30e1c4806610dc341b8a39ec57733296 | 673 | package com.lyh.rpc.server;
import com.sun.net.httpserver.HttpServer;
import java.io.IOException;
import java.net.InetSocketAddress;
public class RPCServer {
/**
* Starts this server in a new background thread. The background thread
* inherits the priority, thread group and context class loader
* ... | 26.92 | 76 | 0.692422 |
9f72b787acd9aaa7c5e399e49c554885ae98fdec | 1,174 | package org.myddd.java.document.api.dto;
import java.io.Serializable;
public class DocumentHistoryDTO implements Serializable {
private String name;
private String mediaId;
private String md5;
private long created;
private String remark;
private int historyVersion;
public String g... | 17.014493 | 57 | 0.614991 |
d5a45e0ec31189e27a0291f10048ee4ba8f894bf | 2,358 | package io.github.phantamanta44.mcrail.railflux;
import io.github.phantamanta44.mcrail.Rail;
import io.github.phantamanta44.mcrail.item.IItemBehaviour;
import io.github.phantamanta44.mcrail.module.IRailModule;
import io.github.phantamanta44.mcrail.railflux.item.IEnergyItemBehaviour;
import io.github.phantamanta44.mcra... | 45.346154 | 97 | 0.700594 |
bfe01c24d942f6713e3886c94fc529686dcc96d7 | 1,006 | package com.slydm.thinking.in.spring.dependency.lookup;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* {@link org.springframework.b... | 31.4375 | 101 | 0.816103 |
ec1377606cb43357f97bc6583a03a44fbdf7de23 | 2,906 | package com.rincon.tunit.parsers.makefile;
/*
* Copyright (c) 2005-2006 Rincon Research Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code mus... | 35.439024 | 79 | 0.748107 |
86e41ee40465ac93fc1a4650e5d152733af8ddc8 | 7,672 | package com.trkj.framework.service.client.wage;
import com.trkj.framework.entity.mybatisplus.*;
import com.trkj.framework.service.client.fallbackfactory.WageClientServiceFallbackfactory;
import com.trkj.framework.vo.*;
import jdk.nashorn.internal.objects.annotations.Attribute;
import org.springframework.cloud.openfeig... | 24.050157 | 110 | 0.636731 |
6d4f2c50a1034a266afc00984c7aa6c857733f03 | 1,391 | package com.bautista.backend.data.usuario;
import org.hibernate.annotations.CreationTimestamp;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "usuarios")
public class UsuarioEntity {
@Id
@GeneratedValue
private long id;
@Column
@CreationTimestamp
private Date fec... | 17.17284 | 64 | 0.625449 |
5029919d6c01de5b3c00a56a5368dcc9ef252cff | 4,512 | /*
* Copyright 2019 GG-A, <2018158885@qq.com, https://github.com/GG-A/JFunctional>
*
* 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
*... | 33.924812 | 176 | 0.595745 |
e7258dd2efeb816453ba467466bd7a6595cf0263 | 7,252 | package de.l3s.st_discovery;
import de.l3s.st_discovery.graph.GraphFetcher;
import de.l3s.st_discovery.graph.Subgraph;
import de.l3s.st_discovery.model.DependencyCalculator;
import de.l3s.st_discovery.model.OutlierIdentifier;
import de.l3s.st_discovery.model.regiongrowing.LabeledDefaultEdge;
import de.l3s.st_discovery... | 37.770833 | 108 | 0.597077 |
3fd847f81a6caa54c857e5abe1768dcf6351b8e1 | 4,389 | package main.student.coursepanel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.border.LineBorder;
import javax.swing.JScrollBar;
import java.awt.FlowLayout;
import javax.swing.border.MatteBorder;
import main.student.student.Student;
... | 29.857143 | 76 | 0.718615 |
dc9386cddf562c5df311c273d55dc1e2038413d0 | 1,463 | package io.reflectoring.coderadar.rest.query;
import io.reflectoring.coderadar.query.domain.FileContentWithMetrics;
import io.reflectoring.coderadar.query.port.driver.filecontent.GetFileContentWithMetricsCommand;
import io.reflectoring.coderadar.query.port.driver.filecontent.GetFileContentWithMetricsUseCase;
import io... | 41.8 | 96 | 0.828435 |
330dd5a899c296b8d51241e8cf4a9d8d392b2178 | 3,569 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 40.101124 | 100 | 0.743345 |
bfb3a77fc0c5d22ab78aba00468fca886be5091c | 1,966 | /*******************************************************************************
* Copyright 2013 Petar Petrov <me@petarpetrov.org>
*
* 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
*
... | 30.71875 | 90 | 0.637335 |
33a6acd716cea5fe22b2f2f28cbfec05a012ee8e | 65 | package com.lukflug.panelstudio.hud;
interface package-info {
}
| 13 | 36 | 0.784615 |
9b5192614e0000031070e00dfe9b6c2b495e6fc1 | 1,127 | package com.parkinglot.parkinglotrest.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "vehicle")
public class Vehicle {
@Id
private String licensePlate;
private String colour;
private Size size;
private boolean isParke... | 18.177419 | 57 | 0.644188 |
f7b142409e2e203a5969b3579e7907763ce1ecf8 | 530 | package in.anandm.apps.event;
import org.springframework.context.ApplicationEvent;
import in.anandm.apps.domain.UserData;
public class Event extends ApplicationEvent {
public Event(UserData t) {
super(t);
System.out.println("Inside Event");
}
public UserData getUser() {
... | 22.083333 | 72 | 0.667925 |
deceadd8ed7e91451a081a9cb37a2cc9837f84df | 31,694 | /*
* Copyright 1999-2021 Alibaba Group Holding Ltd.
*
* 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 appl... | 33.083507 | 103 | 0.588061 |
78fb3a7a3df6dba1ccbddf9dede5a175e24cb6f5 | 1,397 | package com.akhgupta.easylocation.demo.pojo;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Condition {
@SerializedName("code")
@Expose
private String code;
@SerializedName("date")
@Expose
private String date;
@SerializedName("te... | 15.021505 | 50 | 0.493916 |
75a49fa051d752325fdfaa5097f7562ae5858a88 | 4,382 | package com.example.micke.lions;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditTe... | 39.836364 | 118 | 0.61319 |
5a60f77cdac575398f1b8bb29138732d107724da | 6,436 | package es.developer.achambi.pkmng.modules.data;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import java.util.ArrayList;
import java.util.List;
import es.developer.achambi.pkmng.database.dao.StatsDAO;
import es.developer.achambi.pkmng.database.model.configuration_stats;
import ... | 32.18 | 95 | 0.67542 |
7021d0a0e31e85be2e9a65eeaa1f1ca33a35e12f | 1,329 | /*
* Copyright (c) 2010-2018, sikuli.org, sikulix.com - MIT license
*/
package org.sikuli.script.support;
import org.sikuli.script.Location;
import org.sikuli.script.ScreenImage;
import java.awt.Color;
import java.awt.Rectangle;
/**
* INTERNAL USE <br>
* function template for (alternative) Robot implementations
... | 25.075472 | 65 | 0.696012 |
d2c395acd33ab205eedebf885ab7c2e18e32da30 | 1,081 | package it.polimi.ingsw.server.messages.clienttoserver.events.productionevent;
import it.polimi.ingsw.server.messages.clienttoserver.events.Validable;
import it.polimi.ingsw.server.model.GameModel;
import it.polimi.ingsw.server.model.player.board.PersonalBoard;
import java.util.Arrays;
public class FinalProductionPh... | 29.216216 | 166 | 0.758557 |
e4c5844204d2a88e1da6fa9453a2ca54a34eb778 | 2,308 | /*
* Copyright (c) 2008-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 35.507692 | 115 | 0.680676 |
e40c0d137d2d687a700622b0eb85d5eab54cecab | 776 | package com.project.bitirmeprojesi.mimari.DAO;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import com.project.... | 32.333333 | 68 | 0.768041 |
56d785570409f7ab0fc9d4b37e0abbc2e7710e2e | 7,610 | package com.good.em.controller;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServle... | 37.303922 | 102 | 0.70749 |
5708eeca2e443f4203562e8b613618f182461ca4 | 8,343 | package io.siddhi.sample.tcpsamples.tcpclient;
import io.siddhi.core.SiddhiAppRuntime;
import io.siddhi.core.SiddhiManager;
import io.siddhi.core.event.Event;
import io.siddhi.core.exception.ConnectionUnavailableException;
import org.wso2.extension.siddhi.io.tcp.transport.TCPNettyClient;
import io.siddhi.query.api.def... | 46.093923 | 155 | 0.556994 |
f1777735c8596c86163706bf56de31c60dbb5a9c | 3,869 | package com.excel.process.other;
import org.springframework.util.ConcurrentReferenceHashMap;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.Map;
import java.util.stream.IntStream;
/**
* @author funnyzpc
*/
public class ExcelDataReflectUtil {
privat... | 37.931373 | 121 | 0.492375 |
2a005b46d91b0f56cf4bdec2a8b3cf1c95e3fe29 | 8,205 | /*
* Copyright (c) 2016-2019 Anton Bulakh <necauqua@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 36.466667 | 126 | 0.674467 |
69899ba114e4ba0aae2c934696b4fe6a6b2b95cf | 9,121 | package com.activity;
import java.util.ArrayList;
import java.util.List;
import com.Sucre.qrscandemo.R;
import com.trin.resideMenu.ResideMenu;
import com.trin.resideMenu.ResideMenuItem;
import com.tron.adapter.CardAdapter;
import com.tron.fragment.CardFragment;
import com.tron.fragment.CouponFragment;
import com.tron... | 30.403333 | 91 | 0.716807 |
3e00581824a75d0a88da55882b90b4a057e7c8ff | 3,514 | package de.peerthing.systembehavioureditor.mode.editor;
import junit.framework.TestCase;
import de.peerthing.systembehavioureditor.model.IAction;
import de.peerthing.systembehavioureditor.model.editor.Action;
import de.peerthing.systembehavioureditor.model.editor.Node;
import de.peerthing.systembehavioureditor.model.e... | 27.030769 | 118 | 0.743312 |
1cff5f95fcb97eb44803f5bc007fbdf2530b17eb | 2,631 | /*
Copyright 2018 tarekmabdallah91@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | 34.168831 | 87 | 0.721779 |
d3a72edd7a55f349f57180a72f282ef9c8f71f73 | 485 | package hu.interconnect.hr.backend.api.service;
import hu.interconnect.hr.backend.api.dto.ErtekkeszletElemResponseDTO;
import hu.interconnect.hr.backend.api.dto.ErtekkeszletElemekResponseDTO;
import hu.interconnect.hr.backend.api.enumeration.ErtekkeszletElemTipus;
public interface ValuesetsQueryService {
Ertekkeszl... | 32.333333 | 81 | 0.861856 |
60d09121ca5f739c06d55d082a369d20eb923b4f | 869 | package com.nordea.openbanking.client.model.auth;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validati... | 25.558824 | 61 | 0.720368 |
75038e2187d6c24d125fc665281dffa353b4a972 | 4,625 | package com.valleytg.robotics.bluetooth_henry;
import java.util.ArrayList;
import com.valleytg.robotics.bluetooth_henry.app.Henry;
import com.valleytg.robotics.bluetooth_henry.collection.DoublePoint;
import com.valleytg.robotics.bluetooth_henry.collection.Reading;
import android.app.Activity;
import android.content.... | 32.118056 | 169 | 0.716541 |
c33c3c943a080c06b0d2cc40da86c32fcf9c71b9 | 612 | package com.bn.thread;
import static com.bn.constant.SourceConstant.*;
public class SwitchThread extends Thread{
boolean ismin=false;
public SwitchThread()
{
}
public void run()
{
while(true)
{//循环定时移动炮弹
try{
if(ismin){
step-=1;
if(step<5){
ismin=false;
}
}
if(!ismin){
... | 13.909091 | 47 | 0.54085 |
f47b190d9c9785898cd125062a8c280aa3a711ab | 9,111 | package dao;
import java.net.UnknownHostException;
import java.security.NoSuchAlgorithmException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import model.Encode;
import mo... | 37.340164 | 109 | 0.633739 |
cf95d06930151a9e6e5e869eb54239450d461d28 | 2,372 | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | 34.376812 | 91 | 0.72597 |
a313a8a0d879a40822c9a55efc992999944df537 | 265 | package com.medical.soft.persistence.crud;
import com.medical.soft.persistence.entity.Persona;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
public interface PersonaCrudRepository extends CrudRepository<Persona, Integer> {
}
| 24.090909 | 81 | 0.833962 |
9bdb3b25c6b12f0bc806b1522e2817f8fd7c7cd6 | 15,472 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Update_Status.java
*
* Created on 3 Nov, 2019, 11:50:48 PM
*/
/**
*
* @author Mridul Jadon
*/
import java.sql.*;
import javax.swing.*;
public class Update_Status extends javax.swing.JFrame {
/** Create... | 46.185075 | 165 | 0.599729 |
dc40b6ce227b745f3597a254239b2882e04c86b0 | 399 | package com.urgoo.schedule.activites;
import android.os.Bundle;
import com.urgoo.base.ActivityBase;
import com.urgoo.client.R;
/**
* Created by lijie on 2016/6/1.
*/
public class PrecontractDetail extends ActivityBase {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(s... | 21 | 56 | 0.734336 |
4f49d72ced9e5017974e4e9a107e8970712b2256 | 4,020 | /*
* NiFi Rest Api
* The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ... | 33.5 | 715 | 0.631841 |
5166b06f54398f3f5c03ef87959982aab848d782 | 251 | package com.mvc.learning.service;
import com.mvc.learning.domain.Order;
import java.util.List;
public interface OrderService {
void save(Order order);
void delete(Order order);
List<Order> getAll();
Order getById(Integer id);
}
| 14.764706 | 37 | 0.709163 |
4cdafe2fb428a3ac48aa94300acda82a64826b81 | 2,441 | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may o... | 39.370968 | 115 | 0.735764 |
b0a221ff1a51447a0c5e01b747cad557c9dd9111 | 607 | package org.bson.codecs;
import org.bson.BsonObjectId;
import org.bson.BsonReader;
import org.bson.BsonWriter;
public class BsonObjectIdCodec
implements Codec<BsonObjectId>
{
public BsonObjectIdCodec() {}
public void encode(BsonWriter writer, BsonObjectId value, EncoderContext encoderContext... | 13.795455 | 90 | 0.734761 |
dceee5a0f993ee7ce5b9dd251d2812d5ff811868 | 2,490 | package com.az.template.mvp.presenter;
import android.content.Context;
import com.arellomobile.mvp.InjectViewState;
import com.az.template.di.qualifiers.ApplicationContext;
import com.az.template.events.SwitchFragmentEvent;
import com.az.template.mvp.view.HomeActivityView;
import com.az.template.ui.application.Templa... | 23.942308 | 76 | 0.678313 |
26bc9e0992f36b66c6ba7bb3a0ecd4f3953ec43c | 6,210 | /*
* Licensed to DuraSpace under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* DuraSpace licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file excep... | 42.244898 | 113 | 0.687601 |
6b3f1b46e4cc548eb36493ac3880a57afe2d57c0 | 28,060 | /* Copyright 2002-2017 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... | 40.784884 | 130 | 0.639059 |
cf01a71d038eee6419969e6743a7700d7da020c1 | 281 | package com.uday.docker.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.uday.docker.entity.UserEntity;
@Repository
public interface UserRepository extends JpaRepository<UserEntity, Long> {
}
| 25.545455 | 73 | 0.839858 |
1c26fd0a3ffa927e0e2038c21b9f36c66a3bc7f1 | 2,493 | package com.creditease.dbus.log.processor.window;
import org.apache.commons.lang3.StringUtils;
/**
* Created by zhenlinzhong on 2017/11/15.
*/
public class Element {
private Boolean isOk = false;
private String table;
private Long timestamp;
private Integer taskId;
private Integer taskIndex... | 19.476563 | 65 | 0.616526 |
ca3b9ae67aa7f91a8255505dfd76ebe480969c8f | 4,166 | package com.fich.wafproject.controller;
import com.fich.wafproject.model.ConfigurationFiles;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authen... | 40.843137 | 143 | 0.783725 |
61c7b864bd940ccfcfa5c31ccecf094089045516 | 9,748 | /* Copyright (c) 2010-2015 Vanderbilt University
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 30.367601 | 137 | 0.711838 |
81616e00cb1330deeefda00ff88ec3a535068009 | 3,707 | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 36.70297 | 117 | 0.699757 |
bf75fe7ef5a6c0b6cf697cba4ab67543e26aed83 | 7,865 |
package fr.imag.adele.cadse.cadseg.generator.template;
import fr.imag.adele.cadse.core.Item;
import java.util.Set;
import fr.imag.adele.cadse.cadseg.generate.GenerateJavaIdentifier;
import fede.workspace.eclipse.java.JavaIdentifier;
import fr.imag.adele.cadse.core.ItemType;
import fr.imag.adele.cadse.core.v... | 49.778481 | 273 | 0.670947 |
3a7d2515c5ed84d665ceaf142584eead099dd411 | 5,445 | package com.example.demo.models;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security... | 25.325581 | 245 | 0.632874 |
31c9e08ade97ef874c98d7dcbf4314cdc24cae9f | 3,990 | /* Copyright 2018 Urban Airship and Contributors */
package com.urbanairship.preference;
import android.Manifest;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.os.Build;... | 35.625 | 156 | 0.703258 |
fd73fbf0ff68cecbf7f1201d8a317c596be78051 | 1,737 | package com.msmwallet.wallet.wallets.ethereum;
import android.content.Context;
import com.msmwallet.tools.manager.BRSharedPrefs;
import com.msmwallet.wallet.abstracts.BaseWalletManager;
import com.msmwallet.wallet.abstracts.OnBalanceChangedListener;
import com.msmwallet.wallet.abstracts.OnTxListModified;
import com.m... | 27.571429 | 78 | 0.75072 |
374d21b0c84381a4774d52d3fc6cfaf63243a42c | 1,067 | package function;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class FunctionDiapasonTest {
@Test
public void whenLinearFunctionThenLinearResults() {
List<Double> result = new Function... | 29.638889 | 105 | 0.684161 |
31d173046d40b66ea2aeb07582d3d8ead5374537 | 595 | package cn.mirror.concurrency.example.publish;
import cn.mirror.concurrency.annotations.NotThreadSafe;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import java.util.Arrays;
@Slf4j
@NotThreadSafe
public class UnsafePublish {
@Getter
private String[] numbers = {"1", "2", "3"};
public static voi... | 25.869565 | 68 | 0.690756 |
0409526eb901abdb25fbef6d35cd08c95ca58b9c | 1,920 | package com.googlecode.objectify.insight;
import lombok.Data;
import javax.annotation.Nullable;
import javax.inject.Inject;
import javax.inject.Named;
import com.google.appengine.api.modules.ModulesServiceFactory;
/**
* Buckets are given a timestamp that depends on a configurable value, so we need to
* make them ... | 32.542373 | 145 | 0.746354 |
3ef8dfbe3cb40c3e60fe190af4fedc53faa486e4 | 547 | package com.coolslow.topics.math;
import com.coolslow.datastruct.utils.MyUtils;
import com.coolslow.leetcode.topics.math.Code171ExcelSheetColumnNumber;
import org.junit.Test;
/**
* by MrThanksgiving
*/
public class Code171ExcelSheetColumnNumberTest {
@Test
public void testSolution() {
Code171ExcelS... | 27.35 | 85 | 0.738574 |
22cd5d142c9db9e34e48e1cccfa04b702083b73f | 8,383 | /*
* Copyright 2013, Morten Nobel-Joergensen
*
* License: The BSD 3-Clause License
* http://opensource.org/licenses/BSD-3-Clause
*/
package edu.illinois.library.cantaloupe.processor.resample;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import java.awt.image.Writa... | 37.424107 | 97 | 0.500179 |
84d5fe12c99913aa42c99329dd4aa9516a2df291 | 682 | package math;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class BAEKJOON_1712 {
public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
... | 27.28 | 81 | 0.630499 |
366bbc4f076f8c377becfa5142bf6257b312a8a2 | 1,256 | /*
* 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 Modal;
/**
*
* @author nadso
*/
public class ItensCarrinho {
private int IDLivro;
private int Quantidade... | 21.655172 | 85 | 0.59793 |
9a3f5a035e5612b305fb88f524845530c73b32a5 | 1,672 | /*
* Copyright 2018 Feedzai
*
* 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 w... | 30.4 | 75 | 0.712919 |
4d4607df0dea0b9dba96fa22493457a0969e59c3 | 3,487 | /**
*/
package org.geppetto.model.values.impl;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.geppetto.model.values.SkeletonAnimation;
import org.geppetto.model.values.SkeletonTransform... | 23.883562 | 186 | 0.702323 |
cba75c68c85154826fd48dd3bd5777525a30cc56 | 488 | /*
* Copyright (c) 2018 Redlink GmbH.
*/
package com.rbmhtechnology.vind.monitoring.analysis;
import com.rbmhtechnology.vind.monitoring.logger.entry.MonitoringEntry;
import java.util.Collection;
/**
* Created on 08.01.18.
*/
public class BasicSearchLogAnalyzer extends LogAnalyzer{
@Override
public Stri... | 18.074074 | 71 | 0.704918 |
b25004837792437cac52ca4c7c85754ff25d2bd0 | 1,856 | package controllers;
import akka.stream.Materializer;
import akka.util.ByteString;
import models.ArtistProfilePhoto;
import models.Photo;
import org.junit.Test;
import play.api.libs.Files;
import play.api.mvc.MultipartFormData;
import play.mvc.Http;
import play.test.Helpers;
import akka.stream.javadsl.*;
import reposi... | 34.37037 | 128 | 0.681034 |
2d65877259c96528ed56240bce663d4f166ce48c | 4,367 | /*
* Copyright 2015-2021 Alexandr Evstigneev
*
* 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 a... | 29.910959 | 109 | 0.706664 |
9b6ebbb9095af8ef258b9ae10be8b8f0a0de5416 | 2,117 | package io.recode.decompile.impl;
import io.recode.classfile.ByteCode;
import io.recode.classfile.ClassFileFormatException;
import io.recode.decompile.DecompilerConfigurationBuilder;
import io.recode.decompile.DecompilerDelegate;
import io.recode.decompile.DecompilerDelegation;
import io.recode.model.InstanceAllocatio... | 43.204082 | 137 | 0.71847 |
10d656593f3b5c2c58cfefea200c0a6e670843d8 | 2,728 | package ru.evgenyhodz.set;
import ru.evgenyhodz.LinkedArray;
import java.util.Iterator;
/**
* @author Evgeny Khodzitskiy (evgeny.hodz@gmail.com)
* @since 21.02.2017
*/
public class MyLinkedSet<E> extends LinkedArray<E> implements CheckDuplication<E> {
/**
* Constructor.
*
* @param size - size ... | 25.259259 | 83 | 0.508431 |
8850d86ce58d78696ff301aab2ebaba7824a7d60 | 2,005 | package com.fr.swift.cloud.query.info.bean.element.filter.impl.value;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
* Created by Lyon on 2018/7/4.
*/
public class RangeFilterValueBean implements Serializable {
private static final long serialVersionUID = 18398064050520... | 26.381579 | 99 | 0.63591 |
3d6bec44ce7cfa6d1389c21b68273e81d3ad0202 | 273 | package de.tum.in.dss.psquare;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({ TestRandom.class, TestPaper.class, TestCornerCases.class })
public class PSquaredSuite {
}
| 22.75 | 75 | 0.794872 |
5ae7b4855cda2734043f1b33bba0820ea2b74841 | 1,269 | /*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2019
http://railcraft.info
This code is the property of CovertJaguar
and may only be used with explicit written
permission unless otherwise specified on the
license page at http://railcraft.info/wiki... | 29.511628 | 80 | 0.644602 |
b2a74cb97b7073fe16d72c044ca83ba7cdd44854 | 577 | package Dialogs;
import javafx.application.Platform;
import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
import javafx.stage.Stage;
public class ReminderDialogController {
private String message;
@FXML
public TextArea messageArea;
private Stage stage;
pub... | 18.03125 | 46 | 0.684575 |
d5ef7d1755e44c66805fc33997583eb709a483e7 | 1,965 | package com.qiyue.jia.servicetest;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends A... | 26.2 | 87 | 0.660051 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.