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 |
|---|---|---|---|---|---|
bd3589222337e04174e55c931f3e06600f128b8a | 1,883 | package com.roomate.service.impl;
import com.roomate.domain.Customer;
import com.roomate.domain.Loan;
import com.roomate.repository.LoanRepository;
import com.roomate.request.LoanRequest;
import com.roomate.service.LoanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... | 30.868852 | 147 | 0.744557 |
fd73c1cab342891e182deb2d43ad36eef5948118 | 1,050 | package employees.domain;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class Employee {
String id;
String employeeName;
String employeeSalary;
String employeeAge;
Str... | 22.340426 | 61 | 0.771429 |
6fff968bf424739a645367b8b0bbeb9fdc5fe5db | 405 | package yanagishima.module;
import com.google.inject.servlet.ServletModule;
import yanagishima.servlet.*;
public class ElasticsearchServletModule extends ServletModule {
@Override
protected void configureServlets() {
bind(ElasticsearchServlet.class);
serve("/elasticsearch").with(ElasticsearchServlet.class);
... | 27 | 81 | 0.812346 |
d400a77c03e9c756c5aeb74b035dee877456a631 | 955 | package com.mes.msgboard.json;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value="CommentRequest",description="Request object for creating a new com... | 22.738095 | 93 | 0.763351 |
73f16d3cf6c7c9f0130ce7a3f10e1249d3b95a80 | 1,738 | package view;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Labeled;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyEvent;
import javafx.s... | 21.725 | 73 | 0.681818 |
ad55fd414efe856fc5a51c9a0f0af76159567be9 | 9,809 | /*
Copyright (c) 2000-2019 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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 limitati... | 27.47619 | 124 | 0.690488 |
c2ae995a8d097edee9fcfd8570b62f39d3f44379 | 1,854 | /**
* Copyright 2009 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 applicable ... | 32.526316 | 95 | 0.709817 |
b3c61bb4ed0e3af20825c2146620fac77ba73050 | 5,694 | package com.sequenceiq.cloudbreak.service.upgrade.sync;
import static com.sequenceiq.cloudbreak.api.endpoint.v4.common.Status.UPDATE_IN_PROGRESS;
import static com.sequenceiq.cloudbreak.cloud.model.catalog.ImagePackageVersion.CM;
import static com.sequenceiq.cloudbreak.event.ResourceEvent.STACK_CM_MIXED_PACKAGE_VERSIO... | 52.238532 | 160 | 0.766772 |
42270bef81cf563fd4b9cf660b653790f37cff87 | 2,126 | /*
* 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;
public class RobotProjectConfigEvents {
public static final String ROBOT_CONFIG_MARKER_CHANGED = "robot/redxml/... | 55.947368 | 141 | 0.816557 |
d810031d4ebd21450444f3e198b3b2348796004d | 9,305 | /*
* The MIT License
*
* Copyright 2013 Jesse Glick.
*
* 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, mod... | 44.521531 | 181 | 0.679527 |
a0320f6fb5b23440716317ead335200ace11ca8e | 6,508 | /*
* Copyright 2015-2016 Patrick Jungermann
*
* 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 o... | 31.746341 | 90 | 0.614014 |
cece3b338e7d5d89fffa5864b59d46432a2bf2a1 | 14,072 | package qin.javaee8.testing;
import org.junit.Test;
import qin.javaee8.core.SessionBasic;
import qin.tinyshop8.domain.Goods;
import qin.tinyshop8.utils.ShopBaseSupport;
import java.util.ArrayList;
import java.util.List;
public class SaveGoodsInfo implements ShopBaseSupport,
SessionBasic
{
@Test
pub... | 50.257143 | 101 | 0.678653 |
89d4c84a11463cff8d2383c4668616c2e13e1ddf | 7,800 | /*
* Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained in the copyright notice above, or as used to identify
* MFMER as the auth... | 28.158845 | 103 | 0.688846 |
9d9c4cc15a838f15e74a935c4cb9840f8f9efc9a | 719 | /*
* 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 ficha7.exercicio2;
/**
*
* @author joaog
*/
public class MinhaThread extends Thread{
Counter c;
boolean soma;
... | 17.975 | 79 | 0.500695 |
637483c8bd246ed496ed938e098ac91694e85471 | 5,819 | package in.ac.iitm.shaili.ImageProcessing;
import android.graphics.Bitmap;
import android.graphics.Color;
/**
* Created by Awanish Raj on 24/06/15.
*/
public class BinarizeAdaptiveOld {
private static final String LOG_TAG = "BinarizeAdaptive";
private static final int WINDOW_FACTOR = 8;
// private ... | 32.691011 | 114 | 0.450077 |
74842b862165cc6a9d10cab24404f818e5eda241 | 5,960 | package org.egov.cpt.models;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.Size;
import org.egov.cpt.models.calculation.Calculation;
import org.springframework.validation.annotation.Validated;
import com.fasterxml.jackson.annotation.... | 23.84 | 114 | 0.714094 |
99b203cd70e10715a13a106d5348b3dd76000302 | 610 | package com.ovh.mls.serving.runtime.core;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Interval {
private final Double lowerBound;
private final Double upperBound;
@JsonCreator
public Interval(@JsonProperty("lower_bound") Dou... | 24.4 | 117 | 0.713115 |
6dd99356e4707a49b648abf05c44e9369d6f8e77 | 2,649 | /*
* Copyright 2019-present HiveMQ GmbH
*
* 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 ag... | 36.791667 | 121 | 0.658739 |
22a54647c3caf659dc63a0f1d0f7d735704b5541 | 2,100 | package edu.anadolu.cmdline;
import edu.anadolu.analysis.Analyzers;
import edu.anadolu.analysis.Tag;
import edu.anadolu.datasets.CollectionFactory;
import edu.anadolu.datasets.DataSet;
import edu.anadolu.stats.DocLengthStats;
import org.clueweb09.InfoNeed;
import org.clueweb09.tracks.Track;
import org.kohsuke.args4j.O... | 31.343284 | 122 | 0.667143 |
4792a232d8b048f6c15d5867d340edc91bdf42c3 | 1,113 | package org.jesperancinha.std.flash511.actuator;
import org.jesperancinha.console.consolerizer.console.ConsolerizerComposer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication... | 38.37931 | 115 | 0.681042 |
ac56032f49e26a773b77c9ca3795ca342dfe0b40 | 3,685 | /*
* 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.thespheres.betula.gpuntis.impl;
import java.awt.Component;
import java.awt.Cursor;
import org.thespheres.betula.xmlimport.... | 37.222222 | 154 | 0.679783 |
1e59298766010c73d1f51aaab0c613ca08e2f159 | 472 | package model.adt;
import model.exceptions.InterpreterException;
import model.values.IValue;
import java.util.Map;
public interface IHeap {
void add(Integer key, IValue value);
void update(Integer key, IValue value) throws InterpreterException;
IValue search(Integer key) throws InterpreterException;
... | 27.764706 | 71 | 0.754237 |
09800320da3c2e45b11bd6f446b72819f4bfe5e7 | 4,788 | package cn.com.warlock.emitter.bytes;
import static cn.com.warlock.emitter.bytes.IDBuilder.parseGeneratorId;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import org.apache.commons.codec.binary.Hex;
import org.hamcrest.CoreMatchers;
import org.junit.Test;
public class IDBuilderTes... | 37.700787 | 99 | 0.676692 |
fed14813f2e696caabefc4eadbc58c8a34d5fa39 | 3,306 | /*
* Copyright (c) 2013-2016, EMC Corporation.
* 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 must retain the above copyright notice,
* this list of conditions and the followi... | 46.56338 | 117 | 0.708106 |
96edbc693cb8fcd55bcdb1667b0d95d6278f7621 | 62,936 | /*
* Copyright <2021> 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
*
* or i... | 51.799177 | 130 | 0.568212 |
93a0adac285bdeb31e0ea80d42b48a6658e88d29 | 11,821 | package com.hartwig.hmftools.patientdb.matchers;
import static com.hartwig.hmftools.patientdb.data.TestDatamodelFactory.biopsyBuilder;
import static com.hartwig.hmftools.patientdb.data.TestDatamodelFactory.sampleBuilder;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import j... | 50.302128 | 140 | 0.747145 |
5eb87591e19bb5cde5f5fa2c468fbc30dc167148 | 9,581 | /*
* Tencent is pleased to support the open source community by making Angel available.
*
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a... | 42.772321 | 100 | 0.728212 |
0c7b3392f745acf76ee389487f2c2eb08a588578 | 789 | package com.app.qunadai.bean.base;
/**
* Created by wayne on 2017/9/5.
*/
public class BaseBean<T> {
// 接口请求返回带状态码
private String code;
// 服务器返回的提示信息
private String msg;
private String detail;
//data数据
private T content;
public String getCode() {
return code;
}
publ... | 16.4375 | 42 | 0.569075 |
b5fd6abe447747606a998e378c0dc55a1695de44 | 4,381 | /*
* Copyright 2002-2004 Jeremias Maerki.
*
* 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... | 43.376238 | 93 | 0.625656 |
4d74c17c5ccc72b4f1745bb202fa685870ff2bd4 | 2,490 | /*
* Copyright 2018 Felipe Joglar Santos
*
* 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 ... | 30.365854 | 94 | 0.694378 |
dd5c603faded00b71583b84b6d7e58fc51cc93d3 | 3,998 | package de.charite.compbio.jannovar.vardbs.dbsnp;
import de.charite.compbio.jannovar.vardbs.base.DBAnnotationOptions;
import de.charite.compbio.jannovar.vardbs.base.VCFHeaderExtender;
import htsjdk.variant.vcf.VCFHeader;
import htsjdk.variant.vcf.VCFHeaderLineCount;
import htsjdk.variant.vcf.VCFHeaderLineType;
import ... | 48.756098 | 108 | 0.748374 |
d80e9478be7da402033954351b23d219406b1270 | 2,180 | package io.github.jspinak.brobot.actions.methods.sikuliWrappers.find;
import io.github.jspinak.brobot.actions.BrobotSettings;
import io.github.jspinak.brobot.actions.actionOptions.ActionOptions;
import io.github.jspinak.brobot.datatypes.primitives.image.Image;
import io.github.jspinak.brobot.datatypes.primitives.image... | 41.132075 | 98 | 0.744954 |
0142105e596c595b62d69ee4ff91d72aa373cdea | 1,763 | package week9;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.WritableByteChannel;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.EnumSet;
public class WritableFi... | 24.830986 | 110 | 0.655701 |
e311face11aa2733e1cd7519649e623e08575f5a | 2,529 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.digitaltwins.v2020_12_01;
import rx.Observable;
... | 34.175676 | 103 | 0.730724 |
4039fd285cb02c7c181ba2496c4b26d5af9f33ef | 229 |
package DiscUtils.Nfs;
import java.io.Closeable;
public interface IRpcClient extends Closeable {
RpcCredentials getCredentials();
IRpcTransport getTransport(int program, int version);
int nextTransactionId();
}
| 16.357143 | 57 | 0.759825 |
c480fba961fc177dbc6f2864b31b5bf90f3516ba | 91 | package Chatr.Helper.Enums;
public enum MessageType {
TEXT, GIF, IMAGE, EMOJI, STICKER
}
| 15.166667 | 33 | 0.747253 |
ed33c20ec5567b28819236dbbe9a7fff44807d9e | 8,395 | package org.beifengtz.jvmm.core.conf;
import com.google.gson.Gson;
import org.beifengtz.jvmm.common.util.StringUtil;
import java.util.Map;
/**
* <p>
* Description: TODO
* </p>
* <p>
* Created in 16:48 2021/5/22
*
* @author beifengtz
*/
public final class Configuration {
private final String name;
pr... | 28.076923 | 77 | 0.591185 |
fb00c977977e93cb17769ff64e408e947b4a7142 | 1,692 | package com.smartdevicelink.proxy.rpc;
import android.support.annotation.NonNull;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCRequest;
import com.smartdevicelink.proxy.rpc.enums.ModuleType;
import java.util.Hashtable;
public class ReleaseInteriorVehicleDataModule extend... | 26.857143 | 77 | 0.682033 |
7e17ef60ff7c7f04f65f532e65e972f58c019d7d | 6,897 | /*
* 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 com.dadoco.admin.model;
import com.dadoco.common.annotations.GreaterZero;
import java.io.Serializable;
import java.util.Date;
... | 31.637615 | 164 | 0.68624 |
3a251d56e5905eff49402bfc8f4bcd857594586d | 1,839 | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package s03entities;
import com.almasb.fxgl.app.FXGL;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.entity.component.Component;
import com.almasb.fxgl.entity.Enti... | 25.191781 | 70 | 0.621533 |
2c74c496d42d97769eb1885c475ef53351ac758f | 910 | package com.autohome.frostmourne.spi.starter.api;
import java.util.List;
import com.autohome.frostmourne.core.contract.Protocol;
import com.autohome.frostmourne.spi.starter.model.AlarmMessage;
import com.autohome.frostmourne.spi.starter.model.MessageResult;
import com.autohome.frostmourne.spi.starter.model.Team;
impo... | 37.916667 | 99 | 0.783516 |
9cfb12c7c6f20cdf638cf1455c7259fc755c0c9d | 849 | package com.itzmeds.adfs.client.request;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
@Root(name = "AppliesTo")
public class AppliesTo {
@Element(name = "a:EndpointReference", required = true)
protected EndpointReference endpointReference;
/**
* Gets the value of th... | 22.342105 | 63 | 0.632509 |
526f99cf9b3df83c4abea8573d6b409d5ef6dbac | 1,946 | package algorithms.searching_sorting.model;
public class SortGrade {
public Grade[] mergeSort(Grade[] grades, int begin, int end) {
order(grades, begin, end);
return grades;
}
public void order(Grade[] grades, int begin, int end) {
int numberOfElements = end - begin;
if (n... | 30.888889 | 86 | 0.538541 |
15dd19f7718137dd3a2a127e71c2aa7f09e46368 | 1,896 | package com.example.swagger.apigateway.impl;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
import com.aliyuncs.cloudapi.model.v20160714.CreateApiGroupRequest;
import com.aliyuncs.cloudapi.model.v20160714.CreateApiGroupResponse;
import com.aliyuncs.cloudapi.mode... | 36.461538 | 114 | 0.723101 |
d4bc523ec872b16bf72769f7d855f93c59d9ba9e | 318 | package com.caucho.hessian.io;
public abstract class AbstractSerializerFactory {
public AbstractSerializerFactory() {
}
public abstract Serializer getSerializer(Class var1) throws HessianProtocolException;
public abstract Deserializer getDeserializer(Class var1) throws HessianProtocolException;
}
| 26.5 | 93 | 0.805031 |
56c6a01512531a08891d5939e6f2d67eec8077fc | 4,839 | package jc.sudoku.solver.logical.strategies;
import static jc.sudoku.view.SudokuViewConsts.*;
import static jc.sudoku.puzzle.Constraint.UnitType.*;
import static jc.sudoku.solver.logical.hinting.HintRefType.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.slf4j.Lo... | 38.404762 | 84 | 0.640835 |
911c6c77c88144e631487239879f57f00089c024 | 12,455 | package com.mopchik.mopchik;
import android.app.Activity;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.database.Cursor;
import android.media.Image;
import android.net... | 29.375 | 111 | 0.604496 |
7cdb422087c47e5e63f9691d36376c472d3e011c | 5,970 | package com.example.demo.test.SerializerFeaturePackage;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;
import java.util.*;
/**
* SerializerFeature
*/
public class SerializerFeatureClass {
private static Word word;
privat... | 27.897196 | 253 | 0.671357 |
65957a286dc02965f356d7c1947c2deff363148c | 3,614 | /*
* 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 ... | 33.155963 | 120 | 0.770061 |
1c435b71fa4891ff814dbae706c2c5f6fd2d3725 | 25,742 | /**
* Sencha GXT 4.0.1 - Sencha for GWT
* Copyright (c) 2006-2016, Sencha Inc.
*
* licensing@sencha.com
* http://www.sencha.com/products/gxt/license/
*
* ================================================================================
* Evaluation/Trial License
* ===============================================... | 39.786708 | 342 | 0.633478 |
a3411385794813dc2aeba93ea155f68315c54aa4 | 16,291 | package internal.org.springframework.content.commons.repository.events;
import static com.github.paulcwarren.ginkgo4j.Ginkgo4jDSL.*;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import ... | 35.109914 | 88 | 0.712172 |
b292ea9de9c1aab9d938db4764ae4cf6313000da | 2,708 | package de.jollyday.tests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.time.LocalDate;
import java.util.Set;
import org.junit.Test;
import de.jollyday.Holiday;
import de.jollyday.HolidayCalendar;
import de.jollyday.HolidayManager;
import de.jollyday.ManagerPar... | 41.661538 | 118 | 0.706056 |
46bb58a9eef817f0da0021d8c1829e4882a6a07d | 2,110 | // 数组
// java语言支持长度不变的数组。
// java语言以标准库ArrayList来实现动态数组。
// 如果数组的元素可比较,那么数组可以直接用==比较
import java.util.ArrayList;
import java.util.Comparator;
class Array {
public static void printArray(int []array) {
for (int i = 0; i < array.length; i++) {
System.out.print(array[i] + " ");
}
S... | 30.142857 | 64 | 0.508531 |
8f70df7f3998ebd53ee1a86d4a7ef19d14ae0f43 | 5,672 | package org.janelia.jacs2.asyncservice.common;
import com.beust.jcommander.Parameter;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;
import org.janelia.jacs2.asyncservice.common.mdc.MdcContext;
import org.janelia.jacs2.cdi.q... | 54.538462 | 221 | 0.666432 |
7a4795869ef90b63aee3ae5f466078340ef547fb | 5,823 | package br.senai.hm.controller;
import java.io.IOException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.ResourceBundle;
import application.Main;
import br.senai.hm.dao.ConferenciaDAO;
import br.senai.hm.modelo.Ambiente;
import br.senai.hm.modelo.Conferencia;
import ... | 27.597156 | 102 | 0.751503 |
6a86b6dbb9e99122018e2714477292231a545524 | 2,792 | /*
* 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 ... | 34.469136 | 110 | 0.694842 |
2ae6885f8de719f3deb5752d3315d3a6a8e92354 | 4,282 | /*
* Power BI Client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do ... | 27.625806 | 109 | 0.659271 |
0abe06f5cbc0be78befb0ac18b0c8773f01a6d30 | 1,355 | /**
* 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... | 36.621622 | 124 | 0.765314 |
1056a375b775c0717308b1064e53e4e059b4f3f3 | 1,212 | package cn.dsc.mapstruct.mapper;
import cn.dsc.mapstruct.consts.GenderEnum;
import cn.dsc.mapstruct.dto.SchoolDTO;
import cn.dsc.mapstruct.entity.School;
import cn.dsc.mapstruct.entity.User;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import org.junit.Test;
import java.math.BigDeci... | 28.186047 | 72 | 0.675743 |
abdc11b403a9e249b6923c7628dd75722c757b3b | 2,909 | /**
* 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... | 37.294872 | 111 | 0.789618 |
a6f189ac623430c6fe066330f83e26a8a4f2f49b | 1,617 | /*
* Copyright 2010-2016 Grzegorz Slowikowski
*
* 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 ... | 29.944444 | 109 | 0.703154 |
ce9f6e0e0b9604d8adc9a1223555c16f4fdad486 | 2,209 | /*
* =============================================================================
*
* Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.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 ob... | 35.629032 | 221 | 0.703033 |
a0ea45374cd724b26e62b48b2d087eda20384812 | 767 | package ru.linachan.nemesis;
import org.json.simple.JSONObject;
public class NemesisApproval {
private NemesisApprovalType type;
private String description;
private Integer value;
public NemesisApproval(JSONObject approvalData) {
type = NemesisApprovalType.getApprovalType((String) approvalDa... | 23.242424 | 86 | 0.659713 |
77c3d8fe6e338252ddd6a8319e76d93a7ced9911 | 460 | package com.okx.domain.market;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* Market orderbook.
*/
@NoArgsConstructor
@Data
@JsonIgnoreProperties(ignoreUnknown = tr... | 19.166667 | 61 | 0.765217 |
c60b1cf5986b937e50d7a749b2da1810d854ff86 | 511 | /**
*
*/
package org.wertx.path;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import io.vertx.core.http.HttpMethod;
@Retention(RUNTIME)
@Target(ElementType.METHOD)
/**
* @author 瞿建... | 15.484848 | 59 | 0.720157 |
2addd8f915c1c5df2b50aafc93081f16a2f3fc89 | 1,728 | package com.example.jokeviewer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.widget.TextView;
import android.widget.Toast;
import com.example.jokeviewer.util.Constants;
p... | 33.882353 | 116 | 0.689236 |
66b7be6e48d3552870a311ee412c9158e6b36b95 | 2,200 | package org.haiku.haikudepotserver.dataobjects.auto;
import java.util.Map;
import org.apache.cayenne.ObjectContext;
import org.apache.cayenne.QueryResult;
import org.apache.cayenne.query.MappedExec;
/**
* This class was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* si... | 43.137255 | 117 | 0.771364 |
1266078627f814801b61d3d6c1b836c1c6f2db62 | 7,251 | package org.jtrim2.executor;
import java.util.Objects;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Executor;
import org.jtrim2.cancel.Cancellation;
import org.jtrim2.cancel.CancellationToken;
import org.jtrim2.concurrent.AsyncTasks;
/**
* Executes tasks at some time in the future. This i... | 50.006897 | 106 | 0.710523 |
6d390ecf5d349373e75d0291bd4df6a052a18827 | 105 | package com.eyft.server.model;
public enum PropOrderStatus {
ORDERED,
ACCEPTED,
DELIVERED
}
| 13.125 | 30 | 0.704762 |
13c5b70ab92435bd5059ef3e804de99c4d15b20a | 269 | package uk.gov.hmcts.reform.bulkscan.payment.processor.service.servicebus.exceptions;
public class UnknownMessageProcessingResultException extends RuntimeException {
public UnknownMessageProcessingResultException(String message) {
super(message);
}
}
| 29.888889 | 85 | 0.806691 |
316b46892d78685439716ea9b29872ab0eaf5059 | 11,523 | package com.moemoe.lalala.presenter;
import android.text.TextUtils;
import com.moemoe.lalala.app.AppSetting;
import com.moemoe.lalala.greendao.gen.AuthorInfoDao;
import com.moemoe.lalala.model.api.ApiService;
import com.moemoe.lalala.model.api.NetResultSubscriber;
import com.moemoe.lalala.model.api.NetSimpleResultSub... | 46.277108 | 161 | 0.467239 |
88326590a4f1d9fd203b8328f8e12a82359a72ed | 1,894 | package com.burakyildiz.springboot.business.mapping;
import com.burakyildiz.springboot.entities.concretes.User;
import com.burakyildiz.springboot.entities.dtos.UserDto;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
@Generated(
value = "org.mapstruct.ap.MappingPro... | 28.69697 | 101 | 0.63094 |
6b4d0815b22e26c795844bc78bc84e2342b8a606 | 4,240 | package org.jointheleague.graphical.robot.curves;
import org.jointheleague.graphical.robot.Robot;
import java.awt.*;
import java.awt.geom.Path2D;
import java.awt.geom.PathIterator;
/**
* A Path that is followed by a Robot. Only the part of the path from
* the path's start to the robot's current position is drawn.
... | 34.471545 | 105 | 0.599764 |
0a72d0f1b5475c252853e82e0ed4241e1b43616a | 2,883 | /**
* SqlJetIndexedColumn.java
* Copyright (C) 2009-2010 TMate Software Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed i... | 30.670213 | 71 | 0.642386 |
6131a337696a9b098bae87546804d33104b48878 | 2,486 | package org.motechproject.tasks.domain;
import org.apache.commons.lang.ArrayUtils;
import org.codehaus.jackson.annotate.JsonValue;
import static org.apache.commons.lang.StringUtils.isNotBlank;
/**
* Defines the type of various manipulations used in a task for both triggers and data sources.
*/
public enum Manipul... | 29.951807 | 116 | 0.663315 |
f0ceb57b97d0f3e38d6ef78b8bfcdfefb42b53b1 | 1,108 | package de.metas.inoutcandidate.api;
import javax.annotation.Nullable;
import org.adempiere.util.lang.IContextAware;
import de.metas.inout.model.I_M_InOutLine;
import de.metas.inoutcandidate.api.impl.ReceiptScheduleAllocBuilder;
import de.metas.inoutcandidate.model.I_M_ReceiptSchedule;
import de.metas.inoutcandidate... | 33.575758 | 165 | 0.850181 |
2c4871a3021ab3dd403e6109189649a7fe27cc86 | 741 | package com.something.spring.integration.service.impl;
import com.something.spring.integration.pojo.User;
import com.something.spring.integration.service.ReserviceService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
/**
* @author cWww
* @Title
* @Descript... | 27.444444 | 93 | 0.746289 |
fc5f24302fffe85242d2cd764c92666fa31c3737 | 439 | package de.lemona.android.guice.providers.system;
import com.google.inject.Inject;
import android.content.Context;
import android.os.PowerManager;
import de.lemona.android.guice.ContextSingleton;
@ContextSingleton
public class PowerManagerProvider extends AbstractServiceProvider<PowerManager> {
@Inject
publ... | 24.388889 | 81 | 0.794989 |
8c71f9a3153634cab449f483c3f2c9f13054914d | 1,927 | package io.github.henryssondaniel.teacup.protocol.http.server;
import com.sun.net.httpserver.Authenticator;
import com.sun.net.httpserver.Filter;
import io.github.henryssondaniel.teacup.core.logging.Factory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;... | 24.705128 | 76 | 0.732226 |
65a561aea8c5e58e750fe2e9c6ad9d648a30cc5c | 5,051 | package com.voxelgameslib.voxelgameslib.components.elo;
import javax.annotation.Nonnull;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import jskills.Rating;
@Entity
@Table(name = "rating")
public class RatingWrapper {
@Id
... | 38.853846 | 296 | 0.709364 |
d351032d4e7b66a17f3f7db2fd865deb81f2c652 | 1,526 | package com.gempukku.swccgo.logic.effects;
import com.gempukku.swccgo.game.PhysicalCard;
import com.gempukku.swccgo.game.SwccgGame;
import com.gempukku.swccgo.logic.GameUtils;
import com.gempukku.swccgo.logic.timing.AbstractSuccessfulEffect;
import com.gempukku.swccgo.logic.timing.Action;
import java.util.Collection;... | 38.15 | 141 | 0.726737 |
b2ba40a3e6d5dd23e25ed611077349d1b16442b3 | 5,256 | /*
* Copyright (c) 2019-2020 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.testing.story.buckets;
import java.io.File;
import java.io.IOException;
import com.evolveum.midpoi... | 40.122137 | 170 | 0.734779 |
b012c2e5c951361479c02139041ded6d5276f48a | 4,305 | /*
* Copyright (C) 2019 Juraj Antal
*
* Originally created in G-Watch App
*
* 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
*
* Un... | 35.578512 | 165 | 0.60302 |
5fa68beda7b1545aa6df37f0a515483fb853c948 | 769 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.ui.laf;
import com.intellij.ide.ui.UITheme;
import com.intellij.ide.ui.laf.darcula.DarculaLaf;
import javax.swing.*;
/**
* @author Konstantin Bulenkov... | 27.464286 | 140 | 0.746424 |
d0013654df108bcfb5e5c7fe49051b3d8429f1a8 | 1,463 | package com.sequenceiq.freeipa.api.v1.dns.doc;
public final class DnsOperationDescriptions {
public static final String ADD_DNS_ZONE_FOR_SUBNETS = "Creates reverse DNS Zone entry for subnets in CIDR format";
public static final String ADD_DNS_ZONE_FOR_SUBNET_IDS = "Creates reverse DNS Zone entry for subnet IDs... | 66.5 | 148 | 0.764183 |
a46403d5ab9f2b40601c9e4e4da542375b31c89a | 1,713 | package com.jcloisterzone.reducers;
import com.jcloisterzone.board.pointer.FeaturePointer;
import com.jcloisterzone.event.MeepleDeployed;
import com.jcloisterzone.event.PlayEvent.PlayEventMeta;
import com.jcloisterzone.feature.Structure;
import com.jcloisterzone.figure.DeploymentCheckResult;
import com.jcloisterzone.f... | 34.26 | 98 | 0.709866 |
bdac13453dabc72122662af280c75d10eeb0b1b5 | 2,151 | package home.gabe.tvword.controllers;
import home.gabe.tvword.model.AuditEvent;
import home.gabe.tvword.model.web.PasswordCommand;
import home.gabe.tvword.services.AdminService;
import home.gabe.tvword.services.AuditService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org... | 38.410714 | 165 | 0.754533 |
37cccc4f66d9a6b84a92ccd54ba78b8afcb7fd1c | 7,018 | /*
* Copyright (C) 2018 Velocity Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program... | 29.86383 | 75 | 0.699202 |
4cb8410fb6e5cfc9fe9be9b4b0c201f32a5f6843 | 5,147 | /*
Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com)
This file is part of the Semantic Discovery Toolkit.
The Semantic Discovery Toolkit is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free So... | 33.422078 | 141 | 0.667768 |
57bbad0651a15fe48f884166e78e8e7ceac0ec1b | 180 | package com.monsanto.data.goldengate.config.factory;
import com.monsanto.data.goldengate.config.Conf;
public interface ConfigurationFactory {
Conf load(String filePath);
}
| 18 | 52 | 0.794444 |
7886e66beb81e8655cb6ad62c856b6efeac85008 | 21,393 | package ch.yannick.context.datamanagement;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import java.util.ArrayList;
import ch.yannick.context.RootApplication;
import ch.ya... | 43.218182 | 256 | 0.597018 |
d905b82ea9b86318fb6da663904a474e6a141877 | 322 | package io.rx_cache2;
/**
* Exception thrown by RxCache when some error happens.
*/
public final class RxCacheException extends RuntimeException {
public RxCacheException(String message) {
super(message);
}
public RxCacheException(String message, Throwable exception) {
super(message, exception);
}
... | 20.125 | 64 | 0.73913 |
034088de630aceb76fcecf5b83af6fab6c461b76 | 46,829 | package com.intellij.lang.javascript.linter.jscs.config;
import com.intellij.json.psi.JsonArray;
import com.intellij.json.psi.JsonBooleanLiteral;
import com.intellij.json.psi.JsonStringLiteral;
import com.intellij.json.psi.JsonValue;
import com.intellij.lang.javascript.linter.jscs.JscsPreset;
import com.intellij.opena... | 79.103041 | 270 | 0.722586 |
96d27e48843688298ca504bbddf2ac98cf850deb | 9,055 | //package group.rober.dataform.service;
//
//import com.fasterxml.jackson.databind.ObjectMapper;
//import com.fasterxml.jackson.databind.ObjectReader;
//import group.rober.base.dict.model.DictEntry;
//import group.rober.base.dict.service.DictService;
//import group.rober.dataform.autoconfigure.DataFormProperties;
//imp... | 41.536697 | 123 | 0.614246 |
0de825f01d93adaeae345da6df8b66fbd153e001 | 2,771 | /*
* Copyright (c) 2021 yizzuide All rights Reserved.
* 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,... | 34.209877 | 125 | 0.699747 |
540632d54333984c7ee4248e6abeb2b52fc3d6a1 | 2,200 | package org.cat.eye.test.bundle.simple;
import org.cat.eye.engine.model.annotation.*;
import org.cat.eye.test.bundle.model.impl.FileCounterStoreImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Cre... | 25.882353 | 107 | 0.599091 |
d284dce30493d39483e3ffd582231378f409642e | 507 | package net.acomputerdog.securitycheckup.test.step;
import net.acomputerdog.securitycheckup.test.TestEnvironment;
public abstract class PassthroughStep<T> implements Step<T> {
private final Step<T> passthrough;
protected PassthroughStep(Step<T> passthrough) {
this.passthrough = passthrough;
}
... | 23.045455 | 61 | 0.712032 |
ed7e76e6a7b01cd1418f15c8b90710822ae1d4b8 | 1,450 | package com.example.reveallayout;
import android.content.Intent;
import android.graphics.Rect;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.... | 32.954545 | 86 | 0.702759 |
84b4e19ff70f95ffc00d2291286d4886b9cec2ee | 151 | package com.example.faisal.ayat_syafiq;
/**
* Created by faisal on 1/20/18.
*/
public interface BackPressedListener {
void onBackPressed();
}
| 13.727273 | 39 | 0.708609 |
a50145ddac9e8c30bf8c6855929f58e4da73cdce | 898 | /*
* */
package com.synectiks.process.common.plugins.sidecar.rest.models;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;
import com.synectiks.process.common.plugi... | 32.071429 | 116 | 0.758352 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.