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
6a07366b565e2654473c565386237969f0fed88b
2,577
package com.ymcsoft.function.util; import org.junit.Test; import java.util.Arrays; import java.util.function.DoubleFunction; import java.util.function.IntFunction; import java.util.function.LongFunction; import static junit.framework.TestCase.assertEquals; public class FunctionWithExceptionTest { @Test(expecte...
37.347826
158
0.737679
f593f3fbc28b8352aae0872280a952c47595d0de
3,213
// Copyright 2017 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 in...
30.028037
86
0.772487
156d7cd5a0dcfd2a75eb0b49fc45aed379e1f009
1,808
package javax.mail; import java.util.*; public class FetchProfile { private Vector specials; private Vector headers; public FetchProfile() { this.specials = null; this.headers = null; } public void add(final Item item) { if (this.specials == null) { th...
24.767123
73
0.544248
a487a13270d55e5dd1b1f5a313f3f33ba23340a5
5,206
package com.zm.service.service; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Random; import java.util.concurrent.TimeUnit; import org.apache.ibatis.session.RowBounds; import org.springframework.beans.fac...
29.247191
113
0.726854
60472891a3cffcb4087c07942b6fb953120687fb
1,101
package com.example.demo.domain; import java.time.LocalDateTime; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "Article") public class Article { @Id private String id; private String title; private String body; private Local...
16.938462
62
0.725704
61a7f1284ec2433743639004213b684a8099ccd2
1,308
package games; import java.util.ArrayList; public class Kaitenzushi { public static void main(String[] args) { Kaitenzushi ks = new Kaitenzushi(); /**/ System.out.println("5 " + ks.getMaximumEatenDishCount(6, new int[]{1,2,3,3,2,1}, 1)); System.out.println("4 " + ks.getMaximumEatenDishCou...
30.418605
95
0.528287
20e1a88536d0aee20bdfce5a4f53c8b892f8afdb
8,510
/* * Copyright 2016-2017 Florent Weber <florent.weber@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 require...
41.921182
117
0.688367
1b8cb7ca00db3d2e05a66c99a7dbcc7573ab0153
3,511
/* * Sunshine Conversations API * * The version of the OpenAPI document: 9.4.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.zendesk.sunshine_conversations_client.model; impor...
48.09589
121
0.806038
386387bf6c6a1d7bc0a4dae58934eae3b3f1ce68
499
package io.github.coffeebreak.embedded.toxiproxy.core.utils; import java.io.IOException; import java.net.ServerSocket; public class PortScavenger { public static int getFreePort() { try (ServerSocket socket = new ServerSocket(0)) { socket.setReuseAddress(true); return socket.getLo...
29.352941
115
0.671343
da8e90ed6ec95d38fa524053dde7a77beb570fd9
2,242
package org.apache.isis.extensions.viewer.wicket.pdfjs.ui.components; import java.util.Objects; import javax.activation.MimeType; import javax.inject.Inject; import org.apache.wicket.Component; import org.apache.wicket.model.IModel; import org.apache.isis.applib.services.inject.ServiceInjector; import org.apache.is...
32.970588
87
0.710972
977cb33d7969bdc92cbc66d47717e92aee7350a8
2,109
package com.ideabobo.action; import java.util.HashMap; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import com.google.gson.Gson; import com.ideabobo.model.Replay; import com.ideabobo.service.ReplayService; import com.ideabobo.util.GetNowTime; import com.i...
25.409639
68
0.708867
111010fbba39f588e7d393f3db7375442716021f
673
package Tarea.entity; import org.glassfish.jersey.linking.InjectLinks; import javax.ws.rs.core.Link; import java.security.acl.Group; import java.util.ArrayList; import java.util.List; /** * Created by esr on 26/10/15. */ public class Respcollection { @InjectLinks({}) private List<Link> links; private L...
19.794118
54
0.655275
8ffc4e778c0d812c76c601cb44dade835af5f1de
1,188
package test_locally.api.webhook; import com.slack.api.webhook.Payload; import org.junit.Test; import static com.slack.api.model.Attachments.*; import static com.slack.api.model.block.Blocks.*; import static com.slack.api.model.block.composition.BlockCompositions.plainText; import static com.slack.api.webhook.Webhook...
37.125
96
0.605219
772198eb989c87b1418e133a1f644c9585b5a536
4,474
package com.jcohy.scis.controller; import com.jcohy.scis.common.JsonResult; import com.jcohy.scis.common.PageJson; import com.jcohy.scis.model.Expert; import com.jcohy.scis.model.Project; import com.jcohy.scis.service.AllotService; import com.jcohy.scis.service.ProjectService; import org.slf4j.Logger; import org.slf4j...
32.42029
136
0.634555
57d73de334e55e558a30e78e0c5c4161df91d8ac
1,210
package com.weiit.resource.common.config; import com.weiit.resource.common.utils.WeiitUtil; /** * LBS地图服务配置-目前支持百度、微信、高德三家服务商 * * @version 1.0 * @author:半个鼠标(137075251@qq.com) * @date:2018年3月22日 * @company http://www.wei-it.com 微邦互联 */ public class WeiitLBSConfig { public static String lbs...
26.304348
90
0.620661
5651957fe87fc036f558a4ac69fb4af715bf93c5
1,098
/* * Copyright (C) 2019 Straight Technologies * All rights reserved. * https://www.str8tech.com * * This program is free software under the MIT License */ package com.str8tech.verisure; import com.github.cliftonlabs.json_simple.JsonException; import com.str8tech.verisure.json.ErrorResponse; import com.str8tech....
28.153846
90
0.773224
83e9691881f74cc5a0f6bfb702cb4a98a48bfc4c
2,529
/* * Copyright 2016 Crown Copyright * * 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...
30.107143
91
0.618426
dde22beb32d6b69a2eb8eb5c5425af06a7e52c20
1,482
/* * Copyright 2007 Apache Software Foundation * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. The ASF 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. * ...
32.933333
75
0.724696
51454f7451aa727b01b80029abc64586a41d58db
991
package net.dontdrinkandroot.example.wassh.wicket.component; import net.dontdrinkandroot.example.wassh.wicket.WebApplication; import org.apache.wicket.authorization.Action; import org.apache.wicket.authroles.authorization.strategies.role.Roles; import org.apache.wicket.authroles.authorization.strategies.role.annotatio...
33.033333
94
0.753784
6b3cd5fb2a830614b5a7e6015dad3a9404638239
2,489
package gov.va.escreening.dto.template; import gov.va.escreening.condition.BlockTranslator; import gov.va.escreening.condition.BlockUtil; import java.util.List; import java.util.Set; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class TemplateFollow...
22.423423
103
0.703897
abf46dd79b31168fe7f799c30edf36a0e22fd125
1,930
package com.codepath.apps.simpletweet.fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import com.codepath.apps.simpletweet.TwitterApplication; import com.codepath.apps.simpletweet.TwitterClient; import com.codepath.apps.simpletweet.models.Tweet; import com.loo...
33.859649
115
0.696373
43398e450bd8b356de3474757df69a25eaf0bbbb
539
package pl.sdacademy.tarr2020java6.java.zaawansowana.powtorka; /** * @author : Jakub Olszewski [http://github.com/jakub-olszewski] * @project : tarr2019java4-tdd-project * @since : 23.05.2020 **/ public class OsobaNaPlazy extends Plaza { private PilkaPlazowa pilka;// zmienna nie zainicjowana, nie posiada wart...
24.5
80
0.679035
af44d27447f3e10f16fd55696139260b0feaea46
3,600
package io.methinks.android.apptest.question; import android.content.Context; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.FragmentActivity; import android.support.v4.view.PagerAdap...
33.027523
119
0.713889
e50d02ef33d9f31270cfb3b176b84299c54f6c69
3,927
package org.summerclouds.facade.core; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; import org.summerclouds.common.core.node.MProperties; public class Model { private ArrayList<Definiti...
29.30597
80
0.6603
0a1b2f544f617ca501cfd9ec2df558cbc3263fd5
8,910
/* * Copyright 2019 EMBL - European Bioinformatics Institute * 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...
45.692308
102
0.776768
c2e548b78e75f363eeefe640189d6e6ea1ac2eba
49,763
package com.cyl.musiclake.player; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.Bl...
33.353217
188
0.568957
e93f691ce2a4189ca945bd580dc275beefc3e862
1,550
package suryagaddipati.codeclimate; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.core.type.*; import com.fasterxml.jackson.databind.*; import hudson.plugins.analysis.core.*; import hudson.plugins.analysis.util.model.*; import java.io.*; import java.lang.reflect.*; import java.util.*; publi...
38.75
122
0.7
a89d0edf1a8232ddfba5a788c882b4b0e9205fe4
501
package org.arkecosystem.crypto.transactions.serializers; import java.nio.ByteBuffer; import org.arkecosystem.crypto.encoding.Hex; import org.arkecosystem.crypto.transactions.Transaction; public class HtlcRefund extends AbstractSerializer { public HtlcRefund(ByteBuffer buffer, Transaction transaction) { s...
29.470588
94
0.768463
fc6054543152c9244294be951807ff9400306c11
1,837
package com.parse.starter.Collation; import android.util.Log; import android.widget.Button; import android.widget.TextView; public class CollatedIdea { String title; String description; String author; public String id; public Integer votes; public TextView voteView; public B...
23.857143
74
0.580838
4dcbbf1bdf4d403ece21a433a13d64d147639847
3,258
/* * 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 co.edu.uniandes.csw.servicios.ejb; import co.edu.uniandes.csw.servicios.entities.ClienteEntity; import co.edu.uniandes.csw.ser...
45.887324
131
0.766728
5ae3660f62656b2fa418c347adfb45c27f7c24ee
4,276
/** * Copyright (c) 2015, Intel 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 t...
38.178571
84
0.718428
daa9e712040f863a393ea2df2f6fc7b3ab0ce473
9,072
package io.github.howiefh.jeews.modules.sys.controller; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilde...
48.513369
128
0.636354
907e1ab30a05f890e9e04f8b6bd9a2e0cec16547
3,153
/* * Copyright (c) 2001-2019, Inversoft 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...
28.151786
108
0.669838
0abc49ed5a45c203c12fc4d726d90675b9df522d
5,134
/* * 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")...
34.226667
98
0.65037
65d5a0f1ed410eb3d406dc56e2ba55943e76f41f
4,354
/** * */ package org.adorsys.adcshdwr.jpa; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Enumerated; import javax.persistence.MappedSuperclass; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.validation.constrain...
22.795812
85
0.759761
1007adf69483cffa29b1284608af9080bb273f8d
141,629
/* * 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 etrt.system; import etrt.database.My_CNX; import java.awt.Color; import java.awt.Component; import java.awt.event.ActionEvent; ...
54.305598
193
0.666918
c52d1d51f2686bf2e4ac2e9930b297b05ba08cad
13,979
/** * * Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L...
36.403646
140
0.643608
8a7c5fddd4f6e179118cd6c9add7c2503b627d74
1,699
/* * 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 ...
28.79661
83
0.691583
c56888351670f949a0f6d13a15f198c4db1b853d
713
// Code generated by lark suite oapi sdk gen package com.larksuite.oapi.service.vc.v1.model; import com.google.gson.annotations.SerializedName; public class ReserveUpdateReqBody { @SerializedName("end_time") private Long endTime; @SerializedName("meeting_settings") private ReserveMeetingSetting meeting...
25.464286
75
0.7223
0031b4937fa3f258b62ab9e1f3d34b8ddbf3f351
805
package io.renren.modules.cailiao.service; import java.util.List; import java.util.Map; import com.baomidou.mybatisplus.extension.service.IService; import io.renren.common.utils.PageUtils; import io.renren.modules.cailiao.entity.WisdplatCailiaoTableEntity; /** * * * @author chenshun * @email sunlightcs@gmail.c...
21.756757
91
0.704348
5250dee666cc31bbbaa634aa0ee5234bd065856f
5,616
package kaptainwutax.itraders.container; import kaptainwutax.itraders.container.slot.FakeSlot; import kaptainwutax.itraders.container.slot.PouchSlot; import kaptainwutax.itraders.init.InitPacket; import kaptainwutax.itraders.net.packet.S2CPouchScroll; import kaptainwutax.itraders.world.data.DataEggPouch; import kaptai...
26.742857
108
0.675036
0d75d262aa538f19a30382a4905be9aa55aebe13
1,363
package com.github.mikesafonov.smpp.core.connection; import com.cloudhopper.smpp.SmppBindType; import com.cloudhopper.smpp.type.LoggingOptions; import com.github.mikesafonov.smpp.config.SmppProperties; import javax.validation.constraints.NotNull; import static java.util.Objects.requireNonNull; public class Transcei...
37.861111
115
0.713133
373c8e7d43ba893a516cc4d0cbf10554ad6bb9dd
105
package edu.jalc.everydaythings.bottle; public interface Fillable{ public void fill(double amount); }
17.5
39
0.790476
a66292156e008005b5a428cada2ef86335fd5744
2,001
package br.com.vidal.projeto_mv_xpto.view.controller; import java.util.List; import java.util.Optional; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework....
30.318182
105
0.782609
deb9a05efb6b7a8b75ccf5ff45879ffa71ca85de
766
package org.doraemon.framework.base; /** * Created with IntelliJ IDEA. * Description: 描述 * Author: fengwenping * Date: 2020/1/6 0:46 */ public enum GenderEnum implements IEnumProvider<Integer> { MALE(1, "男"), FEMALE(2, "女"); private final Integer code; private final String name; ...
18.682927
58
0.5953
d1e62cb0f555a897f6a9bb5e1f9eb12917e9ed91
9,370
/****************************************************************************** * Copyright 2009-2020 Exactpro (Exactpro Systems Limited) * * 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 ...
39.041667
223
0.667556
6495189eaf4a2bbf7cc8da37202e4ece29236eaf
1,442
package com.twasyl.slideshowfx.server.service; /** * <p>This interfaces lists all common response codes returned by a {@link AbstractSlideshowFXService}.</p> * * @author Thierry Wasylczenko * @version 1.0.0 * @since SlideshowFX 1.0 */ public interface IServicesCode { /** * The status code indicating the...
25.75
107
0.670596
9674cb79a9f448f1ca5fe52dc7ae4e4680427987
6,710
package li.strolch.utils.helper; import static org.junit.Assert.assertEquals; import javax.xml.crypto.dsig.XMLSignature; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import java.io.File; import java.text.SimpleDateFor...
32.572816
99
0.767213
8560e180c72fecada043c0956ec54e6b37b02fc7
689
package com.cvars.ScotiaTracker.strategy.search; import com.cvars.ScotiaTracker.model.pojo.Invoice; import com.cvars.ScotiaTracker.strategy.search.SearchStrategy; import java.util.ArrayList; import java.util.List; public class SupplierSearch implements SearchStrategy { @Override public List<Invoice> search(L...
29.956522
81
0.664731
b4ac11586ccb8ea977b7ae877344db42903c3db2
1,983
/* * Copyright (c) 2020. www.hoprxi.com 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...
27.541667
79
0.641452
3c5bc8d6bee59385d2771f01d6caa5c345261a1c
448
package com.mouensis.framework.web.resovler; /** * 字段描述符异常 * * @author zhuyuan * @date 2020/11/18 20:57 */ public class FieldDescriptorException extends QueryDtoException { private static final long serialVersionUID = -7010381028611616443L; public FieldDescriptorException(String message) { super(...
21.333333
71
0.714286
5b3a4bf7c07450d2d7c5b48017ba221eb3d27067
6,315
package com.businesscard.ui.main.systemManagement; import java.util.HashMap; import webservice.MemoWebPara; import webservice.WebServiceDelegate; import webservice.WebServiceUtils; import com.businesscard.data.dbDriver.CreateUserDB; import com.businesscard.domain.Emtity.Accounts; import com.businesscard.domain.Servi...
33.770053
82
0.726207
e1bb4a924f4f0fe974fc743d8d1a404085767810
174,479
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package edu.cmu.lti.oaqa.similarity; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated(value = "Autogenerated by Thrift Compiler ...
36.609106
397
0.650623
0398e8749dd0e9641e4ff4bb0880c0a8530ee5fa
3,133
package com.example.springbootmysql.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.s...
36.858824
106
0.789339
33d0833a932ef7f4cb340c5db19167478082980c
4,505
/** * The MIT License (MIT) * * Copyright (c) 2016 Alexey Saenko * * 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 us...
31.950355
83
0.698779
19cf1ddefa555f2349499e4f71b2773b8fd6f8a7
3,684
package com.base.baseproject.utils; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.support.annotation.NonNull; import android.widget.ImageView; import android.widget.Toast; import com.afollestad.materiald...
32.034783
110
0.646851
82b74c8e5a81c3bc912690e412e34a3ffc29c26a
3,619
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.proteosuite; /* --------------------- * ScatterPlotDemo1.java * --------------------- * (C) Copyright 2002-2006, by Object Refinery Limited. * */ import org.proteosuite.SampleXYDataset2; import java.aw...
31.198276
81
0.664825
c4f4b073c4fdd59894ea01610c42f27c1dd170a5
558
package iHashTag; public class TweetWithSentiment { private String line; private String cssClass; public TweetWithSentiment() { } public TweetWithSentiment(String line, String cssClass) { super(); this.line = line; this.cssClass = cssClass; } public String getLin...
18
83
0.596774
5b399ef2f4ed660ab5395bc49a35ffc456da362f
109
/** * This package contains the repositories of the application. */ package com.reciperegistry.Repository;
21.8
61
0.770642
f6845b305eae97924d565242d121f3ab950f7cb4
398
package org.wso2.carbon.device.mgt.core.geo.geoHash.geoHashStrategy; import org.wso2.carbon.device.mgt.core.geo.geoHash.GeoCoordinate; /** * This interface is to decide a length for the geohash prefix * which will be used to group the clusters based on geohash */ public interface GeoHashLengthStrategy { int ge...
33.166667
85
0.791457
c26ee17755d1059aab0b8f757c0a78f4b64bd5fb
2,765
package com.bootdo.common.domain; import com.alibaba.fastjson.JSON; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * tree TODO <br> * * @author kangxu2 2017-1-7 * */ public class MenuTree<T> { /** * 节点ID */ private String id; /** * 显示节点文本 */ private String title; pri...
16.360947
117
0.664376
fa49711d27a71d227cceae3ab97d84dd9712d135
12,569
package com.lazerycode.jmeter.configuration; import org.apache.commons.io.FilenameUtils; import org.apache.maven.plugin.MojoExecutionException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.Arra...
37.744745
161
0.623439
feb17687f07b716393eec836dd1dc241903ae822
1,596
package org.simbasecurity.dwclient.dropwizard.config; import org.hibernate.validator.constraints.NotEmpty; import com.fasterxml.jackson.annotation.JsonProperty; import com.yammer.dropwizard.client.JerseyClientConfiguration; public class SimbaManagerRestConfiguration extends JerseyClientConfiguration { @NotEmpty @...
19.95
99
0.756266
c142e72f7d54d4600810dd0b4ef9e8529ea4803e
1,271
package de.kaesdingeling.spring.openapi.generator.example.rest.server.apis; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web....
37.382353
106
0.775767
639d853ad359da4ce93488b6da3544e50f181563
211
package org.penemunxt.communication; public interface INXTCommunicationDataFactories { public INXTCommunicationDataFactory getDataInFactory(); public INXTCommunicationDataFactory getDataOutFactory(); }
30.142857
58
0.843602
a75acf5217738f93efc101058f8c386fcf151c1d
357
package com.aboutcoder.packease.utils.thread; /** * <Description> * Copyright © 2013-2016 AboutCoder.COM. All rights reserved.<br /> * * @author jeromechan<br /> * @CreateDate 9/6/16 8:39 PM<br /> * @description <br /> */ public abstract class PEAsyncProxyParam { /** * Processing async function */...
19.833333
67
0.635854
d03224de7465850d69bf383fc613570db3c690bd
901
package com.tencent.msdk.dns; import com.tencent.msdk.dns.core.LookupResult; import com.tencent.msdk.dns.core.stat.StatisticsMerge; /** * 监控SDK的解析情况的接口 */ public interface ILookedUpListener { /** * 通过接口调用完成域名解析后的回调 * * @param hostname 域名 * @param lookupResult {@link LookupResult<StatisticsM...
25.742857
86
0.694784
2dfd5da9cf197e7d9506c301eb8eeed896c0b536
538
package save.time.ferramentas; import javax.persistence.Query; import save.time.connection.Connection; public abstract class AuxiliarBd { public static void execute(Query query) { Connection.getConnection().getTransaction().begin(); query.executeUpdate(); Connection.getConnection().getTransaction().commit...
24.454545
55
0.758364
12f84080f61f78fdc8ba3e8aebf1eaf2018bac08
925
package com.xzjie.cms.repository; import com.xzjie.cms.model.WxAccountFans; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.da...
42.045455
137
0.817297
2bfdadad33e9cb4c8ecefe70174e3c0edf22950f
5,899
/* * Copyright ConsenSys AG. * * 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...
34.497076
118
0.719613
e49cb66ab4eac02efa96f82cf72a855e5642b4da
114
package com.abstracts.factory.action; public abstract class AbstractProductA { public abstract void show(); }
16.285714
40
0.780702
8b728420bea6e747f7ca4c9c2c87ded9b719e054
7,077
package org.sharedhealth.datasense.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import org.apache.commons.lang3.StringUtils; import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY; public class Address { @JsonProperty("ad...
34.691176
119
0.661297
01d7523d69da04e7230fa15d3dab2eee4b54d590
170
package com.ivaneye.jjvm.domain.attr; import lombok.Data; /** * @author ivaneye * @since 2021-07-10 23:17:03 */ @Data public class Deprecated extends Attribute { }
13.076923
43
0.705882
8846beecda82722c1a501a07ecc6924fd4318355
316
package com.practice.my.practice.web.admin.sys.service.impl; import com.practice.my.practice.web.admin.sys.service.RoleService; import org.springframework.stereotype.Service; /** * @author Pengcheng Zhao * @version 1.0 * @date 2019/6/6 16:00 */ @Service public class RoleServiceImpl implements RoleService { }
22.571429
66
0.768987
5bbf4ce553bf3dac4b58df5f1461a239b1975c33
489
package com.zype.android.webapi.events.settings; import com.zype.android.webapi.RequestTicket; import com.zype.android.webapi.events.DataEvent; import com.zype.android.webapi.model.settings.LiveStreamSettingsResponse; /** * Created by Evgeny Cherkasov on 21.11.2016. */ public class LiveStreamSettingsEvent extends ...
30.5625
91
0.795501
c14b72d4e863e19207ae5edafbb27515e26d4830
1,772
package Entily; import java.io.Serializable; import java.util.Objects; import javax.swing.JOptionPane; public class Autor implements Serializable{ private String codAutor; private String nomeAutor; public Autor(String codAutor,String nomeAutor){ this.codAutor = codAutor; this.nomeAut...
24.273973
135
0.585214
c7b07c2ff9c14e1f2bd40c02509618e8fb289e19
739
package org.mycompany.springspike.first; import java.util.List; import java.util.stream.Collectors; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; @Service @RequiredArgsConstructor public class FirstService { private final FirstRepository firstRepository; private final First...
28.423077
75
0.794317
4fe5b77599a77bc102d9c1c31d534092129f67ff
5,609
// // MethodDeclaration.java -- Truffle nodes MethodDeclaration.* // Project PorcE // // Copyright (c) 2018 The University of Texas at Austin. All rights reserved. // // Use and redistribution of this file is governed by the license terms in // the LICENSE file found in the project's top-level directory and also found ...
32.610465
138
0.71314
cc625a0dadf861a1351562ff4c9e048c05751191
342
package de.springbootbuch.database_examples.springdata; /** * Part of springbootbuch.de. * * @author Michael J. Simons * @author @rotnroll666 */ public class CustomerBulkLoaderImpl implements CustomerBulkLoader { @Override public void loadCustomers(String fileName) { System.out.println("Loading customers fro...
21.375
67
0.75731
926a9fd33cd9c981dd7920a52ef706a75665ae55
5,646
/* * 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")...
35.961783
97
0.550124
6db3103351fdb5dad21198c425886cd4d7942268
141
package edu.upc.eetac.dsa.group7.dao; /** * Created by Alex on 29/11/15. */ public class UserAlreadyExistsException extends Exception { }
17.625
59
0.737589
ee09e93bc75130126be1f69d24dd0e322371268f
527
package com.apress.springrecipes.court.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.view.ResourceBundleViewResolver; @Configuration public class ViewResolverConfiguration { @Bean public Resource...
29.277778
83
0.793169
1fa05411e5fc96c2845e734e16f95103b4fdfbc7
373
package org.batfish.representation.cisco_nxos; import java.io.Serializable; import javax.annotation.Nonnull; /** Configuration for a TACACS server. */ public final class TacacsServer implements Serializable { public TacacsServer(String host) { _host = host; } public @Nonnull String getHost() { return ...
19.631579
57
0.739946
6390e8bcb2c85faf09ef8ca5f2f54dbc56f89eb7
3,277
package com.edu.monash.fit3077.view; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.lifecycle.ViewModelProvider; import com.edu.monash.fit3077.model.BidOffer; import com.edu.monash.fit3077.model.Bid...
45.513889
157
0.778761
f63845140af4e6e47dac8ac2d810979cfa0a4620
610
package com.cellum.rnd.protoapp; import android.text.TextUtils; import java.util.HashMap; import java.util.Map; /** * Created by oszkotamas on 19/09/15. */ public class ScreenFlow { private final Map<String, Screen> screens = new HashMap<String, Screen>(); public Screen forName(String name) { re...
18.484848
78
0.618033
86e7bb0f1b55270db6d1d01766645b3f600be324
11,170
package com.joker.pager; import android.content.Context; import android.os.Handler; import android.os.Message; import android.support.annotation.NonNull; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.util.AttributeSet; import android.util.Log; i...
30.686813
98
0.635542
3d25904ab3e99cacab477de3dab3a8c8eeb232e2
1,108
import java.sql.Timestamp; public class Entry { private String id; private String state; private String type; private String host; private String timestamp; public Entry(String id, String state, String type, String host, String timestamp) throws Exception { this.id = id; this....
19.103448
104
0.594765
9928a858e75b78459c8bf75252a9119c3f1d4478
29,230
/* * Copyright 2000-2020 Vaadin 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 applicable law or agreed to...
37.141042
146
0.587
28bbd6eebb271aaaaef3fef6b01cc59f16539426
409
package com.kayosystem.honki.chapter08.lesson36; public class Attendance { public String arrive; public String leave; public void setLeave(String leave) { this.leave = leave; } public void setArrive(String arrive) { this.arrive = arrive; } public String getLeave() { ...
16.36
48
0.616137
c052aa1d81006eba140d4a84cf1b998a4aa032b6
1,895
package com.logicaldoc.gui.frontend.client.services; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.logicaldoc.gui.common.client.ServerException; import com.logicaldoc.gui.common.client.beans.GUIParameter; /** * The client side...
31.583333
76
0.724538
d2c5ec1b90ace797ea2bb87e10f3e4b516c0dd29
1,288
package cruft.wtf.gimlet.jdbc.task; import cruft.wtf.gimlet.jdbc.SqlUtil; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import java.sql.*; import java.util.List; public class SimpleQueryTaskTest { private static Connection connection; @BeforeClass public static void ...
25.76
102
0.636646
4b51a255803dd8e8cf7a9161b9910e8c63db0695
180
package pl.exsio.querydsl.entityql.jdbc; import org.springframework.data.relational.core.mapping.NamingStrategy; public class DefaultNamingStrategy implements NamingStrategy { }
25.714286
71
0.85
8b4d970f5767585eace6978006952d339d75ecaf
334
package org.redline_rpm.changelog; /** * This exception is thrown when Changelog entries are not in descending order by date * Copyright (c) 2007-2016 FreeCompany */ public class DatesOutOfSequenceException extends ChangelogParseException { public DatesOutOfSequenceException() { super(OUT_OF_SEQUENC...
22.266667
87
0.748503
42b85448935ab6978a989a2fbfc83095ff167d55
3,129
/** * Copyright 2009-2018 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 * * Unle...
32.257732
101
0.720678
66025d0e5dcb4ec0c8e67f6842515aac038d64b3
2,281
packagecom.oserp.hiveudf; importorg.apache.hadoop.hive.ql.exec.UDAF; importorg.apache.hadoop.hive.ql.exec.UDAFEvaluator; importorg.apache.hadoop.hive.serde2.io.DoubleWritable; importorg.apache.hadoop.io.IntWritable; publicclass HiveAvgextends UDAF { public staticclass AvgEvaluate implements UDAFEvalua...
17.022388
91
0.428759
3a1ad1a7d9e9ac827b8bf488e62b98c58a5e8388
778
/** * */ package com.aws.resources.domain; import java.io.Serializable; /** * @author milindbangar * */ public class KeyPairObj implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private String keyFingerprint; private String keyName; /** * @return the keyFinge...
14.407407
55
0.669666
848cdec840f2843cf765598319071b7fdf2d6c1c
538
package com.javatmp.demo.jpa.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode(onlyExplicitlyIncluded = true) @Entity @Table(name = "Customer", sch...
20.692308
54
0.776952
83dd71f24191ded70a10141b00452e603118361d
5,154
/******************************************************************************* * Copyright 2021 exense 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.a...
31.426829
110
0.661428
3aecd6374204ad0e8f33b2e4e05c34bec68fec94
495
package com.javase.designPattern.strategy.impl; import com.javase.designPattern.strategy.BusinessProcess; import com.javase.designPattern.strategy.ProcessContext; import com.javase.designPattern.strategy.UserModel; /** * 发消息处理器 * @author 三歪 */ public class SendMessageProcess implements BusinessProcess { @Ove...
24.75
60
0.745455
740506536910a8c2b9998908bf3be7332f601847
5,149
/* * Copyright (c) 2010, Michael Grossmann, Lukas Gross * 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 must retain the above copyright * notice, ...
38.140741
132
0.673529