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 |
|---|---|---|---|---|---|
292f3dd89af64e94f19d21e6319d9632148b99c2 | 1,380 | package com.example.designpattern.AbstractFactoryPattern;
import com.example.designpattern.AbstractFactoryPattern.AbstractFactory;
import com.example.designpattern.AbstractFactoryPattern.color.Blue;
import com.example.designpattern.AbstractFactoryPattern.color.Color;
import com.example.designpattern.AbstractFactoryPat... | 32.857143 | 72 | 0.731884 |
7d85db3df042097939854cc660c20bf0cffb986e | 15,641 | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.calcnode;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertNotNull;
impo... | 57.503676 | 159 | 0.765936 |
da0b088f17bcdd190d3fc48bb7604de1f629bc41 | 1,638 | package io.wttech.markuply.engine.starter;
import io.wttech.markuply.engine.MarkuplyAutoConfiguration;
import io.wttech.markuply.engine.pipeline.http.processor.BaseHttpPageProcessor;
import io.wttech.markuply.engine.pipeline.http.repository.BaseHttpPageRepository;
import io.wttech.markuply.engine.renderer.missing.Miss... | 34.125 | 109 | 0.807082 |
b2ccf4a5d703e3ab8f83838c658c3307d7fbb860 | 7,754 | /*
*
* @version: $Id$
*/
package org.gridsphere.services.core.security.role.impl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.gridsphere.portlet.service.PortletServiceUnavailableException;
import org.gridsphere.portlet.service.spi.PortletServiceConfig;
import org.... | 39.764103 | 156 | 0.644184 |
30ad981e4f4c33a0c42028c5d41be15d2d6db228 | 12,437 | package com.dianping.cat.consumer.state.model.transform;
import static com.dianping.cat.consumer.state.model.Constants.ATTR_AVG;
import static com.dianping.cat.consumer.state.model.Constants.ATTR_AVGTPS;
import static com.dianping.cat.consumer.state.model.Constants.ATTR_BLOCKLOSS;
import static com.dianping.cat.consum... | 35.636103 | 732 | 0.645413 |
3ac033e65ce4517347adb235aa5c7c164631158e | 759 | package com.ideal.flyerteacafes.adapters;
import java.util.List;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
public class ViewpagerBiaoQingAdapter extends FragmentPagerAdapter {
private List<Fragment> fmList;
pub... | 23.71875 | 80 | 0.69697 |
698001b6b462bc8641e3a756310a50aa0be11a96 | 403 | package de.otto.synapse.configuration.aws;
import de.otto.synapse.testsupport.LocalS3Client;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import software.amazon.awssdk.services.s3.S3Client;
@Configuration
public class S3TestConfiguration {
@Bea... | 23.705882 | 60 | 0.7866 |
44b55d533c60d42772aeac7517c52cfb90f6b68c | 917 | package com.company;
import java.util.Scanner;
public class exam04_Workout {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = Integer.parseInt(scanner.nextLine());
double km = Double.parseDouble(scanner.nextLine());
double totalKM = km;
... | 25.472222 | 87 | 0.533261 |
6c55f8f15c13afb8404a6949a4511b047d9c3b0f | 246 | package uz.support.v14.app.index;
import uz.support.v14.app.content.ContentSectionFragment;
public class IndexContentSectionFragment extends ContentSectionFragment {
@Override
public boolean isContent() {
return false;
}
}
| 20.5 | 73 | 0.752033 |
dc26837e7f6c8edd944c957d3217dfb2558678da | 2,016 | package io.tafl.engine.board.impl;
import io.tafl.engine.board.Board;
import io.tafl.engine.board.PieceType;
import io.tafl.engine.board.Point;
import io.tafl.engine.rules.Rules;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
public class BrandubhBoard extends Board {
private stati... | 36 | 85 | 0.59127 |
5157bbb1d32c4310f4d2bc3cd0d98646c1aad7ef | 425 | package jeevsspring.spring.poker.manager.lobby;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@EnableEurekaClient
@SpringBootApplication
public class LobbyManagerApp {
publ... | 30.357143 | 68 | 0.816471 |
1e69896d972941b92354db33723f59b04ecbb061 | 7,743 | package ca.uhn.fhir.jpa.packages;
import ca.uhn.fhir.interceptor.api.IInterceptorService;
import ca.uhn.fhir.jpa.dao.data.INpmPackageDao;
import ca.uhn.fhir.jpa.dao.data.INpmPackageVersionDao;
import ca.uhn.fhir.jpa.dao.r4.BaseJpaR4Test;
import ca.uhn.fhir.jpa.interceptor.PatientIdPartitionInterceptor;
import ca.uhn.f... | 43.745763 | 325 | 0.793491 |
31158c631e5ee7d2d0008de2433765c65dc13086 | 7,668 | /*
* Copyright 2013, The Sporting Exchange Limited
* Copyright 2015, Simon Matić Langford
*
* 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/LICENS... | 38.34 | 142 | 0.745436 |
60bcfcc67167ce7452e514e956b98e1cab0afe76 | 7,641 | /**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package versioned.host.exp.exponent.modules.api.components.svg;
import javax.annotation.Nullable;
import andr... | 31.444444 | 105 | 0.575448 |
e6cf93a8d86b16160e1c48ebf6ac0f4b43760631 | 1,064 | package offer;
import org.junit.Test;
import util.TreeUtil;
import util.adt.BinaryTreeNode;
import static org.junit.Assert.*;
import static util.CopyUtils.setLeft;
import static util.CopyUtils.setRight;
public class FindBinaryTreeIsBalancedTest {
@Test
public void isBalanced() throws Exception {
Bin... | 24.744186 | 71 | 0.656015 |
1942c6bc497e9fcc35533c16d300895200ea28ad | 4,260 | /*
* Copyright (C) 2021 The Authors of CEL-Java
*
* 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 o... | 35.206612 | 98 | 0.676056 |
e632c9094121a2471d1c2ae904ea934a47d30a9a | 19,056 | /**
* @author ISC. Israel de la Cruz Hdez.
* @version 1.0, Date: 27/Ago/2009
*
*/
package mx.gob.municipio.centro.view.controller.sam.requisiciones;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import j... | 53.378151 | 440 | 0.69978 |
83b28da24162dc7c1c28488b4cb2b65601a49aa2 | 86 | package ru.job4j.xoGame.io;
public interface Output {
void write(String text);
}
| 14.333333 | 28 | 0.72093 |
ebbe3b462dee05bc1122f910e3db5610d1aed1f8 | 2,122 | package il.ac.technion.ie.potential.model;
import com.google.common.collect.HashBiMap;
import il.ac.technion.ie.model.Block;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
i... | 37.892857 | 115 | 0.721489 |
087593b37659e15868fd14aa6c950f25d31ba950 | 6,884 | package com.neaniesoft.myweather.weather;
import android.Manifest;
import android.app.Activity;
import android.content.pm.PackageManager;
import android.location.Location;
import com.neaniesoft.myweather.data.model.CurrentWeather;
import com.neaniesoft.myweather.data.model.entities.Clouds;
import com.neaniesoft.mywea... | 37.617486 | 111 | 0.732278 |
c908c105562393802bd057c9b86d9b4fdb604984 | 130 | package com.ociweb.pronghorn.util.ma;
public interface RunningStdDevListener {
public void process(RunningStdDev stdDev);
}
| 18.571429 | 46 | 0.792308 |
58954a41172951c0259647cf832caabd9f83d9eb | 10,678 | /*
* 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")... | 39.695167 | 184 | 0.663046 |
0cf4f807388848489dae98da4ae33db533a123f0 | 26,226 | package org.apache.calcite.test;
import org.apache.calcite.adapter.hustle.*;
import org.apache.calcite.plan.*;
import org.apache.calcite.rel.*;
import org.apache.calcite.schema.*;
import org.apache.calcite.sql.*;
import org.apache.calcite.tools.*;
import org.junit.*;
import static org.junit.Assert.fail;
import java.u... | 64.279412 | 271 | 0.445245 |
410b38d325dfee7c3fa954df04ea43a97ec1f514 | 191 | package nl.rwslinkman.fragmentnavigator;
import android.app.Activity;
@Deprecated
abstract public class NavigatorActivity extends Activity {
abstract public Navigator getNavigator();
}
| 21.222222 | 58 | 0.816754 |
ed9bfc337a081b0f51060bf3213c584e10271c52 | 301 | package com.eiben.test.rxmvp.model.source;
import com.eiben.test.rxmvp.model.User;
/**
* Created by liumingrui on 16/9/18.
*/
public class UserDataSource implements IUserDataSource {
@Override
public User getUser() {
return new User("liumingrui","liumingrui@yongche.com");
}
}
| 21.5 | 63 | 0.700997 |
b34a639d612a0ee3cbb3327f75463957e3e62bc6 | 1,181 | package com.iahsnil.yasuo.manage.service.impl;
import com.iahsnil.yasuo.manage.service.UserService;
import com.iahsnil.yasuo.manage.entity.UserInfo;
import com.iahsnil.yasuo.manage.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... | 22.283019 | 62 | 0.707028 |
08dbdd02e1e6498477c469759fa5e154b152e868 | 11,110 | /*
* Copyright 2008, Unitils.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 copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
* law or agreed to in writing, softwa... | 39.119718 | 185 | 0.649865 |
6c67beb762bd9e46b43df2b05259e399f35b4c14 | 1,810 | package com.asiainfo.restful.model;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
*
* @Description: A Var holds information of a method argument.
*
* @author zq
* @date 2017年10月13日 上午10:42:48
* Copyright: 北京亚信智慧数据科技有限公... | 26.231884 | 83 | 0.675691 |
e3918bb2f3f878da5198ee52b9e815e86c90b3bd | 1,333 | package pt.up.fe.els2021.functions;
import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.OptBoolean;
import pt.up.fe.els2021.Table;
import java.util.ArrayList;
import java.util.List;
public record TrimFunction(@JacksonInject(value = "0", useInput = OptBoolean.TRUE) int offse... | 31 | 121 | 0.625656 |
97416af5c7763a470bdfce90b7cdf718fd0bb22b | 3,086 | package email.com.gmail.cosmoconsole.forge.photoniccraft.tileentity.rendering;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class TileEntityFluorescentLightModel extends ModelBase {
ModelRenderer Shape21;
Model... | 35.068182 | 106 | 0.627997 |
7e18027a57dccb29e11a5fb2a4836437d0ce095d | 9,100 | package com.hobbymatcher.controller.event;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... | 33.579336 | 108 | 0.69022 |
f8a606a29425952c790e5878d6282effcab53c36 | 1,920 | /*
* Copyright 2015 Alastair Wyse (http://www.oraclepermissiongenerator.net/oraclepermissiongeneratorandroid/)
*
* 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.apac... | 33.103448 | 108 | 0.748438 |
b4b98ada4d90519765a6b128e87687afa1a69a9e | 2,868 | package com.eiokey.ui.views.dialog;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.view.View;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import androidx.databinding.DataBindingUtil;
import... | 23.508197 | 155 | 0.693863 |
cba8b4f68ee07b2e300a09373ffbded690369543 | 7,169 | 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 ... | 14.997908 | 810 | 0.794393 |
146cbb1eb3eb996bc4975421eb1c5e637b2a2d16 | 429 | package com.codereligion.flux;
public final class ConfigurationException extends RuntimeException {
private static final long serialVersionUID = 1;
public ConfigurationException(String message) {
super(message);
}
public ConfigurationException(String message, Throwable cause) {
super... | 21.45 | 68 | 0.706294 |
48bb60359369c38739dd7426395dbfda33444967 | 5,071 | package com.example.melis.alarmuygulamasi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.widget.AdapterVi... | 37.014599 | 135 | 0.676395 |
17f5128232a92160f29197a10bfae7583d8ee752 | 746 | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.siyeh.ig.fixes.cloneable;
import com.siyeh.ig.IGQuickFixesTestCase;
import com.siyeh.ig.cloneable.CloneReturnsClassTypeInspection;
/**
* @author Bas Leijdekkers
*/... | 32.434783 | 140 | 0.757373 |
54aded2e13c1d0f42145babdeede0c35ce8b3c69 | 8,559 | //Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xsl
package com.spon.utils.sc.forms;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
... | 21.505025 | 112 | 0.656969 |
f7c0c3e96926298151fceb5b1023a1c80a7e2fe1 | 1,025 | package it.italiancoders.mybudget.service.security;
import it.italiancoders.mybudget.dao.user.UserDao;
import it.italiancoders.mybudget.model.api.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.secur... | 37.962963 | 111 | 0.757073 |
99ab4ed69a1ab632a3eb2bc83bab90f6640e70ad | 223,766 | package org.im97mori.ble.characteristic.u2b4b;
import static org.im97mori.ble.BLEUtils.BASE_UUID;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import android.bluetooth.BluetoothGatt... | 54.764072 | 120 | 0.769313 |
8685efd84dce55755be4093b2a9f7132892ced64 | 2,652 | package org.uma.jmetal.experimental.componentbasedalgorithm.example.multiobjective.moead;
import org.uma.jmetal.experimental.componentbasedalgorithm.algorithm.multiobjective.moead.MOEADDE;
import org.uma.jmetal.util.termination.impl.TerminationByEvaluations;
import org.uma.jmetal.problem.doubleproblem.DoubleProblem;
i... | 36.833333 | 98 | 0.730015 |
0f20a4fcc4051a2bc5414e901368acfd9d00ef4c | 1,157 | package org.sualk.fpgrowth;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
public class FrequentPattern {
private List<String> items = new ArrayList<>();
private Integer supportCount;
private Double support;
private static final String DELIMITER = ",";
public FrequentPatt... | 20.298246 | 77 | 0.713051 |
6eb626cc79a36b4d333b038d960ba0bf0fac447a | 423 | package me.giraffetree.java.boomjava.java.nio.jdknio;
/**
* @author GiraffeTree
* @date 2020/7/22
*/
public abstract class ServerException extends RuntimeException {
public ServerException(String message) {
super(message);
}
public ServerException(String message, Throwable cause) {
sup... | 20.142857 | 64 | 0.676123 |
bd71d661456a532009a0b1110b458442ca3287ca | 8,482 | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.configserver.certificate;
import com.yahoo.net.HostName;
import com.yahoo.vespa.hosted.node.admin.configserver.ConfigServerApi;
import com.yahoo.vespa.hosted.... | 44.642105 | 161 | 0.714926 |
6a5321ae237e239f9051a0b9aa176110e6d51115 | 1,183 | /***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource
* 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
... | 28.853659 | 93 | 0.744717 |
cf6f679d92a5e2de159811b3f6518a74945270ef | 7,843 | /**
DERT is a viewer for digital terrain models created from data collected during NASA missions.
DERT is Released in under the NASA Open Source Agreement (NOSA) found in the “LICENSE” folder where you
downloaded DERT.
DERT includes 3rd Party software. The complete copyright notice listing for DERT is:
Copyright © ... | 30.756863 | 112 | 0.761061 |
663be5f571b91de70be65948db46fd439594c080 | 4,438 | /*
* 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 not ... | 37.294118 | 100 | 0.689725 |
6b3e658441b92a4b96e0d0d31159b04fce475969 | 2,295 | package com.github.jinahya.bit.io;
/*-
* #%L
* bit-io2
* %%
* Copyright (C) 2020 Jinahya, 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/lic... | 31.013514 | 101 | 0.682353 |
f66cfd9820d7ea2af336f53e80a72a2512c56860 | 9,305 | package org.jacp.misc;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.stream.IntStream;
import static org.junit.Assert.assertTrue;
/**
* Created by Andy Moncsek on 11.12.15.
*/
public class SplittingTest {
@Test
public void testSimpleSplit() {
split();... | 31.016667 | 91 | 0.501988 |
f6fb64ddfae6cbbac8daee382d97ef6071678e71 | 435 | package io.acari.handler.http.api;
import com.google.inject.Inject;
import io.vertx.core.Vertx;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class APIPageArchiveHandler extends APIBaseArchiveHandler {
private static final Logger LOGGER = LoggerFactory.getLogger(APIPageArchiveHandler.class);
@... | 24.166667 | 92 | 0.77931 |
082e490aca6a4c419d73699da47931678be0f64e | 1,999 | package by.instinctools.bogdevich.testing.pageobject;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import by.instinctools.bogdevich.testing.utils.TestDataProject;
public class CreateProject {
//private WebDriver driver = AppManager.DRIVER;
public static CreateProject createProject;
public... | 32.241935 | 117 | 0.788894 |
9e5a8a93a45e76c6bcbf00418f98a90916f4a1df | 3,724 | /**
* This class is generated by jOOQ
*/
package org.jooq.test.oracle3.generatedclasses.tables;
/**
* This class is generated by jOOQ.
*
* An m:n relation between books and book stores
*/
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class T_BOOK_TO_BOOK_STORE extends org.jooq.impl.Table... | 41.377778 | 252 | 0.780881 |
01fa84459cc82eeca7cc37269ed262facd6f607c | 1,626 | package com.example.storeapi.db;
import com.example.storeapi.model.Item;
import java.util.List;
import java.util.stream.Collectors;
public class DatabaseA implements Database{
private List<Item> items;
public DatabaseA(List<Item> items){
this.items = items;
}
@Override
public List<Item>... | 24.636364 | 87 | 0.567036 |
3d650e915f0db557797e951794f61e3ac0d98806 | 34,641 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.10.... | 36.349423 | 131 | 0.489507 |
e86f5c67172d4571a78fdb3fb98d7c61a4442a03 | 10,703 | /*
* Copyright 2016 Erik Wramner.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 33.977778 | 172 | 0.62646 |
f871410f25a044f08d7e61acd8b7cec2d4886d6a | 7,473 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020... | 26.881295 | 124 | 0.569785 |
f687c0bee4fea7d481bfead49a54d6340dba7a29 | 302 | package com.app.crimereporting;
public class Core {
public static final String SITE_URL = "https://tech4all.com.ng/projects/crime-reporting/";
public static final String API_URL = SITE_URL+"api.php";
public static final String IMG_URL = "https://www.federalpolyede.edu.ng/passport/Reg";
}
| 37.75 | 94 | 0.745033 |
7fba6f86d1c038026bb5bd4f98a0582c20aced6d | 2,826 | package de.jonashackt.controller;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.jonashackt.businesslogic.IncredibleLogic;
import de.jonashackt.model.*;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | 41.558824 | 148 | 0.728592 |
c46d8328a101456c2699740774355f4c04ab393d | 5,747 | package com.ettrema.http.fs;
import com.bradmcevoy.http.Auth;
import com.bradmcevoy.http.CollectionResource;
import com.bradmcevoy.http.CopyableResource;
import com.bradmcevoy.http.DigestResource;
import com.bradmcevoy.http.LockInfo;
import com.bradmcevoy.http.LockResult;
import com.bradmcevoy.http.LockTimeout;
import... | 33.805882 | 135 | 0.630416 |
cf5b1fa26a990e56d7fc2b83f03a9d63d18076d2 | 583 | package adminroute.domain.request;
public class DeleteRouteRequest {
private String loginId;
private String routeId;
public DeleteRouteRequest() {
//Default Constructor
}
public DeleteRouteRequest(String routeId) {
this.routeId = routeId;
}
public String getLoginId() {
... | 18.21875 | 47 | 0.631218 |
e832a213a05044d8729c907ebd210d9ee44242de | 1,159 | package com.zrk.leetcode.easy.RemoveDuplicatesfromSortedArray;
/**
* Create By zhurongkun
*
* @author zhurongkun
* @version 2018/1/19 18:11 1.0
* @time 2018/1/19 18:11
* @project leetcode com.zrk.leetcode.easy.RemoveDuplicatesfromSortedArray
* @description Given a sorted array, remove the duplicates in-place su... | 29.717949 | 135 | 0.631579 |
51f4a449b55bd43e06f5cc903658522ca3bd1e31 | 398 | package de.daxu.guice.config;
import org.reflections.Reflections;
import java.util.Set;
class ConfigurationLocator {
private final Reflections reflections;
ConfigurationLocator(Set<String> packages) {
this.reflections = new Reflections(packages);
}
Set<Class<?>> findAllConfigurations() {
... | 20.947368 | 70 | 0.728643 |
b1b1b2cb08be5fb667d2cf0d41e5a3fc67ec18af | 37,568 | /*
* $Id$
*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribut... | 31.543241 | 79 | 0.657741 |
51a84e9bc44820fa286147706a48aacfc60e7012 | 9,367 | // ========================================================================
// Copyright 2004-2005 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | 39.690678 | 108 | 0.514039 |
a4ac9deffd7f1434acccf1a3410294576691c02a | 6,950 | package org.drools.base.extractors;
import java.lang.reflect.Method;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectOutput;
import java.io.ObjectInput;
import org.drools.base.ValueType;
import org.drools.common.InternalWorkingMemory;
import org.drools.spi.AcceptsReadAccessor... | 36.387435 | 104 | 0.620863 |
cfaeda7bf8ba14456d2f48bfb53b45991fd00d2e | 3,606 | package com.bboutet.listeclients.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import com.bboutet.listeclients.model.Client;
import com.bboutet.listeclients.repo.ClientRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.htt... | 32.781818 | 102 | 0.758181 |
5485c1c3dc521f645de353760d5570c12eba3993 | 902 | package net.bestofcode.Facebook.service;
import lombok.AllArgsConstructor;
import net.bestofcode.Facebook.model.User;
import net.bestofcode.Facebook.persistence.forms.RegistrationFormData;
import org.springframework.stereotype.Service;
@Service
@AllArgsConstructor
public class RegistrationService {
DatabaseServi... | 30.066667 | 79 | 0.678492 |
7df2be71b58cde02562c6f6a275cb0a9bf0c8243 | 2,550 | /*
* Copyright 2014 toxbee.se
*
* 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... | 28.021978 | 75 | 0.679608 |
3b15a800b8995f3c3276c1d02bf7c5589c365a4f | 2,295 | package com.navercorp.pinpoint.plugin.mongo;
/*
* Copyright 2018 NAVER Corp.
*
* 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... | 32.785714 | 92 | 0.652723 |
78a966d375fbee8a486d4bfa5d882c70025bd932 | 1,255 | package com.game.tictactoe.areas.users.services;
import com.cyecize.summer.common.annotations.PostConstruct;
import com.cyecize.summer.common.annotations.Service;
import com.game.tictactoe.areas.users.entities.Role;
import com.game.tictactoe.areas.users.enums.RoleType;
import com.game.tictactoe.areas.users.repositorie... | 26.702128 | 66 | 0.690837 |
6e8518c545804b99516174b795042d780229b6ed | 3,163 | package cn.jzvd.demo.Tab_3_List;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.view.MenuItem;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import com.bumptech.glide.Glide;
import java.util.LinkedHa... | 32.947917 | 150 | 0.685109 |
71b47c1ebde6f9472ec2020d43d6493e8d5d8bdb | 1,048 | package com.alphawallet.app.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.Nullable;
import com.alphawallet.app.R;
import com.alphawallet.app.repository.EthereumNetworkBase;
public class Network... | 28.324324 | 78 | 0.742366 |
9f7d4c173c9bc3e4494194f11e288eeb3a9bcdf5 | 13,156 | /*
* 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 ... | 34.896552 | 120 | 0.692992 |
3f42c6c9cf84b1d01eff7830f6c475377e26c5b5 | 1,026 | /*
* Copyright (C) 2011 SVI.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 17.1 | 75 | 0.679337 |
26f48c10c82ab7287bcd8e608ac35c4b2d4779de | 6,941 | package com.sanesedu.memorableplaces;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Criteria;
import android.location.Geocoder;
import android.location.Location;
import android.location.Location... | 36.340314 | 284 | 0.66172 |
c20a0e77a57beb970f14b9492517644ebe6e8a35 | 2,329 | package de.uos.igf.db3d.dbms.newModel4d;
/**
* This class represents a 4D Tetrahedron object.
*
* @author Paul Vincent Kuper (kuper@kit.edu)
*/
public class Tetrahedron4D implements Element4D {
/* ID of the points */
private int IDzero;
private int IDone;
private int IDtwo;
private int IDthree;
/* ID of s... | 20.429825 | 78 | 0.653929 |
5f753e2ad40b7dce19bb4a6e8c19cd95b2e674c4 | 15,739 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2009 by Red Hat Inc and/or its affiliates or by
* third-party contributors as indicated by either @author tags or express
* copyright attribution statements applied by the authors. All
* third-party contributions are distributed under li... | 33.993521 | 119 | 0.71739 |
b93792100bc1fce30ab9c429c080ea28f8dd878f | 2,861 | package frc.robot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.PWMVictorSPX;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj.drive.MecanumDrive;
import edu.wpi.first.wpilibj2.command.button.JoystickButton;
import edu.wpi.first.wpilibj.Talon;
public class Robot extends Tim... | 29.193878 | 85 | 0.712338 |
a97ab18bf9bc32e6806f0c1bf77719bbe22e777c | 138 | public class RearrangementTest11
{
// FIELDS:
// FINAL FIELDS:
final int i;
public final int k;
// NON-FINAL FIELDS:
int j;
}
| 13.8 | 32 | 0.644928 |
964d31eb954fb326bc0248ba794dc6e100736dc9 | 867 | package com.github.ssullivan.model;
import com.google.common.base.Preconditions;
public class GeoRadiusCondition {
private GeoPoint geoPoint;
private double radius;
private GeoUnit geoUnit;
public GeoRadiusCondition(GeoPoint geoPoint, double radius,
GeoUnit geoUnit) {
this.geoPoint = Preconditions... | 24.771429 | 87 | 0.726644 |
99b4359225296185964cc8048823143081e7e205 | 1,404 | package features.revision;
import java.io.*;
import java.util.*;
import extractors.data.Answer;
import extractors.data.DataNode;
import extractors.data.ExtractionModule;
import extractors.data.Feature;
import features.revision.Revision.KeystrokeRevision;
import keytouch.KeyTouch;
/**
* This class produces a csv of ... | 22.645161 | 99 | 0.710826 |
2d32ca4d76d18a737a82f7e5a601b03d89523caf | 21,782 | /*
* 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 ma... | 42.626223 | 328 | 0.612754 |
fe21ccf95afbfdef1d3bc61b871526d2df66876f | 2,755 | package com.feelj.lean.english.word.service.impl;
import com.feelj.lean.english.word.common.PageListData;
import com.feelj.lean.english.word.dao.WordEnglishMapper;
import com.feelj.lean.english.word.dto.WordView;
import com.feelj.lean.english.word.entity.WordEnglish;
import com.feelj.lean.english.word.service.WordEngl... | 28.402062 | 94 | 0.696552 |
3d86552cd03ffa2391f4fc5e669300b2303ac2a8 | 275 | package hoja1;
public class Ejercicio13 {
public static void main(String[] args) {
System.out.println("Dame dos números para ver si son amigos");
System.out.println(MisMetodos.amigos(InputData.readInt(), InputData.readInt())?"Son amigos":"No son amigos");
}
}
| 21.153846 | 111 | 0.712727 |
cec4c18ba57445d47b04d83dab18174b0729387d | 3,178 | /**********************************************************************
Copyright (c) 2010 Tom Zurkan and others. 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.... | 31.465347 | 98 | 0.535872 |
dc6bcd1ee7945c6136e151e47e9750545cb00267 | 2,366 | package ru.bortexel.floatinggenfix.mixin;
import net.minecraft.block.BlockState;
import net.minecraft.structure.StructureStart;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.*;
import net.minecraft.util.registry.Registry;
import net.minecraft.world.StructureWorldAccess;
import net.minecraft.worl... | 42.25 | 198 | 0.744717 |
673ade4ba2f720599e1f4fcd793a6a9bbf4779ba | 4,313 | package b.p.b;
import androidx.appcompat.widget.ActivityChooserView;
import b.p.b.a0.b;
import b.p.b.a0.c;
import b.p.b.a0.g;
import b.p.b.a0.i;
import b.p.b.a0.j.d;
import b.p.b.a0.j.t;
import b.p.b.a0.k.p;
import java.lang.ref.WeakReference;
import java.net.CookieHandler;
import java.net.Proxy;
import java.net.Proxy... | 28.375 | 105 | 0.551588 |
f7cfd0d968255a2ee7670625554c959f192da70c | 10,325 | package com.feasycom.feasyblue.dfileselector.util;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.provider.Settings;
import android... | 31.099398 | 126 | 0.585375 |
177e7c9dda1482e956ae81317b437b3478d01771 | 3,431 | /*
* #%L
* *********************************************************************************************************************
*
* NorthernWind - lightweight CMS
* http://northernwind.tidalwave.it - git clone git@bitbucket.org:tidalwave/northernwind-rca-src.git
* %%
* Copyright (C) 2013 - 2021 Tidalwave s.a.s.... | 38.122222 | 120 | 0.551151 |
f5c0be9acab4853ca7b5d25d6ceeea88935759bd | 2,134 | package dk.statsbiblioteket.user.tra.apt;
import dk.statsbiblioteket.user.tra.model.Task;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.*;
import static java.lang.Boolean.TRUE;
/**
*
*/
public class MemoryRepositoryTest {
public... | 31.382353 | 128 | 0.632615 |
bf14ba04414cae7dbd05e4a3f0d06d0d42665cb7 | 2,762 | package com.cheng.listener;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.FloatControl;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.SourceDataLine;
import com.cheng.core.ADPCM;
import ... | 26.056604 | 97 | 0.691166 |
72bde5939236b92a8c84d157624a4c314eba0dc3 | 4,222 | /*
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.graalvm.compiler.hotspot;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
i... | 30.374101 | 134 | 0.623875 |
e3aabcdc82bce32456365f348c1ecb80ef8055d2 | 35,842 | /**
* 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... | 32.495014 | 118 | 0.568216 |
10200c1ff21014b5cae40af7f82faeb042178bad | 4,564 | /*
* JBoss, Home of Professional Open Source
* Copyright 2010 Red Hat Inc. and/or its affiliates and other
* contributors as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a full listing of
* individual contributors.
*
* This is free software; you can redistri... | 39.344828 | 201 | 0.745618 |
39cf8f6ffa33a61962caf95c0f849998732ae3b6 | 2,590 | /*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 32.78481 | 168 | 0.674517 |
9c3b1a461e7181640f954014295cc79aa9bb7321 | 3,211 | package strategypatterntshirt;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import strategypatterntshirt.paymentmethods.CashPayment;
import strategypatterntshirt.paymentmethods.CreditDebitCard;
import strategypatterntshirt.paymentmethods... | 33.447917 | 154 | 0.61445 |
24137ba0af2a5d7afc620724f2566af31d8cb04a | 328 | package de.innovationhub.prox.companyprofileservice.application.exception;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class ApiError {
@NotNull private int status;
@NotNull private String error;
@NotNull private String mes... | 21.866667 | 74 | 0.817073 |
4c015c100744e76df3372dd942a99309071ff54f | 944 | package com.xiaojuchefu.prism.monitor.model;
import com.google.gson.annotations.SerializedName;
import com.xiaojuchefu.prism.monitor.PrismConstants;
import java.util.HashMap;
public class EventData {
@SerializedName("eventTime")
public long eventTime;
@SerializedName("eventType")
public int eventTyp... | 28.606061 | 138 | 0.70339 |
2d3628ee2bd0522ce9f8bd698c59b8f0b8eeb17b | 319 | /* AxisLabelAlign.java
Purpose:
Description:
History:
Oct 12, 2011 11:59:59 AM, Created by henri
Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.poi.ss.usermodel.charts;
/**
* @author henri
*
*/
public enum AxisLabelAlign {
LEFT, //"l"
CENTER, //"ctr"
RIGHT; //"r"
}
| 13.869565 | 58 | 0.661442 |
f9117f376768bd16916c73bdc9c1fe7e173a437c | 5,143 | package com.raon.androidworldcup;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.appcompat.a... | 32.757962 | 134 | 0.594983 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.