blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
9152a3bd3f186cf9c282d8c7362c0c1caceaa560 | Java | G-Delgado/residence-management | /src/model/Vehicle.java | UTF-8 | 900 | 3.0625 | 3 | [] | no_license | package model;
import java.io.Serializable;
public abstract class Vehicle implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
private String licensePlate;
private String type;
public Vehicle(String licensePlate,String type) {
this.licensePlate = licensePla... | true |
1066c2387129de8f51bc828748dc7d55a071e014 | Java | SEU-3S/codesvn | /hive/src/com/klspta/model/analysis/PropertyAnalyse.java | UTF-8 | 8,958 | 2.1875 | 2 | [] | no_license | package com.klspta.model.analysis;
import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;
import com.klspta.base.AbstractBaseBean;
import com.klspta.base.wkt.Point;
public class PropertyAnalyse extends AbstractBaseBean {
DecimalFormat df=new DecimalFormat("0.##");
public voi... | true |
bced64a2fb1fca52e1590b90ca4205f2e26a019f | Java | kilokahn/spring-testers | /spring-test-context-tester/src/test/java/com/kilo/ServiceTest.java | UTF-8 | 1,032 | 2.671875 | 3 | [] | no_license |
package com.kilo;
import javax.annotation.Resource;
import org.junit.Test;
import com.kilo.driver.FibonacciService;
public class ServiceTest extends BaseTest {
@Resource(name = "fibonacciService")
private FibonacciService fibonacciService;
@Resource(name = "helper")
private Helper helper;
@T... | true |
70079dcc0b3b414f98505e99dc589d9ad6223d2e | Java | mrfoott/OOP_Homework_VTCA | /IUH/Module2_Bai7/Main.java | UTF-8 | 2,168 | 3.109375 | 3 | [] | no_license | import java.text.DecimalFormat;
public class Main
{
public static void main(String[] args)
{
Programmer emp1 = new Programmer(100, "John", 3000, "C/C++");
Programmer emp2 = new Programmer(101, "Smith", 2750, "C#");
Programmer emp3 = new Programmer(102, "Tim", 2600, "Java");
... | true |
4b17e9574bcf27e4d8337f764044a67098f27dda | Java | KyleAWang/FoodFinder | /app/src/main/java/com/wang/kyle/foodfinder/module/PlaceDetailResponse.java | UTF-8 | 239 | 1.695313 | 2 | [] | no_license | package com.wang.kyle.foodfinder.module;
/**
* Created by Kyle on 5/5/2016.
*/
public class PlaceDetailResponse extends BaseResponse {
private PlaceDetail result;
public PlaceDetail getResult() {
return result;
}
}
| true |
9db09f797bfd4e9ece862f4d31d93bdd6f53f74b | Java | braldanago/Design-Patterns | /Estructurales/Adapter/Adapter/AdapterObj/AddressValidator.java | UTF-8 | 154 | 1.929688 | 2 | [
"MIT"
] | permissive | public abstract class AddressValidator {
public abstract boolean isValidAddress(String inp_address,String inp_zip, String inp_state);
}// end of class
| true |
124751fc29ebd7b025d06d7b602302e55ea3f1f2 | Java | mathias-mike/EplStars | /sources/androidx/constraintlayout/solver/widgets/Chain.java | UTF-8 | 42,252 | 1.851563 | 2 | [] | no_license | package androidx.constraintlayout.solver.widgets;
import androidx.constraintlayout.solver.LinearSystem;
import java.util.ArrayList;
public class Chain {
private static final boolean DEBUG = false;
public static final boolean USE_CHAIN_OPTIMIZATION = false;
public static void applyChainConstraints(Constra... | true |
501473ddabdd9be1d9e964f32c38653937df394c | Java | kyoung-k/kmtp-root | /microservice/master-service/src/main/java/com/kmtp/master/service/MemberHandler.java | UTF-8 | 6,005 | 2.15625 | 2 | [] | no_license | /*
* Copyright (c) 2021-Present KYoung.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | true |
0a291f1cbdd8e380ef91bedcbceda1a7fb763538 | Java | Jhafeth/ED2ABBP2 | /src/main/java/bo/edu/uagrm/ficct/inf310sb/abbp2/DatoYaExiste.java | UTF-8 | 452 | 2.046875 | 2 | [] | no_license | /*
* 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 bo.edu.uagrm.ficct.inf310sb.abbp2;
/**
*
* @author Jhafeth
*/
public class DatoYaExiste extends Exception {
public Dat... | true |
3e17c6c69c636bc2d653b8708146cd8f8887a0b7 | Java | gitikapinjani1/TechmentJava | /Techment/Interface/jdbcConnecter.java | UTF-8 | 92 | 1.609375 | 2 | [] | no_license | package com.Techment.Interface;
public interface jdbcConnecter {
void Connect();
}
| true |
27522c48e9c7ad670c5c1b4829820d11c80be632 | Java | iyustlop/spring-lab | /spring-config-client/src/main/java/com/freelance/spring/springconfigclient/controller/JugsPresentersController.java | UTF-8 | 582 | 2.046875 | 2 | [] | no_license | package com.freelance.spring.springconfigclient.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
... | true |
ea58519648ad90d82be17dbb1a3f36b881550504 | Java | WilsonPMedeiros/Projeto-IFRN | /src/main/java/com/example/Sistemadegerencimantodeloja/model/ClientesPDFExporter.java | UTF-8 | 2,481 | 2.71875 | 3 | [] | no_license | package com.example.Sistemadegerencimantodeloja.model;
import com.lowagie.text.*;
import com.lowagie.text.Font;
import com.lowagie.text.pdf.PdfPCell;
import com.lowagie.text.pdf.PdfPTable;
import com.lowagie.text.pdf.PdfWriter;
import javax.servlet.http.HttpServletResponse;
import java.awt.*;
import java.io.IOExcept... | true |
d832a65f9e2814007621035fd6579b75f4bc2641 | Java | AlfaLeon7/Sockets | /ej3/Cliente.java | UTF-8 | 2,334 | 3.234375 | 3 | [] | no_license | package ej3;
//Java implementation for a client
//Save file as Client.java
import java.io.*;
import java.net.*;
import java.util.Scanner;
public class Cliente {
public static void main(String[] args) throws IOException {
Cliente cliente = new Cliente();
cliente.run();
}
private ... | true |
2ae20aae68e2b3ccd27223113727e40157113adf | Java | IWertz/Week3Assessment | /src/model/Games.java | UTF-8 | 1,115 | 2.796875 | 3 | [] | no_license | package model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @author Snipe - iwertz
* CIS175 - Spring 2021
* Feb 15, 2021
*/
@Entity
@Table(name=... | true |
19f3346fbacb29d03ab0c1d44e13b2dbfe601bc2 | Java | Fao2212/ExamenOOP | /src/main/java/RestauranteObservador/src/Modelo/Adicional.java | UTF-8 | 742 | 2.71875 | 3 | [] | no_license | /*
* 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 Modelo;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Fernando Alvarez
*/
public class... | true |
2c2db1800f1521a06a8ae95761810b62d816208b | Java | SecondProjectTeam1/SecondProject | /SecondProject/src/main/java/com/sist/web/BooksRestController.java | UTF-8 | 1,890 | 2.046875 | 2 | [] | no_license | package com.sist.web;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.ann... | true |
68e94c40fab6735232aef2f6c0b704d49747be30 | Java | Henry-Mark/HH_Android | /app/src/main/java/com/henry/hh/dialog/PromptDialog.java | UTF-8 | 3,736 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | package com.henry.hh.dialog;
import android.annotation.SuppressLint;
import android.app.DialogFragment;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater... | true |
4e9ba66d2d9e74a40b0a5fc38216517166732bb7 | Java | catsaveearth/TIC-TAC-TALK | /src/client/SignUp.java | UTF-8 | 8,240 | 2.609375 | 3 | [] | no_license | package client;
/**
* 공사 끝
* */
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
@SuppressWarnings("serial")
public class SignUp extends JFrame {
@SuppressWarnings({ "rawtypes", "unchecked" })
public SignUp() {
JFrame frame = new JFrame();
fr... | true |
f675ae2b980cc0e6eb5ad832850933f5386019cb | Java | KangJun1024/test | /src/main/java/com/kangjun/util/OpenSlideUtil.java | UTF-8 | 11,770 | 2.25 | 2 | [] | no_license | package com.kangjun.util;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
import org.openslide.AssociatedImage;
import org.openslide.OpenSlide;
import org.springframework.stereotype.Component;
import javax.imageio.ImageIO;
import java.... | true |
f0d20d6919669e48bd91a05f0cf8ec7f024b1578 | Java | vipindhama/homemgt | /app/src/main/java/com/homeguide/database/DbHelper.java | UTF-8 | 10,578 | 2.546875 | 3 | [] | no_license | package com.homeguide.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.homeguide.models.MyExpense;
import java.util.ArrayL... | true |
d70e4212385f8ae57df7c783d7c6fabbaa41cb56 | Java | KapaleAnup/Excerises | /src/main/java/practice/practice1/MinandMAxFromArray.java | UTF-8 | 462 | 2.84375 | 3 | [] | no_license | package practice.practice1;
public class MinandMAxFromArray {
public static void main(String[] args) {
int a[] = {23, 45, 56, 67};
int max = a[0];
int min = a[0];
for (int i = 1; i < a.length; i++) {
if (a[i] > max) {
max = a[i];
}else if... | true |
a0c8f4c2b5341073996fa5c37c28656ab6366d2b | Java | NibeditaPanda/TrialPOC | /src/main/java/com/tesco/services/adapters/rpm/readers/PriceServiceCSVReader.java | UTF-8 | 205 | 1.757813 | 2 | [] | no_license | package com.tesco.services.adapters.rpm.readers;
import java.io.IOException;
import java.util.Map;
public interface PriceServiceCSVReader {
public Map<String, String> getNext() throws IOException;
}
| true |
83dde9ef3dc44f0e507f3ab68244008c7e7c2e8e | Java | FS1360472174/javaweb | /web/src/main/java/com/fs/web/instance/InstanceBySpring.java | UTF-8 | 1,194 | 2.421875 | 2 | [] | no_license | /*
* InstanceBySpring.java
*/
package com.fs.web.instance;
import com.fs.web.instance.state.AbstractState;
import com.fs.web.instance.state.StateEnum;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Servi... | true |
84b86aed1d354bd9499100bd2af88fd52fd812d9 | Java | Mrjiangzhu/test | /src/main/java/com/ruofeng/app/common/configuration/BeetlSqlConfiguration.java | UTF-8 | 965 | 2.046875 | 2 | [] | no_license | package com.ruofeng.app.common.configuration;
import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.jdbc.dat... | true |
54a47c9ed231bad35d571c62500ac878537bd848 | Java | cota990/MJCompiler-pp1 | /src/rs/ac/bg/etf/pp1/ActualParametersCodeGenerator.java | UTF-8 | 1,334 | 2.796875 | 3 | [] | no_license | package rs.ac.bg.etf.pp1;
import rs.ac.bg.etf.pp1.ast.*;
public class ActualParametersCodeGenerator extends VisitorAdaptor {
private int depth;
private int actParsStarted = 0;
/**
* @param depth
*/
public ActualParametersCodeGenerator(int depth) {
this.depth = depth;
}
/** For each actual paramet... | true |
855b2ef47754e3fcb95a9c1c940081ed3da6a21f | Java | tioola/clist | /clist-mongo-infrastructure/src/main/java/com/clist/repositories/mongo/infra/UserRepositoryInfra.java | UTF-8 | 296 | 1.523438 | 2 | [] | no_license | package com.clist.repositories.mongo.infra;
import org.springframework.data.mongodb.repository.MongoRepository;
import com.clist.domain.entities.User;
import com.clist.repositories.UserRepository;
public interface UserRepositoryInfra extends MongoRepository<User, String> , UserRepository{
}
| true |
08bccdb374605aa17e074b3f464c5074315b4645 | Java | bellmit/pearls | /pearls-iot/common/src/main/java/com/vela/iot/common/bean/Gateway.java | UTF-8 | 3,213 | 2.65625 | 3 | [] | no_license | package com.vela.iot.common.bean;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import static com.vela.iot.common.util.StringUtils.*;
public enum Gateway {
// perf "String"比String.class性能提供1倍
sn("String"), pwd("String"), slt("String"), key("String"), scrt("Str... | true |
596acb360d106d683e06e4a79fdf0f493e22e0c6 | Java | weifeng17183/chebao | /src/main/java/com/justfind/vo/UserContext.java | UTF-8 | 1,071 | 2.390625 | 2 | [] | no_license | package com.justfind.vo;
import javax.servlet.http.HttpSession;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
/**
* 用于存放当前用户的上下文(获取当前用户)
* @author pc
*
*/
public class UserContext {
public static final... | true |
1128437973747b543954f1f44dcaf06d1c381ac6 | Java | ranajeetjadhav/Java-Algorithms | /src/com/algo/sort/number/patterns/Pattern_5.java | UTF-8 | 516 | 3.515625 | 4 | [] | no_license | /**
* 7 6 5 4 3 2 1
7 6 5 4 3 2
7 6 5 4 3
7 6 5 4
7 6 5
7 6
7
7 6
7 6 5
7 6 5 4
7 6 5 4 3
7 6 5 4 3 2
7 6 5 4 3 2 1
*/
package com.algo.sort.number.patterns;
public class Pattern_5 {
public static void main(String[] args) {
for(int i = 1; i <= 7; i++){
for(int j = 7; j >= i; j--){
... | true |
8ffa436e042c13aa5482aa69cd2b95e33927e170 | Java | marcelolimabh/estoqueWS | /estoqueWS/src/br/com/caelum/estoque/modelo/usuario/AuthorizationException.java | UTF-8 | 539 | 2.109375 | 2 | [] | no_license | /**
*
*/
package br.com.caelum.estoque.modelo.usuario;
import java.util.Date;
import javax.xml.ws.WebFault;
import br.com.caelum.estoque.modelo.util.InfoFault;
/**
* @author marcelolimabh
*
*/
@WebFault(name="AuthorizationFault")
public class AuthorizationException extends Exception {
/**
*
*/
priv... | true |
d33d10270d95d38246976e46dfbb74e5ed159839 | Java | Valentindp/LevelUp | /src/HomeWorkInteface/Beverages.java | UTF-8 | 548 | 2.921875 | 3 | [] | no_license | package HomeWorkInteface;
/**
* Created by Валентин on 09.10.2016.
*/
public class Beverages extends Food implements Edible {
@Override
public Flavour getFlavour() {
return Flavour.BITTER;
}
@Override
int getWeight() {
return 0;
}
@Override
void setWeight(int weight)... | true |
9bebd04e85f4064967a046caa2fe5951a56a1394 | Java | TianLuhua/I9sMonitor | /app/src/main/java/com/tencent/devicedemo/BinderListAdapter.java | UTF-8 | 1,769 | 2.40625 | 2 | [] | no_license | package com.tencent.devicedemo;
import android.content.Context;
import android.content.Intent;
import com.tencent.device.TXBinderInfo;
import java.util.ArrayList;
import java.util.List;
public class BinderListAdapter extends ListAdapter {
private static String TAG = "BinderListAdapter";
private List<TXBinderInfo>... | true |
dc95d03bd7bf2c6d805e28c0d17308b8c6f5a76f | Java | juanipicart/GeoPosUy | /GeoPosUy/EJB/com/bd/DBConector.java | WINDOWS-1250 | 3,190 | 2.859375 | 3 | [] | no_license | package com.bd;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Locale;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;
public class DBConector {
priva... | true |
8cbc85aa55bdad1a216de24a702eacebea194537 | Java | AlexResonable/Java | /src/gameDesigner/ModifyGameDesign.java | UTF-8 | 10,620 | 2.515625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gameDesigner;
import systemAdministrator.Login;
import gameDesigner.setBoard;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLa... | true |
35fedf5132e1e3c6cec37d68f2542876a9703bcc | Java | Gaz1676/twitter-android-app | /app/src/main/java/app/tweeting/activities/SignupActivity.java | UTF-8 | 3,276 | 2.328125 | 2 | [] | no_license | /**
* Author: Gary Fleming
* Student No: 20019497
* Start Date: Sept 24th 2017
*/
package app.tweeting.activities;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
impo... | true |
7e2a2aa68097014c0b42ce470e99d5d00c76579b | Java | Desirous1/training-solutions | /src/main/java/exam03/Histogram.java | UTF-8 | 882 | 3.234375 | 3 | [] | no_license | package exam03;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
public class Histogram {
public void readFile() {
Path file = Path.of("resources/Histogram.txt");
try (BufferedReader readFile = Files.newBufferedReader(file)) {
... | true |
d79b923c1c33b2f8021366b8a32f1a7fee21b0e4 | Java | afirez/irouter | /irouter_provider_api/src/main/java/com/afirez/irouter/provider/api/ProviderRouter.java | UTF-8 | 185 | 1.59375 | 2 | [
"Apache-2.0"
] | permissive | package com.afirez.irouter.provider.api;
import com.afirez.irouter.router.Path;
public interface ProviderRouter {
@Path("/irouter/provider/nav")
NavProvider navProvider();
}
| true |
c3389edce3ad83526e1d8501964ce6424f61a660 | Java | teos0009/mqtt-spy | /mqtt-spy-common/src/main/java/pl/baczkowicz/mqttspy/exceptions/MqttSpyUncaughtExceptionHandler.java | UTF-8 | 1,182 | 2.09375 | 2 | [] | no_license | /***********************************************************************************
*
* Copyright (c) 2014 Kamil Baczkowicz
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which ... | true |
d59f69415829660d3b5e39b39979e2c2b40a3da3 | Java | ARAMULEWESLEY/ERestaurant | /ERestro/src/main/java/Beans/CustomerBean.java | UTF-8 | 3,169 | 2.34375 | 2 | [] | no_license | package Beans;
import java.io.Serializable;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
import javax.faces.bean.*;
import org.apache.commons.codec.digest.DigestUtils;
import javax.inject.*;
import org.springfra... | true |
e211fbf7c4896b3da3e6b6813a658341402d1a8a | Java | unic/neba | /spring/src/test/java/io/neba/spring/resourcemodels/registration/SpringBasedModelDefinitionTest.java | UTF-8 | 1,806 | 2.1875 | 2 | [
"BSD-3-Clause",
"MIT",
"EPL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | package io.neba.spring.resourcemodels.registration;
import io.neba.api.annotations.ResourceModel;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import static org.assertj.core.api.Assertions.assertThat;
import stat... | true |
463c845851783aafc36d6c05a4df573f78f08126 | Java | RollisR/pedidos | /src/Item.java | UTF-8 | 403 | 2.5625 | 3 | [] | no_license | public class Item {
public String descricao;
public String categoria;
public double valor;
public Item(double valor, String descricao, String categoria) {
this.valor = valor;
this.descricao = descricao;
this.categoria = categoria;
}
public Item(double valor, String des... | true |
824ea2db8f148e1ed228118c42802e5f2d7cf44e | Java | dsalas85/contact-service | /src/main/java/com/example/demo/controller/GlobalController.java | UTF-8 | 774 | 2.234375 | 2 | [] | no_license | package com.example.demo.controller;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.we... | true |
fe911a1257937cae8f4fee682e54fe84f5d70eb2 | Java | Emesless/playersearch | /src/main/java/ru/emesless/searchplayers/DTO/PagePlayerRequestDTO.java | UTF-8 | 628 | 2.078125 | 2 | [] | no_license | package ru.emesless.searchplayers.DTO;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import ru.emesless.searchplayers.model.PlayerSearchList;
import java.util.List;
/**
* todo Document type PagePlayerRequest
*/
@Data
@Getter
@Setter
public class PagePlayerRequestDTO {
private List<PlayerSear... | true |
5759f2daf00c2c7a8c53d35bad2ae35c0ae8d7e4 | Java | mohitrajvardhan17/java1.8.0_151 | /com/sun/xml/internal/ws/util/HandlerAnnotationInfo.java | UTF-8 | 767 | 1.875 | 2 | [] | no_license | package com.sun.xml.internal.ws.util;
import java.util.List;
import java.util.Set;
import javax.xml.ws.handler.Handler;
public class HandlerAnnotationInfo
{
private List<Handler> handlers;
private Set<String> roles;
public HandlerAnnotationInfo() {}
public List<Handler> getHandlers()
{
return hand... | true |
5152e6a30ae399deac018e8abdeb532c47cdfabf | Java | Jeetthakar/stockpile | /src/main/java/harrier/income/com/report/IndexWise.java | UTF-8 | 1,095 | 2.53125 | 3 | [] | no_license | package harrier.income.com.report;
public class IndexWise
{
private String industryname;
private String marketcap;
private String weightage ;
public IndexWise(String industryname,String marketcap,String weightage)
{
this.industryname=industryname;
this.marketcap=marketcap;
this.weightage=w... | true |
a27ae97085eb3f1499ee35115e875f7fb7efa6cb | Java | ucam-cl-dtg/supervision-api | /src/main/java/uk/ac/cam/cl/dtg/teaching/hibernate/HibernateUtil.java | UTF-8 | 3,019 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package uk.ac.cam.cl.dtg.teaching.hibernate;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.DefaultComponentSafeNamingStrategy;
import org.hibernate.internal.SessionFactoryImpl;
import org.hibe... | true |
09913f4821c6aa3a02e9f238e919f1ca92a53d14 | Java | wangmin19861205/test | /src/com/eloancn/shared/common/Data.java | GB18030 | 44,975 | 1.859375 | 2 | [] | no_license | package com.eloancn.shared.common;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.util.*;
import javax.imageio.IIO... | true |
265e8ea2ddb3944cd4316fe639f7e831e6bc5bd4 | Java | yhhuang79/antrack | /src/tw/plash/antrack/location/LocationUploader.java | UTF-8 | 2,388 | 2.265625 | 2 | [] | no_license | package tw.plash.antrack.location;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import org.json.JSONException;
import org.json.JSONObject;
import tw.plash.antrack.AntrackApp;
import tw.plash.antrack.util.Constants;
import android.content.SharedPreferences;
import android... | true |
dbadbe2ffba8699ba19a8ea649a80d27bb6d28b3 | Java | Juniorrek/DAC | /RHINDO/src/java/service/DepartamentoResource.java | UTF-8 | 1,315 | 2.234375 | 2 | [] | no_license | package service;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.Produces;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import model.Departamento;
import facade.Facade;
import javax.ws.r... | true |
cfc12789ac5d2061e8f351e5a7fe126fb750aa22 | Java | tdt008/tdt-wheels | /wheel-redis/src/main/java/com/tdt/wheel/redis/domain/response/TokenInfo.java | UTF-8 | 371 | 1.710938 | 2 | [] | no_license | package com.tdt.wheel.redis.domain.response;
import lombok.Data;
/**
* @author tudoutiao
* @version v1.0.0
* @description: TokenInfo
* @since 2020/05/19 00:45
*/
@Data
public class TokenInfo {
/** token类型: service:0 、user:1 */
private Integer tokenType;
/** App 信息 */
private AppInfo appInfo;
/** 用户其他数据 */
... | true |
f39c194ed3b0cf3082d09e89a134a5053d2afd6a | Java | WinterSmileSB101/EasySyrinx | /app/src/main/java/winter/zxb/smilesb101/easysyrinx/UI/Fragments/CityPicker.java | UTF-8 | 6,189 | 2.125 | 2 | [] | no_license | package winter.zxb.smilesb101.easysyrinx.UI.Fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.PagerAdapter;
import android.support.v7.widg... | true |
3fe5a17329975b4077c8310edabfafa9d23c2cfe | Java | inakiap/EjemplosJSE | /JSEBasico/src/iap/clases/ficheros/Practica2Main.java | UTF-8 | 3,860 | 3.296875 | 3 | [] | no_license | package iap.clases.ficheros;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public cl... | true |
b09efcba8434dc661bda249deccf320eeb35309b | Java | helloHaifei/AndroidNote | /common/src/main/java/com/zhf/common/net/NetConstant.java | UTF-8 | 329 | 1.703125 | 2 | [] | no_license | package com.zhf.common.net;
/**
* 网络常量
*
*/
public class NetConstant {
/**
* app id
*/
public final static String APP_ID = "chezhu.app.android";
public final static String APP_CLIENT_VERSION = "1.0" ;//+ SystemUtil.getVersionCode(ContextUtil.getApplicationContext());
}
... | true |
cbaaf1a5a68cf098d2f4b2fa6c4f5af709f25478 | Java | sivabe35/inquiry | /library/src/androidTest/java/com/afollestad/inquiry/AutoValueRow.java | UTF-8 | 1,133 | 2.453125 | 2 | [
"Apache-2.0"
] | permissive | package com.afollestad.inquiry;
import com.afollestad.inquiry.annotations.Column;
import com.afollestad.inquiry.annotations.Table;
import com.google.auto.value.AutoValue;
/**
* @author Aidan Follestad (afollestad)
*/
@Table
@AutoValue
public abstract class AutoValueRow {
public static Builder create() {
... | true |
5e88f37e43c2660ff55b40613878ee56864dfa42 | Java | CrackerCat/XiaomiFramework | /mi2s_securitycenter_miui12/src/main/java/com/miui/superpower/c/b.java | UTF-8 | 1,727 | 2.046875 | 2 | [] | no_license | package com.miui.superpower.c;
import android.util.Log;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class b extends d {
public b(String str) {
super(str);
}
private ArrayList<String> b(String str) {
ArrayList<Str... | true |
89f9642f425e72cf596282aba14a4640e38dca29 | Java | Olafur01/Trix-oppgaver-ny | /Uke12Oppgaver/SnoemannTegning.java | UTF-8 | 928 | 3.375 | 3 | [] | no_license | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SnoemannTegning extends JComponent {
SnoemannTegning(){
setPreferredSize(new Dimension(300,600));
}
void tegnKule(Graphics2D g2, int centerX, int centerY, int radius){
g2.setColor(Color.WHITE);
g2.fillO... | true |
695780bfe28c729c0596ffb0c997bf4b088dba9e | Java | ayax79/bb | /presentation/src/main/java/com/blackbox/presentation/action/user/DashBoardActionBean.java | UTF-8 | 805 | 1.710938 | 2 | [] | no_license | /*
* Copyright (c) 2009. Blackbox, LLC
* All rights reserved.
*/
package com.blackbox.presentation.action.user;
import com.blackbox.presentation.action.BaseBlackBoxActionBean;
import net.sourceforge.stripes.action.DontValidate;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes... | true |
d6d2d61a1424294f51c6d0a999d1d00088829799 | Java | NozhkinNikita/hackathon2019 | /server/hton/controller/src/main/java/com/hton/api/user/ScanController.java | UTF-8 | 6,304 | 1.914063 | 2 | [] | no_license | package com.hton.api.user;
import com.hton.api.CredentialUtils;
import com.hton.api.FilterUtils;
import com.hton.api.WebMvcConfig;
import com.hton.api.requests.ScanCreateRequest;
import com.hton.dao.CommonDao;
import com.hton.dao.filters.ComplexCondition;
import com.hton.dao.filters.Condition;
import com.hton.dao.filt... | true |
c26371f81e049a60a245351120b8850a8b3b8aaa | Java | shawntime/shawn-design-pattern | /src/main/java/com/shawntime/designpattern/strategy/example2/GiftInfoTest.java | UTF-8 | 370 | 2.09375 | 2 | [] | no_license | package com.shawntime.designpattern.strategy.example2;
import org.junit.Assert;
/**
* Created by shma on 2018/9/26.
*/
public class GiftInfoTest {
public GiftInfo getGiftInfo(int subjectId, int activityId) {
GiftInfo giftInfo = GiftInfoContext.getGiftInfo(subjectId, activityId);
Assert.assertNo... | true |
27b84afe7c58957881012236f787b048b31a4379 | Java | yangziwen/patchmaker-java8 | /src/main/java/net/yangziwen/patchmaker/util/CmdUtil.java | UTF-8 | 1,300 | 2.859375 | 3 | [] | no_license | package net.yangziwen.patchmaker.util;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
public class CmdUtil {
private CmdUtil(){}
public static <T> Map<String, T> consume(Process proc... | true |
2a3762417bdcd36d807f85dc1b3489a7c3822843 | Java | Noweaj/Practice | /Kakao_2018OR_test1/src/main/ASCIIEncodedStrings.java | UTF-8 | 824 | 3.390625 | 3 | [] | no_license | package main;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class ASCIIEncodedStrings {
private static void conversion(String input) {
String tempInput = input;
String num = "";
for(int i=1; i<input.length(); i++) {
num += tempInput.substring(tempInput.len... | true |
b4d705176c3d7592374665dad9d898c80b55c12c | Java | DonaldY/coding2017 | /group11/996108220/src/com/coderising/jvm/loader/ClassFileLoader.java | UTF-8 | 1,984 | 2.734375 | 3 | [] | no_license | package com.coderising.jvm.loader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import com.coderising.jvm.clz.ClassFile;
public class ClassFileLoader ... | true |
6f704bc8a9dd4a0723786bcd52c0b364bcd1afc7 | Java | xinyuan4android/TPshop-Demo | /soubaoShopMobile/src/main/java/com/tpshop/mallc/utils/SPOrderUtils.java | UTF-8 | 7,554 | 2.5625 | 3 | [
"Apache-2.0"
] | permissive | /**
* tpshop
* ============================================================================
* * 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
* =... | true |
f7a0aca31a03bd842518c8f0b7e126dac51bf22e | Java | AlexKosz/basics | /Basics.java | UTF-8 | 2,645 | 3.953125 | 4 | [] | no_license | import java.util.ArrayList;
public class Basics {
public void printAll(Integer num) {
for(int i = 0; i < num; i++)
System.out.println(i);
}
public void printOdd(Integer num) {
for(int i = 0; i < num; i++) {
if (i % 2 == 1 )
System.out.println(i);
}
}
public void sum(Integer num ) {
Integer tot... | true |
d33a1dc28c315336e315410576a91e907494573f | Java | lgh52406/springcloudLearning | /service-hi/src/main/java/com/huiquan/servicehi/controller/HelloController.java | UTF-8 | 994 | 2.28125 | 2 | [] | no_license | package com.huiquan.servicehi.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
import java.util.logging.Level;
imp... | true |
57c8393cb07606f995602f0b36135c6d0b360404 | Java | edusasse/BrowseFramework | /base/src/main/java/br/com/browseframework/base/exception/enums/BusinessExceptionMessage.java | UTF-8 | 448 | 2.34375 | 2 | [] | no_license | package br.com.browseframework.base.exception.enums;
public enum BusinessExceptionMessage {
AUTHENTICATION_ERROR("authentication.error"),
GENERIC_ERROR("generic.error"),
DATABASE_ERROR("atabase.error"),
OPTIMISTICLOCK_ERROR("optimisticlock.error");
private String key;
private BusinessExceptionMessage(String ... | true |
a16eea36a7b27cb05ebda616d87fc7ce2ab0c380 | Java | soumya348/FlatList | /app/src/main/java/com/soumya/flatlist/MainActivity.java | UTF-8 | 3,801 | 2.328125 | 2 | [] | no_license | package com.soumya.flatlist;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.w... | true |
0f19b04fcfd8c7bb542d56712914e65bdf1b4abd | Java | SunilTanuku/CoreJava_Java8 | /CoreJava/src/com/sunil/corejava/HelloWorld.java | UTF-8 | 162 | 2.09375 | 2 | [] | no_license | package com.sunil.corejava;
public class HelloWorld {
public static void main(String a[]) {
System.out.println(10+100+"Hello "+30+"world"+100);
}
}
| true |
e5de8eb5861a11a1fd3940ed3daf2da5db808208 | Java | chronos314/workspace | /day16/src/com/zzxx/queue/Demo02Deque.java | UTF-8 | 859 | 3.78125 | 4 | [] | no_license | package com.zzxx.queue;
import java.util.Deque;
import java.util.LinkedList;
public class Demo02Deque{
public static void main(String[] args){
// 1.创建一个双端队列的方法
Deque<String> dq = new LinkedList<>();
// 2.拥有队列相关的所有方法 offer peek poll
dq.offer("哈哈哈");
dq.offer("嘻嘻嘻");
... | true |
3f84b09e87957097d3b773233dc4f68c3f62173f | Java | CarryWill/Shoppingmart | /src/com/uu/test/CategoryDaoImplTest.java | UTF-8 | 826 | 2.125 | 2 | [] | no_license | package com.uu.test;
import com.uu.dao.CategoryDao;
import com.uu.dao.impl.CategoryDaoImpl;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
/**
* CategoryDaoImpl Tester.
*
* @author <Authors name>
* @since <pre>三月 12, 2018</pre>
* @version 1.0
*/
public class CategoryDaoImplTest {
... | true |
d9f721f69002b4e777301fdc1e684f19a4f30fdd | Java | GuilhermeJackson/ATM-Consultoria | /app/src/main/java/com/example/atmempresadeconsultoria/GroupRadionButtonActivity.java | UTF-8 | 1,255 | 2.109375 | 2 | [] | no_license | package com.example.atmempresadeconsultoria;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
public class GroupRadionButtonActivity e... | true |
f3d4dbb44e6fdccc5a69ecf596e46a25eeba636f | Java | Srinivasa-Raghavan/FirstBatch | /src/main/java/wdMethods/SeMethods.java | UTF-8 | 8,013 | 2.609375 | 3 | [] | no_license | package wdMethods;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.OutputType;
import org.openqa... | true |
cfd86b034e110ac85c8ae59f0a16c5e9b6580b1e | Java | meangeee/webStudy03_Maven | /webStudy03_Maven/src/main/java/kr/or/ddit/filter/MultipartRequestCheckFilter.java | UTF-8 | 1,480 | 2.328125 | 2 | [] | no_license | package kr.or.ddit.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequ... | true |
012d4ef991e96e570a267e49b925e78ecb0049a1 | Java | frcleiton/fsolutionsapi-rest | /fsolutions-ejb-client/src/main/java/br/com/fsolution/ejb/interfaces/Customer.java | UTF-8 | 258 | 1.929688 | 2 | [] | no_license | package br.com.fsolution.ejb.interfaces;
public interface Customer {
void createNewCustomer(String name, String phone, String phone2, String address, String number,
String district, String city, String obs);
String listAllCustomers();
}
| true |
9448215ef6eb825eaed18921599cd7c87bdc453d | Java | zhongxingyu/Seer | /Diff-Raw-Data/17/17_2d04c9da877fa5379c361a89b8b689de41f44f3c/MainActivity/17_2d04c9da877fa5379c361a89b8b689de41f44f3c_MainActivity_s.java | UTF-8 | 3,349 | 2.296875 | 2 | [] | no_license | package com.gpslistener;
import com.gpslistener.fragments.ShowDateFragment.OnDateSelectedListener;
import com.gpslistener.helpers.Constants;
import com.gpslistener.helpers.DatabaseTask;
import com.gpslistener.helpers.GPSListenerDbHelper;
import com.gpslistener.helpers.HttpFetchLocationTask;
import android.lo... | true |
c6c4ef887106fde1cadc3dfd10d0d2bf05951631 | Java | nihesh/PseudoJudge | /PseudoJudge/Results/K_35/lab122.java | UTF-8 | 4,364 | 2.765625 | 3 | [] | no_license | import java.io.*;
import java.util.*;
class Reader {
static BufferedReader reader;
static StringTokenizer tokenizer;
static void init(InputStream input) {
reader = new BufferedReader(
new InputStreamReader(input) );
tokenizer = new StringTokenizer("");
}
stat... | true |
4c5ca338e7857b6cfac42521088c444ca9b3606e | Java | Dylanlicho/apde-beans | /AuctionHouse/AuctionHouse-war/build/generated-sources/ap-source-output/auction/entities/UserEntity_.java | UTF-8 | 940 | 1.679688 | 2 | [] | no_license | package auction.entities;
import auction.entities.ParticipationEntity;
import javax.annotation.Generated;
import javax.persistence.metamodel.SetAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="EclipseLink-2.7.7.v20200504-rNA", date=... | true |
87b4255c68560fbad959727feab5e1cd9942dc94 | Java | georgepetrof/CourseAutomationPragmatic18 | /Lecture 6 - Code Examples/src/lesson06/animal/Dog.java | UTF-8 | 389 | 3.5625 | 4 | [] | no_license | package lesson06.animal;
public class Dog extends Animal{
private boolean isDangerous;
public void bringStick(){
}
@Override
public void makeSomeNoise() {
System.out.println("Bau Bau");
}
@Override
public void play() {
System.out.println("Playing with stick");
bringStick();
}
@Override
pub... | true |
026bae27471ed9913f263792ebcc0640e74e2eef | Java | Caleydo/org.caleydo.view.genesequence | /src/main/java/org/caleydo/view/genesequence/metadata/ID2ChromosomeLocation.java | UTF-8 | 1,217 | 2.390625 | 2 | [] | no_license | /*******************************************************************************
* Caleydo - Visualization for Molecular Biology - http://caleydo.org
* Copyright (c) The Caleydo Team. All rights reserved.
* Licensed under the new BSD license, available at http://caleydo.org/license
*********************************... | true |
68cbba74bde7f4f3de5cd535857b83ac06954272 | Java | canmogol/bdd-tdd-example | /src/test/java/com/fererlab/service/UserServiceTest.java | UTF-8 | 2,696 | 2.296875 | 2 | [
"MIT"
] | permissive | package com.fererlab.service;
import com.fererlab.repository.UserRepository;
import com.fererlab.repository.entity.UserEntity;
import com.fererlab.service.model.UserModel;
import ma.glasnost.orika.MapperFacade;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import ... | true |
069ebe974ec997c80417859c3e91edddbab9e492 | Java | rench/tx-parent | /tx-components/tx-component-rule/src/main/java/com/tx/component/rule/method/MethodRuleLoader.java | UTF-8 | 8,917 | 2.109375 | 2 | [] | no_license | /*
* 描 述: <描述>
* 修 改 人: pengqingyang
* 修改时间: 2013-1-27
* <修改描述:>
*/
package com.tx.component.rule.method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import javax.annotation.Resource;
import org.spr... | true |
9b33d95513c05f2728265e933d5f8654af7990f3 | Java | limsm9449/lms | /src/main/java/com/qp/lms/ax/account/service/AxPointService.java | UTF-8 | 8,253 | 1.859375 | 2 | [] | no_license | package com.qp.lms.ax.account.service;
import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.s... | true |
7b8236466b483089a8a78dc0c93bb129ccf59e67 | Java | alenatokar87/weld_2 | /src/main/java/validation/DataCheker.java | UTF-8 | 701 | 1.945313 | 2 | [] | no_license | package validation;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPo... | true |
c05a508e2524d0c47d7b1782ffc96735625aeeef | Java | OlexiyZh/moc_chat | /src/main/java/com/mochallenge/chat/mapper/ChatSecurityMapper.java | UTF-8 | 638 | 1.953125 | 2 | [] | no_license | package com.mochallenge.chat.mapper;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import com.mochallenge.chat.controller.dto.LoginUserResponse;
import com.mochallenge.chat.service.SecurityService;
@Mapper
public abstract class ChatSecurityMapper {
@Mappings({
... | true |
e7fe1d5972ff09e0f466addc00b4b4793d075ddc | Java | ArryLuo/SSH | /src/com/shandian/service/IService.java | UTF-8 | 218 | 1.53125 | 2 | [] | no_license | package com.shandian.service;
import java.util.List;
import com.shandian.bean.Dept;
import com.shandian.bean.Emp;
import com.shandian.bean.Users;
public interface IService {
// 登录
Users login(Users users);
}
| true |
c40021295c0d84df2bae8c55aebfa0fbdf3b9d7e | Java | eyjs/workspace-sts-3.9.11.RELEASE | /springAppJavaConfig/ServletConfig1.java | UTF-8 | 4,275 | 2.125 | 2 | [] | no_license | import org.springframework.context.annotation.ComponentScan;
import org.springframework.format.FormatterRegistry;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.validation.MessageCodesResolver;
import org.springframework.validation.Validator;
import org.springframework.w... | true |
e23aaa8e2467f3a162ea32f03d4e023e0f129958 | Java | codjo/codjo-jconnect | /src/test/java/com/sybase/jdbc2/jdbc/CallableStatementWrapperTest.java | UTF-8 | 3,641 | 2.546875 | 3 | [] | no_license | package com.sybase.jdbc2.jdbc;
import java.sql.CallableStatement;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.Types;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/**
*
*/
public class Cal... | true |
2363a75085bc7ecc36dd39d27c1b0ad6c4286dfd | Java | sirdir/ingenicoTymur | /src/main/java/com.ingenico/pages/ApiKeysPage.java | UTF-8 | 1,047 | 1.976563 | 2 | [] | no_license | package com.ingenico.pages;
import com.paulhammant.ngwebdriver.ByAngularRepeaterColumn;
import io.qameta.allure.Step;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
public class ApiKeysPage extends BasePage {
public ApiKeysPage(WebDri... | true |
44012d35d5c0eba15c09ec9883c29726218d49be | Java | EmilyHickey/CommandZone | /src/main/java/com/example/redmajesty/commandzone/AbstractClasses/CardList.java | UTF-8 | 6,261 | 2.453125 | 2 | [] | no_license | package com.example.redmajesty.commandzone.AbstractClasses;
import android.os.AsyncTask;
import android.util.JsonReader;
import android.util.JsonToken;
import android.util.Log;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingExcepti... | true |
221154222a908038195f536051aab56c9e532939 | Java | viniciusinnovatium/netmanager | /src/main/java/WWWNEXT.java | ISO-8859-1 | 40,726 | 1.5625 | 2 | [] | no_license | //*****************************************************************************
//** TASC - ALPHALINC - MAC WWWNEXT
//** Innovatium Systems - Code Converter - v1.29
//** 2014-06-03 20:54:38
//*****************************************************************************
import mLibrary.*;
//<<
//<< #include WWWConst
... | true |
5b0c6b6865acf00f34e8fbd427600ebaa0e5839d | Java | zhongxingyu/Seer | /Diff-Raw-Data/8/8_43b37d662cd4c0214ae5ceb5e9f0b61c72358063/SkypeChatMessageData/8_43b37d662cd4c0214ae5ceb5e9f0b61c72358063_SkypeChatMessageData_t.java | UTF-8 | 2,275 | 2.78125 | 3 | [] | no_license | package skype;
import java.util.Date;
import utils.DigestProvider;
import com.skype.ChatMessage;
import com.skype.SkypeException;
public class SkypeChatMessageData implements SkypeChatMessage {
private final String msgId;
private final String userDisplay;
private final String message;
private... | true |
6f3b19e70b9a2baf35da75756bc25945ae171253 | Java | fer2d2/fernando.moro.DASM.ecp1.miw.upm.es | /app/src/main/java/es/upm/miw/ficheros/RecyclerViewClickListener.java | UTF-8 | 146 | 1.648438 | 2 | [] | no_license | package es.upm.miw.ficheros;
import android.view.View;
public interface RecyclerViewClickListener {
void recyclerViewListClicked(View v);
}
| true |
80dfa82a63613a78d81d54dfaf4e2c727f5469dd | Java | lovelimanyi/liquan_cuishou_back | /cash-back/src/main/java/com/info/vo/bbd/BBD.java | UTF-8 | 746 | 1.742188 | 2 | [] | no_license | package com.info.vo.bbd;
public class BBD {
private String msg;
private String rsize;
private String total;
private DataObj[] results;
private String err_code;
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public String getRsize() {
return rsize;
}
publ... | true |
eae4b9a9ba89df9399257aa2b00492487d7796e7 | Java | Wikibeast/cs106a-assignments | /Assignment4/Histogram.java | UTF-8 | 1,436 | 3.65625 | 4 | [] | no_license | /*
* File: Histogram.java
* ------------------
* Name: David Seamans
*
* This program generates a histogram of the scores listed in the file MidtermScores.txt
*/
import acm.program.*;
import acm.util.*;
import java.io.*;
public class Histogram extends ConsoleProgram {
public void run() {
// Initia... | true |
c27d489217df52190e584380ad3be5cd701c3755 | Java | song-giung/project_travel | /src/schedule_board/db/SchBoardDAO.java | UTF-8 | 21,996 | 2.265625 | 2 | [] | no_license | package schedule_board.db;
/*
DAO(data access object)�겢�옒�뒪
-�뜲�씠�꽣 踰좎씠�뒪�� �뿰�룞�븯�뿬 �젅肄붾뱶�쓽 異붽�, �닔�젙, �궘�젣 �옉�뾽�씠 �씠猷⑥뼱吏��뒗 �겢�옒�뒪
-�뼱�뼡 Action �겢�옒�뒪媛� �샇異쒕릺�뜑�씪�룄 洹몄뿉 �빐�떦�븯�뒗 �뜲�씠�꽣踰좎씠�뒪 �뿰�룞 泥섎━�뒗 DAO �겢�옒�뒪�뿉�꽌 �씠猷⑥뼱吏�寃� �맗�땲�떎.
*/
import java.sql.Connection;
import java.sql.PreparedStatement;
impo... | true |
ec94368241b72ed9b41cebacbb6688b6c52d44f0 | Java | Projecto2/PFII | /SIG_HDP_Master/SIG_HDP_Master-ejb/src/java/entidade/AdmsEstadoAgendamento.java | UTF-8 | 4,082 | 1.9375 | 2 | [] | no_license | /*
* 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 entidade;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Cascad... | true |
6d9ae206c8c53264ea8f1b1e50e44ee6a43699ea | Java | franciscocpg/spring-vaadin-jpa-example | /svexample-web/src/main/java/pl/pawelb/svexample/dao/TaskRepository.java | UTF-8 | 836 | 2.1875 | 2 | [] | no_license | package pl.pawelb.svexample.dao;
import java.util.List;
import org.joda.time.LocalDate;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import pl.pawelb.svexample.ds.Task;
/**
* Spring data repository
*
* @author pawelb
*
*/
public interface Tas... | true |
ed3e5c440d1e399e026301cd2c2b5d8ae3236bc7 | Java | cyl1187577565/cyl_demo | /src/main/java/leetCode/L0021_merge_2_sorted_list.java | UTF-8 | 885 | 3.203125 | 3 | [] | no_license | package leetCode;
/**
* 21. 合并两个有序链表
*/
public class L0021_merge_2_sorted_list {
public ListNode mergeTwoLists(ListNode l1, ListNode l2) {
ListNode cur1 = l1;
ListNode cur2 = l2;
ListNode head = new ListNode(-1);
ListNode cur = head;
while (cur2 !=null && cur1 !=null){
... | true |
522d00d1c4edb5582a20fa72c31899c2a6f5867a | Java | yexuejc/utils | /util-base/src/main/java/com/yexuejc/util/base/pojo/PagerVO.java | UTF-8 | 908 | 2.28125 | 2 | [] | no_license | package com.yexuejc.util.base.pojo;
import com.yexuejc.util.base.util.JsonUtil;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
public class PagerVO extends BaseVO {
private static final long serialVersionUID = -7679296673189336136L;
/**
* 页码
*/
@NotNull
... | true |
114a15f99e0002b2342ab3db71bd4627be91a33b | Java | TakacNandor/MineSweeper | /src/Mines/Clue.java | UTF-8 | 286 | 2.609375 | 3 | [] | no_license | package Mines;
public class Clue extends Tile {
private final int minesAround;
public Clue(int minesAround) {
this.minesAround = minesAround;
}
public int getMinesAround() {
return minesAround;
}
@Override
public String toString() {
return "" + getMinesAround();
}
}
| true |