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 |
|---|---|---|---|---|---|
0e480e59c716de853c216fa0f86ffd4e90109909 | 2,842 | package com.qsd.bookstore.po;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.qsd.bookstore.dao.CommodityDao;
import com... | 20.897059 | 67 | 0.721323 |
941957c6b212bd459d0c80218bd4232f302a827b | 2,173 |
package com.attehuhtakangas.nightmode;
import android.app.UiModeManager;
import android.content.Context;
import android.support.annotation.Nullable;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
im... | 31.492754 | 98 | 0.652554 |
fbbdd56157bec013e7e7268ab41a85b3469fa3f4 | 798 | package org.lpw.photon.ctrl.context;
import java.io.IOException;
import java.io.OutputStream;
/**
* 输出适配器。
*/
public interface ResponseAdapter {
/**
* 设置类容类型。
*
* @param contentType 类容类型。
*/
void setContentType(String contentType);
/**
* 设置头信息。
*
* @param name 名称。
... | 15.056604 | 46 | 0.52005 |
07b4c70c71750a9489f0701eddb2bcfcfb198d72 | 2,127 | package com.duy.pascal.interperter.declaration.lang.types;
import com.duy.pascal.interperter.ast.expressioncontext.ExpressionContext;
import com.duy.pascal.interperter.ast.runtime.value.RuntimeValue;
import com.duy.pascal.interperter.ast.runtime.value.boxing.ArrayBoxer;
import com.duy.pascal.interperter.linenumber.Lin... | 32.227273 | 92 | 0.617301 |
aae229eb50204734716ceaa5028ef3e10f126a38 | 3,105 | package org.icatproject.ids.integration.two;
import static org.junit.Assert.assertEquals;
import java.util.Arrays;
import org.icatproject.ids.integration.BaseTest;
import org.icatproject.ids.integration.util.Setup;
import org.icatproject.ids.integration.util.client.DataSelection;
import org.icatproject.ids.integrati... | 34.5 | 94 | 0.779388 |
e1e8792735f7855252968cb00203ae84129c41b8 | 7,175 | /**
*/
package sql;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see sql.SqlPackage
* @generated
*/
public interface SqlFactory extends EFactory {
/**... | 25.087413 | 72 | 0.588711 |
5da56a7cf3d050c3ab259cbd427b6c2cc95a6dce | 9,243 | package org.oagi.score.repo.component.code_list;
import org.jooq.*;
import org.jooq.types.ULong;
import org.oagi.score.gateway.http.api.code_list_management.data.CodeListState;
import org.oagi.score.service.common.data.CcState;
import org.oagi.score.repo.api.impl.jooq.entity.tables.records.BccpManifestRecord;
import o... | 49.962162 | 134 | 0.633561 |
759a41a98a3f71a3c065786b92cb5de85348b46a | 812 |
package org.company.controllers;
import com.sdl.webapp.common.api.model.page.PageModelImpl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;
import static com.sdl.webapp.common.controller.RequestAttributeNa... | 27.066667 | 80 | 0.724138 |
6b3ac4dc16b11af0c60a0cb8fb566b7fc38afd14 | 1,991 | /*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | 28.855072 | 105 | 0.670015 |
67976a31107c7e554f37a2bcec9a5888e969c474 | 276 | package world.biome;
import java.awt.Color;
/*
BenjaminWilcox
Dec 5, 2016
GNGH_2
*/
public class Desert extends Biome
{
public Desert()
{
name = "Desert";
type = 4;
color = new Color(255, 209, 114);
text = "~";
}
}
| 12.545455 | 41 | 0.525362 |
0f3c39e79cfbded9953aeb86631a79babf64f73f | 1,732 | /* Copyright © 2021, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.sas.ci360.agent.impl;
import java.util.Properties;
import org.json.JSONObject;
import com.sas.ci360.agent.PostEventCallback;
import com.sas.ci360.agent.cache.IdentityCache;
import com... | 34.64 | 116 | 0.772517 |
1be69294f95eb08d751629bbd181728372d7af74 | 690 | package com.mgc.letobox.happy.domain;
import android.graphics.Bitmap;
import android.support.annotation.NonNull;
/**
* Created by DELL on 2018/8/15.
*/
public class BitMapResponse implements Comparable<BitMapResponse> {
private int id;
private Bitmap bitmap;
public int getId() {
return id;
... | 18.648649 | 67 | 0.633333 |
08de85774c3486c9adc084dfe5f8e3b778dba01b | 8,890 | package chuangyuan.ycj.videolibrary.source;
import android.content.Context;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.util.Base64;
import android.util.Log;
import com.google.android.exoplayer2.upstream.AssetDataSource;
import com.google.android.exoplayer2.upstream.ContentDataSo... | 43.793103 | 254 | 0.650281 |
eb2adcd294cbc2c079e6a7652717d32ca91b72e4 | 2,168 | /**
*
* Copyright 2017 Florian Erhard
*
* 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 applica... | 29.69863 | 96 | 0.759225 |
0e8031222bade664621a6becda485200c21a6575 | 28,579 |
package carrental;
import javax.swing.JOptionPane;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.table... | 49.189329 | 189 | 0.600616 |
534efe17e9782607984e4cf7335047dbe1285f85 | 3,999 | /**
* Copyright (C) 2016 LinkedIn Corp.
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable l... | 39.205882 | 119 | 0.712178 |
9246daa47dd5dd9c9f8cc21accc861cc9a4ed837 | 2,811 | /*
* Copyright © 2022 DATAMART 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 t... | 43.246154 | 116 | 0.745286 |
fdd14d5072bd28533970dabe04c9b523b1241ca1 | 1,525 | package com.creche.crecheapi.entity;
import com.creche.crecheapi.exception.TipoTelefoneNaoExisteException;
import com.creche.crecheapi.request.TelefoneRequest;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstruc... | 31.770833 | 80 | 0.748197 |
61d59afb06efa7cd5e3b7fd6a05776f79388cac7 | 252 | package youdu.com.imoocsdk.module.emevent;
import java.util.ArrayList;
import youdu.com.imoocsdk.module.monitor.Monitor;
/**
* @author: vision
* @function:
* @date: 16/6/13
*/
public class PauseEvent {
public ArrayList<Monitor> content;
}
| 14.823529 | 49 | 0.714286 |
421da3e258b0553b0818fa1d9798e28d925e235d | 10,819 | /*
* Copyright 2017 EntIT Software LLC, a Micro Focus company, L.P.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 50.793427 | 661 | 0.663093 |
d895a2daffb0345bc0f998f0f8c08f0648204e84 | 7,288 | package org.n3r.eql.util;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.Cleanup;
import lombok.SneakyThrows;
import lombok.val;
import org.n3r.eql.config.EqlConfig;
import org.n3r.eql.map.EqlRun;
import javax.sql.DataSource;
import java.sql.PreparedStatement;
import java... | 36.994924 | 101 | 0.657656 |
5bc308d9bc68ffcbb1b92a1795f3d644ef8ccb91 | 397 | package com.example.customer.application.business.exception;
@SuppressWarnings("serial")
public class ExistingCustomerException extends RuntimeException {
private final String identity;
public ExistingCustomerException(String message, String identity) {
super(message);
this.identity = identit... | 23.352941 | 71 | 0.722922 |
d318f14e512ae335bcec78ba35f1fe527e1eaf3f | 8,504 | /*
* Copyright (c) 2012 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.db.client.model;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.net.URI;
import java.util.Date;
/**
* Object storage... | 26.08589 | 139 | 0.659572 |
060d8444e360aab8c976d2ae9c05e24dcedde281 | 2,490 | package uk.ac.cam.cl.pico.data.session;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
import org.junit.Test;
import uk.ac.cam.cl.pico.crypto.AuthToken;
import uk.ac.cam.cl.pico.crypto.SimpleAuthToken;
import ... | 24.9 | 93 | 0.669478 |
7edc8037edfc38f96383ee24025b0576deeb7837 | 1,315 | package eg.edu.alexu.csd.oop.jdbcTests;
import java.io.File;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import org.junit.Test;
import eg.edu.alexu.csd.oop.jdbc.Driver;
import eg.edu.alexu.csd.oop.jdbc.TestRunner;
public class TestCo... | 32.073171 | 91 | 0.702662 |
6ffbbf78f90034fb7ca2114fcb89c7917d08537a | 6,333 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* C E D A R
* S O L U T I O N S "Software done right."
* S O F T W A R E
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright (c) 2013 Kenneth J. Pronovici.
*... | 40.858065 | 104 | 0.672193 |
cc601147714d69d3e83b2f0181f5526aa9753205 | 4,149 | /*
* Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fo... | 40.281553 | 108 | 0.66498 |
c1b18614276abd590f96917fe85ec6d9ebb9393a | 39,449 | /*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 42.281886 | 102 | 0.567594 |
ff4f947b4944a2f706b98c709c55701fb8249177 | 900 | package cn.gson.oasys.threadExample.suanfa;
import java.util.Stack;
/**
* 描述
* 用两个栈来实现一个队列,分别完成在队列尾部插入整数(push)和在队列头部删除整数(pop)的功能。
* 队列中的元素为int类型。保证操作合法,即保证pop操作时队列内已有元素。
*
* 示例:
* 输入:
* ["PSH1","PSH2","POP","POP"]
* 返回:
* 1,2
* 解析:
* "PSH1":代表将1插入队列尾部
* "PSH2":代表将2插入队列尾部
* "POP“:代表删除一个元素,先进先出=>返回1
* "PO... | 20.454545 | 57 | 0.564444 |
fcd00e1de66c6278d8ac92505482edcac17d238c | 2,616 | //
// 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: 2018.06.... | 26.693878 | 122 | 0.636468 |
296cbbeff4aea0581672db365c4310adbb95ef75 | 2,210 | package org.tarantool.jdbc.type;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.JDBCType;
import java.sql.NClob;
/**
* Describes supported JDBC types that match
* Tarantool SQL types.
*
* Skipped unsupported types are
* numeric types {@link JDBCType#NUMERIC}, {@link JDBCType#DECIMAL};
* date types ... | 29.466667 | 87 | 0.697285 |
e6dd189fee074462fd24be5628802afce20566d1 | 2,825 | package com.ruoyi.project.mbkj.systemtransactionlog.domain;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 交易记录对象 ... | 20.925926 | 71 | 0.60354 |
cdcfef2c829dfc90f547a73d7609f8e7b96a3f9d | 17,315 | /*
* 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 ... | 28.762458 | 171 | 0.619232 |
1966cdf4dc88991e93f81fb34fb073447edc04f4 | 2,672 | package io.appium.uiautomator2.http;
import java.util.List;
import java.util.logging.Level;
import io.appium.uiautomator2.http.impl.NettyHttpRequest;
import io.appium.uiautomator2.http.impl.NettyHttpResponse;
import io.appium.uiautomator2.utils.Logger;
import io.netty.channel.ChannelFutureListener;
import io.netty.ch... | 37.111111 | 125 | 0.716317 |
d75fa5e4830785ac1dacc135cfb4e114c3d42f05 | 2,361 | package mod.acgaming.smava.init;
import mod.acgaming.smava.Reference;
import mod.acgaming.smava.entity.SmavaCreeperEntity;
import mod.acgaming.smava.utils.ConfigurationHandler;
import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntitySpawnPlacementRegistry;
import net.minecraft.entity.Entity... | 42.160714 | 171 | 0.817027 |
e7cd7c2a513af47dec8acc8f3a27455daf898251 | 4,647 | // Copyright (c) 2018-2019 Amit Green. All rights reserved.
package link.crystal.Capital.Format;
import java.lang.String;
import link.crystal.Capital.Core.Capital_StringBuilder;
import link.crystal.Capital.Core.Zone;
import link.crystal.Capital.Format.ArgumentSegmentFormatter_Inspection;
import link.crystal.Capit... | 34.93985 | 117 | 0.467829 |
031cb8da49f249363535158845ffcf1affe389f2 | 2,818 | package com.lp.techDemo.metaq.producer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.lp.techDemo.http.message.MessageEntity;
import com.lp.techDemo.message.provider.MessagePublisher;
import com.lp.techDemo.metaq.entity.M... | 37.573333 | 104 | 0.721079 |
f8003b8f88774312157419b1193e51f8492ca85c | 648 | package bank.customer;
import java.util.LinkedList;
import java.util.List;
import bank.products.Account;
import bank.products.Credit;
public class BusinessCustomer {
private String name;
private List<Account> accounts;
private List<Credit> credits;
public BusinessCustomer(String name) {
this.name = na... | 12.96 | 41 | 0.695988 |
be29b8c0930645365efc3255234cbb0c2b534c2b | 2,728 | package com.chickenkiller.upods2.models;
import com.chickenkiller.upods2.interfaces.IMediaItemView;
import com.chickenkiller.upods2.utils.GlobalUtils;
import java.util.ArrayList;
/**
* Created by Alon Zilberman on 7/3/15.
* Basic class for any media item, can be show in feature screen.
*/
public abstract class Me... | 24.8 | 119 | 0.641862 |
1c5df24a14168f421300fc86a95ba90ab1f7c81d | 1,542 | package com.atguigu.gmall.psm.service.impl;
import io.seata.spring.annotation.GlobalTransactional;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplu... | 33.521739 | 110 | 0.724384 |
62ccc5b78e773f9ada0273a830888ddab6e4c2ec | 21,472 | /*
* Copyright 2019-present HiveMQ GmbH
*
* 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... | 41.292308 | 147 | 0.672411 |
9017429d9cc55b9745997504f190520420a68e05 | 1,508 | /*
* 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 ... | 31.416667 | 100 | 0.757958 |
237639ddb6c432c6e0d835b4ca02db3c2ca27dc5 | 1,333 | package net.mdln.englisc;
import androidx.test.espresso.IdlingResource;
import java.util.ArrayList;
/**
* An {@link androidx.test.espresso.IdlingResource} implementation that is idle only if
* {@link MainActivity} does not have any pending searches. This way {@link MainActivityTest} can
* be sure that when it sea... | 29.622222 | 97 | 0.63916 |
36f9d95f87cc4db9152289c7fff670640a692164 | 767 | package koks.module.world;
import koks.api.event.Event;
import koks.api.registry.module.Module;
import koks.api.registry.module.ModuleRegistry;
import koks.event.CanBlockPlaceEvent;
@Module.Info(name = "AlwaysPlace", description = "You can place inside you", category = Module.Category.WORLD)
public class AlwaysPlace ... | 25.566667 | 110 | 0.698827 |
a4f8cecbbef699b1eb05739c10fb634d0c4b9b80 | 4,092 | package co.colector.network;
import android.content.Context;
import android.util.Log;
import com.squareup.otto.Bus;
import com.squareup.otto.Subscribe;
import co.colector.model.ImageRequest;
import co.colector.model.ImageResponse;
import co.colector.model.request.GetSurveysRequest;
import co.colector.model.request.L... | 33.268293 | 110 | 0.592864 |
7104767f902b8230dca1602a8d9ee6c8633b5520 | 48,027 | /*
* Copyright 2014 Goldman Sachs.
*
* 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 ... | 29.719678 | 205 | 0.601308 |
636b82c0f562ea7c233b8962d914ed6dbea10408 | 5,675 | package com.zoomulus.speakeasy.sdp.messages;
import java.net.URI;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.Optional;
import lombok.Value;
import lombok.experimental.Accessors;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.google.common.net.MediaT... | 31.353591 | 129 | 0.599295 |
7694d64abee35bbe469d58727e8d3c580a8ace6c | 21,231 | /*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | 41.385965 | 168 | 0.56149 |
3f9678909fc7e7698ad1e44f9f84afa88d5b34ff | 409 | package io.exeqt.engine.execution.conversion;
/**
* Responsible for performing conversion between sql specific types to java
*
* @author anatolii vakaliuk
*/
@FunctionalInterface
public interface SQLValueConversion<R> {
/**
* Converts {@code source} to target type
*
* @param sqlValue sql value t... | 22.722222 | 75 | 0.694377 |
2ae254c61aa749176a5c371def86b5f462844492 | 7,207 | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
* <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
* <p/>
* http:/... | 33.365741 | 131 | 0.611211 |
cb72af929ae42759d9143b3507539a2639c8de5a | 1,989 | package collection_framework;
import java.util.*;
public class AssetImple implements Asset{
Collection linkedList=new LinkedList();
Collection collection=new ArrayList();
@Override
public void removeLastAsset() {
System.out.println("Involked removeLastAsset");
LinkedList list=(LinkedList)linkedList;
... | 20.090909 | 57 | 0.711413 |
52f52c28bcc9b1c812ee32b0b5758f153fee33e9 | 325 | package ar.com.kfgodel.function.arrays.boxed.ints.arrays.boxed;
import ar.com.kfgodel.function.arrays.boxed.ints.arrays.ArrayOfBoxedIntegerToArrayOfObjectFunction;
/**
* Date: 29/07/17 - 19:57
*/
public interface ArrayOfBoxedIntegerToArrayOfBoxedByteFunction extends ArrayOfBoxedIntegerToArrayOfObjectFunction<Byte> ... | 29.545455 | 121 | 0.827692 |
652ecaf3ea92bbdb9825c5fffcaf1ad8ea51b365 | 998 | package stsutil.cardimagescreator;
import java.io.File;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
try {
CardImagesCreator cardImagesCreator = new CardImagesCreator();
File folder = new File("cards");
File[] listOfFiles =... | 28.514286 | 97 | 0.509018 |
85bd3bc722f74badc2b56817f49322920a150200 | 11,885 | class jcxR17B {
}
class de {
public boolean Ry2X_lM7 () {
boolean GHaObzYFPBURMy = new UAq().gJZw9j;
while ( !( -false[ -new int[ -!WLi4J().WoZwP]._BkYmw()])[ !!!--!true[ -new byh().F_6RAjsJbhNLk]]) while ( !this.ScAsiviJWNr) ;
void u0ktWkqDOGj = new V()[ iB3oES().OrKWMAqp()];
!... | 36.682099 | 254 | 0.473117 |
ac42ed7cc54ef8052c69d3831560b7767539f721 | 1,015 | package com.mapper.xiaoqu;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.model.FK_Community;
@Mapper
public interface XiaoQuMapper {
/*
@Select("SELECT * FROM UserTest WHERE NAME = #{name... | 30.757576 | 118 | 0.70936 |
3f6254195a5fb42fdf1df3dce6b194435ffe654a | 3,117 | /*
* 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: ... | 26.87069 | 91 | 0.643568 |
aab53f5d28cb6fbfffd3d28a24e66ed61ab85629 | 420 | import java.util.Scanner;
public class Lista0103 {
public static void main(String[] args) {
Scanner ler = new Scanner(System.in);
float nota1;
float nota2;
float nota3;
nota1 = ler.nextFloat( );
nota2 = ler.nextFloat( );
nota3 = ler.nextFloat( );
Sy... | 24.705882 | 101 | 0.561905 |
35c16642af0539383ee6b618fc76d03b6075a4da | 4,109 |
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.bu... | 24.170588 | 97 | 0.605743 |
a0d954342c1b0600e773f58c837cb962da730434 | 950 | package com.rafa.cursojava.exerciciosLista01;
import java.util.Scanner;
/**
*
* @author Raphaa JP
*/
public class Exer11 {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
System.out.println("Informe um numero: ");
int num1 = scan.ne... | 23.75 | 59 | 0.528421 |
fb2cb44e91b57207d0a2513bfd7f5d5143774c37 | 561 | package uk.gov.pay.api.validation;
import javax.inject.Inject;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
public class ReturnUrlValidator implements ConstraintValidator<ValidReturnUrl, String> {
private URLValidator urlValidator;
@Inject
public Retur... | 26.714286 | 88 | 0.768271 |
972f31d4b00f82831330ede0f4a8a9dec081890b | 5,259 | package org.biopax.paxtools.controller;
import org.biopax.paxtools.model.BioPAXElement;
import org.biopax.paxtools.model.BioPAXLevel;
import org.biopax.paxtools.util.IllegalBioPAXArgumentException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.IOException;
impo... | 26.695431 | 116 | 0.724092 |
53783f7b614b0d9921fdc313001bee2138691c35 | 17,755 | /*
* GROOVE: GRaphs for Object Oriented VErification Copyright 2003--2007
* University of Twente
*
* 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... | 36.014199 | 100 | 0.603886 |
0b72b3b2461a10e7c54256409d7f39b5ae73fa18 | 1,636 | /*
* 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 NguoiDung;
/**
*
* @author Ngan
*/
public class NguoiDung {
private String maNguoidung,tenTaikhoan,tenNguoiDung,matKha... | 23.371429 | 120 | 0.662592 |
19e503414b566d8bbdf18eb7daff9077d20ac59e | 2,615 | package ticket;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class OutputClass {
DecimalFo... | 31.890244 | 140 | 0.627533 |
be338b3af4fa6d0512f712d7a1985c8d16234547 | 9,920 | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_package
DECL|package|org.jabref.logic.util.io
package|package
name|org
operator|.
name|jabref
operator|.
name|logic
operator|.
name|util
operator|.
name|io
package|;
end_package
begin_import
import|import
name|java
operator|.
name|io
operator|.
name|St... | 14.191702 | 198 | 0.787298 |
78d0b4eda12c7abd34596cada2c7a2769a369319 | 4,954 | /*
* Copyright 2018 VetsEZ Inc, Sagebits 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 a... | 49.049505 | 159 | 0.756964 |
c95a7b9c8576b732285d0bb67760488878759a8e | 57 |
package Reportes;
public class Reportes {
}
| 8.142857 | 24 | 0.596491 |
c024a6e90cbe7ec8d4892544486572069fe81c32 | 4,990 | package conflux.dex;
import java.io.IOException;
import java.math.BigInteger;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.TimeZone;
import java.util.concurrent.ExecutorService;
... | 30.242424 | 105 | 0.782365 |
d525f1c106f54d56b70eb4c4915af919920e7c81 | 5,747 | /*
* Copyright 2006 The National Library of New Zealand
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 26.730233 | 200 | 0.695841 |
7001fd6c38062c55eda8561a6b1bea7ee2819390 | 16,952 | /*
* 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 distributed under t... | 35.170124 | 148 | 0.679094 |
79bc25d1758b8710f79f09bcedb7d77f34614074 | 1,817 | /*
* Copyright 2019 Treu Techologies
*
* 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 use this file except in compliance with
* the License. You ... | 31.327586 | 86 | 0.718767 |
11a9773bce3b974730424d275f67f2b14cb53e92 | 81,512 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.781357 | 118 | 0.543822 |
17991990a8a804c3d706b9389cd3544c0550641a | 902 | package com.tzj.garvel.core.dep.api.parser;
import java.util.ArrayList;
import java.util.List;
public class Versions {
private String latestVersion;
private String releaseVersion;
private List<String> availableVersions;
public Versions() {
this.availableVersions = new ArrayList<>();
}
... | 23.128205 | 64 | 0.689579 |
cbc29311e64169e2558a646c1c4f7607165e1189 | 104 | package rs.math.oop1.z090402.solid.z06.dobarOPovrsine;
public interface Mera {
double povrsina();
}
| 17.333333 | 54 | 0.759615 |
3104f3aafca34ea682ef1b6e68d33a40de2b3cfd | 2,064 | /*
* Copyright © Zhenjie Yan
*
* 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... | 30.352941 | 119 | 0.657946 |
31e1e83465efd271b1d4bd8ee2530f1cad36b45d | 279 | package br.edu.utfpr.cp.emater.midmipsystem.repository.base;
import org.springframework.data.jpa.repository.JpaRepository;
import br.edu.utfpr.cp.emater.midmipsystem.entity.base.MacroRegion;
public interface MacroRegionRepository extends JpaRepository<MacroRegion, Long> { }
| 31 | 83 | 0.835125 |
a4a901d8778597db9d7bb805717e0bff80e915ad | 7,702 | package br.com.californiamobile.youfood.activitys;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.TextWatcher... | 36.159624 | 113 | 0.614905 |
7fa76823a54a546b8698f11e700be2f64cb53847 | 347 | package com.heritago.heritandroid.helpers;
/**
* Created by onurtokoglu on 14/05/2017.
*/
public class LoginHelper {
public static final LoginHelper shared = new LoginHelper();
private LoginHelper() {
}
public boolean isLoggedIn(){
return false;
}
public String getUsername(){
... | 17.35 | 63 | 0.642651 |
c5db5df9e8469500cf918cac669056c1116dd814 | 76 | package models;
public interface ItemInquiryStatusType {
int code();
}
| 12.666667 | 40 | 0.736842 |
2e93a0629d5c93087597c177c97623c2be5eee1d | 4,727 | /**
* 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... | 35.810606 | 85 | 0.603766 |
3e050226bc53d288fcb40b292a67cb1e1392a181 | 32,049 | package be.naturalsciences.bmdc.ears.ontology.gui;
import be.naturalsciences.bmdc.ears.entities.CurrentVessel;
import be.naturalsciences.bmdc.ears.ontology.Individuals;
import be.naturalsciences.bmdc.ears.ontology.entities.FakeConcept;
import be.naturalsciences.bmdc.ears.ontology.entities.Tool;
import be.naturalscienc... | 42.903614 | 194 | 0.597523 |
6870161134414f2c4bcae9f83810e72af6136987 | 14,954 | import java.awt.Dimension;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Random;
import javax.swing.JTextArea;
/**
* @author Ubaby The MIT License (MIT) Copyright (c)
*
* <2016><Gintaras Koncevicius>
... | 40.746594 | 174 | 0.699813 |
0900e8140cda2120ccf0436f8ea8649d0ed4043e | 2,554 | package ristogo.common.net;
import ristogo.common.entities.Customer;
import ristogo.common.entities.Entity;
import ristogo.common.entities.Owner;
import ristogo.common.entities.Reservation;
import ristogo.common.entities.Restaurant;
import ristogo.common.entities.User;
/**
* Represents a request message, sent from t... | 28.065934 | 114 | 0.71574 |
76df810c44ea5082931a44921412f015f1bf4618 | 2,040 | package Simulation;
public class DetermineStrength {
/**
* Add
* @param teams
* @return
*/
public static Team[] SOS(Team[] teams){
// normalize values
teams = NormalizeValues(teams);
// get defensive strength
teams = GetDefStrength(teams);
return teams;
}
public static Team[] Normal... | 20.19802 | 110 | 0.59951 |
2351cfdd66e9dadbe40124cdea06d5269caf12f0 | 8,295 | /*
* Copyright 2017 Align Technology, 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... | 41.893939 | 148 | 0.655214 |
b03986775eeb6cce1cca419a847fb13a70da24b0 | 397 | /*
* 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 Commands;
/**
*
* @author Eugene
*/
public abstract class Command {
public Object DoAction(Object[] params) throws... | 20.894737 | 79 | 0.68262 |
13b65950664ebc5dc89d0be7b1bd4e944b9684e7 | 1,071 | import java.util.Arrays;
public class question6 {
public static int threeSumClosest(int[] nums, int target) {
Arrays.sort(nums);
int res = 0x3f3f3f3f;
for (int i = 0; i < nums.length - 2; i++) {
if (i > 0 && (nums[i] == nums[i - 1])) {
continue;
}
... | 28.945946 | 70 | 0.405229 |
1e09150080b9a2311db779a98fea1b52dea98122 | 379 | package org.singledog.dogmall.pms.mapper;
import org.singledog.dogmall.pms.entity.SpuDescEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* spu信息介绍
*
* @author Zheming Liu
* @email dogmall@qq.com
* @date 2022-04-23 19:43:11
*/
@Mapper
public inter... | 21.055556 | 66 | 0.765172 |
02e9071d3442516c8f70c3b4181fc60f11262752 | 1,177 | package com.github.etienneZink.model.sudoku.framework.checker;
import com.github.etienneZink.model.sudoku.framework.boards.ClassicSudoku;
import com.github.etienneZink.model.sudoku.framework.fields.SudokuField;
import com.github.etienneZink.model.sudoku.framework.interfaces.Checker;
/**
* Class to check if a Classic... | 28.707317 | 75 | 0.597281 |
f63cf6fd0eb577a0d73fb3e6cf09b6b19a190930 | 667 | package com.dragontalker.exercise;
public class CustomerTest {
public static void main(String[] args) {
Customer customer = new Customer("Jane", "Smith");
Account account = new Account(1000, 2000, 1.23);
customer.setAccount(account);
customer.getAccount().deposit(100);
custo... | 37.055556 | 90 | 0.605697 |
bc25b76fd1644277d8fad75702ae8cadbd81c4e8 | 724 | package co.bantamstudio.streamie.auth.twitch.connect;
import org.springframework.social.oauth2.AbstractOAuth2ServiceProvider;
import org.springframework.social.oauth2.OAuth2Template;
import co.bantamstudio.streamie.auth.twitch.api.Twitch;
import co.bantamstudio.streamie.auth.twitch.api.impl.TwitchTemplate;
class Twi... | 31.478261 | 71 | 0.805249 |
7abd6526fbaaa9f6ff998c437e023bed505c7462 | 4,200 | package studio.xiaoyun.app.web;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;... | 28.571429 | 119 | 0.613571 |
5e553f54702f6554c4ea3346c2e17a8f2be37c5e | 888 | package edu.bpb.oops.pattern.ch11.observer;
import edu.bpb.oops.pattern.ch11.observer.model.Article;
/**
* An {@code Observable} is an entity that wraps content and allows to observer the content.<br>
* The implementation must override the notifyObservers method to notify the registered {@code Observer} about any c... | 24.666667 | 122 | 0.724099 |
e8c592de1796d104c5c9bf29abff20bcda4ce7f5 | 347 | package it.polimi.deib.se.ex05.concurrent.ballo;
/**
* @author Alessandro Rizzi, Mattia Salnitri
*
*/
public class Dama {
private final int id;
/**
* costruttore della classe
* @param id
*/
public Dama(int id) {
this.id = id;
}
/**
* getter dell'id della dama
*
* @return
*/
public int g... | 11.965517 | 48 | 0.599424 |
db0b8f63a3927a2fa574e744c49bf8a801fdf587 | 1,033 | /*
* Copyright 2014. AppDynamics LLC and its affiliates.
* All Rights Reserved.
* This is unpublished proprietary source code of AppDynamics LLC and its affiliates.
* The copyright notice above does not evidence any actual or intended publication of such source code.
*/
package com.appdynamics.extensions.sslce... | 32.28125 | 104 | 0.747338 |
824bc61b016367280d10e5b2ffa29f5db36a4c24 | 853 | package com.inepex.ineFrame.client.auth;
import com.inepex.ineFrame.client.auth.AbstractAuthManager.AuthActionCallback;
import com.inepex.ineFrame.shared.auth.AuthStatusResultBase;
public interface AuthManager {
public abstract void checkAuthStatus(final AuthActionCallback callback);
public abstract void doL... | 32.807692 | 93 | 0.786635 |
cea0a70bc8baff8740fe8b8ee95509373b6c76b0 | 6,928 | /*
* 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.816092 | 118 | 0.587471 |
0355f1301e506fffbd3027188a9f1d68b8760bdc | 3,186 | package fossilsarcheology.server.entity.utility;
import fossilsarcheology.server.entity.monster.EntityFriendlyPigZombie;
import net.minecraft.entity.Entity;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.passive.EntityPig;
import net.minecraft.entity.player.EntityPlayer;
import net... | 41.921053 | 212 | 0.638418 |
46ab5c89456d268cf35509a9472a8c26cabd78bd | 1,073 | package four;
import four.classes.Banco;
import four.classes.Correntista;
import four.classes.Movimentacoes;
public class Main {
public static void main(String[] args) {
Banco banco = new Banco();
Correntista correntistas[] = {
new Correntista("123456789", 5000),
new Correntista("9... | 32.515152 | 76 | 0.609506 |
b846ec4e7d383517a77cce04b4ee84525fbaf140 | 2,203 | package com.erayerdin.primitivefxmvc.alerts;
import javafx.scene.control.Alert;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.Priority;
import java.io.PrintWriter;
import java.io.StringWriter;
/**
* An Alert that is especiall... | 30.178082 | 108 | 0.695869 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.