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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
8067391b97a35b13db18424900067a41cef5f4e1 | Java | a12791602/lotto-cms-core-wl | /src/main/java/com/hhly/cmscore/persistence/payment/dao/PayBankLimitDaoMapper.java | UTF-8 | 850 | 1.929688 | 2 | [] | no_license | package com.hhly.cmscore.persistence.payment.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.hhly.cmscore.persistence.payment.po.PayBankLimitPO;
import com.hhly.skeleton.cms.payment.bo.PayBankLimitBO;
import com.hhly.skeleton.cms.payment.vo.PayBankLimitVO;
/**
* @desc 支付银行卡限制说明表操... | true |
d5d2297ef2a0723c666d3c0a33bd8fa9d66167ec | Java | willp-bl/verify-stub-idp | /saml-extensions/src/main/java/uk/gov/ida/saml/core/extensions/eidas/impl/BirthNameImpl.java | UTF-8 | 1,167 | 2.34375 | 2 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | package uk.gov.ida.saml.core.extensions.eidas.impl;
import org.opensaml.core.xml.XMLObject;
import org.opensaml.saml.common.AbstractSAMLObject;
import uk.gov.ida.saml.core.extensions.eidas.BirthName;
import javax.annotation.Nullable;
import java.util.List;
public class BirthNameImpl extends AbstractSAMLObject implem... | true |
b0c0d7301e3a1e35435180f2da82b6012436bfcf | Java | UnlimitedBladeWorksV/TelDefender | /app/src/main/java/com/example/ag/teldefender/RecorderActivity.java | UTF-8 | 7,817 | 2.28125 | 2 | [] | no_license | package com.example.ag.teldefender;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.PersistableBundle;
import android.support.v7.app.AlertDialog;
import android.supp... | true |
c2c3377bf92cb1943f1b00d96b7f346b1193ab6c | Java | moutainhigh/center-1 | /newscenter/src/main/java/com/cmall/newscenter/beauty/model/PostsCosmeticFollowAddInput.java | UTF-8 | 1,167 | 1.804688 | 2 | [] | no_license | package com.cmall.newscenter.beauty.model;
import java.util.ArrayList;
import java.util.List;
import com.srnpr.zapcom.baseannotation.ZapcomApi;
import com.srnpr.zapcom.topapi.RootInput;
/**
* 追帖妆品输入类
* @author houwen
* date 2015-01-21
* @version 1.0
*/
public class PostsCosmeticFollowAddInput extends RootInput {... | true |
e581cd45258772151a26ef7187bbc08f026c32c8 | Java | m-mercier/poo-project | /simulador_robots/src/Simulador/Ambiente.java | UTF-8 | 17,565 | 3.25 | 3 | [] | no_license | package Simulador;
import java.io.*;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Ana Guarino
* @author Marta Mercier
*/
public class Ambiente {
private int largura;
private int comprimento;
private int tempo_vida;
private fin... | true |
c8b89331604f20c814e41938ac5a0b19e6a22413 | Java | Ivan-SHCH/academy | /academy/src/by/academy/task/array/TaskArray5.java | UTF-8 | 2,148 | 4.125 | 4 | [] | no_license | package by.academy.task.array;
import java.util.Arrays;
import java.util.Random;
public class TaskArray5 {
// Задача 5.
// Создайте 2 массива из 5 случайных целых чисел из отрезка [0;5] каждый,
// выведите массивы на экран в двух отдельных строках. Посчитайте среднее арифметическое элементов каждого массива ... | true |
2839ad72b555fc7d6bd89e6be63374e14b7254f4 | Java | bgfintech/bg | /bgwx/src/com/bg/interfaces/entity/internal/CountDetail.java | UTF-8 | 3,174 | 1.734375 | 2 | [] | no_license | package com.bg.interfaces.entity.internal;
public class CountDetail {
private String count_yuangao;
private String count_wei_yuangao;
private String count_beigao;
private String count_wei_beigao;
private String count_other;
private String count_wei_other;
private String money_yuangao;
private String ... | true |
4b04e9c49562af7e431e36541e86946f9511fb4b | Java | treejames/ProductScanner | /src/com/google/zxing/client/android/ViewfinderView.java | UTF-8 | 6,841 | 2.0625 | 2 | [] | no_license | /*
* Copyright (C) 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | true |
77ac4d069fd160081eff06639d4eff0eb8664216 | Java | yadav15198/MovieDbApp | /app/src/main/java/com/example/hp/moviedbapp/MoviesFragment.java | UTF-8 | 5,985 | 2.109375 | 2 | [] | no_license | package com.example.hp.moviedbapp;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.Context;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.app.Fragment;
import android.provider.SyncStateContract;
import android.support.annota... | true |
f070c846c504c20083dfa76f9a01db44eac08460 | Java | cm1997/test | /ELSClientModule/src/main/java/org/cross/elsclient/blimpl/constantblimpl/ConstantInfoImpl.java | UTF-8 | 2,773 | 2.234375 | 2 | [] | no_license | package org.cross.elsclient.blimpl.constantblimpl;
import org.cross.elsclient.blimpl.blUtility.ConstantInfo;
import org.cross.elsclient.vo.ConstantVO;
import org.cross.elscommon.po.ConstantPO;
import org.cross.elscommon.util.PositionType;
import org.cross.elscommon.util.UserType;
public class ConstantInfoImpl impleme... | true |
47a48fe1c4074f02bdb67e35367e2b4544a995cc | Java | Eazash/hillfog | /core-app/src/org/qifu/core/api/HelloApiController.java | UTF-8 | 2,453 | 1.890625 | 2 | [] | no_license | ///*
// * Copyright 2019-2021 qifu of copyright Chen Xin Nien
// *
// * 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
// *
//... | true |
4a0a0b65631e94f0aa5c1515c117c007f4c9cc16 | Java | ochaloup/transactions-metrics-servlet-test | /src/main/java/org/jboss/qa/ochaloup/utils/Database.java | UTF-8 | 4,459 | 2.328125 | 2 | [] | no_license | /*
* JBoss, Home of Professional Open Source.
* Copyright 2016, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | true |
64256cec71b039e3f2c7c78a99062baa530fa031 | Java | kelvinkellner/ICS4UI | /Unit Five/src/project/spaceinvaders/Creature.java | UTF-8 | 347 | 2.359375 | 2 | [] | no_license | package project.spaceinvaders;
public class Creature extends Element {
int bulletType;
Creature(int x, int y, int w, int h, String f, int b)
{
super(x,y,w,h,f);
this.bulletType=b;
}
public void shoot()
{
if(bulletType==0)
new Bullet(super.getxPos(),super.getyPos(),4,4,"BULLET0.jpeg",1,... | true |
02c3a87f03e32629f30334b9825ed9d6675aa35c | Java | divijsethi822348/RecyclerView | /app/src/main/java/com/example/recyclerview/Adapters/StoryAdapter.java | UTF-8 | 1,609 | 2.359375 | 2 | [] | no_license | package com.example.recyclerview.Adapters;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.recyclerview.Activities.Model2;
import co... | true |
0010edd22bfd87a0c4add65d09dae6905fd30c78 | Java | pmerg/cucumber | /cucumber-expressions/java/src/main/java/io/cucumber/cucumberexpressions/ParameterType.java | UTF-8 | 1,174 | 2.375 | 2 | [
"MIT"
] | permissive | package io.cucumber.cucumberexpressions;
import java.lang.reflect.Type;
import java.util.List;
public interface ParameterType<T> {
/**
* This is used in the type name in typed expressions
*
* @return human readable type name
*/
String getName();
Type getType();
List<String> getR... | true |
b2832496919c835c4c86a1eaf7d4a6bcd9a5e066 | Java | hzieedu/bobo | /bobo-server/src/main/java/com/dudu/bobo/server/support/BoboServer.java | UTF-8 | 3,339 | 2.375 | 2 | [] | no_license | package com.dudu.bobo.server.support;
import java.util.Properties;
import java.io.InputStream;
import java.io.IOException;
import com.dudu.bobo.common.Node;
import com.dudu.bobo.common.InetNode;
import com.dudu.bobo.server.RpcSkeletonContainer;
import com.dudu.bobo.server.RpcSkeleton;
import com.dudu.bobo.... | true |
3acf70fbb7d9c213c53cf430b97320dbb81cc995 | Java | pittbullnt/chargen | /src/chargen/Chargen.java | UTF-8 | 63,661 | 3.34375 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package chargen;
import java.util.HashMap;
/**
*
* @author Administrator
*/
public class Chargen
{
private final HashMap<Character, Integer> map = new HashMap<>();
private char pixel = 'O';
... | true |
f4728fedddc8d8ed59b401f81e0d8c15cc6defa5 | Java | beihuxiansheng/elasticsearch-token | /core/src/main/java/org/elasticsearch/transport/NotSerializableTransportException.java | UTF-8 | 3,255 | 1.664063 | 2 | [
"Apache-2.0"
] | permissive | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you u... | true |
54999948948d55d20d5d25b50eff99dc6515cf4d | Java | IrinaGolovan/Credible | /src/main/java/steps/PersonalLoanRequestPageSteps.java | UTF-8 | 983 | 2.28125 | 2 | [] | no_license | package steps;
import data.dataExtraction.LoanPurposeRequestData;
import pages.PersonalLoanRequestPage;
import pages.ProfileLoanRequestPage;
public class PersonalLoanRequestPageSteps {
PersonalLoanRequestPage personalLoanRequestPage = new PersonalLoanRequestPage();
public ProfileLoanRequestPage enterPerson... | true |
008dec3f63ac70ae0e310fa9fcb04ec04c970f12 | Java | 101131333/comp3074_project | /app/src/main/java/ca/gbc/comp3074/restaurantguide/TimHortons.java | UTF-8 | 3,830 | 2.375 | 2 | [] | no_license | package ca.gbc.comp3074.restaurantguide;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.V... | true |
d490124b92a233b85e27bdb52d02d4fb44f3da19 | Java | GluuFederation/oxAuth | /Model/src/main/java/org/gluu/oxauth/model/common/converter/ListConverter.java | UTF-8 | 1,208 | 2.9375 | 3 | [
"MIT"
] | permissive | package org.gluu.oxauth.model.common.converter;
import com.fasterxml.jackson.databind.util.StdConverter;
import org.gluu.oxauth.model.util.StringUtils;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.util.List;
import java.util.Objects;
/**
* A class to facilitate two-step deseriali... | true |
5458c90556f0b01ac8621c3817c82d6b9f709f8f | Java | shatu/pr-toolkit | /applications/postagging/trunk/src/postagging/model/PosReverseHMM.java | UTF-8 | 319 | 2.015625 | 2 | [] | no_license | package postagging.model;
import model.chain.hmm.ReverseHMM;
import postagging.data.PosCorpus;
public class PosReverseHMM extends ReverseHMM{
public PosReverseHMM(PosCorpus c, int nrTags) {
super(c,c.getNrWordTypes(),nrTags);
}
public String getName(){
return "POSTAG Reverse HMM";
}
}
| true |
0788eba62dd7ba05a8a983dbb64d081f861cb0d4 | Java | neighbor983/Risk-Opp-Issue | /RiskOppIssue/src/main/java/neighbor983/riskoppissue/Risk/RiskConsequence/RiskConsequenceDaoImpl.java | UTF-8 | 565 | 1.976563 | 2 | [] | no_license | package neighbor983.riskoppissue.Risk.RiskConsequence;
import java.util.List;
public class RiskConsequenceDaoImpl implements RiskConsequenceDao{
public List<RiskConsequence> getAllRiskConsequence() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated metho... | true |
b542dccd93dccbcd329d77ea979f188f8b3a9736 | Java | qaed/gzzqhr63 | /hrss/src/public/nc/bs/hrss/ta/monthreport/MonthReportForMngApprovePageModel.java | GB18030 | 4,664 | 1.546875 | 2 | [] | no_license | package nc.bs.hrss.ta.monthreport;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import uap.web.bd.pub.AppUtil;
import nc.bs.framework.common.NCLocator;
import nc.bs.hrss.pub.HrssConsts;
import nc.bs.hrss.pub.ad... | true |
163ae3b53ed00ed074d17c08a0b0767c32a2c9e6 | Java | Carlos-zero/Demo | /src/Dao/ReplySqlDao.java | UTF-8 | 346 | 1.9375 | 2 | [] | no_license | package Dao;
import java.sql.SQLException;
public interface ReplySqlDao {
//对评论进行回复
Integer sendReply(int comment_id,String content,int from_user_id,int to_user_id) throws SQLException;
//对回复进行回复
Integer sendToReply(int reply_id,String content,int from_user_id,int to_user_id) throws SQLException;
}
| true |
a09846d32eeae8bc03242a404181966851669f7c | Java | NickyGon/ExamenAResuleto | /src/main/java/ejerciciosExtra/AbstractFactoryTv/Refrigerador.java | UTF-8 | 1,069 | 3.234375 | 3 | [] | no_license | package ejerciciosExtra.AbstractFactoryTv;
public class Refrigerador implements iElectronicos{
private String marca;
private boolean AI;
private String modelo;
private int precio;
public Refrigerador() {
}
public String getMarca() {
return marca;
}
public void setMarca(St... | true |
adfe7a17c983a7df65f783fa95f1b5170cd33bed | Java | Allen97/VotingSystem | /src/com/iss/dbutils/DBUtils.java | GB18030 | 2,762 | 2.625 | 3 | [] | no_license | package com.iss.dbutils;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;... | true |
95cb5f06deb88e2c03220dd04f0828b07e7a900f | Java | llnforest/jt808 | /src/main/java/org/yzh/web/service/impl/CzJsTrainImgsServiceImpl.java | UTF-8 | 2,929 | 2.09375 | 2 | [
"Apache-2.0"
] | permissive | package org.yzh.web.service.impl;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springfra... | true |
fff036802575b748228eabe15c4a1d0f610dc187 | Java | Danil891/second_task | /src/Grep.java | UTF-8 | 1,520 | 2.71875 | 3 | [] | no_license | import java.io.*;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Grep {
private boolean ilogic;
private boolean vlogic;
private boolean rlogic;
public Grep (boolean ilogic, boolean vlogic,... | true |
cc24ea955b643e3a4321d02b768ac133f2f06a45 | Java | sonyjun/Algorithm | /Programmers/VisitedPath.java | UTF-8 | 2,578 | 3.71875 | 4 | [] | no_license | package Programmers;
public class VisitedPath {
static final int U = 0;
static final int D = 1;
static final int L = 2;
static final int R = 3;
public static void main(String[] args) {
System.out.println(solution("ULURRDLLU"));
System.out.println(solution("LULLLLLLU"));
}
public static int solution(String... | true |
075b2ea6eb9e1fe0313a2f85f104e91c0aef5132 | Java | ironman6121/AutoTestAppium | /app/src/main/java/com/ironman/autotestappium/Case1Activity.java | UTF-8 | 2,241 | 2.28125 | 2 | [] | no_license | package com.ironman.autotestappium;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
/**
* create by ironman 2018/8/7
*/
public class Case1Activity extends AppCompatActivity {
private ... | true |
10bc1103fff1b67396849d644f8379218badb15b | Java | Kirintale/jts2geojson | /src/main/java/org/wololo/jts2geojson/GeoJsonCoordinateUtilities.java | UTF-8 | 1,776 | 3.328125 | 3 | [
"MIT"
] | permissive | package org.wololo.jts2geojson;
import com.vividsolutions.jts.algorithm.CGAlgorithms;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.CoordinateArrays;
public class GeoJsonCoordinateUtilities {
/**
* Rotates if necessary JTS coordinates for conversion to a GeoJson object. T... | true |
5c065ab12e0f322cd860dd79862fbec5e2ea7f7e | Java | qsfjing/atu_erp | /atu-erp-service/src/main/java/com/atu/erp/service/impl/WorkerServiceImpl.java | UTF-8 | 5,081 | 2.25 | 2 | [] | no_license | package com.atu.erp.service.impl;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.atu.erp.domain.PromotionInfo;
import com.atu... | true |
68644a4eaaf0d448ef81159830a27edad1b2e8be | Java | tigarxie/MycatJavaHomework | /dubbo/dubbo-provider1/src/main/java/com/tigar/dubbo/provider1/HelloServiceImpl.java | UTF-8 | 335 | 2.015625 | 2 | [] | no_license | package com.tigar.dubbo.provider1;
import com.alibaba.dubbo.config.annotation.Service;
import com.tigar.dubbo.api.IHelloService;
/**
* @author tigar
* @date 2019/1/10.
*/
@Service
public class HelloServiceImpl implements IHelloService {
@Override
public String Say(String str) {
return "provider1:" ... | true |
8f43618c733d48ec24a38a3e22e67155280562a3 | Java | Satyam-Muluk/vaccine-distribution-management-system | /src/vaccine/management/system/updateyouth.java | UTF-8 | 7,464 | 2.3125 | 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 vaccine.management.system;
import java.awt.Choice;
import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import ... | true |
298dc7716e207cbf63f13441e90a533607667567 | Java | WingedCat/foodie-dev | /foodie-dev-service/src/main/java/edu/xpu/hcp/service/UserAddressService.java | UTF-8 | 2,170 | 2.015625 | 2 | [] | no_license | package edu.xpu.hcp.service;
import edu.xpu.hcp.bo.UserAddressBO;
import edu.xpu.hcp.pojo.UserAddress;
import java.util.List;
/** ____________________
_ _ < 神兽... | true |
9c5395d00237ebab19586dde20cc487980afdfab | Java | augustingims/spring-boot-jwt-with-social-media | /src/main/java/cm/skysoft/app/service/AgencyService.java | UTF-8 | 998 | 2.125 | 2 | [] | no_license | package cm.skysoft.app.service;
import cm.skysoft.app.domain.Agency;
import cm.skysoft.app.dto.AgencyDTO;
import java.util.List;
import java.util.Optional;
/**
* Created by francis on 2/12/21.
*/
public interface AgencyService {
/**
* save agency.
* @param agency the agency
* @return list of a... | true |
480cd719b4c62e6482b9862842aaf48692e59817 | Java | kkirsche/commafeed | /src/main/java/com/commafeed/frontend/model/request/IDRequest.java | UTF-8 | 623 | 1.851563 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | package com.commafeed.frontend.model.request;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import com.wordnik.swagger.annotations.ApiClass;
import com.wordnik.swagger.annotation... | true |
ea6ab4d9dfce9177246aeddcd90149123981ee3e | Java | SophiaGvt/Java-Programming-II | /test/TextNormalizationTest.java | UTF-8 | 3,757 | 2.421875 | 2 | [] | no_license | package javengers;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import java.util.Arrays;
/**
* JUnit test for method textNormalization() of Normalization Class.
* It also indirectly tests method removeStopWords() of StopWordsRemoval Class.
*
* @author Nikos
*/
public class... | true |
7903cd84208016b853e2a6cd2a3441fdfc00cd06 | Java | fedeatanasoff/backtracking-java | /Recursividad/src/mochila/Mochila.java | UTF-8 | 2,024 | 3.3125 | 3 | [] | no_license | package mochila;
import java.util.Arrays;
public class Mochila {
private int pesoMaximo;
private Elemento[] elementos;
private int peso, beneficio;
public Mochila(int pesoMaximo, int numElementos) {
this.pesoMaximo = pesoMaximo;
this.elementos = new Elemento[numElementos];
this.beneficio... | true |
f40675536c01ee41b9c8b83acb403f720a119259 | Java | beisdog/onlinecv | /onlinecv-rest/src/main/java/com/beisert/onlinecv/service/MongoDBSingleton.java | UTF-8 | 4,680 | 2.125 | 2 | [] | no_license | package com.beisert.onlinecv.service;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.bson.Document;
import org.bson.conversions.Bson;
import org.jongo.Jongo;
import com.beisert.onlinecv.domain.AddressData;
import com.beisert.onlinecv.domain.Certifi... | true |
2c2161ced7bce9ea835875b6490e960b0363a53b | Java | ParthSalat47/covid-tracker | /src/main/java/org/vaadin/covid/service/coronaapi/model/Country.java | UTF-8 | 464 | 1.976563 | 2 | [] | no_license | package org.vaadin.covid.service.coronaapi.model;
import lombok.Data;
import java.util.List;
@Data
public class Country implements Comparable<Country> {
private Coordinates coordinates;
private String name;
private String code;
private Long population;
private LatestData latest_data;
private... | true |
c8e8a0b32da4469f2c984e877d331dc76ae687bc | Java | lhualin/ChatDemo1 | /app/src/main/java/com/findu/chatdemo/Chat2Activity.java | UTF-8 | 5,581 | 1.960938 | 2 | [] | no_license | package com.findu.chatdemo;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import ... | true |
d0a8797046c21d23650471169b9d8a216d029bb7 | Java | ssniu/IntroductionToJava10 | /chapter02/Exercise06.java | UTF-8 | 983 | 4.4375 | 4 | [] | no_license |
/**
* (Sum the digits in an integer) Write a program that reads an integer
* between 0 and 1000 and adds all the digits in the integer. For example,
* if an integer is 932, the sum of all its digits is 14.
* Hint: Use the % operator to extract digits, and use the / operator to
* remove the extracted digit. For in... | true |
b541f667a9a1f372d05209ec90efc825a4dd57ee | Java | JPLeoRX/language-classifier | /src/main/java/com/tekleo/language_classifier/neural_network/WordsDataSetStored.java | UTF-8 | 1,968 | 2.890625 | 3 | [] | no_license | package com.tekleo.language_classifier.neural_network;
import com.tekleo.language_classifier.dictionaries.Dictionary;
import java.io.*;
import java.util.List;
public class WordsDataSetStored implements Serializable, Cloneable {
private double ratio; // Ration between... | true |
56201d05d80a63ff9917738ec829c982f018a86e | Java | NelsonLopez/MultiApp | /MultiApp/src/modelo/Aplicacion.java | UTF-8 | 4,159 | 2.96875 | 3 | [] | no_license | package modelo;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
/**
* @author Usuario
*
*/
public class Aplicacion {
//Relaciones
private Usuario avatarRaiz;
private Usuario jugador;
private U... | true |
8eaa42e83880e88170f7edfc7660f414678630db | Java | Minhnhat21/JavaCoBan | /src/Practice/Method/SortThreeNumbers.java | UTF-8 | 989 | 3.75 | 4 | [] | 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 Practice.Method;
/**
*
* @author nguye
*/
import java.util.Scanner;
public class SortThreeNumbers {
public static void ... | true |
f0fe387018f9dac2897b9bb13f8ae5b55019fd1e | Java | lgwind/NER | /NER/src/com/lgwind/util/Excel_interface.java | GB18030 | 833 | 2.359375 | 2 | [] | no_license | package com.lgwind.util;
import com.lgwind.domain.Datas;
public interface Excel_interface {
/**
* ½excelʹĬ֣
*
* @param path·
*/
public abstract void newXLS(String path);
/**
* ½excel
*
* @param path·
* @param nameļ
*/
public abstract void newXLS(String path, String name);
... | true |
ceac006313eb1ac9d53d16f05689b4b8c3a2dca7 | Java | janebabra/DroidBooking | /SharedOntology/src/it/uniba/ontology/BookingOntology.java | UTF-8 | 5,478 | 2.171875 | 2 | [] | no_license | package it.uniba.ontology;
import jade.content.onto.BasicOntology;
import jade.content.onto.Introspector;
import jade.content.onto.Ontology;
import jade.content.onto.OntologyException;
import jade.content.onto.ReflectiveIntrospector;
import jade.content.schema.ConceptSchema;
import jade.content.schema.Object... | true |
d29f2e7db6cf3b65db7d5f36323daf6c16013147 | Java | dmichelin/Time-ToDo | /app/src/main/java/com/personal/daniel/timetodo/ItemDbSchema.java | UTF-8 | 424 | 2.03125 | 2 | [] | no_license | package com.personal.daniel.timetodo;
/**
* Created by daniel on 6/29/16.
*/
public class ItemDbSchema {
public static final class ItemTable{
public static final String NAME = "Items";
public static final class Cols{
public static final String UUID = "uuid";
public stat... | true |
bb41260ccf2eb90fc7d2f4ddf9e7d6a3252d5879 | Java | AI-Jiny/JavaPractice | /chapter06_제네릭과 컬렉션/LinkedListEx2.java | UTF-8 | 1,082 | 3.828125 | 4 | [] | no_license | package Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
public class LinkedListEx2 {
static void printList(LinkedList<String> m) {
Iterator<String> iterator = m.iterator();
while (iterator.hasNext()) { // 다음값이 있으면 아래를 실행해라
String e = iterator.next(); // 값을 ... | true |
269c41d9eb62bb927f0f2f08c3254861ef2b9ed2 | Java | JoshuaMasci/Dragons-Reach | /Iamshortman/DragonsReach/Common/Block/BlockDragonsReachSapling.java | UTF-8 | 2,606 | 2.234375 | 2 | [] | no_license | package Iamshortman.DragonsReach.Common.Block;
import java.util.Random;
import Iamshortman.DragonsReach.Common.World.WorldGenBlackWoodTree;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import ne... | true |
a163a9dafc5a4a79c4945cfb29f4d542c0487392 | Java | 30K43/SpringCloud | /src/main/java/com/jeeplus/modules/test/grid/entity/TestCountry.java | UTF-8 | 1,254 | 2.234375 | 2 | [] | no_license | /**
* Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
*/
package com.jeeplus.modules.test.grid.entity;
import com.jeeplus.modules.test.grid.entity.TestContinent;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;... | true |
f0c883854a3491b3344f1e833b989965c62d3f1a | Java | hendyyou/shopizer | /sm-core/src/main/java/com/salesmanager/core/business/shoppingcart/service/ShoppingCartServiceImpl.java | UTF-8 | 11,150 | 2.15625 | 2 | [] | no_license | package com.salesmanager.core.business.shoppingcart.service;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springfra... | true |
e1b46857487f9396bb96e50e0a907f2e35b74047 | Java | dasaipoom/204211-Project | /src/main/java/AppService/SaverAndLoader.java | UTF-8 | 1,501 | 2.59375 | 3 | [] | no_license | package AppService;
import AppUtil.FilePath;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Paths;
public class SaverAndLoader {
public static String get... | true |
393a22d49f032c1ec1004238a2c169f5704066b6 | Java | SyedulKhan/Slot-Machine-Program | /SlotMachineProgram/src/SlotMachine.java | UTF-8 | 12,610 | 2.96875 | 3 | [] | no_license |
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SlotMachine extends JFrame {
//all JComponents
private JLabel betArea;
private JLabel creditArea;
private JTextField testArea;
private JTextField testArea2;
private JTextField testArea3;
private JButton addCoin;... | true |
f73ffb0b5c35178ac88a050ffd9d9a85326e66ce | Java | nikhil-kumar33/RestAssuredAssignments | /restAssuredAssignments/src/test/java/restAssuredAssignments/Assignment2.java | UTF-8 | 941 | 2.421875 | 2 | [] | no_license | package restAssuredAssignments;
import org.testng.Assert;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import io.restassured.RestAssured;
import io.restassured.path.json.JsonPath;
import io.restassured.response.Response;
public class Assignment2 {
Response resp... | true |
afd83e8841230a9e71b7b666cad1b409baf06ed4 | Java | vikas-dolare17/Rest_Spring_Repository | /FactoryMethodCalenderInst/src/main/java/com/java/spring/bean/JavaBeanClass.java | UTF-8 | 801 | 2.625 | 3 | [] | no_license | package main.java.com.java.spring.bean;
// This is bean class
public class JavaBeanClass {
private int intVar;
private String strVar;
private float floatVar;
private double doubleVar;
public int getIntVar() {
return intVar;
}
public void setIntVar(int intVar) {
this.intVar = intVar;
}
public String getS... | true |
7dde193aeb0a0f3ebfc0b1308876a4a7b627b3bd | Java | quarkusio/quarkus | /extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/runtime/HttpServerConfig.java | UTF-8 | 2,393 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | package io.quarkus.micrometer.runtime.config.runtime;
import java.util.List;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
@ConfigRoot(name = "micrometer.binder.http-server", phase = Co... | true |
a7e82c1bdf3d2107a804c3892cfbf2713b47b832 | Java | Ko01Nim/SE | /app/src/main/java/com/first/miso/Reserve_Cancel.java | UTF-8 | 903 | 2.03125 | 2 | [] | no_license | package com.first.miso;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class Reserve_Cancel extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... | true |
6d1a982a6f42071add1173142bd26711e631f37c | Java | royzhuo/foodroot | /fweb/src/main/java/com/service/fwebService.java | UTF-8 | 240 | 1.515625 | 2 | [] | no_license | package com.service;
import org.springframework.stereotype.Service;
/**
* Created by roy.zhuo on 2018/9/17.
*/
@Service
public class fwebService {
public fwebService(){
System.out.println("fweb service ........");
}
}
| true |
9f41b371bedf29e0f2248ec674422fc4224f6776 | Java | moutainhigh/JzgxCloud | /fssp-jzgx-common/fssp-pubjz-foundation/src/main/java/com/inspur/gs/fssp/pubjz/foundation/api/JZBillBeApi.java | UTF-8 | 802 | 1.921875 | 2 | [] | no_license | package com.inspur.gs.fssp.pubjz.foundation.api;
import com.inspur.gs.fssp.pubjz.foundation.entity.ResultRet;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.Map;
/**
* @Author tangchm01
* @Date 2020/2/1... | true |
ef1112d5f53a696b3b2a047370266be961b829e2 | Java | emilb/snakebot | /app/src/test/java/se/cygni/snake/apiconversion/GameSettingsConverterTest.java | UTF-8 | 765 | 2.578125 | 3 | [
"MIT"
] | permissive | package se.cygni.snake.apiconversion;
import org.junit.Test;
import se.cygni.snake.api.model.GameSettings;
import se.cygni.snake.game.GameFeatures;
import static org.junit.Assert.assertEquals;
public class GameSettingsConverterTest {
@Test
public void testToGameSettings() throws Exception {
}
@Tes... | true |
baf4f463eb0e179b00c9d42d60914f149512474f | Java | hei731/ms | /ms-auth/src/main/java/com/example/auth/store/CustomTokenEnhancer.java | UTF-8 | 3,605 | 1.984375 | 2 | [] | no_license | package com.example.auth.store;
import com.example.auth.service.CustomClientDetailsService;
import com.example.common.core.constants.SecurityConstants;
import com.example.common.core.entity.SysLoginLogVO;
import com.example.common.rabbitmq.producer.LoginLogProducer;
import com.example.common.resource.entity.CustomUser... | true |
e11bdb9004ab2f3dd0fd9b21db341027ac5bdc6c | Java | yasarmatrac/Beylikler | /src/Military/Castle.java | UTF-8 | 1,619 | 3.046875 | 3 | [] | no_license | package Military;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import javax.imageio.ImageIO;
@SuppressWarnings("serial")
public class Castle extends Construction{
String imageFileName = "images/castle.gif";
I... | true |
6e06af0fd4a908fc44c4cd74a89f2bc899acec94 | Java | cafeteru/RI-Gauss | /2017/3_cws_arquitectura_skel_ampliacion/src/uo/ri/business/impl/cash/mediosPago/DeleteMedioPago.java | UTF-8 | 1,109 | 2.4375 | 2 | [] | no_license | package uo.ri.business.impl.cash.mediosPago;
import uo.ri.business.impl.Command;
import uo.ri.business.repository.MedioPagoRepository;
import uo.ri.conf.Factory;
import uo.ri.model.MedioPago;
import uo.ri.model.Metalico;
import uo.ri.util.exception.BusinessException;
import uo.ri.util.exception.Check;
public class De... | true |
d9b0cab1def2147c67d6551d15101027290ece44 | Java | Oshi41/Dash-core | /src/main/java/dashcore/debug/dimension/DebugDimensionProvider.java | UTF-8 | 996 | 2.0625 | 2 | [] | no_license | package dashcore.debug.dimension;
import dashcore.registry.DashDimensions;
import net.minecraft.init.Biomes;
import net.minecraft.world.DimensionType;
import net.minecraft.world.WorldProvider;
import net.minecraft.world.biome.BiomeProviderSingle;
import net.minecraft.world.gen.IChunkGenerator;
import javax.annotation... | true |
336ec7cb4f5cc9f2fae9fe082906843dac118510 | Java | aadanaquesantos/preventa_backend_new | /src/main/java/com/digitalinka/restpreventa/model/response/DispatcherAddressListResponse.java | UTF-8 | 651 | 2.078125 | 2 | [] | no_license | package com.digitalinka.restpreventa.model.response;
import com.digitalinka.restpreventa.model.DispatchAddress;
import java.util.ArrayList;
import java.util.List;
public class DispatcherAddressListResponse {
private List<DispatchAddress> addresses=new ArrayList<>();
StatusResponse status;
public List<Di... | true |
312ea40180b50d3634c066b22be3249220d3d9bc | Java | azhangxi/UniversityServiceSystem | /main/ui/window/panel/admin/ManagePanels.java | UTF-8 | 8,795 | 2.515625 | 3 | [] | no_license | package ui.window.panel.admin;
import model.Admin;
import model.User;
import model.Users;
import model.UsersType;
import ui.window.panel.common.EditProfilePanel;
import ui.window.panel.common.Panels;
import ui.window.panel.common.RegisterPanel;
import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
... | true |
9bd9fbd3bb9f957177b503fcf129100136b72b0d | Java | shtayyabtariq/new-sama-news | /app/src/main/java/xeon/com/youtube/MainActivity.java | UTF-8 | 5,895 | 2.0625 | 2 | [] | no_license | package xeon.com.youtube;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.fir... | true |
f05605e2469f9ffa79af6fe9a8b1fa7359256bc7 | Java | dizhaung/alarm-manager | /alarm-query/src/main/java/com/cpqd/vppd/alarmmanager/signaling/AlarmWebSocketSignaling.java | UTF-8 | 4,507 | 2.296875 | 2 | [] | no_license | package com.cpqd.vppd.alarmmanager.signaling;
import com.cpqd.vppd.alarmmanager.core.converter.AlarmJsonConverter;
import com.cpqd.vppd.alarmmanager.core.event.AlarmUpdateEvent;
import com.cpqd.vppd.alarmmanager.core.event.WBAlarmUpdateEvent;
import com.cpqd.vppd.alarmmanager.core.exception.InvalidAlarmJsonException;
... | true |
23066127e1d3119705562744a8472e4288ab32f3 | Java | Jiang-Can/BundleCalculator | /src/main/java/com/jc/calculatorRunner/CalculatorRunner.java | UTF-8 | 1,331 | 2.3125 | 2 | [] | no_license | package com.jc.calculatorRunner;
import com.jc.UserCentre.NewUser;
import com.jc.calcutlatorCore.CalculatorCore;
import com.jc.input.InputHandler;
import com.jc.output.OutputHandler;
import com.jc.utils.Utils;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Arrays;
import java.util.List;
@NoArg... | true |
749964a64b91cb1818b3db0fa2bdc761ae500771 | Java | Pokemon3108/job-search | /src/main/java/by/daryazalevskaya/finalproject/controller/command/employer/EmployerInfoGetCommand.java | UTF-8 | 1,951 | 2.28125 | 2 | [] | no_license | package by.daryazalevskaya.finalproject.controller.command.employer;
import by.daryazalevskaya.finalproject.controller.PagePath;
import by.daryazalevskaya.finalproject.controller.command.ActionCommand;
import by.daryazalevskaya.finalproject.dao.exception.DaoException;
import by.daryazalevskaya.finalproject.model.emplo... | true |
a14fa24fd1dff2202ae6c33af087df5513a0b45f | Java | fuhaiq/umbrella | /LogPercentiles/version2/percentiles-v2/src/main/java/com/riot/percentiles/analyzer/ResponseTimeAnalyzer.java | UTF-8 | 6,134 | 2.375 | 2 | [] | no_license | package com.riot.percentiles.analyzer;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Reader;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor;
im... | true |
4396ebf08bf3bf413d3aa5cbeabf66fc9a1ae9a1 | Java | chenxm66777123/luckdraw | /src/main/java/com/goldbee/luckdraw/entity/Users.java | UTF-8 | 1,250 | 2.171875 | 2 | [] | no_license | package com.goldbee.luckdraw.entity;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
... | true |
be6d522e8a62485c9b58a4d690fadb03db10dffa | Java | haffid/MyAppRecyclerContactClase | /app/src/main/java/com/haffid/myapprecyclerfoodclase/MainActivity.java | UTF-8 | 1,700 | 2.21875 | 2 | [] | no_license | package com.haffid.myapprecyclerfoodclase;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
priv... | true |
cf9844a60271033d5193806bfbf344acf0e512c2 | Java | badeapatriciaa/CTS-laboratory | /Week6- Builder Prorotype Simple Factory/src/ro/ase/csie/cts/dp/prototype/TestPrototype.java | UTF-8 | 641 | 3.328125 | 3 | [] | no_license | package ro.ase.csie.cts.dp.prototype;
public class TestPrototype {
public static void main(String[] args) throws CloneNotSupportedException {
Tree3DModel tree1= new Tree3DModel("Green", 200);
Tree3DModel tree2= new Tree3DModel("Red", 150);
Tree3DModel tree3= new Tree3DModel("Green", 200);
//prototype - don... | true |
eccfdffcf826121d3b1ef81c5e22da74bc925e71 | Java | FlightToDenmark/urban-umbrella | /src/programmers/FailureRate.java | UTF-8 | 1,251 | 3.453125 | 3 | [] | no_license | package programmers;
import java.util.Comparator;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.stream.Collectors;
public class FailureRate {
public static void main(String[] args) {
int[] stages1 = { 2, 1, 2, 6, 2, 4, 3, 3 };
int[] answer1 = solu... | true |
7be4ab45aa974c16689a6cb438bc92af8c643a3e | Java | thopvna/projects | /Ikariam/app/src/main/java/com/thopv/projects/ikariam/fight/presentation/views/TroopHolder.java | UTF-8 | 1,158 | 2.34375 | 2 | [] | no_license | package com.thopv.projects.ikariam.fight.presentation.views;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.squareup.picasso.Picasso;
import com.thopv.projects.ikariam.R;
import com.thopv.projects.ikariam.ho... | true |
9fd3424cc16bc44024af82a280ea94c653980d53 | Java | reasoncai/design-pattern2 | /src/main/java/com/cai/dp2/observer/jdk/WeatherData.java | UTF-8 | 1,709 | 3.375 | 3 | [] | no_license | package com.cai.dp2.observer.jdk;
import java.util.HashMap;
import java.util.Observable;
/**
* 天气主题,
* Created by reason on 17/8/6.
*/
public class WeatherData extends Observable {
//天气状态值
private float temperature;
private float humidity;
private float pressure;
public WeatherData() {
}
... | true |
8dc20a36e188fe890cf56b25280df1d61daa801b | Java | broadinstitute/ddp-study-server | /pepper-apis/dss-core/src/main/java/org/broadinstitute/ddp/model/activity/definition/types/DecimalDef.java | UTF-8 | 1,155 | 2.46875 | 2 | [
"BSD-3-Clause"
] | permissive | package org.broadinstitute.ddp.model.activity.definition.types;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Value;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
@Value
@AllArgsConstructor
public class DecimalDef implement... | true |
6d030d9c59f6986f2afd9f43acdac50ab0c3430f | Java | way2rakeshr/ospoclogin | /src/main/java/com/hcl/ospoclogin/exception/GlobalException.java | UTF-8 | 1,207 | 2.140625 | 2 | [] | no_license | package com.hcl.ospoclogin.exception;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.servlet.mvc.method.annotatio... | true |
868d4505a6b9b9b8d72fde79ed27f67bb2f88eac | Java | dauquoctoan/Spring-mvc-diamonshop | /src/main/java/DiamonShops/UserService/IProductService.java | UTF-8 | 390 | 1.890625 | 2 | [] | no_license | package DiamonShops.UserService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import DiamonShops.Dto.ProductsDto;
@Service
public interface IProductService {
@Autowired
public ProductsDto GetDataProductById(String id);
@Auto... | true |
26307b188078956c68b83c9a6ee910ed9c882eee | Java | silas97/TCC | /src/test/java/br/edu/fafic/dao/UsuarioDAOTest.java | UTF-8 | 2,530 | 2.421875 | 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 br.edu.fafic.dao;
import br.edu.fafic.model.Usuario;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.A... | true |
43c3fdd90dd66cf008276687eb423c363f86c2dd | Java | 790396054/MyApp | /designsamaple/src/main/java/com/github/gmm/designsamaple/fragment/ThirdFragment.java | UTF-8 | 1,772 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.github.gmm.designsamaple.fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.View;
... | true |
6d8b7152c0c75365f33b8b409d01593ebe576496 | Java | doquockhanh/C0220H1-DoQuocKhanh | /Module2/#19SpringDataRepository/BaiTap/My_BlogWeb/src/main/java/com/codegym/services/CategoryService.java | UTF-8 | 613 | 2.078125 | 2 | [] | no_license | package com.codegym.services;
import com.codegym.models.Category;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
import java.util.Optional;
public interface CategoryService {
void createCategory(Category category);
Page<Category> getAllCa... | true |
bc4620ac206349b2caa7dd30d574c0155930f0d4 | Java | Slimsulex/GitDemo2 | /src/test/java/qaclickacademy/AppiumTest.java | UTF-8 | 261 | 2.078125 | 2 | [] | no_license | package qaclickacademy;
import org.testng.annotations.Test;
public class AppiumTest {
@Test
public void MobileUI()
{
System.out.println("I am Mobile UI");
}
@Test
public void MobileBrowser()
{
System.out.println("I am Mobile Browser");
}
}
| true |
ccb470579bd5aa30220c53f94094727c3504e03d | Java | tpoljak/Lemmagen4J | /src/main/java/si/zitnik/research/lemmagen/impl/LemmatizerSettings.java | UTF-8 | 1,968 | 2.5625 | 3 | [] | no_license | package si.zitnik.research.lemmagen.impl;
import java.io.Serializable;
public class LemmatizerSettings implements Serializable {
private static final long serialVersionUID = -1773211074438614276L;
public LemmatizerSettings() { }
public LemmatizerSettings(
Boolean bUseFromInRules,
... | true |
6ab818e6f471033e5761421e5a4a8096f7425967 | Java | panzeradj/tpv_uned | /src/Clientes.java | UTF-8 | 1,378 | 2.65625 | 3 | [] | no_license | import java.io.Serializable;
public class Clientes implements Serializable {
private String nombre;
private String apellidos;
private int id;
private String nif;
private String razonSocial;
private String domicilio;
private String fechaAlta;
public boolean estado;
Clientes( int id, String nif, String nombr... | true |
4846182f4452b0818c065e30545ec432b8820404 | Java | trueivorian/Warehouse-Shared | /Skeletons/src/Job.java | UTF-8 | 440 | 2.96875 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.Map.Entry;
public class Job{
private Integer jobID;
/**
* Stores all the items that pertain to each job.
*/
ArrayList<Entry<Character, Integer>> itemList = new ArrayList<Entry<Character, Integer>>();
public Job(Integer jobID, ArrayList<Entry<Character, Integer>>... | true |
2b674e3eba3ab8ef7d2c50a4680c983585b67aab | Java | saumil11/SouqAmrika | /src/com/codelab/souqamrika/service/PortalService.java | UTF-8 | 372 | 1.570313 | 2 | [] | no_license | package com.codelab.souqamrika.service;
import com.codelab.souqamrika.dto.PortalCustomDTO;
import com.codelab.souqamrika.entity.ContactDtl;
public interface PortalService {
boolean saveCustomerReg(PortalCustomDTO portal) throws Exception;
boolean saveContactDtl(ContactDtl contactDtl) throws Exception;
void upd... | true |
5420df1f3716e81b57e867cbc887ff01209d03cd | Java | emanoelmlsilva/ProgramasJava | /ExerPOO/ListaRevisao/Questao1/Main.java | UTF-8 | 301 | 2.546875 | 3 | [] | no_license | public class Main{
public static void main(String[]args){
Scanner input = new Scanner(System.in);
Retangulo r1 = new Retangulo(4,6);
Retangulo r2 = new Retangulo(4,2);
System.out.println(r1.toString());
System.out.println(r2.toString());
}
} | true |
7289a2e333a11a1af588c3d52ccb98e358096532 | Java | kothead/ggj15 | /core/src/com/ggj15/model/InkIndicator.java | UTF-8 | 2,685 | 2.421875 | 2 | [] | no_license | package com.ggj15.model;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.ggj15.data.Image... | true |
9b5d8acefb4095f938f389f8dfb1dbb07f6cf8e5 | Java | Aleks-Ya/yaal_examples | /Java+/Spring+/Spring3+/AnnotationConfig+/ParentContext/src/scan2/House.java | UTF-8 | 317 | 2.25 | 2 | [] | no_license | package scan2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import scan1.Address;
@Component
public class House {
@Autowired
private Address address;
@Override
public String toString() {
return "Дом " + address;
}
} | true |
81a0002f8b52addd6b7cbd394d00c2fe047eaeba | Java | dukhniav/oo | /AnatomyOfAClass/InternalCustomer.java | UTF-8 | 1,595 | 3.484375 | 3 | [] | no_license | package cs345.orders;
/* This class represents an internal customer. That is, a customer
* within the same organization. Internal customers don't have
* Names and Address but something that is derived from the
* other information about internal customers.
*
* Note that the class says that it implements Cus... | true |
96b438cd26d7982be81317fb38dc182640942877 | Java | kojoYeboah53i/expo | /android/versioned-abis/expoview-abi37_0_0/src/main/java/abi37_0_0/expo/modules/facedetector/FaceDetectorUtils.java | UTF-8 | 5,257 | 2.3125 | 2 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package abi37_0_0.expo.modules.facedetector;
import android.graphics.Rect;
import android.os.Bundle;
import com.google.android.gms.vision.face.Landmark;
import com.google.firebase.ml.vision.common.FirebaseVisionPoint;
import com.google.firebase.ml.vision.face.FirebaseVisionFace;
import com.google.firebase.ml.vision.f... | true |
e2bc222befe9a1e017c3e2195ca2883f089a67e4 | Java | zsabin/PersistentB-Tree | /src/CacheManager.java | UTF-8 | 6,594 | 3.15625 | 3 | [] | no_license | import java.util.*;
/**
* A Cache Manager class
*/
public class CacheManager
{
private int size;
private List<CacheElement> cache;
private FLRAF file;
private Stack<Integer> unallocatedBlocks;
private int allocatedBlockIndex;
private class CacheElement
{
public boolean modified;
public int blockNumber;
... | true |
28d5ee0a59d514cd7c716def977a22eeab8593c6 | Java | kossovec/Kickstarter | /src/test/java/ua/goit/service/LoginInServiceTest.java | UTF-8 | 1,121 | 2.3125 | 2 | [] | no_license | package ua.goit.service;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import ua.goit.dao.UserDao;
import ua.goit.model.User;
import java.sql.Timestamp;
import java.util.Date;
public class LoginInSer... | true |
ae6434819119d21210e8fb0e2e7710e9d07d8421 | Java | hzhangse/springBasic | /src/main/java/com/train/beanload/order/factory/TestFactoryBean.java | UTF-8 | 2,526 | 2.34375 | 2 | [] | no_license | /**
* TestFactoryBean.java
*
* Created on Aug 25, 2011, 4:17:28 PM
* Copyright (c) 2001-2008 by G2X, Inc. All Rights Reserved.
*/
package com.train.beanload.order.factory;
import java.util.Iterator;
import java.util.Map;
import org.springframework.beans.BeansException;
import org.springframework.bean... | true |
81187a72884665419c1585e4e4300128c85f6b3a | Java | JaineSaconi/Oficina1-Agendamentos | /src/main/java/com/uniagenda/agenda/repository/AgendaAlunoRepository.java | UTF-8 | 379 | 1.859375 | 2 | [] | no_license | package com.uniagenda.agenda.repository;
import com.uniagenda.agenda.domain.AgendaAluno;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;
/**
* Spring Data repository for the AgendaAluno entity.
*/
@SuppressWarnings("unused")
@Repository
public interface AgendaAlu... | true |