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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
cc3f770a8461d7694b5e20b66885f46a9e89c616 | Java | gyqGitHub/FastMe | /app/src/main/java/com/gyq/fast/fastme/WeatherService.java | UTF-8 | 1,879 | 2.125 | 2 | [] | no_license | package com.gyq.fast.fastme;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.suppor... | true |
05862045c947185f6dad0d5b15973d2f6b477274 | Java | styladev/pluginHybris | /src/styla/src/com/styla/json/ProductImage.java | UTF-8 | 6,867 | 2.203125 | 2 | [] | no_license |
package com.styla.json;
import javax.annotation.Generated;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotatio... | true |
c2a98952d74bfd6f5b6cc4589b3c3a10079ef62c | Java | yifengyi/onJava8 | /04-operators/src/main/java/operators/TestIfElse.java | UTF-8 | 530 | 3.546875 | 4 | [] | no_license | package operators;
/**
* V1.0 created by wujf on 2020-12-27
*/
public class TestIfElse {
static int ternary(int i) {
return i < 10 ? i * 100 : i * 10;
}
static int standardIfEles(int i){
if(i<10)
return i*100;
else
return i*10;
}
public static v... | true |
07436ef01dbf14d791ed5e06c704f8714bbe63c6 | Java | Artsproject/YArt | /Art_Mapper/src/main/java/com/qfedu/mapper/SpecialMapper.java | UTF-8 | 585 | 1.953125 | 2 | [] | no_license | package com.qfedu.mapper;
import com.qfedu.domain.Special;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SpecialMapper {
int deleteByPrimaryKey(Integer id);
int insert(Special record);
int insertSelective(Special record);
Special selectByPrimaryKey(Integer id)... | true |
5b36751573ed815613443e3337f6d4d29b67e788 | Java | Auch-Auch/avito_source | /sources/a2/j/e/d/d/c/m.java | UTF-8 | 6,815 | 2.171875 | 2 | [] | no_license | package a2.j.e.d.d.c;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.firebase.crashlytics.internal.model.CrashlyticsReport;
import com.google.firebase.crashlytics.internal.model.ImmutableList;
import java.util.Objects;
public final class m extends CrashlyticsReport.Session.E... | true |
06223e13df8c656781cd6c7325947775bc7982be | Java | shanluhaiya/java-learning | /springmvc/netty-learning/src/main/java/com/yang/netty/http/NettyHttpServer.java | UTF-8 | 1,242 | 2.640625 | 3 | [] | no_license | package com.yang.netty.http;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import java.io.IOException;
public class NettyHttpServer {
... | true |
189b04358c1b030d869be8097052b2817f2269b1 | Java | alzimmermsft/azure-sdk-for-java | /sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/generated/ApiExportGetSamples.java | UTF-8 | 1,761 | 1.773438 | 2 | [
"LGPL-2.1-or-later",
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0",
"LicenseRef-scancode-generic-cla"
] | permissive | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.generated;
import com.azure.core.util.Context;
import com.azure.resourcemanager.apimanagement.models.ExportApi;
im... | true |
54f88276a79caa225a6f73507697365f822757d7 | Java | lxs-code/myBatisa | /src/main/java/com/zking/my/model/shh/Overdue.java | UTF-8 | 1,784 | 2.109375 | 2 | [] | no_license | package com.zking.my.model.shh;
public class Overdue {
private Integer oid;
private Integer customerId;
private String customerName;
private Double oresponse;
private Double oresidue;
private Double overdue;
private String onumber;
public Overdue(Integer oid, Integer customerId, ... | true |
4b0dc3e60e8aadf83a4d96b30804c93db5ea5675 | Java | nicolasebastianelli/Foundations_of_Informatics_T-2 | /Assicurazione/src/rs/model/MyStimaSinteticaFactory.java | UTF-8 | 3,672 | 2.5 | 2 | [] | no_license | package rs.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashSet;
public class MyStimaSinteticaFactory implements StimaSinteticaFactory {
private static final long MILLIS_PER_DAY = 24 * 3600 * 1000;
public MyStim... | true |
b599d10cee24c8a893732c6b83bfbb667a8cf253 | Java | Mottaaaa/Partistico | /app/src/main/java/Database/DatabaseHelper.java | UTF-8 | 2,313 | 2.703125 | 3 | [] | no_license | package Database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class DatabaseHelper extends SQLiteOpenHelper {
private Context context;
private String dbName;
public DatabaseHelper(Context ... | true |
bdd9ce8d50ac4355a754f9831aeb23f01a664d7c | Java | loveqing321/zc | /zc-parent/zc-web-toolkit/src/main/java/top/zuche/toolkit/web/security/handler/LogoutSuccessHandlerImpl.java | UTF-8 | 1,239 | 2.265625 | 2 | [] | no_license | package top.zuche.toolkit.web.security.handler;
import com.alibaba.fastjson.JSON;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.logout.LogoutSuccessHandler;
import top.zuche.common.web.resp.ResponseData;
import javax.servlet.ServletException;
import ja... | true |
2faa502792898ff3a5e376c1d3c2ec267d4f80ea | Java | cmFodWx5YWRhdjEyMTA5/smell-and-machine-learning | /ast_results/zxing_zxing/core/src/test/java/com/google/zxing/oned/rss/expanded/BinaryUtilTest.java | UTF-8 | 1,640 | 1.726563 | 2 | [] | no_license | // isComment
package com.google.zxing.oned.rss.expanded;
import com.google.zxing.common.BitArray;
import org.junit.Assert;
import org.junit.Test;
import java.util.regex.Pattern;
/**
* isComment
*/
public final class isClassOrIsInterface extends Assert {
private static final Pattern isVariable = isNameExpr.isMe... | true |
6e48d69cfa8d52670bfcbf3ebefeb2b5db7f50fe | Java | influxdata/influxdb-client-java | /client-core/src/test/java/com/influxdb/internal/QueryAbstractApiTest.java | UTF-8 | 10,137 | 1.820313 | 2 | [
"MIT"
] | permissive | /*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, s... | true |
bac681c969945a7e7677fe76df6f44ba89c2f1bf | Java | sagek23/Java-Training | /0801/bbs/src/bbs/insertBbsCtrler.java | UTF-8 | 2,037 | 2.1875 | 2 | [] | no_license | package bbs;
import java.awt.print.Book;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.... | true |
7f4c93b33e60b76ccae9badd39b7b2f6ed492eae | Java | anniemoriondo/cs680hw | /src/edu/umb/cs680/hw12/apfs/ApfsReverseAlphaComparator.java | UTF-8 | 271 | 2.34375 | 2 | [] | no_license | package edu.umb.cs680.hw12.apfs;
import java.util.Comparator;
public class ApfsReverseAlphaComparator implements Comparator<ApfsElement> {
public int compare(ApfsElement elem1, ApfsElement elem2) {
return elem2.getName().compareTo(elem1.getName());
}
}
| true |
b7eb3acbc2cca335c1d44bc040da0a1d6690b8c5 | Java | violettagoldman/backend_elasticsearch_project | /src/main/java/server/MasterNode.java | UTF-8 | 10,380 | 2.609375 | 3 | [] | no_license | package server;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.json.JsonObject;
import i... | true |
e0d09393c0135067d663099b95dd56f36085891f | Java | saptarga/spring-design-patterns-creational-design | /src/main/java/saptarga/example/springdesignpatternscreationaldesign/singelton/SingeltonApplication.java | UTF-8 | 334 | 1.992188 | 2 | [] | no_license | package saptarga.example.springdesignpatternscreationaldesign.singelton;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
public class SingeltonApplication {
@Bean
public Counter counter(){
return new Count... | true |
8e9c14e8fd6693cc9e21c6d9a509577c21b8c505 | Java | ravitejalallu/beer-brewery | /src/main/java/raviteja/springframework/beerbrewery/bootstrap/BeerLoader.java | UTF-8 | 2,201 | 2.484375 | 2 | [] | no_license | package raviteja.springframework.beerbrewery.bootstrap;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import raviteja.springframework.beerbrewery.domain.Beer;
import raviteja.springframework.beerbrewery.repositories.BeerRepository;
import raviteja.springframework.b... | true |
6c511a1bdc8d306cfe43912f79c901d512cfc9f7 | Java | YoshikiNagai/ecsite_syokyu_springboot | /ecsite_syokyu_springboot/src/main/java/com/example/ecsite_syokyu_springboot/Controller/LoginController.java | UTF-8 | 1,723 | 2.03125 | 2 | [] | no_license | package com.example.ecsite_syokyu_springboot.Controller;
import javax.servlet.http.HttpSession;
import com.example.ecsite_syokyu_springboot.Entity.BuyItem;
import com.example.ecsite_syokyu_springboot.Entity.Login;
import com.example.ecsite_syokyu_springboot.Service.BuyItemService;
import com.example.ecsite_syokyu_spr... | true |
d8a05d00d748b17ef22545f326e63fe46c15e2f5 | Java | raju1998/Blood_Bank1 | /app/src/main/java/com/example/blood_bank/MainActivity.java | UTF-8 | 4,840 | 1.875 | 2 | [] | no_license | package com.example.blood_bank;
import android.app.ProgressDialog;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import andr... | true |
df81cfbbdd81791bba148f0340c872b6a153927e | Java | ICANNOTENDURE/scm_weixin | /src/main/java/com/dhcc/framework/annotation/JsonResult4Pojo.java | UTF-8 | 502 | 1.8125 | 2 | [] | no_license | package com.dhcc.framework.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* @deprecated As of dhcc framework 1.6.0.1, this annotation has been replaced
* by {@link com.dhcc... | true |
980f8e2359e57f40057a632a314d3732403f7be5 | Java | AlbertSnow/git_workspace | /TestMemory/wandoujia/src/main/java/com/squareup/wire/Wire.java | UTF-8 | 4,470 | 1.929688 | 2 | [] | no_license | package com.squareup.wire;
import java.io.InputStream;
import java.lang.reflect.Field;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public final class Wire
{
private final Map<Class<? extends Message.Builder>, a<? extends Message.Bu... | true |
61a157d712d3f3ac22ed9c99f1e2a20172c08a3b | Java | liuzhouid/small-cloud | /small-auth/auth-server/src/main/java/com/github/cloud/auth/mapper/AuthMapper.java | UTF-8 | 692 | 1.796875 | 2 | [
"Apache-2.0"
] | permissive | package com.github.cloud.auth.mapper;
import com.github.cloud.auth.dto.OauthClientDetailsDTO;
import com.github.cloud.auth.model.SysUser;
import com.github.cloud.core.base.MyMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface AuthMapper extends MyMapper<SysUser> {
SysUser... | true |
8af21828c1ea5349e14afb3fa8823b8e7fb40f51 | Java | nabilfikri/CSC584 | /Chapter01/src/interfaceexample/Taxable.java | UTF-8 | 115 | 2.6875 | 3 | [] | no_license | package interfaceexample;
interface Taxable {
final double taxRate = 0.06;
public double calculateTax();
} | true |
18ac3f4f15419415738e008b7c5213023a2723b6 | Java | gustavomachad/SQLiteCRUD | /app/src/main/java/com/app/phonebook/Adapters/ContactAdapter.java | UTF-8 | 2,206 | 2.453125 | 2 | [] | no_license | package com.app.phonebook.Adapters;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.app.phonebook.Model.ContactModel;
import com.app.phonebook.R;
import com.app.phonebook.Utils.ContactViewHolder;
import com.app.phon... | true |
a2d4f9f9491cedb190d87274de3c5206ca1da95b | Java | moonspring/struct_util | /src/main/java/com/lzq/struct/util/diff/mydiff/MyersDiff.java | UTF-8 | 6,018 | 2.90625 | 3 | [] | no_license | package com.lzq.struct.util.diff.mydiff;
import com.github.difflib.algorithm.DifferentiationFailedException;
import com.github.difflib.patch.Patch;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.function.BiPredicate;
/**
* @author adam
*/... | true |
a3c128184eec4db7449d1e2f87fd8c3958018031 | Java | manekinekko/mitic-aoc | /src/metronome/adapter/Molette.java | UTF-8 | 942 | 2.90625 | 3 | [] | no_license | package metronome.adapter;
import metronome.Constantes;
/**
*
* Implémentation de l'interface {@link IMolette}. Cette classe doit être créée à partir
* de Materiel.
*
* @author <ul>
* <li>Wassim Chegham (<a
* href=mailto:contact@cheghamwassim.com>contact@cheghamwassim.com</a>)</li>... | true |
8b619871f6179558f8e89c007993053d91421ef7 | Java | johnsweet15/CPSC250L-Assignments | /src/Quizzes/Shoe.java | UTF-8 | 607 | 3.671875 | 4 | [] | no_license | package Quizzes;
public class Shoe {
private String name;
private int size;
private boolean isLeft;
public Shoe(String name, int size, boolean isLeft){
this.name = name;
this.size = size;
this.isLeft = isLeft;
}
public String getName(){
return name;
}
public int getSize(){
... | true |
ade186a7108ae4ad84d3a2aef2437c69f97d88b5 | Java | ApdUlRahman-Muhammed/moveON | /app/src/main/java/com/example/android/popularmovie/MovieDetail.java | UTF-8 | 7,472 | 1.960938 | 2 | [] | no_license | package com.example.android.popularmovie;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.content.Intent;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget... | true |
75af29de5b3f19dc7638a774f1f18a47e619d55e | Java | bohemianmoon5/CODERIUM | /coderium/src/pay/data/db.java | UTF-8 | 4,740 | 2.65625 | 3 | [] | no_license | package pay.data;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
import java.util.ArrayList;
public class db {
Connection conn;
// MySql private information... | true |
abb81bd87ec515c5778a755aea0b43c9ccb0de27 | Java | kyorororo3/JAVA_BITCAMP | /0530 Static/src/my/myClass.java | UTF-8 | 2,171 | 4.03125 | 4 | [] | no_license | package my;
public class myClass {
private int number; //은닉성을 통해서 접근을 하려면 setter/getter로 접근할 수 있도록 설정해야함
// 멤버 변수
public static int st_number; // 정적 변수
public static int num; //생성하지 않아도 무조건 잡힘 instance 생성한적 없음
public int getNumber() { //멤버 메소드
return number;
}
//멤버 메소드 == 인스턴스 메소드
public void... | true |
4a06159c1fa00ad897df01f7b3aa237dc1975655 | Java | lanmolsz/wms | /java/Dddml.Wms.JavaCommon/src/generated/java/org/dddml/wms/domain/shipmentreceiptmvo/ShipmentReceiptMvoAggregate.java | UTF-8 | 573 | 1.742188 | 2 | [] | no_license | package org.dddml.wms.domain.shipmentreceiptmvo;
import java.util.List;
import org.dddml.wms.domain.shipment.*;
import java.util.Date;
import org.dddml.wms.domain.*;
import org.dddml.wms.specialization.Event;
import org.dddml.wms.domain.Command;
public interface ShipmentReceiptMvoAggregate
{
ShipmentReceiptMvoSta... | true |
9c54df6ea573ce021d614a6a3f80e627004b2a97 | Java | naturalprogrammer/spring-lemon | /spring-lemon-commons-mongo/src/main/java/com/naturalprogrammer/spring/lemon/commonsmongo/AbstractDocument.java | UTF-8 | 1,716 | 1.90625 | 2 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | /*
* Copyright 2020-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this artifact or file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... | true |
38a7a67fc47515435a31e23d9fa538cf43187e3f | Java | Ankitapatel0901/iVote | /java/src/main/com/login/deleteCandidates.java | UTF-8 | 943 | 1.875 | 2 | [] | no_license | package com.login;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.dao.ManageCandidateDao;
import com.dao.ManageCandidateImpl;
public class deleteCandidate... | true |
4786f808ded841d7ed8e88146a04e5fea80b4b33 | Java | songyouyu/Play-Leetcode | /0445-Add-Two-Numbers-II/Java/Solution.java | UTF-8 | 1,612 | 3.8125 | 4 | [] | no_license | /**
* @author youyu.song
* @date 2019/6/26
*/
public class Solution {
public class ListNode {
int val;
ListNode next;
ListNode(int x) {
val = x;
}
}
/**
* 给定两个非空链表来代表两个非负整数。数字最高位位于链表开始位置。
* 它们的每个节点只存储单个数字。将这两数相加会返回一个新的链表。
*
* 你可以假设除了数字 0 之外,这两个数字都不会以零开头。
*
* 输入: (7 -> 2 -> 4 -> 3) + (5 -... | true |
86323526daf18d8cd4bf56e63a42c043ddfde7f5 | Java | sengeiou/epis_bigdata_portal | /bigdata-portal/src/main/java/bigdata/portal/web/extend/util/ZeppelinLoginSession.java | UTF-8 | 3,472 | 2.21875 | 2 | [] | no_license | /**
*
*/
package bigdata.portal.web.extend.util;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.URLEncoder;
import java.util.ArrayList;
import j... | true |
ce0cf8da840f7d3ca0dba443d68864ed1789a0e6 | Java | nbmehta/ShaligramBuildcon | /src/main/java/hp/bootmgr/dao/impl/ProjectPropertyPlanDAOImpl.java | UTF-8 | 1,369 | 2.171875 | 2 | [] | no_license | package hp.bootmgr.dao.impl;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import hp.bootmgr.dao.ProjectPropertyPlanDAO;
import hp.bootmgr.vo.ProjectPropertyPla... | true |
bd3ec48a18eae38ecd2c76cda67be39027244b95 | Java | CY2012/Hello-World | /javalianxi/0427/InputDemo.java | GB18030 | 591 | 3.03125 | 3 | [] | no_license | import java.io.*;
class InputDemo{
public static void main(String[] args)throws IOException{
InputStream is = System.in;
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
OutputStream os = new FileOutputStream("D:\\photp\\˵.txt");
PrintWriter pw = new Print... | true |
17b5022b6b297c26e6a85a5640e480582a3e5265 | Java | jcecilija/BILD-IT-Zadaci | /src/zadaci_16_01_2016/Novcic.java | UTF-8 | 1,248 | 3.75 | 4 | [] | no_license | package zadaci_16_01_2016;
import java.util.Scanner;
public class Novcic {
public static void BacanjeNovcica(int broj) {// metoda
int pismo = 0;// brojac za pismo na nula
int glava = 0;// brojac za glava na nula
int brojac = 1;// brojac bacanja
while (brojac < broj) {// dokle god je brojac bacanja... | true |
21b479dd1a6b3144ec716ca7b636b05c228a5cd1 | Java | xiongshiyan/utils | /src/main/java/top/jfunc/common/utils/BeanUtil.java | UTF-8 | 5,569 | 2.9375 | 3 | [] | no_license | package top.jfunc.common.utils;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
/**
* 实体工具类
* @author L.cm email: 596392... | true |
54f574d105744c61ece3b2436d13246e08acff69 | Java | kostyantin2216/fix-it-backoffice | /src/main/java/com/fixit/bo/maps/filters/MapAreaFilterDataLoader.java | UTF-8 | 1,026 | 1.914063 | 2 | [] | no_license | /**
*
*/
package com.fixit.bo.maps.filters;
import java.util.HashMap;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.fixit.bo.maps.filters.... | true |
8ac9bf16c53d3c0e5359db6839ea4d75896db966 | Java | rbouckaert/AlmostDistributions | /src/almostbeast/math/distributions/AlmostMRCAPrior.java | UTF-8 | 392 | 2.25 | 2 | [] | no_license | package almostbeast.math.distributions;
import beast.base.core.Description;
import beast.base.evolution.tree.MRCAPrior;
@Description("Allows MRCAs to be violated if set to monophyletic")
public class AlmostMRCAPrior extends MRCAPrior {
@Override
public double calculateLogP() {
logP = super.calculateLogP();
i... | true |
7b1299795cf4bfd5b4ddb1dfea0b4e5a387a2824 | Java | misbahulhadi31/MonitoringHafalanApp2 | /app/src/main/java/com/example/asus_pc/monitoringhafalanapp2/MainMenuActivity.java | UTF-8 | 5,479 | 1.921875 | 2 | [] | no_license | package com.example.asus_pc.monitoringhafalanapp2;
import android.app.ProgressDialog;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInfl... | true |
b7a11c471bd915f34ef320d465a8946e596d4238 | Java | PIH/openmrs-contrib-databaseexporter | /src/main/java/org/openmrs/contrib/databaseexporter/generator/SequentialGenerator.java | UTF-8 | 4,010 | 2.453125 | 2 | [] | no_license | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.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://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS IS"
... | true |
93bbb0cc9a7f2210820037e73fcabd3c1e070600 | Java | tkilias/script-languages | /src/javacontainer/ExaConnectionInformation.java | UTF-8 | 913 | 2.890625 | 3 | [
"MIT"
] | permissive | package com.exasol;
/**
* This class holds all information about a specific connection, as it can be created using
* the CREATE CONNECTION statement.
*/
public interface ExaConnectionInformation {
public enum ConnectionType {
PASSWORD
}
/**
* @return type of the connection.
*/
pu... | true |
e625b85caaa1fe4d27639f7c8998cb582d61f2d8 | Java | paragkhedkar07/TotalProjects | /project/User_Client/src/main/java/com/webcore/app/loan/main/service/HomeService.java | UTF-8 | 211 | 1.765625 | 2 | [] | no_license | package com.webcore.app.loan.main.service;
import java.util.List;
import com.webcore.app.loan.main.model.User;
public interface HomeService {
public void savedata(User u);
public List<User> getdata();
}
| true |
c2f69212654c9164b4c0019789ed4f108b5a0038 | Java | didolehbal/Microservices-bank | /compteoperations/src/main/java/com/microservices/compteoperations/respositories/OperationsRepository.java | UTF-8 | 366 | 1.632813 | 2 | [] | no_license | package com.microservices.compteoperations.respositories;
import com.microservices.compteoperations.entities.Operation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
@RepositoryRestResource
public interface OperationsReposito... | true |
b0d337513c122ea102a002a16dc545d3b12a025b | Java | Instagram/cassandra | /src/java/org/apache/cassandra/net/ForwardingInfo.java | UTF-8 | 5,230 | 1.992188 | 2 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
d35fad9382e7865e8da0133ddb5ae7555c754c48 | Java | reihsr/bibbox-mdss | /modules/medicaldataset/medicaldataset-service/src/main/java/at/graz/meduni/bibbox/medicaldataset/service/impl/ImportMedicalDataSetFieldMapLocalServiceImpl.java | UTF-8 | 8,713 | 1.695313 | 2 | [] | no_license | /**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any l... | true |
459408de97fdd729efd7aa6d5324b18c320191c0 | Java | rw7/legacy | /ocl20/src/tudresden/ocl20/core/MetaModelIntegrator.java | UTF-8 | 29,269 | 1.609375 | 2 | [] | no_license | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* OCL 2 Compiler *
* Copyright (C) 2002, 2003 Stefan Ocke (stefan.ocke@gmx.de). *
* All rights reserved. *
* ... | true |
2e454a0242fe8272c7245c646193dddca8b86204 | Java | Vlad-Belko/spp_po_2020 | /reports/Дмитрук Валерия Геннадьевна/Лабораторная работа 6/src/lab62/src/com/company/AnalogClockAdapter.java | UTF-8 | 1,054 | 3.421875 | 3 | [] | no_license | package com.company;
public class AnalogClockAdapter implements DigitalClock{
private AnalogClock analogClock;
AnalogClockAdapter(AnalogClock analogClock) {
this.analogClock = analogClock;
}
@Override
public void showTime() {
if (analogClock.getHourDegrees() >= 30 && analogClock.get... | true |
34914fa42b74eb8fe5f7ebce90d84bc1a46f50bb | Java | sumudusujith/Edmond-carp-Algorithm | /src/Main.java | UTF-8 | 1,074 | 3.25 | 3 | [] | no_license | //H.M.S.S.B.HERATH
//2019582
//W1790114
public class Main {
public static void main(String[] args) {
Console appSession = new Console();// Start the programme
appSession.welcomeMessage();// displaying welcome message
String menuChoice = appSession.menuList();// loading main menu
... | true |
c3e1032d1361036e8c74974b571af9a742ce294a | Java | demakvii/some-more-core-java | /custom-annotation-app/src/com/techlabs/annotation/test/AnnotationTest.java | UTF-8 | 987 | 2.9375 | 3 | [] | no_license | package com.techlabs.annotation.test;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Method;
import com.techlabs.annotation.Foo;
import com.techlabs.annotation.NeedRefactor;
public class AnnotationTest {
public static void main(String[] args) throws NoSu... | true |
cdfb1930acb9bdac9800cc7381307ca2c9d69e2d | Java | Pengineer/hust_codes | /myeclipse2/smdb/.svn/pristine/e3/e3a06ce9c0bad4541d903bf31cb3627dc5fd5ccb.svn-base | UTF-8 | 29,854 | 2.03125 | 2 | [] | no_license | package csdc.action.mobile.basis;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.springframework.transaction.annotation.Transactional;
import csdc.action.mobile.MobileAction;
import csdc.bean.Agency;
import csdc.bean.Depar... | true |
28705f40871835bcee35fbedda2069aa69f2eff9 | Java | mdok/AdventuraGUI_FINAL | /src/logika/PrikazOdeber.java | UTF-8 | 2,992 | 3.375 | 3 | [] | no_license | package logika;
/**
* Třída PrikazOdeber implementuje pro hru příkaz odeber. Tento příkaz hráč používá k odebírání věcí z batohu a vložení jich do
* aktuálního prostoru hry.
*
* @author Monika Dokoupilová
* @version 1.0.0
*/
public class PrikazOdeber implements IPrikaz
{
private static final String NAZEV... | true |
47c640845e4b7a14f6d6b7980149a05bb935af53 | Java | Phoenix787/market_26102018 | /src/main/java/ru/xenya/market/backend/service/ScheduleDatesService.java | UTF-8 | 4,446 | 2.3125 | 2 | [] | no_license | package ru.xenya.market.backend.service;
import org.apache.tomcat.jni.Local;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.... | true |
7f157b3fea732a07db0d7bab1cb486fff55fac10 | Java | Virajjjayasanka/FOOD-ORDERING-DELIVERING-SYSTEM | /VJ-DILIVER-SYSTEM-Common/src/lk/ijse/DiliverSystem/service/custom/ItemPriceService.java | UTF-8 | 818 | 1.804688 | 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 lk.ijse.DiliverSystem.service.custom;
import java.util.List;
import lk.ijse.DiliverSystem.dto.ItemPriceDTO;
import lk.ijse.Dil... | true |
56fbbcd59199c85767d595f1628057d20492c251 | Java | gpgpu/picker | /src/test/java/twstudio/service/PersonServiceTest.java | UTF-8 | 1,902 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package twstudio.service;
import static org.junit.Assert.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.boot.test.TestRestTemplate;
import org.springframework.boot.test.WebIntegrationTest;
import org.springfram... | true |
7a6792bb8eb58858208d940ac9641bbff509c22b | Java | brightchen/jmp | /UserManagementGwtUI/src/cg/usermanagement/gwt/client/UserManagementEvent.java | UTF-8 | 395 | 1.625 | 2 | [] | no_license | package cg.usermanagement.gwt.client;
import cg.gwt.components.client.ui.event.UIEvent;
import com.google.gwt.core.client.GWT;
public abstract class UserManagementEvent< D > extends UIEvent< D >
{
private IUserManagementAsync userManagement = GWT.create( IUserManagement.class );
protected IUserManag... | true |
c4d939e33bfe8a79c11535b220d2fa0240db79b0 | Java | Piyu-sh-arma/QAF | /src/com/app/pages/CheckBoxDemo.java | UTF-8 | 515 | 2 | 2 | [] | no_license | package com.app.pages;
import com.app.htmlcomponents.CheckBox;
import com.qaf.annotations.Find;
import com.qaf.base.QAFPage;
import com.qaf.component.With;
import com.qaf.utils.QAFPageFactory;
import org.openqa.selenium.WebDriver;
/**
* @author Piyush
*/
public class CheckBoxDemo extends QAFPage {
@Find(with =... | true |
25b7bb03119ebe497d3323053b1f6e429fc3ae66 | Java | qaz2810714/LeetCode | /src/Easy/IsAnagram.java | UTF-8 | 1,712 | 4 | 4 | [] | no_license | package Easy;
import java.util.Arrays;
/**
* 有效的字母异位词
*
* 给定两个字符串 s 和 t ,编写一个函数来判断 t 是否是 s 的一个字母异位词。
示例 1:
输入: s = "anagram", t = "nagaram"
输出: true
示例 2:
输入: s = "rat", t = "car"
输出: false
说明:
你可以假设字符串只包含小写字母。
进阶:
如果输入字符串包含 unicode 字符怎么办?你能否调整你的解法来应对这种情况?
*
* @author yang.shang
* @create 2018-09-... | true |
5e16302a0131d728c24330f212dca4e51dc1e6cc | Java | 10moreira/CheckListATI | /src/View/FormCadastroOrganizaPrev.java | UTF-8 | 83,574 | 1.5 | 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 View;
import EntityManager.EntityManagerUtil;
import java.util.HashMap;
import java.util.List;
import javax.persistence.Entity... | true |
851d03dc451ff9222af782099f92dc5e49944ac4 | Java | Tiamao/ActVotingSystem | /votingServer/src/main/java/voting/models/ActDao.java | UTF-8 | 674 | 2.171875 | 2 | [] | no_license | package voting.models;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.List;
/**
* Created by Kamil on 10.04.2017.
*/
@Repository
@Transactional
p... | true |
83b8439f55b7b0fee3d2b25ec641b6858cc8eefd | Java | bruno88/IFES_P1_2017_02 | /P1/src/Lista4/ExercicioExtra7.java | UTF-8 | 502 | 3.640625 | 4 | [] | no_license | package Lista4;
import java.util.Scanner;
/**
* 1 - Imprime 1 2 - Imprime 2 0 - Encerra programa Qualquer outra coisa: repete
* o menu
*/
public class ExercicioExtra7 {
public static void main(String[] args) {
String saida = "";
int op;
System.out.println("Digite dia da Semana:");
op = new Scanner(Sys... | true |
8a4915762d74f9709752a52abbf3130638586dea | Java | 663ai/ONE-one | /完整项目/基本完成/SVehicle/src/main/java/com/lxl/jc/service/impl/CarServiceImpl.java | UTF-8 | 709 | 2.140625 | 2 | [] | no_license | package com.lxl.jc.service.impl;
import java.util.ArrayList;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.lxl.jc.mapper.CarMapper;
import com.lxl.jc.pojo.Car;
import com.lxl.jc.pojo.House;
import com.lxl.jc.service.CarService;
@Service("carService")
public class CarSe... | true |
17934ba2ac704b3c1e4f3faf3cfca8eb43f4c155 | Java | Unity3DMobileAlbatron/DATAUNITY3D | /Servercode/gsd/src/lx/matcher/gs/activity/worldmonster/WorldMonster.java | UTF-8 | 3,836 | 2.046875 | 2 | [] | no_license | package lx.gs.activity.worldmonster;
import cfg.CfgMgr;
import cfg.ectype.ExpMonsterRef;
import gnet.MapClient;
import lx.gs.activity.Activity;
import lx.gs.activity.DailyTimeCaculator;
import lx.gs.activity.worldmonster.msg.ExpMonsterNotify;
import lx.gs.chat.FChat;
import lx.gs.map.MapModule;
import map.ms... | true |
6f4bc68bd8d5cf47af8d80b11551c05b0bf3b3ad | Java | aleemkhowaja/imal_common_business_code | /services_common_business/com/path/dao/core/amfstatus/impl/AmfStatusReasonDAOImpl.java | UTF-8 | 1,717 | 1.796875 | 2 | [] | no_license | /**
*
*/
package com.path.dao.core.amfstatus.impl;
import java.util.List;
import com.path.dao.core.amfstatus.AmfStatusReasonDAO;
import com.path.dbmaps.vo.AMF_SUSPEND_REASONVO;
import com.path.lib.common.base.BaseDAO;
import com.path.lib.common.exception.DAOException;
import com.path.lib.common.util.DAO... | true |
5a90c9af14bb4b8219d5f8fd6b19014da468b79d | Java | csxmaia/webharas-api | /src/main/java/com/webharas/model/Usuario.java | UTF-8 | 1,666 | 2.1875 | 2 | [] | no_license | package com.webharas.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.sun.istack.NotNull;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
@Entity
@Table(name="usuario")
public class Usua... | true |
ab8184f4267f3a187b2c9452564b42701cd2069a | Java | RiZKiT/thymol.js | /src/test/java/org/thymoljs/thymol/test/selenium/issues/IssuesCases.java | UTF-8 | 777 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | package org.thymoljs.thymol.test.selenium.issues;
import static junit.framework.Assert.assertEquals;
import org.junit.Test;
import org.thymoljs.thymol.test.selenium.ResultMode;
import org.thymoljs.thymol.test.selenium.SeleniumCases;
public class IssuesCases extends SeleniumCases {
String issue01Result =
"\n" +... | true |
9065cfa2101c8381a7503528b9fdb87a786c00c8 | Java | teecube/t3 | /t3-site-enhancer/src/main/java/t3/site/gitlab/commits/Commit.java | UTF-8 | 6,755 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | /**
* (C) Copyright 2016-2019 teecube
* (https://teecu.be) and others.
*
* 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 ... | true |
0e126a4148f26bde9c8ac684016007c2a9a9520b | Java | ismdeep/algo-practice | /LeetCode/src/com/ismdeep/leetcode/_442_find_all_duplicates_in_an_array/FindAllDuplicatesInAnArray.java | UTF-8 | 1,169 | 3.25 | 3 | [
"MIT"
] | permissive | package com.ismdeep.leetcode._442_find_all_duplicates_in_an_array;
import com.ismdeep.leetcode.util.ArrayUtil;
import com.ismdeep.leetcode.util.ListUtil;
import org.junit.Test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
import java.util.ArrayLis... | true |
df9f93bd614418d7d412c887c725ccff507ac894 | Java | wengefan/dofactory-gof-patterns | /src/main/java/fr/sebmartin/pattern/poc/pattern/gof/facade/realworld/MainApp.java | UTF-8 | 2,325 | 3.46875 | 3 | [] | no_license | package fr.sebmartin.pattern.poc.pattern.gof.facade.realworld;
import java.io.IOException;
/**
* Facade pattern -- Real World example
*
* @author seb
* @version 1.0 du 18/05/13 à 12:09
*/
public class MainApp {
/**
* MainApp startup class for Real-World
* Facade Design Pattern.
*
* @para... | true |
f5082384384a2b813ec779a00c5ba6b3e2f8e0a6 | Java | shikhar08/AppointmentManager | /AppointmentManager/app/src/main/java/com/example/srishtishikhar/appointmentmanager/NewPatient.java | UTF-8 | 363 | 1.75 | 2 | [] | no_license | package com.example.srishtishikhar.appointmentmanager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class NewPatient extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentVi... | true |
c388d139a354dff013b8dbca9763015c7cb64281 | Java | yuancy9/oasystem | /oasystem-service/src/main/java/com/hunguigu/service/AuthorityService.java | UTF-8 | 441 | 1.742188 | 2 | [] | no_license | package com.hunguigu.service;
import com.hunguigu.vo.Authority;
import com.hunguigu.vo.PageVo;
import java.util.List;
public interface AuthorityService {
public PageVo<Authority> query(Authority authority, int page, int rows);
public Authority queryById(int id);
public int insert(Authority authority);... | true |
e7f89b38b85647e4661fa8cc35dbba587a774ac9 | Java | SoniyaMG/Cross-Language-Clone-Detection-Threat-to-Validity | /process/code_clones/j12.java | UTF-8 | 518 | 3.203125 | 3 | [] | no_license | static int search(int arr[], int n, int x)
{
int i;
for (i = 0; i < n; i++) {
if (arr[i] == x) {
return i;
}
}
return -1;
}
/* Driver program to test above functions*/
public static void main(String[] args)
{
... | true |
ed06549d9f7b7532e15101dc91db45ad9f0e1d2c | Java | MrTroble/Server | /Server/src/de/hgssingen/server/msg/MGetFiles.java | UTF-8 | 880 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package de.hgssingen.server.msg;
import java.io.*;
import java.net.*;
import java.util.*;
import de.hgssingen.server.util.*;
public class MGetFiles extends Message{
public MGetFiles() {
super();
}
@Override
public void toByte(ArrayList<Byte> list) {
File fl = new File(System.getProperty("user.dir") + Fil... | true |
e3d0c8e162d3a296f823944e41374e7f4e25940a | Java | Paulbel/ChartDraw | /View/ChartOptionsViewPanel.java | UTF-8 | 3,861 | 2.765625 | 3 | [] | no_license | package View;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.List;
/**
* Created by Sinelnikov on 24.04.2017.
*/
public class ChartOptionsViewPanel extends JPanel {
private ChartDrawPanel chartDrawPanel;
private JLabel scaleTextLabel;
private JSlider slider;
priv... | true |
efaab0cbecc4103a81ccdddd0436379ac6bac619 | Java | lovasoa/fond-Hibernate | /src/main/java/com/example/fond/service/CompanyRepo.java | UTF-8 | 205 | 1.515625 | 2 | [] | no_license | package com.example.fond.service;
import com.example.fond.domain.Company;
import org.springframework.data.repository.CrudRepository;
public interface CompanyRepo extends CrudRepository<Company,Long> {
}
| true |
539f2decf0d572bd40eb56ad6e01cc19cecdd072 | Java | esfand/axon-fohjin | /vaadin-ui/src/main/java/nijhof2axon/ui/events/ClientDetailsViewRequestedEvent.java | UTF-8 | 579 | 2.15625 | 2 | [] | no_license | package nijhof2axon.ui.events;
import nijhof2axon.app.query.ClientDetailsEntry;
import nijhof2axon.ui.UIEvent;
/**
* User: Bahadir Konu (bah.konu@gmail.com)
*/
public class ClientDetailsViewRequestedEvent implements UIEvent {
private ClientDetailsEntry clientEntry;
public ClientDetailsViewRequestedEvent(Cl... | true |
5ec7f96c746791135c126c3b8331b4add87b92a7 | Java | danushv/LeetcodeList | /LInked_List/Medium/1019 Next Greater Node In Linked List.java | UTF-8 | 1,194 | 3.859375 | 4 | [] | no_license | we have to find the next greater element
for example 215--my stack is empty 2 is pushed , 1 is pushed but-- 5 is greater so what happens is 1 is popped and is the 1's index
5 is added sp now my stack contains only 2 and 5 is not pushec because 2 is there not two is popped and in 2's index 5 is added
class Solution {... | true |
e6e437404d99da89f5aa52646fccd772434f3946 | Java | ByteList/General | /general-spigot/src/main/java/de/gamechest/nick/event/UserUnnickEvent.java | UTF-8 | 509 | 2.15625 | 2 | [] | no_license | package de.gamechest.nick.event;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class UserUnnickEvent extends Event {
private static HandlerList handerlist = new HandlerList();
private Player p;
public UserUnnickEvent(Player p) {
this.p = p;
}
... | true |
f8e3c8f986fe1a5ed977f2927a287fb505c2db77 | Java | Vicra/AutomatonTheory | /src/AutomatonsTheory/AutomatonExtensions/RegularExpressionParserDirectory/parser.java | UTF-8 | 14,713 | 2.125 | 2 | [
"MIT"
] | permissive | package AutomatonsTheory.AutomatonExtensions.RegularExpressionParserDirectory;
import AutomatonsTheory.AutomatonExtensions.RegularExpressionParserDirectory.tree.*;
import java.util.Hashtable;
/** CUP v0.11b 20140808 (SVN rev 54) generated parser.
*/
@SuppressWarnings({"rawtypes"})
public class parser extends java_c... | true |
ff01b296484e8c0de088fcbaf611c6e9d22d795d | Java | scocarojas/ingesoft | /comunicacion.java | UTF-8 | 1,172 | 2.515625 | 3 | [] | no_license | package COMUNICACION;
public class Chat
{
/*Atributos*/
protected int idChat;
protected Usuario remitente;
protected Director destinatario;
protected String correoRemitente;
protected String contenido;
/*Métodos*/
public void setIdChat(int idChat)
{
this.idCh... | true |
9e256b4761bc7580f37abc5e77d1ac69b4483b0d | Java | jmonica/Gardner-Bowman-Tree-of-Life | /src/byui/cit260/treeOfLife/view/SaveMenuView.java | UTF-8 | 1,490 | 3.171875 | 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 byui.cit260.treeOfLife.view;
/**
*
* @author gradygb
*/
class SaveMenuView extends View{
public Sav... | true |
4b51d7e6c7fe569d47696199ccec9a4f78750065 | Java | zhangsonglei/ChineseSpellingCheck | /src/main/java/hust/tools/csc/corpusprocessing/ConvertConfusionSet.java | UTF-8 | 1,896 | 3.125 | 3 | [] | no_license | package hust.tools.csc.corpusprocessing;
import java.io.IOException;
import java.util.ArrayList;
import hust.tools.csc.util.CommonUtils;
import hust.tools.csc.util.FileOperator;
/**
*<ul>
*<li>Description:
*<li>Company: HUST
*<li>@author Sonly
*<li>Date: 2017年11月28日
*</ul>
*/
public class Co... | true |
4de22584c3308badff7bcb0f9b6bd28c2bf12166 | Java | xuqisheng/advert | /crowd.service/src/main/java/com/pope/advert/service/supply/xmtzy/XmtzyInfoService.java | UTF-8 | 1,334 | 1.6875 | 2 | [] | no_license | package com.pope.advert.service.supply.xmtzy;
import java.util.List;
import com.pope.advert.common.exception.ServiceException;
import com.pope.advert.entity.dto.QueryCondition;
import com.pope.advert.entity.gggl.wlzy.extend.WlzyInfoExtend;
import com.pope.advert.entity.gggl.xmtzy.XmtzyInfo;
import com.pope.ad... | true |
06dc9f205686b4277398084e7e6c51cf616a57db | Java | silvanatorres2009/INDDHH | /INDDHH Eclipse/javaSourceProject/inddhh/EliminarOrgDenunciado.java | UTF-8 | 1,076 | 2.140625 | 2 | [] | no_license | package inddhh;
import java.util.ArrayList;
import java.util.Collection;
import com.dogma.busClass.ApiaAbstractClass;
import com.dogma.busClass.BusClassException;
import com.dogma.busClass.object.Entity;
import com.dogma.busClass.object.Field;
public class EliminarOrgDenunciado extends ApiaAbstractClass {
... | true |
4d48c818f33a5fa658a761447a63b7b5950dc5b6 | Java | humayranisa98/Task-5 | /src/Task_5/MyCalculator.java | UTF-8 | 650 | 3.203125 | 3 | [] | no_license | package Task_5;
import java.math.BigInteger;
public class MyCalculator implements AdvancedArithmetic {
/* Name: Humayra Kabir Nisa
ID: 2012020298
Sec: F
Email: cse_2012020298@lus.ac.bd
Date: 13/10/2021
*/
@Override
public int divisorSum(int n){
int count = 0;
for(int i... | true |
0148108998ae24f6f10f068ad914708e244075ce | Java | khepherer/java_lleida_01_06_2017 | /spring/dao/JPA/SpringJpaWeb/target/generated-sources/annotations/com/curso/java/entidades/Vehiculo_.java | UTF-8 | 742 | 1.726563 | 2 | [
"Apache-2.0"
] | permissive | package com.curso.java.entidades;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="EclipseLink-2.5.2.v20140319-rNA", date="2016-10-20T20:11:19")
@StaticMetamodel(Vehiculo.class)
public class Vehiculo_ {
... | true |
1959849cc40507c230ff9686b47e6bbdd60f1bd5 | Java | wass91/adoptameAPI | /adoptameAPI/src/main/java/com/adoptame/services/BreedService.java | UTF-8 | 551 | 2.15625 | 2 | [] | no_license | package com.adoptame.services;
import org.springframework.data.domain.Page;
import com.adoptame.services.entities.Breed;
public interface BreedService {
public Page<Breed> getAll(Integer page, Integer limit) throws Exception;
public Breed create(String name, Integer specieId) throws Exception;
publ... | true |
ca7e357cded62b68ae032c45a413743de312cc38 | Java | lordzason/csc207-skip-lists | /src/taojava/test/SortedArrayListTest.java | UTF-8 | 378 | 1.992188 | 2 | [] | no_license | package taojava.test;
import org.junit.Before;
import taojava.util.SortedArrayList;
/**
* Tests of sorted array lists.
*
* @author Samuel A. Rebelsky
*/
public class SortedArrayListTest
extends SortedListTest
{
@Before
public void setup()
{
this.ints = new SortedArrayList<Integer>();
this.strings =... | true |
8f4dd8e3f5fca534c06b83367b96e0cfa6890a37 | Java | gradle/gradle | /subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolvedDependencyResult.java | UTF-8 | 2,149 | 1.773438 | 2 | [
"BSD-3-Clause",
"LGPL-2.1-or-later",
"LicenseRef-scancode-mit-old-style",
"EPL-2.0",
"CDDL-1.0",
"MIT",
"LGPL-2.1-only",
"Apache-2.0",
"MPL-2.0",
"EPL-1.0"
] | permissive | /*
* Copyright 2012 the original author or 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 applica... | true |
2e8289929b010980708aedd71e0ac71b3e0608f9 | Java | aleksandersh/Weather-1 | /app/src/main/java/ru/yamblz/weather/data/model/weather/Weather.java | UTF-8 | 5,598 | 2.578125 | 3 | [] | no_license | package ru.yamblz.weather.data.model.weather;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteColumn;
import com.pushtorefresh.storio.sqlite.annotations.StorIOSQLiteType;
import java.util.List;
import ru.yamblz.weather.data.database.WeatherDbSchema.WeatherTable;
/**
* Created by AleksanderSh on 04.0... | true |
23c8d44e54ddbc8aebbb7bfcda4ac3d59b5df3a3 | Java | aParsecFromFuture/Android_My_Universe | /app/src/main/java/com/physics/myuniverse/EditActivity.java | UTF-8 | 34,030 | 2.09375 | 2 | [] | no_license | package com.physics.myuniverse;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Point;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.InputType;
import android.view.Display;
import android.view.Gravity;
import android.view.View;
impor... | true |
1ca6a93f44b41649e836cfe3f609872e63e1a870 | Java | lutwwp/thymeleaf-demo | /src/main/java/com/example/thymeleafdemo/config/JdbcConfig2.java | UTF-8 | 647 | 1.992188 | 2 | [] | no_license | package com.example.thymeleafdemo.config;
import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.sql.DataSource;
/**
* @Cl... | true |
e8d74c71a25f04082445e120c65718734cdafe08 | Java | milsab/CodeChallenge2 | /src/StackQueue/ValidParentheses.java | UTF-8 | 720 | 3.46875 | 3 | [] | no_license | package StackQueue;
import java.util.HashMap;
import java.util.Stack;
public class ValidParentheses {
public static void main(String[] args) {
System.out.println(isValid("{}[{})]"));
}
public static boolean isValid(String s){
HashMap<Character, Character> map = new HashMap<>();
ma... | true |
fd869faa8abce50ab6e54da13d8a628b08e21abc | Java | Chaitali786/TaskOrganizer | /src/com/kth/se/taskorganizer/model/TaskDTO.java | UTF-8 | 601 | 2.65625 | 3 | [] | no_license | package com.kth.se.taskorganizer.model;
import java.io.Serializable;
public class TaskDTO implements Serializable{
String task ;
String status ;
int taskIndex=0;
public TaskDTO(String task, String status,int taskIndex){
this.task =task;
this.status=status;
this.taskIndex = taskIndex;
}
public Strin... | true |
bd7b7053697326ad4a513b242bed4bdb00358837 | Java | phwd/quest-tracker | /hollywood/com.oculus.vrshell-VrShell/sources/com/oculus/panelapp/debug/IShellToPanelCommandHandler.java | UTF-8 | 128 | 1.5625 | 2 | [] | no_license | package com.oculus.panelapp.debug;
public interface IShellToPanelCommandHandler {
void handleGenericMessage(String str);
}
| true |
9dc8eb9ad6d646b3420e0a08dc0a593b6c3490a9 | Java | nishantautomationlabs/java-concepts | /src/main/java/com/nal/abstractclass/ChildClass.java | UTF-8 | 236 | 2.625 | 3 | [] | no_license | package com.nal.abstractclass;
/**
* Created by Nishant on 03-11-2018.
*/
public class ChildClass extends BaseClass {
@Override
void methodToBeImplementedByChild() {
System.out.println("method implemented");
}
}
| true |
b57e3b8995fa12449d1e54aff755f07490dba377 | Java | TellerPoint/android_client | /app/src/main/java/com/tellerpoint/app/model/Merchant.java | UTF-8 | 1,324 | 1.898438 | 2 | [] | no_license | package com.tellerpoint.app.model;
/**
* Created by eit on 3/18/16.
*/
public class Merchant {
private String merchant_name;
private String merchant_logo;
public String getMerchantId() {
return merchant_id;
}
public void setMerchant_id(String merchant_id) {
this.merchant_id = m... | true |