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
4013ab0796044d31915cfdda34215acdfc91c8cf
373
package com.extreme.data; public enum Genre { ACTION("Action"), ADVENTURE("Adventure"), DRAMA("Drama"), SCIENCE_FICTION("Science Fiction"), COMEDY("Comedy"); private String displayName; Genre(String displayName) { this.displayName = displayName; } @Override public Str...
17.761905
39
0.627346
014c8a74133ec9199e63fbeafd9c08bb8a57bbfd
1,292
package cn.techaction.dao; import cn.techaction.pojo.ActionUser; public interface ActionUserDao { /** * 根据用户名和密码查找用户 * @param account * @param password * @return */ public ActionUser findUserByAccountAndPwd(String account,String password); /** * 根据账号判断用户是否存在 * @param account * @return */ public...
17
75
0.666409
1c98747d04e6d5519170dda062e57511f6003200
1,653
/* * Copyright 2014-2015 itas group * * 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 t...
33.734694
86
0.730792
7ba91b6c5374c9a358159487da342227e99c2933
1,413
package pl.sdacademy.java16poz.wstep.klasy; import pl.sdacademy.java16poz.wstep.obiekty.Zamowienie; /** * ZamowieniaMain * * @author: Jakub Olszewski [http://github.com/jakub-olszewski] * @date: 30.03.2019 10:21 **/ public class ZamowieniaMain { public static void main(String[] args) { Zamowienie z...
26.166667
77
0.593772
1cc05e5071d8bc2325872fcce3abbc26d027474e
1,680
/* * Copyright 2014 AgentTroll * * 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...
33.6
97
0.679167
003f2b7ea50fe9077c9a6f57a4b02b8f44d5b558
2,612
package cz.vhromada.catalog.web.show.mo; import java.io.Serializable; import java.util.Objects; import cz.vhromada.catalog.entity.Show; import cz.vhromada.common.Time; /** * A class represents MO for show data. * * @author Vladimir Hromada */ public class ShowDataMO implements Serializable { /** * Seri...
19.205882
152
0.570444
7d5ab9a5ecef48736d998e6b2a63f787ec51e7ac
1,972
package jdepend.client.ui.result.framework; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import jdepend.framework.util.BundleUtil; import jdepend.client.ui....
24.962025
87
0.709939
86d4e176cd8174a12e93d12adac02fbe5d93166a
6,397
/* * Copyright (C) 2018 StarChart-Labs@github.com Authors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package org.starchartlabs.calamari.core; import java.util.Collection; import java.util.Collections; import java.util.Objects; impor...
39.732919
118
0.673597
10f7f0f9b1ef59a456a69bbecc9725dc322c669e
795
package com.oath.cyclops.internal.stream.spliterators.push.grouping.sliding; import cyclops.reactive.Spouts; import org.reactivestreams.Publisher; import org.reactivestreams.tck.PublisherVerification; import org.reactivestreams.tck.TestEnvironment; import org.testng.annotations.Test; @Test public class SlidingTckPub...
24.84375
142
0.78239
0fae3b99dadc680924b442781a55c9b32fdb3211
3,462
package us.dot.its.jpo.ode.coder; import java.io.IOException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import us.dot.its.jpo.ode.context.AppContext; import us.dot.its.jpo.ode.model.OdeBsmData; imp...
39.340909
151
0.712016
eec35a787b8489ac0d9a8f50b744b6d6c8aefd7b
3,741
package com.ideal.flyerteacafes.ui.controls; import android.content.Context; import android.os.Handler; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.widget.HorizontalScrollView; import com.ideal.flyerteacafes.utils.LogFly; /** * Created by fly on 2016/12...
25.979167
78
0.548784
2677c29784639ba97c53ef317ffab6484c60c47d
599
package edu.mit.mitmobile2.shuttles; import android.app.Activity; import edu.mit.mitmobile2.Module; import edu.mit.mitmobile2.R; public class ShuttlesModule extends Module { @Override public String getLongName() { return "Shuttles"; } @Override public String getShortName() { return "Shuttles"; } @Over...
17.114286
59
0.749583
1f826ff4e909cd0488f203eb8daeb1830a9b4e47
914
package com.github.cfogrady.dcom.digimon.dm20; import com.github.cfogrady.dcom.serial.EventDrivenSerialPort; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; import java.util.List; @Slf4j public class DM20RomWriterTest { @Test void testReader() { String received = "s:0...
38.083333
136
0.66849
1c3db2152016b88f53d031d62d8b528aae16a2e2
6,385
package org.protege.editor.owl.model.selection; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import org.protege.editor.owl.model.util.OWLAxiomInstance; import org.semanticweb.owlapi.model.*; import uk.ac.manches...
32.576531
136
0.718246
952360bc96f81be8fdf57af17f17918d58c35ab4
332
// // Decompiled by Procyon v0.5.36 // package org.mudebug.prapr.entry.report.compressedxml; enum Tag { mutation, sourceFile, mutatedClass, mutatedMethod, methodDescription, lineNumber, mutator, index, coveringTests, killingTests, description, suspValue, ...
14.434783
53
0.629518
3e1bbc2e40cf4323206d1615f06ae4a712e086b8
2,051
package adudecalledleo.tbsquared.data; import java.util.Map; import java.util.Optional; public interface DataTracker extends Iterable<DataTracker.Entry<?>> { static DataTracker empty() { return EmptyDataTracker.INSTANCE; } static DataTrackerBuilder builder() { return new DataTrackerBuilde...
32.046875
118
0.551438
15f23306e6f585b7b246ba9d258e2a81fbe12df6
545
package com.willlee.leetcode.problems1201_1300; public class Leetcode1232 { public boolean checkStraightLine(int[][] coordinates) { int x1 = coordinates[1][0] - coordinates[0][0]; int y1 = coordinates[1][1] - coordinates[0][1]; for (int i = 2; i < coordinates.length; i++) { int ...
32.058824
59
0.533945
9ed1d08bc1aff63b3a4631dae347e083725f85dd
8,425
package org.lbd.process; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.ArrayList; import java.ut...
35.699153
111
0.691395
26c42c185e43e8d28a2fb8f52dfe7c9af1fa5913
5,052
package com.garrocho.cgplayer.mp3player; import java.util.List; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.os.Binder; import android.os.IBinder; import android.util.Log; import android.widget.SeekBa...
22.255507
82
0.659541
7d810206b9bac1308acd5bd558b643bcdc18b7de
676
// Copyright © 2019-2020 Andy Goryachev <andy@goryachev.com> package goryachev.fxeditor; /** * Load Status. */ public class LoadStatus { public static final LoadStatus UNKNOWN = new LoadStatus(0.0, true, false); private final double progress; private final boolean loading; private final boolean v...
16.095238
76
0.659763
d8f37ce6ae1535e1b0ba3947f4510a6386569cc4
2,497
/*- * ========================LICENSE_START================================= * TeamApps Application API * --- * Copyright (C) 2020 - 2021 TeamApps.org * --- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a cop...
40.274194
175
0.754906
0462949ba169096e23433130bfe7d7c11db585cf
2,376
/* * Copyright Beijing 58 Information Technology Co.,Ltd. * * 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 ...
25.826087
99
0.677189
761048f194f29e5dd22d34ca4ea7d0ec67140a69
3,114
package com.ruoyi.equipment.domain; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; public class DepFeedback extends BaseEntity { private static final long serialVersionUID = 1L; /** 设备名称 */ @Excel(name = "意见填写人") private String userId; /** 设备名称 */ @...
21.328767
58
0.546243
88744c24a5f84e44433cceae09c92768868aa30e
3,014
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
34.25
99
0.748507
b002f4132dbdfdec47dacd92b8c594390c3aab36
1,364
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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 agre...
26.745098
75
0.740469
d8d7c69a1f9ca9ec25479e0ca9e9fffbf1df5895
687
package com.xp.ChainOfResponsibility; import com.xp.ChainOfResponsibility.model.Request; import com.xp.ChainOfResponsibility.model.RequestType; /** * Created by xp-zhao on 2018/12/27. */ public class Client { public static void main(String[] args) { Handler createHandler = new CreateHandler(null); Handler dele...
29.869565
71
0.770015
e7386b5268c622bc5c54247f7ef6b4d4d41b7427
578
package io.seldon.clustermanager.k8s; import org.junit.Test; import org.junit.Assert; public class SeldonDeploymentUtilsTest { @Test public void getVersionTest() { String version = SeldonDeploymentUtils.getVersionFromApiVersion("machinelearning.seldon.io/v1alpha2"); Assert.assertEquals("v1alpha2", version)...
23.12
104
0.787197
1947fb0359da2eaca48cd18efc52ded82dbc51d9
847
package org.symphonyoss.symphony.messageml.markdown.nodes.form; public interface PlaceholderLabelTooltipNode { default String generateMarkdownPlaceholderLabelAndTooltip(String placeholder, String label, String tooltip) { StringBuilder markdownRepresentation = new StringBuilder(); if(placeholder != null ...
26.46875
111
0.624557
043fb34750dd6bda84f8e0cb4ae56a98075fa7e1
14,773
/* Written in 2016 by David Blackman and Sebastiano Vigna (vigna@acm.org) To the extent possible under law, the author has dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See <http://creativecommons.org/pub...
46.602524
134
0.662222
db7a5066591576fa295089fedc639f69e845044b
4,973
package co.matisses.bcs.rest; import java.util.HashSet; import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; /** * * @author dbotero */ @ApplicationPath("res") public class ApplicationConfig extends Application { @Override public Set<Class<?>> getClasses() { ...
58.505882
107
0.746833
5997170b146472ff5d68d88e8bd9675277f1b1de
179
package com.xdag.wallet.ui.activity; import android.app.Activity; /** * Created by wangxuguo on 2018/6/21. */ public class ChangedWalletNameActivity extends BaseActivity { }
16.272727
61
0.759777
5498d39452341da9329098a407532d0126cecd3f
1,025
package com.types; import java.util.NoSuchElementException; /** * Interface to provide queue specific functionality to the implementing class * This interface only defines the functionality which the queue implementing classes require. * Any class having queue behaviour should implement this interface and overrid...
22.282609
99
0.650732
3fdbc46de4215c77fadfc0745e1f0623428e4388
11,279
package io.nuls.poc.utils.thread.process; import io.nuls.base.data.Block; import io.nuls.base.data.BlockExtendsData; import io.nuls.base.data.BlockHeader; import io.nuls.base.data.Transaction; import io.nuls.poc.constant.ConsensusConstant; import io.nuls.poc.constant.ConsensusErrorCode; import io.nuls.poc.model.bo.Blo...
39.575439
251
0.625321
d649de348cc6f858b0ad1ec66ef5822a422449c8
237
package com.codurance.katalyst.kickstart; public class Calculator { public int sum(int... numbers) { int result = 0; for (int number: numbers) { result += number; } return result; } }
19.75
41
0.556962
24c534b1529888254b4bee123e0fe70372bd7831
351
package haw.vs.superteam.gamesservice.api; import haw.vs.superteam.gamesservice.model.Event; import retrofit.Call; import retrofit.http.Body; import retrofit.http.POST; /** * Created by florian on 11.01.16. */ public interface PlayerAPI { @POST("turn") Call<Void> turn(); @POST("event") Call<Void> ...
18.473684
49
0.698006
2cec0c5e9221db048487ff28af88173e25b081c8
10,542
package module; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import java.util...
30.293103
119
0.65424
acee182973dc16021d2b5a2cd87ba04a8a80f01d
6,535
package com.sap.ateam.wsl4cc.rfc; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.sap.conn.jco.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sap.ateam.wsl4cc.Wsl4ccDestination; import com.sap.ateam.wsl4cc.Wsl4ccException; import com.sap.ateam.wsl4cc.handle...
34.57672
135
0.677429
629b4c6b41000e8fd0f4f821c22075c0194a529c
528
package pl.oucik.auth.listeners; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.AsyncPlayerChatEvent; import pl.oucik.auth.OAuth; public class PlayerChatMessageLisener implements Listener { private final OAuth p; public PlayerChatMessageLisener(OAuth p)...
25.142857
69
0.717803
0b1009c8a1cfae0dfd180a85f38f638b19ceb135
2,883
package lkd.namsic.game.creator; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import lkd.namsic.game.config.Config; import lkd.namsic.game.enums.object.SkillList; import lkd.namsic.game.object.Skill; import lkd.namsic.setting.Logger; public class SkillCreator implements Creatable { p...
42.397059
117
0.57787
a114bafa3e12fe9a7fb9a75a08d7e4be0b1ce6e7
1,292
package com.bdoemu.gameserver.model.stats; import com.bdoemu.commons.concurrent.CloseableReentrantLock; import com.bdoemu.core.network.sendable.SMSetSubResourcePoints; import com.bdoemu.gameserver.model.creature.Creature; public class SubResourcePointStat extends Stat { private long subResourcePointCacheCount; ...
34.918919
78
0.642415
64ddaeda92c16ff066b72972e09dbd05a5aba2b3
11,980
package org.dhallj.cbor; import java.math.BigInteger; import java.nio.charset.Charset; import java.util.HashMap; import java.util.Map; /** * An implementation of enough of the CBOR spec to cope with decoding the CBOR values we need for * Dhall. */ public abstract class Reader { /** Only allow symbols that corre...
31.861702
127
0.630384
00ac9acee407fbc6654f000174160770b290d49b
519
package cn.yuyangyang.weixin; import cn.yuyangyang.weixin.service.PassiveReplyService; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class WeixinCqmygApplicationTests { @Autowired ...
22.565217
76
0.755299
988f58413f404061d039d94c63d130755347bc28
2,284
package org.finos.symphony.toolkit.spring.api.factories; import java.util.List; import javax.net.ssl.TrustManager; import org.finos.symphony.toolkit.spring.api.builders.ApiBuilderFactory; import org.finos.symphony.toolkit.spring.api.health.AgentHealthHelper; import org.finos.symphony.toolkit.spring.api.properties.En...
36.83871
147
0.798161
e19555cb26a5a4582fb93cf64ee56dc3c874bdf3
5,091
/* * 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...
29.598837
99
0.65056
d36697298f7623f652077fe0574910c2217472b5
875
package linkedlist; /** * Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val == val, * and return the new head. * Example 1: * * Input: head = [1,2,6,3,4,5,6], val = 6 * Output: [1,2,3,4,5] */ public class RemoveLinkedListElements { //use a pre node...
31.25
120
0.572571
bc4ea365b7c3a4b2ec0e349d90dc51ec719dd83f
299
package com.reversecoder.git.api; public class ConnectionException extends GitApiException { public ConnectionException(final String message) { super(message); } public ConnectionException(final String message, final Throwable cause) { super(message, cause); } }
21.357143
77
0.715719
2fd524c67ac6e6e4491bd12c3009492eb84701c3
6,461
package com.rc.lock.services; import android.app.IntentService; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Build; import android.support.annotation.Nullable; import com.rc.lock.base.AppConstants; import com.rc.lock.db.CommLockInfoM...
36.297753
112
0.60486
aec835086a5485e255caefcc3eb92b12cfb15317
1,868
package cn.jiuyoung; /** * AllPairsPath */ public class AllPairsPath { public static void main(String[] args) { int max = Integer.MAX_VALUE; int[][] l = { { 0, -1, 3, max, max}, {max, 0, 3, 2, 2}, {max, max, 0, max, max}, {max, 1, ...
28.738462
86
0.361349
cd6f5855d7555f9f0c660fced70cb2f76aeb4d61
5,618
package jaredbgreat.dldungeons.pieces.chests; /* * Doomlike Dungeons by is licensed the MIT License * Copyright (c) 2014-2018 Jared Blackburn */ import static jaredbgreat.dldungeons.pieces.chests.LootType.GEAR; import static jaredbgreat.dldungeons.pieces.chests.LootType.HEAL; import static jaredbgreat.dldungeo...
29.108808
100
0.683695
ddb4fdeb3def1b79da880c6e96bb7dde8105ec33
2,348
/** * Copyright (C) 2017 - present McLeod Moores Software Limited. All rights reserved. */ package com.mcleodmoores.analytics.financial.curve.interestrate.curvebuilder; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import com.mcleodmoores.analytics.financ...
33.542857
133
0.783646
5540857ed2d562dcf1fb3dd0653c67f09c5c59e7
671
package rero.dcc; import java.net.ConnectException; import java.net.Socket; public class ConnectDCC extends GenericDCC { protected String server; protected int port; public ConnectDCC(String _server, int _port) { server = _server; port = _port; } public int getPort() { return port; } public String get...
18.135135
51
0.700447
7595e7611137ba36d4b6cb421153ac9bb3914dc8
14,153
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
27.535019
207
0.619586
2b4aaf8e720a2af56b2f949aa25f5fa0c276b56a
2,694
package Model; /** * LoginManager * * Connects with the server of the bank using pin an cartnumber. */ import org.json.*; import java.net.*; import java.nio.charset.StandardCharsets; import java.io.*; public class LoginManager { // Test method for loginManager public static void main(String[] args) { ...
31.325581
107
0.616555
55003bb66fbe1892345eb92d719b55b7aa333345
61
package com.github.nyanyaww.client; public class Client { }
12.2
35
0.770492
c564505ad9398ffa94884ad4271579954fb99317
478
package pay.one.faster.requester.domain.repository; import pay.one.faster.requester.domain.Requester; import pay.one.faster.requester.domain.data.RegisterRequester; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; /** * @author claudioed on 2019-02-23. * Project requester */ public interface...
22.761905
64
0.784519
68a8b01bc9095a10996893638c2871a7da43ac78
77
public class MessagePrinter { public native void printMsg(String msg); }
19.25
44
0.753247
44bac020460cbd4cd4d68b54037592cb7dfbb032
2,167
package org.educama.shipment.process.tasks; import org.camunda.bpm.engine.ProcessEngine; import org.camunda.bpm.engine.runtime.CaseExecution; import org.camunda.bpm.engine.task.Task; import org.educama.shipment.control.ShipmentControlService; import org.educama.shipment.process.ShipmentCaseConstants; import org.spring...
37.362069
116
0.726811
120f646f49cadd0676bc0a1fb7c987845b6f8f63
1,271
package br.eti.arthurgregorio.library.application.jobs; import br.eti.arthurgregorio.library.domain.entities.administration.ActivationStatus; import br.eti.arthurgregorio.library.domain.entities.administration.UserActivation; import br.eti.arthurgregorio.library.domain.repositories.administration.UserActivationReposit...
31.775
111
0.744296
179afebc3037239a9c8e65ac3d54d45d8bdb2b86
599
/* * 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 devman.gui; import java.util.Date; /** * * @author Sergio Flores */ public interface SGuiLogEntryMask { public Da...
23.038462
79
0.701169
00beb16e2c9c4cab2961d720aa23bce247b343f0
825
package com.blackducksoftware.integration.hub.alert.channel.email.template; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Test; public class FreemarkerTargetTest { @Test public void testFreemarke...
25.78125
83
0.694545
827e91ab75a98126ec79c9b8025341daa014401b
67
/** * */ package uk.ac.ox.ndph.mts.role_service.controller.dtos;
13.4
55
0.686567
87b73c3242dd1dad562ef827a11ab55ec5d21e56
1,121
package ch.epfl.sweng.nodes; import java.util.Objects; /** * Represents a variable in Teal. * As Teal does not have variable declarations, only parameters are variables. */ public final class TealVariableNode extends TealNode { /** * The variable's name. */ public final String name; /** ...
21.150943
78
0.58876
a5731584b82b9a02bf2d8bb10d8c65f001e5ad69
4,803
package com.microsoft.windowsazure.notifications; import com.google.android.gms.gcm.GoogleCloudMessaging; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.AsyncTask; import android.preference.PreferenceManager; import android....
31.188312
162
0.746825
a73bcc61391489abd542accff48c160e959c9a77
2,337
package Tests; import Base.ExtentTestManager; import Base.TestBase; import Pages.NotifyCusp; import Pages.SignInPage; import Pages.TopBarSection; import com.aventstack.extentreports.Status; import org.openqa.selenium.WebDriver; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.ann...
30.75
91
0.661104
002e2303e080823c764474c95dec21a17bfdcf40
983
package org.data2semantics.mustard.kernels.data; import java.util.List; import org.nodes.DTGraph; import org.nodes.DTNode; /** * Class to represent graph data that is as one (RDF) graph, with a list of instance nodes in that one graph. * The graph used is a DTGraph, which is a directed multigraph with l...
21.369565
110
0.68057
f6aa100626701c10f5b7b3671416288c3306e2f0
7,497
package thredds.server.wfs; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import thredds.server.config.ThreddsConfig; /** * A writer for a WFS compliant Geospatial XML given a print writer. * Specifically writes the XML for WFS GetCapabilities requests. * * @author wch...
32.881579
142
0.638789
33e9b84a15f0b727ac2172c7c653058f67425d18
175
package daikon.dcomp; /** * Classes implementing this interface have been instrumented by DynComp and have implemented a * clone method. */ public interface DCompClone {}
21.875
95
0.765714
b9db9803ff7188dd46fc278b5e679d9f0ccaa3ba
372
package ultimatetictactoe.bll.game; import ultimatetictactoe.bll.field.IField; /** * * @author mjl */ public interface IGameState { IField getField(); int getMoveNumber(); void setMoveNumber(int moveNumber); int getRoundNumber(); void setRoundNumber(int roundNumber); int getTimePerMov...
14.307692
42
0.701613
af75b0b56dbf6d4bf57f5344f24d5eb0c3d8dda7
592
package interpreter; /** * Command class that, when executed, makes the Turtle visible * @author Sarahbland * */ class ShowTurtleCommand extends Command{ /** * Creates new instance of command, which can be executed at the correct time * @param turtle is turtle who should be made visible */ ...
20.413793
81
0.650338
704ee73961e83eaf99ea10aaf11cb0677dab339e
309
package com.platzi.market.domain.repository; import com.platzi.market.domain.Purchase; import java.util.List; import java.util.Optional; public interface IPurchaseRepository { List<Purchase> getAll(); Optional<List<Purchase>> getByClientId(String clientId); Purchase save(Purchase purchase); }
23.769231
60
0.776699
828f1e8d1a03f0c4f03ecad177f7a5a411fe632e
55,439
package org.linlinjava.litemall.db.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; public class WxGzhUserExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public WxGzhUserExample() { oredCriteria = ...
32.979774
102
0.580151
703c1d3fa35fe9b4cec94794af6ff59b4b254c28
39,757
package com.yandex.metrica; import java.io.IOException; import java.util.Arrays; public interface c { public static final class a extends com.yandex.metrica.impl.ob.d { public f b; public d[] c; public C0023a[] d; public C0024c[] e; public String[] f; public e[] g;...
36.743993
171
0.312649
3281324c16dc058f385aac374ee3bbe2ab61e173
6,050
/** * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * <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 appli...
38.535032
112
0.585455
f6a699b3809bbb4dc0b98ccf5c6696c6dff243c9
149
package domain.usecases.assistent; import domain.entities.Assistent; public interface AddAssistent { void addAssistent(Assistent assistent); }
18.625
43
0.805369
a9a0e14690b24b6cfc68007501ea631995021a39
3,348
package com.github.hollykunge.serviceunitproject.serviceimpl; import com.alibaba.fastjson.JSONObject; import com.github.hollykunge.serviceunitproject.common.UserInfo; import com.github.hollykunge.serviceunitproject.service.IUserService; import com.github.hollykunge.serviceunitproject.service.UserPositionService; imp...
29.892857
93
0.634409
257b9215bab3e42cf3ea9ab9331033d0ef71a7f5
1,825
package bl4ckscor3.discord.bl4ckb0t.module.blackjack; public class Card { private Rank rank; private Suit suit; private boolean cuttingCard = false; /** * Sets this card to be a cutting card */ public Card() { cuttingCard = true; } /** * Initializes a new playing card * @param r T...
14.717742
86
0.540274
2f0fccf20939c1c9ec93c476f5165909a24d2b02
4,529
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.hackprinceton.team9; public final class R { public static final class attr { } public static final class dimen { ...
42.726415
91
0.705233
76d75ddc57192c1ea92dbf21057fb2a827cec4fd
13,871
package com.amily.tycoon.login; import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android...
42.289634
153
0.56492
b715ec2429ec199a981f6f3663ceb7faced31d44
4,437
package p000ai.api.util; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.HashSet; import java.util.Set; /* renamed from: ai.api.util.PartialDate */ public class PartialDate { private static final String UNSPECIFIED_DATE = "uu"; private static final String...
35.782258
118
0.538427
d3d97ba1259ecb4128676ff11d81f90ca6c31bf9
16,872
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
34.859504
192
0.641358
3ddb97583d4d22cfd98336acd4efef5b9a8867a3
8,610
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
27.246835
78
0.634146
525cfcdc877c5d266c37364b7f57a811ef2031d8
687
package com.dmi.gradle.ndkclassic.sample; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; public class HelloActivity extends Activity { static { System.loadLibrary("hello"); } @Override protected void onCreate(Bundle savedIns...
28.625
102
0.720524
b150fb96c21289fed00e14777bf044081209d92f
12,597
package {service.namespace}.utils.sap.netweaver; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.collections4.CollectionUtils; import o...
48.825581
134
0.664761
c1014305a2321ebf8ca2aa8508f6eba943f72226
671
package ca.bc.gov.open.jag.aireviewermockapi.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation....
27.958333
76
0.789866
1e99ff929e795f29f16a28840f79b77a14ff4b75
5,453
/* * 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.652695
89
0.556391
2a113ae915437958111c70af5616cb64aa20981d
1,216
package com.rc.portal.service; import java.sql.SQLException; import java.util.List; import com.rc.portal.vo.CPaymentWay; import com.rc.portal.vo.CPaymentWayExample; import com.rc.portal.vo.TMemberReceiverLatLon; public interface CPaymentWayManager { int countByExample(CPaymentWayExample example) throws SQLExce...
30.4
136
0.818257
fb102c4e50b0b1db3f7b0b4eff11c0935d5300be
797
package com.demkom58.springram.controller.method.result; import com.demkom58.springram.controller.config.SpringramConfigurer; import com.demkom58.springram.controller.message.SpringramMessage; import org.springframework.core.MethodParameter; import org.telegram.telegrambots.meta.bots.AbsSender; import java.util.List;...
33.208333
117
0.81054
58dbfa312e941f6e7949545f4edab2681a76cb82
362
package de.sfn_kassel.FourierPaint; import java.awt.*; import java.awt.image.BufferedImage; /** * Created by robin on 19.07.15. */ public interface IBrush { void applyTo(BufferedImage img, int x, int y); void applyTo(BufferedImage img, int x1, int y1, int x2, int y2); int getSize(); void setSize(...
18.1
68
0.679558
476dc199e04d1f26888c146d546b58761b768bc3
2,467
package controller; import static org.junit.Assert.*; import java.awt.Point; import org.junit.Test; import controller.flightZone.ConvertDecimalDegreesToXYCoords; import controller.flightZone.ZoneBounds; // Add a new test which transforms in both directions accurately! public class CoordinateTransform...
32.893333
124
0.724362
3f994c0344a02fcfa5fecf09a7887baeae2a9208
3,510
/* Derby - Class org.apache.derbyTesting.functionTests.util.Triggers 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...
25.251799
75
0.693732
67ddc9c4581e1052a072bd57162fa0d1bb8639fc
3,909
// Copyright 2016 Google LLC // // 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 ...
38.323529
108
0.733691
0d5c3aba8d6cc68c65b75ea242777c727b592afc
8,852
/** * Copyright Indra Soluciones Tecnologías de la Información, S.L.U. * 2013-2019 SPAIN * * 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...
33.78626
111
0.772594
e3c1e448a9b78116c5eb099d18b0a0c2ec9be4f8
7,562
/** FourthRatings class contains various methods that can be used to get average ratings * (with/without filters) as well as additional helper methods: * * * getAverageRatings and getAverageRatingsByFilter are used to find movies that have required * * number of ratings, and in case with getAverageRatingsByFilt...
35.838863
130
0.573526
095565f055e785f907b11e4a2be5c2d411c3d5e5
192
package com.omnicrola.pixelblaster.gui.fx; import com.omnicrola.pixelblaster.gui.IScreenElement; public interface IElementAffector { void update(IScreenElement screenElement); }
19.2
54
0.786458
a8b59fa94a52876cf28574e8185418d20321fad1
8,217
package com.github.simonpercic.oklog.core; import java.util.ArrayList; import java.util.List; /** * Log data builder. * * @author Simon Percic <a href="https://github.com/simonpercic">https://github.com/simonpercic</a> */ public class LogDataBuilder { // region BodyState public enum BodyState { ...
26.592233
99
0.600219
0c4047f45b8cd5114d87c3de6274e0154542d720
5,576
package monitor.azkaban.checker; import monitor.azkaban.sender.BaseEvent; import monitor.azkaban.sender.SenderEvent; import monitor.azkaban.util.AzkabanMetaUtil; import org.apache.commons.configuration.HierarchicalConfiguration; import org.apache.commons.configuration.tree.ConfigurationNode; import org.apache.commons....
43.224806
149
0.556313
5129a5e71257ce2f372d8f934e9f0c359bcaadc1
4,787
/* * * Coadaptive Heterogeneous simulation Engine for Combat Kill-webs and * Multi-Agent Training Environment (CHECKMATE) * * Copyright 2007 Jeff Ridder * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
30.106918
137
0.564863
46d3240f73bd0f6deef51434a92a2840c26ded48
12,039
package es.upm.fi.oeg.rider.domain; import java.util.LinkedList; import Jama.Matrix; import es.upm.fi.oeg.rider.dataservice.DataService; import es.upm.fi.oeg.rider.domain.mapping.MappingItem; import es.upm.fi.oeg.rider.domain.mapping.MatrixMapping; import es.upm.fi.oeg.rider.domain.ontology.qualitymodel.Inter...
38.340764
122
0.699975
2eae5e496b97a811d8987adb3239c19fadab0146
1,507
package ua.com.zno.online.controllers.utils.error; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.a...
32.76087
98
0.769741
ffcb470b5427d43d5c487e07b266d73c78fb69b8
1,929
package com.feng.webmagic.urlDataConfig; import lombok.extern.slf4j.Slf4j; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @Slf4j public class BlogUrlData { public static final String baseUrl = "https://blog.csdn.net/"; public static final String accountName = "csdnnews"; pub...
33.842105
100
0.641783