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
bda0c2d0baab4c6a5060b293d9a326b2b6c013aa
540
package com.hanifiamdev.jdbc.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.sql.Date; import java.sql.Timestamp; @Data @AllArgsConstructor @NoArgsConstructor public class ExampleTable { private String id; private String...
21.6
36
0.775926
84617e79c7c6abb7dd1fa2c7348276fc7a5815dc
4,995
package uk.org.webcompere.modelassert.json; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import java.nio.file.Path; import java.nio.file.Paths; import static org.assertj.core.api.Assert...
32.435065
127
0.57017
0d4d6acad3968afecfa33038877592c36d61f575
356
package explorviz.visualization.experiment.pageservices; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; /** * @author Santje Finke * */ @RemoteServiceRelativePath("editquestionsnmenu") public interface EditQuestionsMenuService extends RemoteSe...
25.428571
65
0.811798
1e4c19f5f46972da9859e6453fa8fdc9319b1ca9
4,704
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.tenant; import com.yahoo.config.provision.TenantName; import com.yahoo.path.Path; import com.yahoo.vespa.config.server.ReloadHandler; import com.yahoo.vespa.confi...
28.337349
118
0.676658
5a939f6aa1f29fa346423a962b2c15ce41e05d9e
3,737
package org.museautomation.core.context; import org.museautomation.core.*; import org.museautomation.core.step.*; import org.museautomation.core.steptask.*; import org.museautomation.core.variables.*; import java.util.*; /** * @author Christopher L Merrill (see LICENSE.txt for license details) */ public class Defa...
30.137097
122
0.661226
d3e7ee3e6d4690102159eaeb5d4482468df8df4e
836
package com.flyingkite.pager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.flyingkite.dotprogressdrawablesample.R; public class CyclicTextPagerAdapter extends CyclicPagerAdapter { @Override public int getPageCount() {...
26.125
101
0.702153
fd9329344e077bab1cca37ea29264f0ef8a33c82
642
package ru.job4j.examples; import java.io.*; public class DocReader { public static void main(String[] args) throws Exception { System.setProperty("console.encoding", "utf-8"); File file = new File("chapter_020/src/main/resources/text.txt"); BufferedReader br = new BufferedReader(new FileR...
32.1
118
0.609034
c6fef22241845ccbfc5cedb88a8332e3d3bd173e
1,012
package com.joutvhu.fixedwidth.parser; import com.joutvhu.fixedwidth.parser.exception.InvalidException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; @TestInstance(TestInstance.Lifecycle.PER_CLASS) public ...
27.351351
65
0.670949
8ab7b5346703ac5e251d5796d078909b9bd3ce7b
221
package es.germich3.configuration; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.List; public interface ConfigurationTemplate { @JsonIgnore List<ConfigurationComments> getComments(); }
17
51
0.791855
e39eed9f621312fb36fadc29529c1f95a6c037f0
5,124
// Copyright 2015 The Bazel Authors. 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 by appl...
45.345133
99
0.774395
5ca7ccaa26dd9a9b4a37a928bc8d4e67397d1362
1,531
/** * */ package cl.mgn.labs.rrhh.web.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; /** * @author Juan Francisco...
24.301587
82
0.766166
f6ef728c18a12171cfba888ed5e4ddef4d445cee
7,589
/* * * 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 m...
28.855513
132
0.762551
b02e857d1ad1ea20c5a2a22ad7df1d1bbbd7485c
1,285
package net.shengjian.system.service; import net.shengjian.rpc.annotation.RpcServiceAnnotation; import net.shengjian.system.entity.UserPlatformInfos; import java.util.List; /** * TODO 在此加入类描述 * * @author springrain<Auto generate> * @version 2017-07-31 16:41:34 * @copyright {@link jiagou.com} * @see org.springr...
22.54386
101
0.675486
1f5e7c6fa17d05bd7d12fa2c278848712ca48012
1,544
package br.com.deyvidjlira.popularmovies.data.services; import java.io.IOException; import br.com.deyvidjlira.popularmovies.BuildConfig; import br.com.deyvidjlira.popularmovies.util.Constants; import okhttp3.HttpUrl; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Respo...
36.761905
96
0.682642
c19d1b8493fa902fedf3a740eaa314dd0306f59f
1,432
/* * 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 ...
29.833333
75
0.760475
46794eac4d42e416a0d8a7e830b1cca84657d7e1
85
package ro.ase.csie.cts.tutoring.teste.categorii; public class TesteImportante { }
14.166667
49
0.788235
6941930e741c524f5ba48c7e66e0731258c8c496
2,878
package com.github.mmichaelis.phodeli.measure; import static java.lang.Math.atan2; import static java.lang.Math.cos; import static java.lang.Math.sin; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; /** * Represents the unit of an angle, i. e. either degree or radians. * * @au...
23.024
91
0.661571
23d04d5a1aa68aafb6db288387df9bc566f16d7b
73
package com.qunar.qtalk.ss.consult.entity; public class ClearAction { }
14.6
42
0.780822
c96b79cb1eb556b16332de2cda4fd2fa0ca27e29
1,678
/* * Copyright (C) 1999-2011 University of Connecticut Health Center * * Licensed under the MIT License (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.opensource.org/licenses/mit-license.php */ package cbi...
29.438596
121
0.738379
f19252e3a6167c0449d9df523271db3b8efd2a5e
2,310
package com.google.zxing.oned; import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; import com.google.zxing.FormatException; import com.google.zxing.WriterException; import com.google.zxing.common.BitMatrix; import java.util.Map; public final class EAN8Writer extends UPCEANWriter { priva...
44.423077
136
0.642424
987ed859be7f7d2ece2ee3988e1da70e2e50d18e
3,591
/* * (C) Copyright 2021 Nuxeo (http://nuxeo.com/) 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
41.275862
134
0.746032
14f8d9bbc5a436d11e753a0422ba7cf2835a39f6
29,969
package com.evenwell.powersaving.g3.p000e.doze; import android.app.Service; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.hardware.display.DisplayManager; import android....
46.319938
198
0.585171
3623d33380248114dffe197c852dd354df7dc028
9,900
package org.osmdroid.samplefragments.ui; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.vie...
38.076923
135
0.609899
388e345401a2c54e4fb1f4b7b4e2205661b7f523
245
package com.yjj.dao; import com.yjj.model.Admin; import java.sql.Date; /** * Created by Administrator on 2018/7/13. */ public interface IAdminDao { Admin get(String email, String password); void update(String email, Date date); }
15.3125
45
0.702041
42aba5b7926401e6aa0ef192543d17af8f663dfc
6,333
package com.example.lenovo.baodingdong; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.view.View; import android.widget.Button; /** * Created by lenovo on 2018/3/1. */ ...
38.381818
99
0.617085
ee723ba174580065c61bc40278e6e28feb7b57af
1,993
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
48.609756
126
0.742097
6570f70e06856a21ac80cd2e18c39c06bc9e0ff0
7,328
/* * MIT License * * Copyright (c) 2020. Baptiste MAQUET * * 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...
32.568889
99
0.806905
52d0d2a6e7a7a10852cfdade08bc080c359c6def
2,220
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
30
122
0.633784
dbb96aa7cdec4e916846d2f41c4b0d4f291866e2
11,555
/* * Copyright 2019 Bytabit AB * * 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 i...
38.645485
135
0.612549
cb6c71261a214398b8463b1d594295923a51972d
2,998
/* * 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 ...
29.106796
99
0.671781
81a80897253bd84f0ae2c3b7fa7b91ff05396d19
1,411
package br.mfs.add.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ModelAttribute; import org.sprin...
25.654545
81
0.761871
9d48f55f30a4c654e32af2f7c05ca7dec1cacd84
3,521
package com.example.kafka.service.merge.update; import java.time.Instant; import java.util.List; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.lang.NonNull; import org.springframework.ster...
38.271739
187
0.693553
08d24d3dc1b64954ba744632ffec5e1a92abde71
30,249
package com.miotech.kun.metadata.common.dao; import com.google.common.collect.Sets; import com.google.inject.Inject; import com.miotech.kun.commons.testing.DatabaseTestBase; import com.miotech.kun.metadata.common.factory.MockSearchFactory; import com.miotech.kun.metadata.core.model.constant.ResourceType; import com.mi...
81.314516
302
0.76105
d71b4fd6d93fcc9ae574c6c1a95f057c9b021b7a
1,594
/* Classe responsável pela comunicação com BDM. Ela possui funções para buscar, atualizar, salvar e deletar dados da tabela PESSOA do banco. */ package dao; import java.sql.SQLException; import modelo.Contato; import persistencia.PGSql; public class ContatoDAO { final String SQL_SALVAR = "INSERT INTO pess...
30.075472
96
0.688206
6b8cefe6f6be73ba504988ebd6d935a135da1c27
589
package com.mirkocaserta.bruce.signature; /** * An interface for verifying the authenticity of messages using * encoded digital signatures. * * @author Mirko Caserta (mirko.caserta@gmail.com) */ public interface EncodingVerifier { /** * Verifies the authenticity of a message using an encoded digital sig...
29.45
81
0.721562
8e6692c0fd4403b7c0cf2d9de6d6d4ba5c573543
1,717
package rs.raf.infview.observer.command; import rs.raf.infview.core.Res; import rs.raf.infview.state.Context; import rs.raf.infview.view.component.Node; import java.util.*; public class CutAction extends UndoableCommand { private List<Node> currentNodes; private List<List<Node>> cutNodes; public CutActi...
24.183099
66
0.595807
a6231cece7016ab9ec3c254e46088f98ad31c485
1,320
// Copyright 2016 Google 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 by applicable...
35.675676
99
0.744697
9f4f22f7c3cdf1b6d62651dadd6b8425f4e6ec07
692
/* * * * * * * * * * * * * */ /* * SyntaxException.java * Copyright (C) 2015 University of Waikato, Hamilton, New Zealand * */ package weka.core.expressionlanguage.core; /** * An exception to represent an invalid syntax of a program * * @author Benjamin Weber ( benweber at student dot ethz...
15.377778
69
0.647399
c3dbf798ea137bd45b6ec78d12c49cd4132a706a
782
package kr.starbridge.web.domain.bridge.enums; import lombok.Getter; @Getter public enum FunctionURIEnum { URI_BLACKLIST_TAG("blacklist-tag"), URI_BLACKLIST_TAG_IMPORT("blacklist-tag-import"), URI_BLACKLIST_TAG_EXPORT("blacklist-tag-export"), URI_BLACKLIST_IP("blacklist-ip"), URI_BLACKLIST_IP_IMPO...
26.965517
53
0.705882
2e319bbca2d56cf7ef178871e61b1f28a0c5f553
749
package cn.duniqb.mobile.dto.feed; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 文章点赞表 * * @author duniqb * @email duniqb@qq.com * @date 2020-04-30 19:36:16 */ @Data public ...
15.285714
53
0.602136
72566b583400f605291f29beb82e775e09715ce0
4,849
/** * Copyright (c) The openTCS Authors. * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.opentcs.strategies.basic.scheduling; import static java.util.Objects.re...
25.387435
91
0.650443
10312ad04873eefe5faadf6ad4206edf98dc6bc7
231
package com.idisfkj.hightcopywx.wx.model; import com.idisfkj.hightcopywx.dao.WxDataHelper; /** * Created by idisfkj on 16/4/23. * Email : idisfkj@qq.com. */ public interface WXModel { void initData(WxDataHelper helper); }
19.25
48
0.731602
4f8b91c1bc537795a07b1e6e7f1627e12ac2f478
10,147
/* * Copyright (c) 2007-2011, Rickard Öberg. 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 r...
44.310044
157
0.716961
1c32f07cf65464b716f3322dbdaf3cff79b1d1d4
39,372
package net.ME1312.SubServers.Client.Bukkit.Graphic; import net.ME1312.Galaxi.Library.Callback.Callback; import net.ME1312.Galaxi.Library.Config.YAMLSection; import net.ME1312.Galaxi.Library.Container.Container; import net.ME1312.Galaxi.Library.Container.Value; import net.ME1312.Galaxi.Library.Map.ObjectMap; import ne...
76.450485
255
0.522097
f2096597b80dd043d9048a61f11201d2da928eea
12,189
package com.tyw.moniter.main.ui; import androidx.core.app.ActivityCompat; import androidx.lifecycle.ViewModelProviders; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.content.ContentUris; import android.content.Context; import android.content.Dialog...
37.854037
121
0.613914
1e45bc13ea2d698744db5e70327eaf06a5e4e329
1,681
package com.mafia.api; import com.mafia.core.constant.ConfigConstant; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; i...
38.204545
85
0.771565
117956a853651cf7183090a0faeb771a24a9ff0d
4,550
package com.baloise.maven.orchestra; import static com.baloise.maven.orchestra.MojoHelper.getPscFileLocation; import static java.lang.String.format; import java.io.File; import java.net.URI; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.pl...
32.269504
203
0.690989
4722ec2cd44a1344550efb554f7443fdc3edf910
432
package com.scj.beilu.app.mvp.mine.address.bean; import com.scj.beilu.app.mvp.common.bean.ResultMsgBean; /** * @author Mingxun * @time on 2019/4/4 12:26 */ public class AddressInfoResultBean extends ResultMsgBean { private AddressInfoBean userAddr; public AddressInfoBean getUserAddr() { return use...
21.6
58
0.708333
ec1d50e1216ef0306e86b3cc95b06bb874cb1e55
2,522
package Ex10_FamilyTree; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Main { public static void main(String[] args) throws IOException { BufferedR...
37.641791
94
0.556305
6454035771256be1cc2b8fe1382a504a18964821
5,071
/* * Copyright (c) 2021 WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
40.895161
113
0.697101
e8c78e923f0e31e4a0a53f2a599e7ff0b9c7f96d
540
package wisematches.playground.scribble.score; /** * @author <a href="mailto:smklimenko@gmail.com">Sergey Klimenko</a> */ public final class ScoreBonus { private final Type type; private final int row; private final int column; public ScoreBonus(int row, int column, Type type) { this.type = type; this.row =...
15.428571
68
0.67037
60ec8c0ff6bfcae92052be24f7934423083b400d
2,023
package com.cisco.oss.tools.hardware.machine; import com.cisco.oss.tools.hardware.CpuSampler; import com.google.common.util.concurrent.AtomicDouble; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Component; import oshi.json.SystemInfo; imp...
27.712329
94
0.666831
38eb530d197bd34c93e834200da99cce58232999
2,177
package org.jzeratul.mykid.security; import org.jzeratul.mykid.rest.MyKidSecurityService; import org.jzeratul.mykid.model.User; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.BadCreden...
36.283333
109
0.759761
f8e139534acb6f9a4274833c00a3e6d15cd7ee6a
4,735
package com.example.demo.Controladores; import java.net.MalformedURLException; import java.sql.SQLException; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.In...
34.562044
127
0.742555
ee7d45f1b4bd753fd975af6f2d6f56012bb914fe
905
package com.aio.cilent; import com.aio.Tool; import java.util.Scanner; /** * AIO客户端主程序 */ public class AioClient { //用于连接服务端的自定义异步处理器 public static AioClientHandler aioClientHandler; public void start() { if (aioClientHandler != null) return; //连接服务端,因为连接操作是异步的,所以需要使用异步处...
21.547619
91
0.635359
117fb8508acad8f9066a75d4e84e5bc49435c7bf
336
package com.rbkmoney.cashreg.service.management.model; import lombok.AccessLevel; import lombok.Getter; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor(access = AccessLevel.PRIVATE) public enum ExtraField { TAX_MODE("tax_mode"), COMPANY_EMAIL("company_email"); @Getter private final S...
19.764706
54
0.776786
16874b042c286e7dc7cd9b59453ab4fc0213306e
379
package misc; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.BodyDef.BodyType; public final class EntityBodyDef { public Vector2 position; public Vector2 size; public BodyType bodyType; public EntityBodyDef(Vector2 position, Vector2 size, BodyType bodyType) { this.position = posi...
21.055556
74
0.76781
2b5f445ed7df7006be2f7bbd942f0ce4b8a49369
324
package com.leetcode; import org.testng.annotations.Test; import static org.testng.Assert.*; public class Solution_523Test { @Test public void testCheckSubarraySum() { Solution_523 solution_523 = new Solution_523(); System.out.println(solution_523.checkSubarraySum(new int[]{5,0,0,0},3)); ...
23.142857
80
0.709877
9b58b3a804043c4a0a199aaa30fbd61e0f458baf
910
package xyz.ressor.source.s3.version; import org.jetbrains.annotations.Nullable; import xyz.ressor.source.SourceVersion; import java.util.Objects; public class S3Version implements SourceVersion { private final Object val; private final VersionType type; public S3Version(Object val, VersionType type) { ...
22.75
66
0.615385
b6d9ed4670bb548d68965b0e9311cfb1e9901d17
1,115
package com.mitchellbdunn.chip8.view; import com.mitchellbdunn.chip8.Chip8; import com.mitchellbdunn.chip8.model.Screen; import java.awt.Graphics; import java.util.Observable; import java.util.Observer; import javax.swing.JPanel; /** * * @author Mitch */ public class Panel extends JPanel implements Observer { ...
26.547619
94
0.588341
07e12844fdda99682faf32e35da1422c0c085ed5
423
package com.morethanheroic.swords.zone.service.definition.loader.domain; import com.morethanheroic.swords.zone.service.definition.cache.accessibility.ZoneAccessibilityRechargeRate; import lombok.Data; import javax.xml.bind.annotation.XmlRootElement; @Data @XmlRootElement(name = "accessibility") public class RawZoneA...
28.2
107
0.834515
f9297dc7dce5ce75f509b062c2bc292a1f5ae5ce
20,941
package io.automatiko.engine.workflow.process.instance.node; import static io.automatiko.engine.workflow.process.core.Node.CONNECTION_DEFAULT_TYPE; import java.time.format.DateTimeParseException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map;...
43.809623
122
0.613294
24ad03e26a0884ed1a2aebedd618c4a928956150
872
package com.aries.library.fast.demo.base; import android.os.Build; import android.view.View; import com.aries.library.fast.demo.touch.ItemTouchHelperViewHolder; import com.chad.library.adapter.base.BaseViewHolder; /** * @Author: AriesHoo on 2018/8/9 17:29 * @E-Mail: AriesHoo@126.com * Function: 实现拖拽ViewHolder * ...
24.222222
98
0.692661
72857d6823b9eac4ddb8b978c31e648b7e02e7d1
4,347
package com.loskut.model; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonManagedReference; import javax.persistence.*; import javax.persistence....
23.12234
65
0.603865
62e6f3dead5dac75037ff5a62055d274baa275b5
4,113
package org.archive.modules.recrawl.hbase; import java.util.Map; import java.util.logging.Logger; import org.apache.hadoop.hbase.util.Bytes; import org.archive.modules.CrawlURI; import org.archive.modules.canonicalize.CanonicalizationRule; import org.archive.modules.recrawl.FetchHistoryHelper; import org.archive.modu...
33.169355
105
0.693168
4175aa19fd1eb9b695204c8d6cd8a97dd0dc8ea0
4,270
package org.colorcoding.ibas.materials.bo.materialbatch; import java.math.BigDecimal; import org.colorcoding.ibas.bobas.bo.IBOSimple; import org.colorcoding.ibas.bobas.data.DateTime; import org.colorcoding.ibas.bobas.data.emYesNo; /** * 物料批次 接口 * */ public interface IMaterialBatch extends IBOSimple { /** * 获取...
11.033592
56
0.548478
1b442909285ee11d71b623ae3bd1b2b5bfd886ac
2,679
package com.box.l10n.mojito.rest.client; import com.box.l10n.mojito.rest.resttemplate.AuthenticatedRestTemplate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.ObjectUtils; import org.springframework.web.util.UriCo...
27.060606
108
0.646137
bce4646c19d9fdb308f736ad69936796789aa644
3,097
/** * SkillAPI * com.sucy.skill.api.event.PlayerClassChangeEvent * * The MIT License (MIT) * * Copyright (c) 2014 Steven Sucy * * 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 withou...
28.943925
101
0.688408
dde5233508aed0bb1d7bff1e910cf51fd81b23c3
3,179
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2020 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
37.845238
101
0.75118
9e0a252de87ccd294c821ac087a095dbaa1c3a4c
2,281
package com.luna.file.config; import org.apache.commons.net.ftp.FTPClient; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * @author Luna@win10 * @date 2020/5/16 11:54 */ @ConfigurationProperties(prefix = "luna.ftp") @Component public...
18.395161
75
0.588777
2e056cd0701c1a855d9553e9369023c5bac6f444
833
package underdogs.devbie.answer.dto; import static java.util.stream.Collectors.*; import java.util.List; import java.util.stream.IntStream; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import underdogs.devbie.answer.domain.Answers; import underdo...
29.75
88
0.762305
4812c7523db8b7da13a83630b67aaa947d438c4b
1,401
/* * 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 methods; import java.util.Scanner; /** * * @author brody.paugh */ public class conversions { public st...
29.1875
101
0.507495
64a8bba76f6fb370eb6420bb6ef0924d92c6dd49
886
package site.xixing.service.solo.impl; import org.xixing.qaqframework.core.annotation.Service; import site.xixing.entity.bo.HeadLine; import site.xixing.entity.dto.Result; import site.xixing.service.solo.HeadLineService; import java.util.List; @Service public class HeadLineServiceImpl implements HeadLineService {...
22.15
106
0.71219
8b42ed1d8959c0e403d0eec5024be3f760a83f47
58
public interface baz extends boz{ public int g(); }
9.666667
33
0.655172
237032781200df7478b6362fcad401b2dfd51782
15,309
package org.gluu.casa.core; import org.gluu.casa.conf.MainSettings; import org.gluu.casa.conf.PluginInfo; import org.gluu.casa.core.plugin.CasaPluginManager; import org.gluu.casa.extension.AuthnMethod; import org.gluu.casa.misc.Utils; import org.pf4j.*; import org.slf4j.Logger; import org.zkoss.util.Pair; import java...
36.277251
144
0.582925
87c994aa9a4b10713f25f367a2a3c5840f7fa40c
3,241
package junit.org.rapidpm.publication.microstream.m02; import one.microstream.storage.types.EmbeddedStorage; import one.microstream.storage.types.EmbeddedStorageManager; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import org.rapidpm.dependencies.co...
43.213333
112
0.77075
f4924288ad474593101e98f9977f8fa5014b4951
1,447
package xbee.api; public class XbeeAPI { public static final int HEADER = 0x7E; public static enum PARSE_STATE { IDLE,HEADER,L1,L2,FRAME; } private PARSE_STATE parseState = PARSE_STATE.IDLE; private int length = 0; private int fIndex = 0; private byte[] frame = null; private byte checksum = ...
21.279412
93
0.585349
746da87d813c73f597a1f8cd4c46589d263297d9
1,856
package com.jwmu.server; import java.text.SimpleDateFormat; import java.util.Date; public class ServerLogger { private final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("[yy-MM-dd HH:mm:ss] "); //INFORMATION public void activeProfile(String profile){ System.out.println(getDate() + "...
29.935484
146
0.659483
5bd959cb53f4afb1116c6075362dd742c776d9bc
4,874
/* ----------------------------------------------------------------------------------- Laboratoire : PRO - Projet de semestre Fichier : RappelAddController.java Auteur(s) : Robin Gaudin, Walid Massaoudi, Noémie Plancherel, Lev Pozniakoff, Axel Vallon Date : 20.05.2021 But : Controlleur pour l...
33.847222
108
0.648133
9885c9e86d220fb5aa037cccefdd99b1ac3b8c5a
1,573
/******************************************************************************* * Copyright (c) 2004-2015 Gabor Bergmann and Daniel Varro * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution,...
34.195652
106
0.719008
1ff576d6d70963d5e208ade96e800f4ffa11e274
11,501
/* * =========================================== * Java Pdf Extraction Decoding Access Library * =========================================== * * Project Info: http://www.idrsolutions.com * Help section for developers at http://www.idrsolutions.com/support/ * * (C) Copyright 1997-2015 IDRsolutions and Contribut...
38.85473
180
0.40753
c9a3714b3bfae69b2e6c05375e335fbf83bfeca9
648
package net.rfs.smartadmin.module.system.role.basic.domain.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.hibernate.validator.constraints.Length; import javax.validation.constraints.NotNull; /** * 角色添加DTO * * @author listen * @date 2017/12/28 09:40 */ @Data public class RoleA...
19.058824
63
0.658951
e00bbe5099a79124504d2b231ecb1bdb0ef7f21f
1,776
/******************************************************************************* * Copyright 2017 Bstek * * 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.apach...
44.4
113
0.698761
8a428a779e9c7dea6b7843c12a9a0a3d1c431ec5
14,642
/** * 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...
40.225275
151
0.649501
2491075329440a3dbcc8b239a4f28478290424cb
1,150
package in.erail.model; import io.vertx.core.json.JsonObject; import static org.junit.jupiter.api.Assertions.*; /** * * @author vinay */ public class ResponseEventTest { public void testMapping() { JsonObject result = new JsonObject("{\n" + " \"body\" : \"VGVzdGluZw==\",\n" + " ...
26.744186
51
0.431304
28fdbed2db28ffc5251f0c8f88863d37d072076a
1,727
package vip.efactory.service; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.scheduling.annotation.Async; import vip.efactory.common.base.utils.R; import vip.efactory.domain.ColumnInfo; import vip.efactory.domain.GenConf...
20.559524
123
0.617255
2f16b1443681945dbb4e923fe59d587351782654
1,085
package wayoftime.bloodmagic.common.item.routing; import java.util.ArrayList; import java.util.List; import net.minecraft.item.ItemStack; public class CompositeFilterKey implements IFilterKey { private List<IFilterKey> keyList = new ArrayList<IFilterKey>(); private int count; public CompositeFilterKey(int count)...
14.466667
64
0.693088
4ee8078fdae81d61fc7a05f4ab4fb2b7be84ae0d
302
package seedu.address.model.ingredient; import javafx.collections.ObservableList; import seedu.address.model.Book; public interface ReadOnlyIngredientBook extends Book { ObservableList<Ingredient> getIngredientList(); boolean hasSufficientIngredients(Ingredient ingredient, int quantity); }
27.454545
74
0.824503
2fa12afe7c726d2b423d0d7e693694435680826f
1,669
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.MatcherAssert.*; public class Grou...
37.088889
100
0.68604
01e677a5e1fce57f0fd846f314ddf20879852a29
24,821
/* * Copyright 2012-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
30.910336
127
0.738649
2cace405e2aa36e61bd7572de175441e51dbc49b
2,241
package com.wealth.freedom.quanquan.activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import com.wealth....
29.486842
66
0.641678
6db0c4f79dc5c918aed0e7b849b50ebf9d54c74e
875
package com.hadiidbouk.charts; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.widget.ProgressBar; public class Bar extends ProgressBar { public Bar(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } public Ba...
21.875
85
0.752
00a2997851f972cacc814aa6100394eccb6a8dcf
1,827
package com.krrrr38.idea.mockito.postfix.bddmockito; import com.intellij.codeInsight.template.postfix.templates.JavaPostfixTemplateProvider; import com.intellij.codeInsight.template.postfix.templates.PostfixTemplate; import com.krrrr38.idea.mockito.postfix.bddmockito.template.BDDMockitoGivenTemplate; import com.krrrr3...
46.846154
97
0.807882
6c6e60facfb303012a88537e8fff3c14dd7e82f0
11,794
/* * Copyright 2012-2016 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
43.843866
208
0.643972
e649417b0bd0c5dad9790b7e4cf5045ae063502e
5,387
/* * $Id$ */ /* Copyright (c) 2017 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...
40.810606
319
0.655096
7fd791efa2bb9043b73c54c335566becc7801115
2,003
/* * 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 ...
32.836066
87
0.717923
8735609820a73108356cffb40bec2e884a4117cd
2,751
/** * Copyright 2016 Otto (GmbH & Co KG) * * 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 agree...
33.962963
132
0.794984
823e9233c5556ed4fa1552832f969fdc697c5258
128
package com.little.g.user.service.oauth.config; public class OAuthTypes { public static final String WEIXIN = "weixin"; }
18.285714
49
0.742188
3d81618446b01bf214749e32da439298455a0821
2,499
/* * (C) Copyright 2019 Nuxeo (http://nuxeo.com/) 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
26.305263
103
0.671869
168ef3cbacc5d8af83fbfcf627f112bfa2f4d0fb
1,629
package lsieun.java8.stream_operation; import lsieun.java8.domain.Dish; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class C_Map { public static void main(String[] args) { test_flatMap2(); } public static void test_flatMap2() { List<Integer> ...
31.941176
67
0.52609