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
876078c50a1dc894cd191894e4b14df6b0a5957b
376
package se.knowit.hackathon.restaurantsapi.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.With; import se.knowit.hackathon.restaurantsapi.model.GoogleNearbyPlaces; @Data @With @AllArgsConstructor @NoArgsConstructor public class FindPlaceResponse { private...
22.117647
67
0.829787
6bb6577493a2e80aae45191c09f6019bee2b7975
3,645
package com.tourcool.core.entity; import android.text.TextUtils; import java.io.Serializable; import java.util.List; /** * @Author: JenkinsZhou on 2018/11/19 14:17 * @E-Mail: 971613168@qq.com * @Function: 电影条目实体 * @Description: */ public class SubjectsEntity implements Serializable { /** * rating : {"m...
42.882353
903
0.596433
988b4b9437f0c478b7bfdc528594dc3c31dd714d
7,735
package ch.uzh.ifi.seal.soprafs20.service; import ch.uzh.ifi.seal.soprafs20.constant.PlayerStatus; import ch.uzh.ifi.seal.soprafs20.constant.UserStatus; import ch.uzh.ifi.seal.soprafs20.entity.Game; import ch.uzh.ifi.seal.soprafs20.entity.Player; import ch.uzh.ifi.seal.soprafs20.entity.Stone; import ch.uzh.ifi.seal.so...
34.686099
103
0.680802
64c852bbfc214cfdb49aa3a7e1bca3f83aa15850
5,801
package com.kanomiya.mcmod.enhancedbooks.block; import com.kanomiya.mcmod.enhancedbooks.EnhancedBooks; import com.kanomiya.mcmod.enhancedbooks.tileentity.TileEntityStorageShelf; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecr...
29.596939
154
0.76142
ea9aff0892abcdf6e7e6609cff1d5efdb2ef10de
1,647
package app.grafica.twittertext; import com.fasterxml.jackson.dataformat.yaml.YAMLMapper; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.util.LinkedList; import java.util.List; ...
39.214286
97
0.720097
f5235416056ae7a960e1a543f0bdd96315cefb52
133
package com.glitchtechscience.utility.async; public interface OnProgressUpdated { public void onProgressUpdated( int percent ); }
19
46
0.81203
ee68a892cadfe12266b8f307acdc2d76c2d8f229
290
package io.github.cepr0.demo.user.event; import io.github.cepr0.crud.event.EntityEvent; import io.github.cepr0.demo.model.User; /** * @author Sergei Poznanski */ public class CreateUserEvent extends EntityEvent<User> { public CreateUserEvent(final User entity) { super(entity); } }
20.714286
56
0.758621
3610f57035f598fe08d5f8f5d6b2f204d6fe7593
245
package com.rabbitmq.rabbittesttool.clients.publishers; import com.rabbitmq.rabbittesttool.clients.MessagePayload; import java.util.concurrent.ConcurrentMap; public class PublishTracker { ConcurrentMap<Long, MessagePayload> payloads; }
20.416667
58
0.82449
830f16f2caedfc20348b55a298d0017df80e30a4
4,870
package com.yjcommon.useful; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Random; /** * <P> * 字符串处理的通用方法 * <P> * * @author Lien Li * @version 1.00 * * */ public class StringUtils { /** 字符串编码 */ public s...
18.44697
66
0.576797
4986ceb5904dfdb6a537257372635e45f927fea5
873
package demo; import org.junit.jupiter.api.Test; import org.rapidpm.frp.reactive.CompletableFutureQueue; import java.util.concurrent.CompletableFuture; import java.util.function.Function; public class DemoCompletableFutureQueue { @Test void test001() { Function<Integer, CompletableFuture<Integer>> f = Comp...
23.594595
76
0.628866
79b0e749f4673f74ded5cb8be42a46e0d190355e
1,392
package com.zhtkj.jt808.scheduler; import java.util.Iterator; import java.util.Map.Entry; import org.joda.time.DateTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import com.zht...
29.617021
81
0.721983
ae32c2ab164ac70cef0d0d06fe4aac0e4637339b
377
package com.huawei.classroom.student.h06; /** * @author super */ public class RifleSoldier extends Soldier { public RifleSoldier(int x, int y) { super(Param.SOLDIER_LV, Param.SOLDIER_RIFLE_AP, Param.SOLDIER_RIFLE_AR, x, y); } @Override public int getAttackPower(GameObject obj) { if(obj instanc...
17.952381
81
0.668435
f8dccac7514c6d0a2c474f529ac3363b6324d6ec
340
package on2020.on2020_Chapter1.The_3n_plus_1_problem; import net.egork.chelper.tester.NewTester; import org.junit.Assert; import org.junit.Test; public class Main { @Test public void test() throws Exception { if (!NewTester.test("test/on2020/on2020_Chapter1/The_3n_plus_1_problem/The 3n plus 1 problem.json")) ...
22.666667
102
0.773529
61f14bb75c4b4095fceb4b43d1b2ff0373491e0f
264
package com.ryo.metadata.core.service; import com.ryo.metadata.core.util.singleton.Singleton; /** * * @author bbhou * @date 2017/8/2 */ public interface IdGenerator extends Singleton { /** * 生成ID * @return 标识字符串 */ String genId(); }
13.894737
54
0.632576
19393bb19bf4d7c64f8c19d9f277524a4203016f
3,742
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
29.464567
83
0.686264
dba799a01f891003ba66de2d998534c48d8bc564
1,871
package org.cloudfoundry.identity.uaa.health; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.R...
35.980769
100
0.652058
25270032f320a10e27641b43ecf8427468b73e15
428
package com.ssm.security.core.validate.code.sms; import org.springframework.stereotype.Component; /** * 发送短信,默认实现 * * @author 贾令强 * @since 2018/7/17 21:47 */ @Component // 重构后必须在这里加注解声明bean,不能在类ValidateCodeConfigBean中new public class DefaultSmsCodeSenderImpl implements SmsCodeSender { @Override public v...
23.777778
64
0.719626
86f78c860399425c656d9c23a52f6e39aca4d920
2,567
/* * MIT License * * Copyright (c) 2020 SvenAugustus * * 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...
28.842697
97
0.70783
825b12575342e277f2d940498b369859179db871
1,187
package org.getalp.dbnary.languages.spa; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.getalp.dbnary.languages.AbstractGlossFilter; import org.getalp.dbnary.StructuredGloss; public class GlossFilter extends AbstractGlossFilter { public static final String senseNumRegExp = "\\d+(?:[abcd...
35.969697
96
0.717776
f531588a9751c9c7dd3adf56eb1e31612049dc07
119
package jdbc; import java.util.List; public interface UserService { void save(User user); List<User> getUsers(); }
13.222222
30
0.731092
f7c15e3b0df1b1d3c620faecf06f2a05771f5555
31
module code.sample.java.ten { }
15.5
29
0.741935
51ff1d03133fbbdf8eeaa96844e50bb911b238f6
3,464
package com.google.android.gms.internal.ads; /* renamed from: com.google.android.gms.internal.ads.Xb */ final class C9227Xb { /* renamed from: a */ private final Object f21913a; /* renamed from: b */ private volatile int f21914b; /* renamed from: c */ private volatile long f21915c; priv...
41.238095
156
0.535797
f818d9e2e20df583888bbabf337bebf4e03a70b8
2,593
// Copyright Eagle Legacy Modernization LLC, 2010-date // Original author: Steven A. O'Hara, Oct 7, 2012 package com.eagle.programmar.COBOL.Statements; import com.eagle.parsers.EagleFileReader; import com.eagle.parsers.EagleLineReader; import com.eagle.programmar.COBOL.COBOL_AbstractStatement; import com.eagle.progra...
24.932692
104
0.725415
e058ad699dd380efde16f0ea834dce9f3ea4fd30
3,104
/* assume that the first line of the file contain the names of the attributes of the relation. each subsequent line represents 1 tuple of the relation. also assume that the fields of each line is delimited by tabs ("\t") */ import qp.utils.Attribute; import qp.utils.Schema; import qp.utils.Tuple; import java....
33.376344
106
0.569588
84b6e6212b51809341fb7de2943a2227d9c106aa
2,768
/* * Copyright 2021 The University of Manchester * * 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 ...
31.816092
82
0.672327
b3f9a609b40287a1ff1e01a3cc9aecb8888b31ae
1,015
package thredds.crawlabledataset.s3; import java.util.Date; import java.util.Objects; /** * Summary metadata for the "virtual directory" at the specified Amazon S3 URI * * @author jonescc * @since 2016/09/12 */ public class ThreddsS3Directory extends AbstractThreddsS3Metadata { public ThreddsS3Directory(S3UR...
24.756098
92
0.575369
92668aab29d7d156fe14618abe1345cc9cfebedb
1,163
package com.zihler.wiki.adapters.presentation.rest.presenters.outputs; import com.zihler.wiki.adapters.presentation.rest.viewmodels.WikiPageViewModel; import com.zihler.wiki.application.outbound_ports.documents.WikiPageDocument; import com.zihler.wiki.domain.values.ReferenceTag; import com.zihler.wiki.domain.values.Re...
32.305556
88
0.690456
87bf6a1022c31ac687fd301b7ce527b5c4725c91
7,286
/* * Copyright 2014-2020 Lukas Krejci * and other contributors as indicated by the @author tags. * * 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...
34.367925
118
0.601839
72dc2e2551bb8eb0bc389adaa2e358565b1b6d6b
11,815
package io.swagger.parser; import io.swagger.models.ModelImpl; import io.swagger.models.Path; import io.swagger.models.Response; import io.swagger.models.Swagger; import io.swagger.models.auth.AuthorizationValue; import io.swagger.models.parameters.Parameter; import io.swagger.models.properties.Property; import io.swa...
46.884921
154
0.677105
04e54bac8546312134de03980442f00bea72b7cb
14,233
package com.jcommerce.gwt.client.panels.order; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.extjs.gxt.ui.client.Style.HorizontalAlignment; import com.extjs.gxt.ui.client.data.BasePagingLoader; import com.extjs.gxt.ui.client.event.ButtonEvent; ...
33.888095
161
0.676105
08df9682088791dab50f9fa8afe1e306d4c822d8
1,824
/* * * Copyright (c) 2014, 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://...
27.223881
115
0.69682
fddce6fed15b53fde810f80ded521fc51c56fb6e
244
module juery.basic { requires static lombok; requires juery.api; requires java.desktop; // Need for lombok.anyConstructor.addConstructorProperties exports fr.ght1pc9kc.juery.basic; exports fr.ght1pc9kc.juery.basic.filter; }
30.5
85
0.754098
330faa1e25185ebbfee590adbdbfd8e14d5cfc82
293
/** * */ package top.qianxinyao.performance; /** * @author qianxinyao * @email tomqianmaple@gmail.com * @github https://github.com/bluemapleman * @date 2016年12月2日 * 用以评估推荐效果的类 * 1、准确率(precision) 2、召回率(recall) */ public class Judge { public double getPrecision(){ return 0; } }
13.952381
42
0.675768
1a9c93d8c3ff4ea57ebc64f71d3da8dc52ec3f4f
5,163
package com.noober.backgroudlibrary; import android.content.Intent; import android.content.res.ColorStateList; import android.graphics.Color; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Bundle; import android.support.annotati...
39.113636
144
0.633934
2f3cef8cdba64b3f2f4f82aafb8dd5877006b6f7
5,154
/******************************************************************************* * Copyright (c) 2009-2015 The Last Check, LLC, 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 L...
39.343511
91
0.763679
188ac6f11fe05391237c1440707557b21d22111a
1,496
package com.ciel.scaproducer2.controller; import com.ciel.scaapi.crud.IScaUserService; import com.ciel.scaapi.exception.AlertException; import com.ciel.scaapi.retu.Result; import com.ciel.scaentity.entity.ScaUser; import io.seata.core.context.RootContext; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Sl...
30.530612
94
0.731283
184dae4a88ad058b17ff9b87017e6c7b8e84df0a
2,023
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
30.651515
96
0.727138
1c0debff5d899d8a3f76da21fb7c2d77cd7ee31e
8,529
/******************************************************************************* * Copyright (c) Contributors to the Eclipse Foundation * * 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 *...
33.316406
114
0.748271
f628cc01baf8ed6e7602ef0e25f9d4b6d2e269e7
668
package designpattern.prototype; /** * @author initial.y * @className Client * @description * @date 2021/8/8 */ public class Client { public static void main(String[] args) { ConcretePrototype1 concretePrototype1 = new ConcretePrototype1(); System.out.println(concretePrototype1); Conc...
27.833333
89
0.663174
c711e9334ee37c7470dadeff60d57fbca097e54e
5,883
/* * This file is part of LuckPerms, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
35.017857
143
0.699813
72f7fd9f8be9c841123a75094a56298b39b7587d
816
package io.github.tunacan427.electroarmor.integration; import io.github.prospector.modmenu.api.ModMenuApi; import io.github.tunacan427.electroarmor.ElectroArmor; import io.github.tunacan427.electroarmor.ElectroArmorConfig; import me.sargunvohra.mcmods.autoconfig1u.AutoConfig; import net.fabricmc.api.EnvType; import ne...
31.384615
89
0.794118
c7df2c75697f4399c9ae34e931f032814cd64287
5,636
package at.tuwien.ldlab.statspace.metadata; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Random; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.Servlet...
38.340136
160
0.6989
b805e2401114e60f01721643315a76a151f7a6c2
3,480
package com.skylerdache.spacepong.game_elements; import com.skylerdache.spacepong.enums.PlayerPosition; import com.skylerdache.spacepong.exceptions.PlayerScoreException; import lombok.Getter; import lombok.Setter; @Getter @Setter public class Ball { private final double radius; private final SpaceBounds bound...
34.117647
104
0.541954
585ca4327a159c4d9b200f088ad62dc4e8f7cdd1
994
package com.darkender.plugins.okbomber.custom.addons; import com.darkender.plugins.okbomber.TNTData; import com.darkender.plugins.okbomber.custom.TNTAddon; import org.bukkit.Particle; import org.bukkit.entity.TNTPrimed; public class FloatingAddon extends TNTAddon { public FloatingAddon() { super("addo...
21.608696
75
0.646881
ebbcb3a95b915596a0aa3d35aa633c1ea6f3c422
509
package udacity.pokemon; public class Pokemon { private String name; private int id; private String candy; private String image; public Pokemon(String name, int id, String candy, String image) { this.name = name; this.id = id; this.candy = candy; this.image = image...
22.130435
69
0.618861
1f85998069f1fc8a590cd38af4e86b50bf23ed0c
1,162
package com.bazl.dna.lims.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.bazl.dna.lims.dao.XckyAddressInfoMapper; import com.bazl.dna.lims.model.po.XckyAddressInfo; import com.bazl.dna.lims.service.XckyAddressInfoService; /** * ...
24.208333
95
0.659208
4c844e961b95af36717af4b421065c4dbf91e610
609
package cn.debug.aop2.aspect; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.stereotype.Component; @Component @Aspect @EnableAspectJAuto...
22.555556
69
0.778325
614777d3a4eeca0c38bddd077323bb83201d575b
22,906
package com.zkryle.jeg.common.golem; import com.zkryle.jeg.common.ICoreOwner; import com.zkryle.jeg.common.customgoals.*; import com.zkryle.jeg.core.Init; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.client.Minecraft; import net.minecraft.entity.*; import net.minecraft...
46.274747
317
0.603292
2fa4e3287eb63dee73efab9f2e6071bd5dcf4d25
3,979
/* * Copyright (c) 2016-2019 VMware, Inc. All Rights Reserved. * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except in compliance with the License. * * This product may include a number of subcomponents with separate copyright notic...
35.212389
119
0.589847
1f3038333a301a64695f59e7c328099f3382b6b5
643
package twitter4jads.models.ads; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.List; /** * @author niketkhandelwal */ public class PollEntity implements Serializable { @SerializedName("options") private List<PollOption> options; @SerializedName("end_...
20.741935
60
0.720062
fc9b4d9541335ce923b6ad0f4ce88bbb03bca355
11,803
// Generated from C:/Users/mayn/Downloads/antlr4/app/src/main/java/com/jsdroid/antlr4/lua\Lua.g4 by ANTLR 4.7.2 package com.jsdroid.antlr4.lua; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; /** * This class provides an empty ...
26.404922
111
0.679404
2d9190d3cb011090880c256e774fbfc9ab312a8b
3,334
/* * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. See * http://www.wtfpl.net/ for more details....
26.460317
75
0.643671
b9a9e08b3aa0056ecf01dc3734e1b5d62b8d9d15
3,270
/** Generated Assertion Class - DO NOT CHANGE */ package au.org.greekwelfaresa.idempiere.test.assertj.ad_pinstance_log; import au.org.greekwelfaresa.idempiere.test.assertj.po.AbstractPOAssert; import java.util.Objects; import javax.annotation.Generated; import org.compiere.model.X_AD_PInstance_Log; /** Generated asse...
31.142857
146
0.725688
2d1e0dbaf817cb6bdbebefce861f3fe758256a8a
459
package com.mdimension.jchronic.handlers; import java.util.List; import com.mdimension.jchronic.Options; import com.mdimension.jchronic.utils.Span; import com.mdimension.jchronic.utils.Token; public class SRPAHandler extends SRPHandler { @Override public Span handle(List<Token> tokens, Options options) { Sp...
25.5
83
0.771242
3d9b69fe5537bd3b1ad57df4e6cb97e465c69f7e
5,123
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
43.05042
107
0.707203
6f80b2a4fa5dbba099456960348fc353ceb4d005
271
package com.orange1988.photoselector.base; import android.view.View; import butterknife.ButterKnife; /** * Created by Mr. Orange on 15/11/26. */ public abstract class PSViewHolder { public PSViewHolder(View view) { ButterKnife.bind(this, view); } }
16.9375
42
0.704797
89101bd95d39dc935fb9aeb3241b8ef49cb45108
4,952
/* * Copyright 2018 Dmitry Ustalov * * 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...
31.948387
98
0.605816
13b2bc65a15f3ba1be9e614a54bc2a477fb3b05e
6,106
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.localization; import edu.wpi.first.math.VecBuilder; import edu.wpi.first.math.geometry.Pose2d; import...
38.1625
100
0.731575
3d37778dfe064991bb84ec3a2b5c5a53bf3d4685
1,718
/* * Copyright 2019, 2020 grondag * * 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 agr...
42.95
81
0.770081
84d50f3e84dc6bc0dd65fdc9575d5fbfff1536e1
1,677
package dev.bstk.gameokk.plataforma.usuarios.domain; import lombok.AllArgsConstructor; import org.springframework.stereotype.Service; import java.util.List; import java.util.Objects; @Service @AllArgsConstructor public class UsuarioService { private final UsuarioRepository usuarioRepository; public Usuario...
31.641509
136
0.730471
c52677b7655c778e2968f7dddeae9570c9bdcdef
1,713
package com.alibaba.sreworks.dataset.domain.req.inter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * 数据接口配置信息 * * @author: fangzong.lyj@alibaba-inc.com * @date: 2021/07/21 17:04 */ @Data @ApiModel(value="数据接口配置信息") public class DataInterfaceCon...
25.954545
71
0.642148
fa1ce3032a51f08b681f08f017e05eeb0f05ad57
50
package ewhine.models; public class Message { }
8.333333
22
0.74
2963d9e1d34d73e7b5eba42f382747a79aca0819
4,866
package com.mapswithme.maps.purchase; import android.app.Activity; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.android.billingclient.api.BillingClient; import com.android.billingclient.api.Purchase; import com.android.billingclient.api.SkuDetails; imp...
23.507246
100
0.691944
af7922d5ed37ede4ead79853bcd0e73e10e597d5
2,442
package com.example.lesiadspro; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import android.util.Log; import com.firebase.ui.database.FirebaseRecyclerOptions; import com.google.fi...
34.885714
149
0.718264
1e5088bef90b29e3f5881916d4fc455b824388d4
6,821
// Copyright (C) 2017 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
44.581699
99
0.753848
b811412a53978cb462d38c1ee97556f011fe762f
461
package org.pentaho.di.ui.spoon.partition.processor; import org.eclipse.swt.widgets.Shell; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.ui.spoon.delegates.SpoonDelegates; import org.pentaho.di.ui.spoon.partition.PartitionSettings; /** * @author Evgeniy_Lyakhov@epam.com */ public inter...
32.928571
115
0.815618
3c720e0d7bb113372b9dc7e0fd7111949b6701fa
3,064
/** * 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"); yo...
38.78481
122
0.749347
a24dc3b2437f176370e92839f4447728494aefc5
725
package st.sql.mapping; import st.sql.STSQLException; /** マッピングエラーが発生した際にスローされる例外 */ public class ResultSetMappingException extends STSQLException { public ResultSetMappingException() { super(); } public ResultSetMappingException(Throwable e) { super(50000, e); } public ResultSetMappingExce...
22.65625
88
0.736552
944e5728daa16b05567be425c0c960969b3f07de
5,355
package repast.simphony.visualization.editedStyle; /** * * @author Eric Tatara * * @param <T> */ public class EditedStyleData<T> implements PaintableStyleData, SizeableStyleData { protected String shapeWkt; protected float size; protected float sizeMax; protected float sizeMin; protected...
24.121622
83
0.720448
5d7a87c5b73950e7bfc6db8cf67d2f3af2018057
760
package com.wepay.waltz.common.metadata; import com.wepay.zktools.zookeeper.serializer.SerializerHelper; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; /** * Implements the methods to serialize and deserialize {@link GroupDescriptor} object. */ public class GroupDescriptorSerializ...
28.148148
95
0.775
54570524fd84b6dcf46cd7aebc0bcc0f1b4e71ea
896
package com.company; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.function.Predicate; import java.util.stream.Collectors; public class CountUppercaseWords { public static void main(String[] args) { try(BufferedReader...
35.84
87
0.646205
0866779826981758cf4d25da4d2cde6df4d8179a
1,172
package rainbow.db.refinery; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import rainbow.core.bundle.Bean; import rainbow.core.bundle.Extension; import rainbow.core.util.converter.Converters; import rainbow.db.dao.model.Column; @Bean @Extension public class D...
23.44
74
0.734642
3b060bfd2346ba037ff450b59177038ad411e574
6,170
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 license...
14.282407
814
0.790276
18747633b40b2dbed633940e072a48abf98cfdfd
1,373
/* * Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Indoqa licenses this file to You under the Apache License, Version 2.0 * (the "Lice...
31.204545
78
0.707939
ef5905352a5f0a76af69e10aa3633b85d9c9290a
1,230
/** * This is the test class for testing classes */ public class Main { /** * This is the main method * * @param args */ public static void main(String[] args) { //creating shapes Circle circle1 = new Circle(19); Circle circle2 = new Circle(3); Rectangle rec...
29.285714
53
0.560976
c3f1353bf6e2d69e3d94f61769ebda0cd70dca7e
740
package com.indignado.logicbricks.utils.builders.sensors; import com.indignado.logicbricks.core.sensors.MessageSensor; /** * @author Rubentxu. */ public class MessageSensorBuilder extends SensorBuilder<MessageSensor> { public MessageSensorBuilder() { brick = new MessageSensor(); } public Mess...
19.473684
72
0.67973
ebda0fa2e9c72bb63738af6ce48ace2b83226064
2,277
package org.j2server.j2cache.cache; public interface ICache<K, V> extends java.util.Map<K, V>{ /** * Returns the name of the cache. * * @return the name of the cache. */ String getName(); /** * Sets the name of the cache * * @param name the name of the c...
33.485294
89
0.635046
73aa1427b6feeb7fb45e2e8ecff298cecea46ad1
572
package com.fao.houduan.service; import com.fao.houduan.common.Result; import com.fao.houduan.entity.Picture; import com.fao.houduan.mapper.PictureMapper; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; /** * @Author fao * @Create 2021--12--12 17:12 */ @Serv...
22
55
0.736014
198cb93afa09bb087ac28bcd9e563502e4c48a44
1,840
package com.aspose.slides.examples.text; import com.aspose.slides.*; import com.aspose.slides.examples.RunExamples; import java.awt.*; import java.io.File; public class ApplyingOuterShadowEffects { public static void main(String[] args) { //ExStart:ShadowEffects // The path to the documents ...
30.666667
98
0.6125
84f180c8db0197dafbf8d9e3d997d4969f14c32d
8,804
package com.reactnativecodefly; import android.content.Context; import android.util.Base64; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java...
44.241206
171
0.642208
82e508cbcc16c73d3d6a85257d036b279ec4b7a8
4,105
package eu.inloop.knight.builder; import android.content.Context; import android.content.Intent; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.TypeName; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; ...
37.66055
122
0.676005
1892afb4aaedb3a1f2a65f953041f975e0fc39bd
2,116
/* * 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 * dis...
29.802817
76
0.630435
9767bdef22adafdd54ff612537292813623c3f74
629
package com.ghoss.android.rappitest.presentation; import android.app.Application; import com.ghoss.android.rappitest.presentation.dagger.component.AppComponent; import com.ghoss.android.rappitest.presentation.dagger.component.DaggerAppComponent; /** * Created by rrtatasciore on 14/10/17. */ public class RappiAppl...
23.296296
84
0.72814
28f1411ff24f17f3e9dfc0d56b16dfbcf43f2a15
1,458
package com.metranet.finbox.service.member.api; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind...
50.275862
167
0.778464
f8fa578e911694bb86caa9b71458d87042ada004
23,851
/* * Copyright 2013 Hewlett-Packard Development Company, L.P * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
38.531502
200
0.542325
333a21f623dab8d341b6557b69df2a9d4e7bde83
1,088
package cn.bootx.common.spring.aop; import cn.bootx.common.spring.annotation.CountTime; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.reflect.MethodSignature; import org.spring...
27.2
89
0.683824
328842dc7d274fc056166ade759dc23266d3d2e9
394
package info.bfly.archer.component.model; /** * * * Description: 级联选择或者查询的DataModel * * @version: 1.0 Create at: 2014-1-21 下午6:31:03 * * Modification History: <br/> * Date Author Version Description * ------------------------------------------------------------------ * ...
23.176471
79
0.497462
b30b2b0172419c34041adfed8ae465a4e0dd4c9e
1,422
package com.xxyp.xxyp.main.bean; import com.xxyp.xxyp.common.bean.BaseBean; /** * Description : 约拍照片bean * Created by sunpengfei on 2017/8/10. * Person in charge : sunpengfei */ public class ShotPhotoBean extends BaseBean { /* 约拍照片id */ private String datingShotPhotoId; /* 约拍id */ private Strin...
20.911765
67
0.668073
a8e39e50fe2ab6c467bb907b8723a0df562da1c3
803
package com.mkyong.common; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.mkyong.customer.services.CustomerService; public class App { public static void main( String[] args ) { ApplicationContext appContext = ...
27.689655
88
0.62391
7d6d8fcdcb3c2a78be6c195ac9e23f96a0b7e959
2,554
package kodkod.engine.hol; import kodkod.ast.Formula; import kodkod.engine.config.AbstractReporter; import kodkod.engine.config.Options; import kodkod.engine.config.Reporter; import kodkod.engine.fol2sat.Translation; import kodkod.instance.Bounds; public abstract class HOLTranslation extends Translation { public...
44.034483
125
0.653093
9cdcf31caafe3d0aa86710c22ad1c89dd1fffa50
482
package org.apache.ibatis.annotation; import java.lang.annotation.*; import static java.lang.annotation.ElementType.*; @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR}) @Retention(RetentionPolicy.RUNTIME)//注解保留到运行阶段,可以在运行阶段获取到注解信息 @Documented public @interface Customize { String className() default "customi...
21.909091
61
0.748963
e6bd04d1a633c5ca0329c22e967e08775c7d842d
2,913
package com.prowidesoftware.swift.model.mx.dic; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.EqualsBuilder; i...
22.937008
88
0.61689
bcda3a538c93471d3919273ec0d934f63abecca7
699
package com.tangzhangss.commonflowable.listener; import com.alibaba.fastjson.JSON; import lombok.Data; import org.flowable.engine.delegate.DelegateExecution; import org.flowable.engine.delegate.ExecutionListener; import org.flowable.engine.impl.el.FixedValue; /** * 流程监听器 * * 开始和结束 */ @Data public class TestExecut...
27.96
65
0.74392
8b0635e3a4ff06a3d4a5c08c081b55adeb06c10b
1,810
/** * */ package com.sqltoy.quickstart.dao; import org.sagacity.sqltoy.config.model.Translate; import org.sagacity.sqltoy.model.EntityQuery; import org.sagacity.sqltoy.model.Page; import org.sagacity.sqltoy.model.QueryExecutor; import org.sagacity.sqltoy.support.SqlToyDaoSupport; import org.springframework.stereoty...
33.518519
105
0.762983
841bc719e074bea09f7ceb42909aea5f4fad272e
930
package net.androidbootcamp.chatterbox.objects; import net.androidbootcamp.chatterbox.inviteGen.InviteGenerator; public class InviteObject { private int id; private String inviteCode; private boolean perm; public InviteObject(int chatID){ id = chatID; perm = false; inviteCode...
18.6
64
0.616129
bed8bfa3d14ffe6bfbdc47f26ba426692dde28ad
1,198
/******************************************************************************* * Copyright 2017 Infosys Limited and others. * * 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://ww...
46.076923
100
0.661937
efa05a608f061f446a968d2595c0be90d9780ea3
238
import java.io.Serializable; /** * 服务器配置类 */ public class ConfigInfo implements Serializable { public String auth; public String server; public String mailSendHost; public String account; public String password; }
17
49
0.714286
e10c1228c10a784e5c9090a12324061b63ee5b8b
6,935
package jsat.math.optimization; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import jsat.linear.DenseMatrix; import jsat.linear.DenseVector; import jsat.linear.LUPDecomposition; import jsat.linear.Vec; import jsat.math.Function; import jsat.utils.Fake...
33.995098
167
0.540591
33398c14d79401fb52406632183f720cd1ddf763
11,438
/* * Copyright (C) 2011-2016 Rinde van Lon, iMinds-DistriNet, KU Leuven * * 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 * * Unl...
31.081522
80
0.703008
6e00dcb332d5cfcf6584cc7fbc1a2292b818a6b0
1,563
package binarysearch; import binarysearch.templates.LLNode; import binarysearch.templates.Tree; import java.util.ArrayList; import java.util.LinkedList; /* * Problem: https://binarysearch.com/problems/Linked-List-Union * Submission: https://binarysearch.com/problems/Linked-List-Union/submissions/7414229 ...
22.014085
87
0.449136