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
ba3c77fde7656af24f9e6571262bbf0c0790da0c
427
package top.zenyoung.web.listener; import java.io.Serializable; import java.util.List; import java.util.function.Function; /** * 查询监听器 * * @author yangyong * @version 1.0 * 2020/2/7 2:05 下午 **/ public interface QueryListener<Item, Ret extends Serializable> extends Function<Item, Ret>, PreHandlerListener<Void>,...
18.565217
141
0.669789
30e9c12881a9921f67d23ce6f6da665693f2afb9
1,631
package org.estatio.capex.dom.invoice.payment; import java.math.BigDecimal; import java.util.List; import javax.inject.Inject; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService; import org.apache.isis.applib.annotation.Programmatic; import org.apache.isi...
30.203704
118
0.716738
24cb1ae32087ce37710486b2c8fb5dc1c1f77656
1,902
package seedu.address.calendar.model.event; import seedu.address.calendar.model.date.Date; import seedu.address.calendar.model.util.Interval; /** * Represents an event query which has only start and end dates. */ public class EventQuery extends Interval<Date, EventQuery> { protected Date startDate; protecte...
34.581818
108
0.675605
9ed8d834bd7f480fa63c9187723216817e41fa3f
15,029
package nl.cwi.reo.graphgames; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; imp...
27.177215
108
0.566438
de55f5308f383a7a53ea7d448928465d432a7f94
18,798
// Copyright 2019 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 ...
43.716279
152
0.631982
d9b9ea46513ee8d3d2e008e4e6aa4066e64defc1
2,717
package org.fundamentals.fp.playground.vavr; import io.vavr.Function1; import io.vavr.Function2; import io.vavr.control.Either; import java.util.Optional; import java.util.stream.IntStream; import org.junit.jupiter.api.Test; import static org.assertj.core.api.BDDAssertions.then; public class LiftTest { @Test ...
32.73494
89
0.577475
a8c6ed00e51dde7573a96b177e7ff82fb2f3e603
9,273
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 licenses ...
16.211538
810
0.807614
31d26f4cfe9fc29d0180d1de2e7539aa7866c594
14,192
package com.mypurecloud.sdk.v2.api; import com.fasterxml.jackson.core.type.TypeReference; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.SettableFuture; import com.mypurecloud.sdk.v2.AsyncApiCallback; import com.mypurecloud.sdk.v2.ApiException; import com.mypurecloud.sdk.v2...
37.151832
175
0.685879
9f85539c261574bd7ec3092522d16da3d6632547
2,154
package com.hgys.iptv.controller.vm; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; import java.io.Serializable; import java.sql.Timestamp; import java.util.List; @ApiModel(value = "结算类型-业务级新增VM") public class OrderBusinessWithCPA...
20.514286
62
0.637419
fee9c53a2c821ef7e48b44a948978216862110e7
3,708
/* * Copyright 2016 Carlos Gomez. * * 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 ...
27.264706
91
0.652373
6fadaddeb9dc93e3a4ff9e177fdc7d36c8ba916d
3,646
package com.barassolutions; /** * The AST node for a comparison expression. This class captures common aspects of comparison * operations. */ public abstract class ComparisonExpression extends BooleanBinaryExpression { /** * Create an AST node for a comparison expression. * * @param line line in whi...
28.708661
99
0.642896
fb640e28436b6c344280ac38b147ea4d6e51a380
4,498
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and 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 * in the Software without restriction, including without limitation the r...
40.160714
119
0.785016
d3c8f4af591a7b56bfd822840880565e92932a0f
4,419
package za.co.wethinkcode.wkhosa.app; import java.util.Scanner; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import za.co.wethinkcode.wkhosa.app.controller.ControllerArtifact; import za.co.wethinkcode.wkhosa.app.controller.ControllerDisplay; import za.co.wethinkcode.wkhosa.app.controller.Cont...
34.523438
76
0.596968
aae557fe24def07aa73e8874bb81d5c1733e9626
2,360
package com.github.s4ke.algo2.exercise9; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by Martin on 20.12.2015. */ public class Change { private static class InfiniteList<T> extends ArrayList<...
27.764706
113
0.637288
60dc64be4f24f457bf636c44714807e60dae483f
8,130
import java.io.EOFException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.ru...
22.709497
82
0.601845
0f56eff01b07a4dda5c1f56b81d56b8ed9f820c4
4,882
package uk.ac.imperial.lsds.saber.experiments.benchmarks.yahoo.utils; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executor; import uk.ac.imperial.lsds.saber.hardware.papi.PAPIHardwareSampler; public class Generator { GeneratedBuffer [] buffers; volatile int next; Executor execu...
29.409639
168
0.688038
7873fccc0ba5f067c4c40425aabb617901dbb31a
5,560
// Copyright (c) 2018-2019 K Team. All Rights Reserved. package org.kframework.backend.java.util; import org.kframework.backend.java.symbolic.JavaExecutionOptions; import org.kframework.kore.K; import org.kframework.unparser.KPrint; import org.kframework.unparser.OutputModes; import org.kframework.utils.file.FileUtil;...
37.066667
204
0.626259
0b1c875cda08bfa1e712c7b5dda01604f82d9b92
1,005
/* * TesterLib * * This file was automatically generated for Stamplay by APIMATIC v2.0 ( https://apimatic.io ) on 08/03/2016 */ package org3000.hopto.apimatic.models; import java.util.*; public class ServerResponseBuilder { //the instance to build private ServerResponse serverResponse; /** * Def...
24.512195
108
0.669652
1a4296824ae3ca9dd939736a62507532ceb51031
936
// https://github.com/Utkarsh299-tech import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String s = scan.nextLine(); scan.close(); s = removeLeadingNonLetters(s); if...
24
63
0.492521
2181d58e319560526ef69662b29ef5076578a5a4
7,465
// Copyright 2020 Mavenir // // 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 wri...
42.657143
117
0.760214
dfe670a8a520b1b707c78d55856dcce54900457b
2,412
package uk.nhs.digital.nhsconnect.nhais.inbound.queue; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.hl7.fhir.r4.model.Parameters; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.an...
37.6875
121
0.739635
bd7e1c9433d4bec7159413790370cf5fc916f30f
1,790
package com.telerikacademy.ldstofillFromSession.queque; import java.util.LinkedList; import java.util.Queue; public class QueueSizeSearchFrontExample { public static void main(String[] args) { // Create and initialize a Queue using a LinkedList Queue<String> waitingQueue = new LinkedList...
38.913043
111
0.641341
96d2e265af7a0e8ab187b9d4f2e1b3b694afbf3c
1,345
package com.djekgrif.alternativeradio.network.model; import com.google.gson.annotations.SerializedName; public class PrevSongInfo { @SerializedName("artist") private String artist; @SerializedName("title") private String song; @SerializedName("metadata") private String metadata; @Serializ...
20.378788
52
0.643123
809e41b4a9f160a1799d426d63f39b800be77bd7
605
package org.ovirt.engine.core.common.utils; import org.junit.Test; import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.assertFalse; public class ObjectUtilsTest { @Test public void testObjectsEqual() { Integer ten = new Integer(10); assertFalse(ObjectUtils.ob...
31.842105
68
0.722314
f7271119a9477e31b954e2b0cc50aeee7f78194d
8,020
/* 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 * distribut...
46.091954
169
0.6601
d3608c310a12cefe3e749f6d3a2bba0f0fe28156
10,489
package sample; import javafx.animation.AnimationTimer; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.animation.TranslateTransition; import javafx.beans.binding.BooleanBinding; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import ...
33.404459
163
0.548861
5e297900d1c251d31c7348fc406e91c0f04b092d
75
/** * Data Transfer Objects. */ package com.scibite.gateway.service.dto;
15
40
0.706667
118e644de0dc01de6125ee4b74a5399350af3573
2,776
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
27.215686
78
0.636167
0cc7169d445f8b40a2db8a17ccf85bda5aadfa67
270
/** * Annotations and for handling messages from SImple Messaging Protocols such as STOMP. */ @NonNullApi @NonNullFields package org.springframework.messaging.simp.annotation; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
27
87
0.822222
ed4fdb7193c8c4a6538ba5065555ca889f0808f9
3,223
/* * 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 n...
32.887755
86
0.686938
14f129a7428761ab4bdd1bd1ec1a6d902c47b897
2,683
package com.onpositive.clauses.impl; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import com.ada.model.IParsedEntity; import com.on...
22.931624
102
0.700708
cd43da4e70e37c692e771281aae4eb6d32382b6e
1,114
package hr.fer.tki.optimization.genetic.mutation; import hr.fer.tki.optimization.genetic.individual.IIndividual; import hr.fer.tki.optimization.genetic.individual.IIndividualFactory; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ThreadLocalRandom; public class UniformMutation extends...
33.757576
92
0.705566
7a28ca1e1ef1f33f004eb108402e69b21ac4b565
3,076
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * 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 app...
34.177778
137
0.755202
d1aa2189d07dc2edbcbae85f36fc71e92516402f
1,009
package com.xiao.ex.service; import com.xiao.ex.entity.ExList; import com.xiao.ex.utils.PageObj; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * Created by xiaoting on 2017/9/11. */ public interface ExListService { /** * 查询异常信息 * * @param exList 异常信...
14.838235
64
0.536174
e7c889c60795fb3c62642d2c36a1322207f79eb0
321
package com.example.on_activate; import arez.annotations.ArezComponent; import arez.annotations.Memoize; import arez.annotations.OnActivate; @ArezComponent public abstract class OnActivateBadNameModel3 { @Memoize public int getMyValue() { return 0; } @OnActivate( name = "-f-f-" ) void foo() { } }...
15.285714
45
0.722741
50ff9c601b26ac74c36e4acb16f10510eaa3ba3d
614
package org.sourceforge.uptodater.j2ee; import javax.servlet.ServletContextListener; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContext; /** * Configure in your web.xml. */ public class UpToDaterApplicationListener extends ServletContextRunner implements ServletContextListener { priva...
24.56
106
0.750814
dee14610204f0169defd6a02e5f628920908de6d
1,965
package io.prediction.engines.java.olditemrec; import io.prediction.controller.java.EmptyParams; import io.prediction.controller.java.JavaMetrics; import io.prediction.engines.java.olditemrec.data.Query; import io.prediction.engines.java.olditemrec.data.Prediction; import io.prediction.engines.java.olditemrec.data.Act...
29.328358
92
0.72112
0150fbc4709240c259322579c4e75d271ef16806
5,299
package jadx.plugins.input.java.data.code; import org.jetbrains.annotations.Nullable; import jadx.api.plugins.input.data.ICallSite; import jadx.api.plugins.input.data.IFieldRef; import jadx.api.plugins.input.data.IMethodHandle; import jadx.api.plugins.input.data.IMethodProto; import jadx.api.plugins.input.data.IMetho...
19.553506
67
0.711644
2b95df431dcb7bb1e32266ac24687b64ad48b808
4,019
// // $Id: CssWhiteSpaceTreatment.java,v 1.3 2010-01-05 13:49:56 ylafon Exp $ // From Sijtsche de Jong (sy.de.jong@let.rug.nl) // // COPYRIGHT (c) 1995-2000 World Wide Web Consortium, (MIT, INRIA, Keio University) // Please first read the full copyright statement at // http://www.w3.org/Consortium/Legal/copyright-softw...
25.598726
96
0.697437
b463deae5d29eb2ae52e7ac1cc744fd12b654460
2,100
/* * 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 ...
36.842105
107
0.744286
a9bd24e7af1c61f520b53a09839e2602e38f1502
216
package com.rav.springbootdemo.repository; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; public interface CountryDao<T> { Mono<T> get(String country); Flux<T> getAll(String sortBy); }
18
42
0.773148
92711087d7bcdeb20765d0d7b8a6ba5850033c5d
609
package com.jehon.mall.product.dao; import com.jehon.mall.product.entity.AttrGroupEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.jehon.mall.product.vo.SpuItemAttrGroupVo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** *...
26.478261
122
0.778325
e04a46539038fb5d61dfafb5799ff75d4e6c113f
6,982
/* * 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 ...
31.45045
93
0.598969
a46e8facf0259cfcb42222cae06a242b050acf9d
1,763
package com.tencent.mm.sdk.modelbiz; import android.os.Bundle; import com.tencent.mm.sdk.b.h; import com.tencent.mm.sdk.modelbase.BaseReq; import com.tencent.mm.sdk.modelbase.BaseResp; import com.xunlei.xiazaibao.sdk.XZBDevice; public class CreateChatroom { public static class Req extends BaseReq { publi...
27.984127
96
0.634146
caf1b0b613c57eb1334a06aebdbd9d7f6a7ad6d1
2,682
package me.jntalley.parstagram; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import and...
33.111111
95
0.661074
429ad9c30b986ede0e1e54ab4c2c01154e1ec530
4,108
/* * Copyright 2019 Arcus 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 law or agreed to ...
35.111111
131
0.695716
9156acf71d6fee7b92c8478966285c984dae8711
1,358
package uk.co.onemandan.materialtextviewsample; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; import uk.co.onemandan.materialtextview.MaterialTextView; public class Sample extends AppCompatActivity { @Override protected void...
31.581395
82
0.613402
04d61b98ec0b1554dcada1d6ea76e812a0a29287
1,925
package ua.com.juja.rybakov.sqlcmd.controller.command; import ua.com.juja.rybakov.sqlcmd.model.DatabaseManager; import ua.com.juja.rybakov.sqlcmd.viuw.View; import java.sql.SQLException; //TODO Потрібно віддати клієнту import static ua.com.juja.rybakov.sqlcmd.controller.command.ParseCommand.parseCommand; public cla...
30.078125
103
0.587532
55ac3153b000e352b0f8e33fc51393da99c3bbe0
12,361
package org.ohdsi.drugmapping.preprocessors.aemps; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ohdsi.drugmapping.DrugMappingPreprocessor; import org.ohdsi.drugmapping.files.DelimitedFileRow; import org.ohdsi.drugmapping.files.XMLFile.XMLNode; ...
44.146429
258
0.676887
c42cf858bf0f1fb9b96bc6a6ef7133b821c9ca6b
1,974
package org.fan.teat.security.config.security.handler; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.fan.teat.security.dto.ResultDto; import org.fan.teat.security.dto...
37.961538
97
0.779635
a15956d0ca15af27e60b91d877c1b2318936aeb5
276
package usuarios; import java.util.UUID; public class Teste { public static void main(String[] args) { String uniqueID = UUID.randomUUID().toString(); System.out.println(uniqueID); //System.out.print("\nEnter month and year to calculate income (MM/YYYY): "); } }
18.4
79
0.702899
730d942d0ee3d16932ea8d60919f138c06ea528c
2,745
package org.rr.mobi4java.exth; import static org.junit.Assert.assertEquals; import java.io.IOException; import org.junit.Test; import org.rr.mobi4java.EXTHRecordFactory; public class ISBNRecordDelegateTest { private static final String ISBN13_WITH_HYPHEN = "978-3-12-004811-4"; private static final String ISBN...
33.47561
85
0.794536
25379c62deca1997eeb330da9cd2d2d0e8173217
5,512
/** * Copyright 2018 Ricoh Company, 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 agree...
33.609756
123
0.605769
261e3d3853050b24c23ca34bbda6b763df74a5ff
6,474
/* * Copyright 2017 Koma * * 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 wri...
30.394366
123
0.652302
219060bc72132c07414e947de4c4a76d3a4a0218
5,151
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
47.256881
126
0.724908
b12bd3c4c3cfe600727389f0d125714b09dc3cba
256
package com.example.liyuchen.ui.epidemic; public class EntityInfoLayout { public String name; public String content; public EntityInfoLayout(String _name, String _content) { this.name = _name; this.content = _content; } }
21.333333
60
0.6875
34d8b466d31ca5675700da488a2406c3bd2395e7
45,754
package org.nrg.containers.services.impl; import com.google.common.base.Function; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.nrg.containers.api.ContainerControlApi; import org.nrg.containers.ev...
49.732609
187
0.652315
38c1c298d5bf84e926efb496a49d72d51948862f
309
/* * Copyright 2020 (C) Magenic, All rights Reserved */ package com.magenic.jmaqs.utilities.helper.functionalinterfaces; /** * No param, no output functional interface. */ @FunctionalInterface public interface Action { /** * invokes the functional interface when called. */ void invoke(); }
16.263158
64
0.705502
4691ba801392cbed36d15cd6bfb81787565630c8
1,818
package mondrian.xmla.context; import mondrian.xmla.XmlaUtil; import java.sql.Types; import static mondrian.xmla.constants.XmlaHandlerConstants.*; public class Column { public final String name; public final String encodedName; public final String xsdType; public Column(String name, int type, int ...
27.969231
77
0.541804
ee85c92645934d4a4065fc1866431b4f77dbe191
2,208
package com.github.antoinecheron.todomvc.restapi.controllers; import org.reactivestreams.Publisher; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.Pat...
42.461538
124
0.815217
779c5227aeea1915a49b25560d662012c5c62a78
23,193
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ===============================================...
48.520921
155
0.551718
8edc7244af90f6f2285b8369659d9a2b4d97a5b4
4,425
/* Copyright 2015, 2016 Tremolo Security, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
31.382979
234
0.752994
6dbcacc9cd5a58a332d8a8395daf237426e9eb62
329
package com.ampro.robinhood.endpoint.authorize.data; /** * Class declaring the return structure so Gson can handle parsing the JSON * @author Conrad Weisse */ public class Token { private String token = null; public String getToken() { return this.token; } @Override public String toString() { return this.tok...
19.352941
75
0.729483
96b0f5867f67b6eb9af66c618cf054a54da098ec
1,752
package com.jn.agileway.http.rest; import com.jn.langx.http.rest.RestRespBody; import com.jn.langx.util.function.Function; import com.jn.langx.util.function.Functions; import com.jn.langx.util.function.Mapper; import com.jn.langx.util.function.Predicate2; import java.util.Map; public class GlobalRestResponseBodyMapp...
33.056604
103
0.704338
fdf928a161091a5878932006369aa1e92ae70b83
721
import java.util.Objects; public class Employee { private final int employeeNo; private final String employeeName; public Employee(int employeeNo, String employeeName) { this.employeeNo = employeeNo; this.employeeName = employeeName; } @Override public boolean equals(Object obj) { if (this == obj) { ...
21.205882
67
0.722607
a0ddef204b5bdb1532643755371ffd71aa7f6193
1,176
package team.hulu.cms; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Crite...
28.682927
80
0.723639
5be7a909082021b468993ec8a28bb2f309b2852f
5,411
package org.mdolidon.hamster.core; import java.io.File; import org.apache.commons.io.FileUtils; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializ...
26.655172
107
0.669932
74f66d0d9600f7d32e36cfdf9bac0f90c4fa900f
2,454
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
36.626866
94
0.734719
a1e1547f7f73b85d6a3794328389f47def85e60e
1,129
package com.onelogin.saml2.exception; /** * Top-level exception class for the OneLogin SAML client. */ public class SAMLException extends Exception { private static final long serialVersionUID = 1L; /** * Construct a SAMLException with the provided error message. * * @param message * ...
25.659091
79
0.64039
60c50540aa225b7a0c8445a0df8da579795a093c
12,604
/* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community 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://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
39.264798
166
0.632022
06b2e543b2b6b71aaf95c6cbb4b2a0deba03fbcb
1,150
package tiams.action; import java.io.IOException; import org.apache.log4j.Logger; import org.apache.struts2.ServletActionContext; import org.apache.struts2.convention.annotation.Namespace; import org.apache.struts2.convention.annotation.ParentPackage; import tiams.util.ExceptionUtil; import com.alibaba.fastjson.JS...
25.555556
80
0.764348
b7c5d8de1f242ca10c20ba92f9b3d21f01628769
1,947
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.api.trace; import static org.assertj.core.api.Assertions.assertThat; import io.opentelemetry.context.Context; import io.opentelemetry.context.Scope; import org.junit.jupiter.api.Test; class SpanTest { @Te...
27.814286
70
0.69697
56f8acbc11efd636de8aa0e2225d33eb03b8e4f8
672
package com.structurizr.analysis; import com.structurizr.model.Component; public class IgnoreDuplicateComponentStrategy implements DuplicateComponentStrategy { /** * @param component the existing Component object * @param name the new component name * @param type the new component ...
35.368421
132
0.712798
d97afacffd70b5f320fb05f9d08d8835c3c78486
1,401
package com.unclezs.kafka; import com.unclezs.kafka.config.KafkaConfig; import org.apache.kafka.clients.CommonClientConfigs; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.consumer.KafkaConsumer; import org.junit.AfterC...
29.1875
114
0.733762
31c554d7d03065d66b33b1724feaaae50eb747ab
2,171
package com.vanco.abplayer.adapter; import java.util.List; import com.nostra13.universalimageloader.core.ImageLoader; import com.vanco.abplayer.DonghuaActivity; import com.vanco.abplayer.R; import com.vanco.abplayer.TVActivity; import com.vanco.abplayer.VideoInfoActivity; import com.vanco.abplayer.model.AreaItem; imp...
26.802469
85
0.757255
c5b80f3a862fdae4ae784a549ff386b6c64e0b56
2,546
package com.weather.xiaota.xiaotaweather.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by gaohuang on 2016/8/13. */ public class WeatherOpenHelper extends SQLiteOpenHelper { // 表名 public static final String ...
41.064516
111
0.664572
a24e70bad1a4d49295be4eaecbff47777bf2e5b2
100
package biz.webgate.maven.TIFFWangeAnnotationProcessor.TestSuite; public class WangAnnotation { }
16.666667
65
0.84
96ea65cf7cc8656a0db6f29085d456be7d5e1dcf
7,983
/* * * Somado (System Optymalizacji Małych Dostaw) * Optymalizacja dostaw towarów, dane OSM, problem VRP * * Autor: Maciej Kawecki 2016 (praca inż. EE PW) * */ package gui.formfields; import datamodel.Order; import datamodel.OrderItem; import gui.GUI; import gui.IconButton; import gui.ImageRes; import gu...
29.349265
125
0.606163
4ea4b40030dd8fb6b5e399115dd48770f761e4e9
543
package com.profitera.descriptor.rpm; /** * * * @author jamison */ public interface Treatable { public String getCurrentLocation(); public Integer getCurrentActionType(); public Long getStageId(); public Object getId(); public Integer getCurrentPlanActionStatus(); public int getDaysAtCurrentPlanActionStat...
24.681818
52
0.78453
b2cc4768d42cd7ec0677ab0b1c94c1eaeb5caeff
761
package com.nghinv.beddingsellintroduce.common.annotation; import com.nghinv.beddingsellintroduce.common.validator.PhoneValidator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; im...
33.086957
71
0.796321
5546a47d31c08d60d758007de1479855ead0b664
407
package com.kkensu.www.imagepager.event; import com.kkensu.www.imagepager.model.ImageData; public class PageEvent { private ImageData imageData; public PageEvent(ImageData imageData) { this.imageData = imageData; } public ImageData getImageData() { return imageData; } publi...
19.380952
51
0.687961
79348968309c4501e4597e95cfc48c6176304ede
385
package com.celeste.library.spigot.exception.particles; public final class ParticlesException extends RuntimeException { public ParticlesException(final String message) { super(message); } public ParticlesException(final String message, final Throwable cause) { super(message, cause); } public Part...
21.388889
74
0.753247
24240c1169be4c099f4fdc66a4f015a444865325
11,849
package net.minecraft.client.gui.screen; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import com.google.gson.JsonIOException; import com.google.gson.stream.JsonWriter; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.serialization.DataResult; impor...
45.926357
215
0.673728
7a2bd1b806ea52265a790d01fd4cf2e142aff7b1
1,704
package silveira.caio.commom; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Lazy; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authentication.builders....
32.769231
107
0.801056
749326cbf13821a793cc2bb1eeebeecf586ddd2b
1,977
package com.tomclaw.githubrepos.dto; import android.os.Parcel; import android.os.Parcelable; import androidx.annotation.NonNull; import com.google.gson.annotations.SerializedName; import java.util.Objects; /** * Created by solkin on 20/01/2018. */ public class Repo implements Parcelable { @NonNull privat...
21.725275
88
0.610015
d1b27b2ac6daa8131ecfaafbd744aa658d13d338
1,334
package com.rideaustin.report; import java.time.Instant; import javax.inject.Inject; import com.google.common.collect.ImmutableMap; import com.rideaustin.repo.dsl.RideReportDslRepository; import com.rideaustin.report.adapter.DefaultReportAdapter; import com.rideaustin.report.adapter.ReportAdapter; import com.rideaus...
33.35
107
0.811094
9c37114c3d3b5dfed1635943bf0ad52567453811
1,791
package com.someco.repo.service.impl; import java.io.Serializable; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.alfresco.service.cmr.repository.ChildAssociationRef; import org.alfresco.service.cmr.repository.NodeRef; import org....
33.166667
240
0.796203
435ccd83503c62bfe384aea4a876a8990f959f6c
397
package com.github.nikolaymakhonin.utils.rx; import com.android.internal.util.Predicate; import rx.observables.ConnectableObservable; public abstract class ConnectableObservableRemovable<T> extends ConnectableObservable<T> { protected ConnectableObservableRemovable(OnSubscribe<T> onSubscribe) { super(onS...
28.357143
90
0.793451
7c1406510cf4f7e7b239a346f41e36594944706f
1,749
package marubinotto.piggydb.model.fragment; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import marubinotto.piggydb.model.entity.RawFragment; import org.apache.commons.lang.text.StrBuilder; import org.junit.Test; public class MakeContentHeadlineTest { private RawFragment ...
27.328125
75
0.727273
39d58c596942b7cc5d6aab7b699678c40e7c849e
11,922
/** * Appia: Group communication and protocol composition framework library * Copyright 2006 University of Lisbon * * 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...
29.220588
121
0.679165
6a71bb4fa6a1f38b867e6dbd748195ad63cd74c6
2,566
/* * Copyright (c) 2015-2018, David A. Bauer. 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 requir...
33.324675
102
0.759548
9033fd093b755250c044f5e603c951e7a355e22a
523
package com.explore.exam; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan(basePackages = {"com.exp...
27.526316
68
0.793499
7cbf45bc3069c3ceb10308ecd50747f57e9fcf2d
20,578
/* * Copyright 2004 Outerthought bvba and Schaubroeck nv * * 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 app...
36.550622
149
0.648071
cc6d8350f5275e90adfefcb1a83b14ad5db28682
2,330
package com.studiofive.wallpaperapp.Adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.studiofive.wallpaperapp.Models.Collection; import com.studiofive.wall...
30.25974
104
0.682403
0705b6a3555b84e8b054d671537bbd880d0808f7
1,997
package es.upm.miw.apaw_practice.domain.services.football; import es.upm.miw.apaw_practice.domain.models.football.FootballPlayer; import es.upm.miw.apaw_practice.domain.persistence_ports.football.FootballPlayerPersistence; import es.upm.miw.apaw_practice.domain.persistence_ports.football.MatchPersistence; import es.up...
43.413043
161
0.745118
b13fc635a85da42ac7da4ad1dc877bcb6a6f7bc1
9,662
/** * 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...
44.731481
120
0.631029
6a058467cf2d551790d2b5d098b72819cd85e037
1,304
package com.google.android.gms.internal.ads; import java.io.IOException; public final class zzdso extends zzdrr<zzdso> { /* renamed from: c */ public Integer f28239c = null; /* renamed from: d */ public String f28240d = null; /* renamed from: e */ public byte[] f28241e = null; /* renam...
25.076923
64
0.519172
864e15b1e5760bf918e0985fb1291e88087d01ae
297
package es.capitol.comercio.repository; import org.springframework.data.jpa.repository.JpaRepository; import es.capitol.comercio.domain.Products; /** * @author Harold Adrian Bolaños Rodriguez * * */ public interface ProductsRepository extends JpaRepository<Products, Long> { }
21.214286
76
0.754209
63fea5b4336071b3794f2319b607a769be071f1a
8,898
package com.algorithms.geneticalgorithm; import java.io.IOException; import java.util.Random; /** * GeneAlgorithm * * @author luolong * @date 2015-7-13 下午5:37:21 */ public class GeneAlgorithm { private int[] v = { 220, 208, 198, 192, 180, 180, 165, 162, 160, 158, 155, 130, 125, 122, 120, 118,...
27.045593
119
0.442122
6dfcdd81826ad7dc5497edc7a7cc94f5ade61429
704
package com.edination.api.rap.Dao; import com.edination.api.rap.model.ConditionCodeDetail; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface Conditio...
46.933333
211
0.803977