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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
e1c28fed906215421b5678ceeb9996fd4d297d32 | Java | rngarcia94/Bootcamp | /Spring3-m2/src/main/java/com/metroscuadraos/metrocuadrados/DTO/ResponseDTO.java | UTF-8 | 404 | 1.679688 | 2 | [] | no_license | package com.metroscuadraos.metrocuadrados.DTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseDTO {
private double metrosCuadrados;
private double valor;
private Habitaciones... | true |
aba77677c5d14f0f7539862e94f834e23e08e7f4 | Java | Leeeast/ArtShow | /app/src/main/java/com/art/huakai/artshow/fragment/FoundTalentsFragment.java | UTF-8 | 34,671 | 1.609375 | 2 | [] | no_license | package com.art.huakai.artshow.fragment;
import android.graphics.drawable.BitmapDrawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.Nullable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.wi... | true |
33c85565278f669767be74ca6235467202663022 | Java | orlof/ecs | /src/main/java/org/megastage/ecs/components/ECSBindTo.java | UTF-8 | 444 | 1.90625 | 2 | [] | no_license | package org.megastage.ecs.components;
import org.megastage.ecs.messages.ECSMessage;
@KryoMessage
@AllocateCid
public class ECSBindTo extends ECSMessageComponent {
private transient int transmittedMaster;
public int master;
@Override
public boolean isDirty() {
return transmittedMaster != maste... | true |
42453c147d9567bc0bffa113f31c5c6ef35e1584 | Java | Steinerghost/Dominion-Java- | /pile.java | UTF-8 | 210 | 1.992188 | 2 | [] | no_license | public class pile{
String name; //The name of the cards in the pile
int num_cards; //The number of cards in a pile
int num_tokens; //The number of tokens in a pile from the embargo card
}
| true |
10c8e617573a32be91a9c2584a6e95e59180d886 | Java | Indivikar/Example | /src/ListView/SimpleListView/SimpleListViewDemo.java | UTF-8 | 4,067 | 2.828125 | 3 | [] | no_license | package ListView.SimpleListView;
import java.util.ArrayList;
import java.util.List;
import javafx.application.Application;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
i... | true |
8f1af6df0a24d78978344ec04454ea1e0b2ab4fd | Java | newkayak12/JPA_REVIEW | /JPA/chapter05/src/main/java/chpater05/pureRelationship/RelationshipMain.java | UTF-8 | 445 | 2.921875 | 3 | [] | no_license | package chpater05.pureRelationship;
public class RelationshipMain {
public static void main(String[] args) {
// 순수한 객체 간의 연관 관계
Member member1 = new Member("member1", "회원1");
Member member2 = new Member("member2", "회원2");
Team team1 = new Team("team1", "팀1");
member1.setTeam... | true |
09db5c095f1199001245269bdca77b94b18d6c75 | Java | abbi-gaurav/learning | /AlgorithmsNDS/src/coursera/alg1/lect3/SelectTest.java | UTF-8 | 524 | 2.484375 | 2 | [] | no_license | package coursera.alg1.lect3;
import org.junit.Assert;
import org.junit.Test;
import coursera.alg1.lect4.TestHelper;
public class SelectTest {
@Test
public void testSelect(){
Double[] doubles = TestHelper.getArray(1000);
Double[] cloned = doubles.clone();
QuickSort<Double> sort = new QuickSort<>();
so... | true |
a756701c641af4a43fb27ed6bc077b380119ef48 | Java | thetheos/Q3_INFO2 | /Exercices/LEPL1402_QueueWithStacks/src/main/java/MyQueue.java | UTF-8 | 1,108 | 3.46875 | 3 | [] | no_license | import java.util.Arrays;
import java.util.Stack;
import java.util.function.Supplier;
import java.util.stream.Stream;
import static org.junit.Assert.assertEquals;
public class MyQueue<E> {
Stack<E> s1;
Stack<E> s2;
private E front;
/*
* Constructor
*/
public MyQueue() {
s1 = ne... | true |
9e4740687cf0f23b14e3d6d183dbbebda75b87b3 | Java | krmunna01234/ThoughtWorksWorkshop | /src/main/java/com/cricket/Match.java | UTF-8 | 1,161 | 3.390625 | 3 | [] | no_license | package com.cricket;
import com.cricket.model.Batsman;
import com.cricket.model.Bowler;
import com.cricket.util.CricketBall;
public class Match {
public static final int MIN_RUN = 0;
public static final int MAX_RUN = 6;
public void playMatch(int[] balls, Batsman batsman,
Bowler... | true |
ebce94aa5e166d3b56aa74e36357bd7e00278054 | Java | ryankschee/tyche-app | /src/main/java/com/tychees/core/bean/billing/BillingBucketLineBean.java | UTF-8 | 8,236 | 1.914063 | 2 | [] | no_license | package com.tychees.core.bean.billing;
import java.util.List;
import java.util.UUID;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
impor... | true |
21479ce102c1a4aeb72d77aa04e39deb14ebf087 | Java | alagalah/groupbasedpolicy | /sxp-integration/sxp-ise-adapter/src/test/java/org/opendaylight/groupbasedpolicy/sxp_ise_adapter/impl/GbpIseConfigListenerImplTest.java | UTF-8 | 5,592 | 1.507813 | 2 | [] | no_license | /*
* Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | true |
582d52d17896ac2738f3c07921b13ff0c4d94074 | Java | lel352/JavaIniciante | /Aula - IDE Eclipse/src/training/cursojava/exercicios/aulas24/Livro.java | UTF-8 | 268 | 1.53125 | 2 | [] | no_license | package training.cursojava.exercicios.aulas24;
public class Livro {
String titulo;
String subTitulo;
String[] autores;
String editora;
String formaPublicacao;
String genero;
String dataLancamento;
String isbn;
int edicao;
int volume;
int numeroPaginas;
}
| true |
e3263a0a7f62aa586f9b9ac26b0fcf736352c97f | Java | YLBFDEV/sky-master | /app/src/main/java/com/skytech/moa/model/NewsCommentInfo.java | UTF-8 | 1,382 | 2.0625 | 2 | [] | no_license | package com.skytech.moa.model;
import java.io.Serializable;
/**
* Created by Administrator on 2015/6/2.
*/
public class NewsCommentInfo implements Serializable {
//评论id
private int _id;
//用户id
private int uid;
//新闻id
private int newsId;
//用户头像
private String uidPic;
//用户姓名
pr... | true |
88139f59c65f993c61153d9de9b2fbfb8e938d5d | Java | Dhandapani/gluster-ovirt | /backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/QuotaHelper.java | UTF-8 | 12,903 | 1.875 | 2 | [
"Apache-2.0"
] | permissive | package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ovirt.engine.core.common.PermissionSubject;
import org.ovirt.engine.core.common.VdcObjectType;
import org.ovirt.engine.core.common.action.Permis... | true |
1a4b79ea1e79498b7dd18bed9e3b2077283b485f | Java | dasmoth/robin | /src/robin/Window.java | UTF-8 | 248 | 2.609375 | 3 | [] | no_license | package robin;
public class Window {
public String chr;
public int min;
public int max;
public int index;
public Window(String chr, int min, int max, int index) {
this.chr = chr; this.min = min; this.max = max;
this.index = index;
}
}
| true |
85f9cf426452c823d173d23866b4340906f4aa10 | Java | YanHuiLi/AndroidProj | /TheNews/app/src/main/java/site/yanhui/thenews/SplashActivity.java | UTF-8 | 4,034 | 2.40625 | 2 | [] | no_license | package site.yanhui.thenews;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.RotateAnimation... | true |
d7f00b035262fe6513f14b8e6099a8db84474fcb | Java | diego-x/JavaWeb | /src/main/java/diego/server/ShowResult.java | UTF-8 | 1,902 | 2.140625 | 2 | [] | no_license | package diego.server;
import com.alibaba.fastjson.JSONObject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... | true |
579a09f8e18abed2c1a15ed80916140a25cc6fa8 | Java | jielu/Constellation | /Hadoop/src/edu/gatech/cs6422/BasicBlock.java | UTF-8 | 1,244 | 3.234375 | 3 | [] | no_license | package edu.gatech.cs6422;
import org.apache.bcel.generic.InstructionHandle;
/**
* BasicBlock.java
*
* Represents a BasicBlock by maintaining references
* to the start and end InstructionHandles
*
* Created: Thu Jan 23 18:33:59 2003
*
* @author <a href="mailto:anil@cc.gatech.edu">Anil Chawla</a>
*... | true |
7442e9d83863654a1f6a6d4d712ac9703037dbb0 | Java | chaserocks/Java-SE | /JAVASEWS/src/com/qspiders/pack1/LinkedList.java | UTF-8 | 245 | 1.984375 | 2 | [] | no_license | package com.qspiders.pack1;
import java.util.LinkedList;
public class LinkedListDemo {
public static void main(String[] args) {
LinkedList lst=new LinkedList<>();
lst.add(100);
lst.add("Hello");
lst.add(true);
lst.addFirst(e)
}
}
| true |
cd66316685bd4c7e98f6777f6105aee8ccf12d32 | Java | cha63506/temp | /api_maven/com.absolute.am.dal/src/main/java/com/absolute/am/dal/IApplicationsHandler.java | UTF-8 | 1,051 | 1.90625 | 2 | [] | no_license | /**
* Copyright (c) 2015 Absolute Software Corporation, All rights reserved.
* Reproduction or transmission in whole or in part, in any form or by any means,
* electronic, mechanical or otherwise, is prohibited without the prior written
* consent of the copyright owner.
*/
package com.absolute.am.dal;
import j... | true |
9fd44d9e6c34991b3340e0d25d00f0aea4d34da4 | Java | ManelBrull/ExpensesManager-rest | /em-persistence/src/main/java/com/mbrull/persistence/repository/BaseRepository.java | UTF-8 | 667 | 1.953125 | 2 | [
"MIT"
] | permissive | package com.mbrull.persistence.repository;
import java.io.Serializable;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoReposit... | true |
46741b395625030651220edfccd4d9a8c7883af9 | Java | 18226200349/mmalltest | /src/main/java/com/mmall/controller/backend/ProdouctManageController.java | UTF-8 | 4,876 | 2.359375 | 2 | [] | no_license | package com.mmall.controller.backend;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springfr... | true |
8a4bb36cbc6f32f1c093874f46ca994580a9e418 | Java | shufanshijie/usercenter | /src/main/test/com/shufan/usercenter/test/TestUCDao.java | UTF-8 | 3,581 | 2.109375 | 2 | [] | no_license | package com.shufan.usercenter.test;
import haiyan.common.config.PathUtil;
import haiyan.common.intf.database.IDBBill;
import haiyan.common.intf.database.orm.IDBRecord;
import haiyan.common.intf.database.orm.IDBResultSet;
import haiyan.orm.database.DBRecord;
import java.io.File;
import java.util.Properties;
import co... | true |
201611476b358f5c4390db93b9470adf019a784a | Java | dabnich/bikeShop | /bikeShop/src/BikeTypes.java | UTF-8 | 74 | 1.617188 | 2 | [] | no_license | public enum BikeTypes {
XC, Full, Touring, Racing, Track, Stunt,
}
| true |
6d49242bb6bdd940b402d152be5df2f334f52c21 | Java | DeanHe/Practice | /LeetCodePractice/src/contest/FindTheWinnerOfTheCircularGame.java | UTF-8 | 2,180 | 4.40625 | 4 | [] | no_license | package contest;
import java.util.LinkedList;
import java.util.Queue;
/*
There are n friends that are playing a game. The friends are sitting in a circle and are numbered from 1 to n in clockwise order. More formally, moving clockwise from the ith friend brings you to the (i+1)th friend for 1 <= i < n, and moving clo... | true |
1d76e247e9b758b2e5f9cf94cd96ad0c0bfa7cd3 | Java | RaquelFernandes/ProfissionalSearch | /app/src/main/java/br/iesb/profissionalsearch/Adapter/AreaAtuacaoViewHolder.java | UTF-8 | 841 | 2.015625 | 2 | [] | no_license | package br.iesb.profissionalsearch.Adapter;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import br.iesb.profissionalsearch.R;
/**
* Created by 1514290042 on 02/06/2017.
*/
public class AreaAtuacaoViewHolder extends RecyclerView.ViewHolder implements View... | true |
6991edb927de9368e62b2691b05c57161de9aee6 | Java | contento3/Projects | /core/src/main/java/com/contento3/dam/content/library/dao/impl/ContentStorageLibraryMappingDaoHibernateImpl.java | UTF-8 | 2,520 | 2.234375 | 2 | [] | no_license | package com.contento3.dam.content.library.dao.impl;
import java.util.List;
import org.apache.commons.lang.Validate;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.util.CollectionUtils;
import com.contento3.common.spring.dao.GenericDaoSpringHibernateTemplate;
im... | true |
2acf1546e65d0c046e56374ba304f38d471c8b05 | Java | calvear93/legobot | /src/NXTClaw.java | UTF-8 | 892 | 2.765625 | 3 | [] | no_license | import java.io.IOException;
import lejos.nxt.Motor;
import lejos.nxt.NXTRegulatedMotor;
class NXTClaw {
private NXTRegulatedMotor arm, claw;
private NXTCaterpillar c;
private NXTLineSensor l;
NXTClaw( NXTCaterpillar x, NXTLineSensor j ) { l = j; c = x; setServos( 120 ); }
void capture( ) throws InterruptedEx... | true |
fa1ab88a911adbc9eda9bbac99849f9e1e5ecdbf | Java | yhlee002/Java_TheJoen | /14exception/src/exception02/ExceptionEx01.java | UTF-8 | 844 | 3.671875 | 4 | [] | no_license | package exception02;
import java.io.*;
public class ExceptionEx01 {
public static void main(String[] args) {
/* 컴파일 체크를 하는 예외 (IO예외) : Checked Exception
* cf. RuntimeException을 상속받은 Exception의 경우 unchecked Exception으로 예외 처리가 강제되지 않음
*/
try {
System.out.println("예외 발생 코드 위");
FileInputStream fis = new F... | true |
4cdbfe37c44ea25a4ecea8f48117610cb66f96a3 | Java | rgonthina1/newplatform | /ext/workflow/testsrc/de/hybris/platform/workflow/interceptors/WorkflowItemAttachmentDefaultCodeInterceptorTest.java | UTF-8 | 1,770 | 1.75 | 2 | [] | no_license | /*
* [y] hybris Platform
*
* Copyright (c) 2000-2013 hybris AG
* All rights reserved.
*
* This software is the confidential and proprietary information of hybris
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the
* li... | true |
e9fc831a969e2218712b74db4fc6b8b2c39e2ca8 | Java | preet0202/Farm-to-Flat | /app/src/main/java/com/example/farmtoflat/GridProductAdapter.java | UTF-8 | 2,625 | 2.15625 | 2 | [] | no_license | package com.example.farmtoflat;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.req... | true |
4f4de4e31c74f843ef2663fdcc8142f349df977e | Java | dennisvoliver/minecraft | /net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket.java | UTF-8 | 1,890 | 2.390625 | 2 | [] | no_license | package net.minecraft.network.packet.c2s.login;
import java.io.IOException;
import java.security.PrivateKey;
import java.security.PublicKey;
import javax.crypto.SecretKey;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.network.NetworkEncryptionUtils;
import net.minecraft.net... | true |
667df927fae51aa420998562a7bd2c2b0f6c9db7 | Java | Shovkatbva/hr | /src/main/java/az/nakhInternet/hr/service/LoginService.java | UTF-8 | 180 | 1.992188 | 2 | [] | no_license | package az.nakhInternet.hr.service;
import az.nakhInternet.hr.model.Login;
public interface LoginService {
Login login(String username, String password) throws Exception;
}
| true |
dd5d5ed5dc1af534065a6d8d145681fa1c6c1a13 | Java | erik-schmidt/prog2-pizzashop-project | /src/PizzaShop/Model/Topping.java | UTF-8 | 761 | 3.484375 | 3 | [] | no_license | package PizzaShop.Model;
/**
* Object represents toppings for the pizzas.
* Toppings are defined with:
* price (in cent) and name.
*/
public enum Topping {
TOMATO(200, "Tomate"), CHILI(300, "Chili"), CHEESE(200, "Käse"),
MUSHROOMS(300, "Pilze"), SALAMI(200, "Salami");
private int price;
private S... | true |
6ebd6a9a2787446643bfcc04e4d2ea4ae178d244 | Java | guptavikash46/Applicant-backend | /src/main/java/Hahn/ApplicationProcess/Aplication/Aufgabe/services/DeleteApplicantService.java | UTF-8 | 157 | 1.695313 | 2 | [] | no_license | package Hahn.ApplicationProcess.Aplication.Aufgabe.services;
public interface DeleteApplicantService {
boolean deleteApplicantById(Integer Id);
} | true |
ff4c837a0fa6e9499ee21e5b36645042ac15be21 | Java | Sublimestyle91/Java_code | /Fibonacchi.java | UTF-8 | 613 | 3.234375 | 3 | [] | no_license | package Fibonacchi;
public class Fibonacchi {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println(Fibo(5));
System.out.println(Fibo(4));
System.out.println(Fibo(0));
System.out.println(Fibo(1));
System.out.println(Fibo(11));
}
public static in... | true |
73b87e08307f7c697d5d2aaaf631a355d9f9f517 | Java | tahatopiwala/aws-sdk-java | /aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/package-info.java | UTF-8 | 1,550 | 1.828125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | true |
dc84e51ed9619a6e6bdaed47b85e8fdacbb0fb33 | Java | jmpsc/-Demo-Instagram-FreeDrawing- | /TPDemo/app/src/main/java/com/jc/tpdemo/widgets/IBitmapExporter.java | UTF-8 | 176 | 1.71875 | 2 | [] | no_license | package com.jc.tpdemo.widgets;
import android.graphics.Bitmap;
/**
* Created by Jorge on 12-04-2015.
*/
public interface IBitmapExporter {
public Bitmap getBitmap();
}
| true |
a386112ac6683430a7c21aa56624530372298a4a | Java | motoyuki1979/rumbo-api | /Rumbo/src/main/java/mappers/GetNotificationsMapper.java | UTF-8 | 775 | 2.328125 | 2 | [] | no_license | package mappers;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import models.GetComments;
import models.GetNotifications;
public class GetNotificationsMapper implements RowMapper<GetNotifications> {
@Override
public GetNotifications mapRow(ResultSet rs, in... | true |
e61a492cf04933998d22be477a4670be3511877c | Java | myifoo/chorus | /src/test/java/com/platform/chorus/db/FieldModelTests.java | UTF-8 | 576 | 1.84375 | 2 | [] | no_license | package com.platform.chorus.db;
import com.platform.chorus.cim.model.CIModelService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringR... | true |
cd3d3b6dbda685054c7270dd9ac1cad45a8c4f2b | Java | Omer29-create/WinterSemesterJavaDeveloper | /day02_scanner/C3_Scanner3.java | ISO-8859-3 | 509 | 3.296875 | 3 | [] | no_license | package day02_scanner;
import java.util.Scanner;
public class C3_Scanner3 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Lutfen isminizi giriniz");
String name = scan.next(); // Tek kelime alinabilir
//... | true |
1f8535a03f6dfb9a6ba31a3fdb4e5a229fd7dbbc | Java | Sirko2097/bankproject | /src/main/java/com/bankproject/model/BankAccount.java | UTF-8 | 383 | 2 | 2 | [] | no_license | package com.bankproject.model;
import lombok.*;
import java.time.LocalDate;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BankAccount {
private int accountId;
private String type;
private Double amountOfMoney;
private Double limit;
private double percent;
... | true |
e25f7b914a266a743bfc0e6ac58b1565e3ba33ba | Java | XDean/JavaFX-EX | /src/test/java/xdean/jfxex/bean/ListenerUtilTest.java | UTF-8 | 1,866 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package xdean.jfxex.bean;
import static org.junit.Assert.assertEquals;
import static org.junit.Assume.assumeTrue;
import static xdean.jfxex.bean.ListenerUtil.weak;
import java.lang.ref.WeakReference;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.Test;
import javafx.beans.property.Set... | true |
fffe8aa1c833be3bb8ff64f911ff837000898d46 | Java | bobel95/MM-finances-api | /src/main/java/com/mihmih/finances/model/IncomeCategory.java | UTF-8 | 105 | 1.726563 | 2 | [] | no_license | package com.mihmih.finances.model;
public enum IncomeCategory {
MONTHLY,
WEEKLY,
ONE_TIME
}
| true |
46d68d306c6f8f8c12e3b317bd678fbe571ed409 | Java | bellmit/crmtest | /src/java/com/trilogy/app/crm/integration/pc/TechnicalServiceTemplateAdapter.java | UTF-8 | 3,547 | 1.921875 | 2 | [] | no_license | package com.trilogy.app.crm.integration.pc;
import com.trilogy.app.crm.bean.ui.TechnicalServiceTemplate;
import com.trilogy.framework.xhome.context.Context;
import com.trilogy.framework.xhome.home.HomeException;
import com.trilogy.framework.xlog.log.LogSupport;
import com.trilogy.util.crmapi.wsdl.v3_0.api.core.i... | true |
78510e80ba86a2977a42058af1af840479ec922b | Java | bsef12m510/PlagiarismChecker | /app/src/main/java/com/prepostseo/plagchecker/register/response/RegisterResponse.java | UTF-8 | 783 | 2.140625 | 2 | [] | no_license | package com.prepostseo.plagchecker.register.response;
public class RegisterResponse {
private Integer user_id;
private String api_key;
private Integer response;
private String error;
public Integer getUserId() {
return user_id;
}
public String getError() {
return error;
... | true |
152dac365922debd6f761b277aae8420fa47df59 | Java | easonlong/eason-test | /src/main/java/com/eason/coding/life/ApplicationContextManager.java | UTF-8 | 1,287 | 2.703125 | 3 | [] | no_license | package com.eason.coding.life;
import org.apache.log4j.Logger;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class App... | true |
d5806ff2b7b9b282fe5a23514b88b41f062be6d0 | Java | proog/spct-f2014 | /assignment1/BLIPDeviceMonitoring/src/dk/itu/spct/f2014/pmor/janv/ma01/trigger/MessageReceivedObserver.java | UTF-8 | 207 | 1.65625 | 2 | [] | no_license | package dk.itu.spct.f2014.pmor.janv.ma01.trigger;
import dk.itu.spct.f2014.pmor.janv.ma01.utils.TriggerMessage;
public interface MessageReceivedObserver {
public void messageReceived(TriggerMessage m);
}
| true |
55c71426b673943e65c1e84064b6926621595ec9 | Java | bellmit/preg-project | /preg-web/src/main/java/com/mnt/preg/examitem/form/DiagnosisPrescriptionForm.java | UTF-8 | 1,086 | 1.828125 | 2 | [] | no_license |
package com.mnt.preg.examitem.form;
import java.util.List;
import com.mnt.preg.platform.pojo.DiagnosisPrescriptionPojo;
/**
* 营养处方
*
* @author zcq
* @version 1.0
*
* 变更履历:
* v1.0 2017-10-21 zcq 初版
*/
public class DiagnosisPrescriptionForm {
/** 诊疗主键 */
private String diagnosisId... | true |
fa13438b220da1b02d29ac0bf263eb8410a90bad | Java | FuqiX/FAIRDataPoint | /src/test/java/nl/dtls/fairdatapoint/service/metadatametrics/FairMetadataMetricsServiceImplTest.java | UTF-8 | 2,912 | 1.90625 | 2 | [
"MIT"
] | permissive | /**
* The MIT License
* Copyright © 2017 DTL
*
* 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, merg... | true |
5f692b069ac06cdcac86f6debe8c2635530a693b | Java | AH-Liuzy0121/springboot | /src/main/java/com/liuzy/module/bean/User.java | UTF-8 | 1,732 | 2.59375 | 3 | [] | no_license | package com.liuzy.module.bean;
import java.io.Serializable;
/**
* @className: User
* @package: com.liuzy.module.bean
* @describe: 实体类Bean
* @auther: liuzhiyong
* @date: 2018/4/10
* @time: 下午 7:16
*/
public class User implements Serializable{
private Integer id;
private java.lang.String userName... | true |
c4be4c09797bcc20c5e00e6745a4db15b16fd7a9 | Java | cmFodWx5YWRhdjEyMTA5/smell-and-machine-learning | /ast_results/osmandapp_Osmand/OsmAnd-java/src/main/java/net/osmand/TspAnt.java | UTF-8 | 11,094 | 1.632813 | 2 | [] | no_license | // isComment
package net.osmand;
import net.osmand.data.LatLon;
import net.osmand.util.MapUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
// isComment
public class isClassOrIsInterface {
// isComment
// isComment
private double isVariable = isDoubleConstant;
// isC... | true |
de9ee09a2f14e49a4ced146262bd6bf475cfdb72 | Java | ocean-treasures/android | /android-project/app/src/main/java/oceantreasur/es/network/MockOceanTreasuresAPI.java | UTF-8 | 4,140 | 2.390625 | 2 | [
"MIT"
] | permissive | package oceantreasur.es.network;
import android.content.res.AssetManager;
import android.util.Log;
import com.google.gson.Gson;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Random;
import oceantreasur.es.network.model.CheckAn... | true |
e4732074d76cfa863908d9d77b79e0b0b235c93b | Java | Levifer/REDO-FLEET | /src/main/java/com/realdolmen/controller/LoginController.java | UTF-8 | 944 | 2.234375 | 2 | [] | no_license | package com.realdolmen.controller;
import com.realdolmen.domain.employee.Employee;
import com.realdolmen.util.LoggerProducer;
import org.slf4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by... | true |
5047aafed40c5e84b1484df551a0145a13bdaba1 | Java | SeloSlav/tic-tac-toe | /app/src/main/java/com/martinerlic/tic_tac_toe/adapter/GridRecyclerAdapter.java | UTF-8 | 9,144 | 2.75 | 3 | [] | no_license | package com.martinerlic.tic_tac_toe.adapter;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget... | true |
2169f76af57101c23515063ad22346e275d64875 | Java | WangXinLong-Long/Success | /app/src/main/java/com/silianchuangye/sumao/success/fragments/myPlasticTrade/companyInformations/firmInfomation/FirmInfoUpdateMVP/model/FirmInfoUpdateCallback.java | UTF-8 | 465 | 1.710938 | 2 | [] | no_license | package com.silianchuangye.sumao.success.fragments.myPlasticTrade.companyInformations.firmInfomation.FirmInfoUpdateMVP.model;
import com.silianchuangye.sumao.success.fragments.myPlasticTrade.companyInformations.firmInfomation.FirmInfoUpdateMVP.bean.FirmInfoUpdateActivityBean;
/**
* Created by Administrator on 2016/9... | true |
286668c7049ee48c3f0db854847a1ff75827d20a | Java | ahedeijack/java_apps | /Programacion/Otros/Pruebas xD/PB_18131396_Proyecto_02/src/pkg18131396_p2/PB_18131396_jFPrincipal.java | UTF-8 | 31,941 | 2.75 | 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 pkg18131396_p2;
import Utilerias.JTable.ColorCeldas;
import java.awt.Color;
import java.util.Random;
import javax.swing.JLabel... | true |
08e35404e93c71a1da44ea81c6ff37b76252711c | Java | iyelaoi/java-asm | /asm-master/test/conform/org/objectweb/junit/NameAndTypeTest.java | UTF-8 | 215 | 1.875 | 2 | [
"BSD-3-Clause"
] | permissive | package org.objectweb.junit;
/**
* desc:
* author: ljt
* time: 2016/5/16 10:28
*/
public class NameAndTypeTest {
private int x = 10;
public int getX() throws Exception{
return x;
}
}
| true |
a73f162576b9f5a17a325f3ee3048b2d34345628 | Java | abigail830/Diet | /diet-admin/src/main/java/com/diet/admin/message/RequestMsg.java | UTF-8 | 775 | 1.882813 | 2 | [] | no_license | package com.diet.admin.message;
import com.alibaba.fastjson.JSONObject;
import java.io.Serializable;
public class RequestMsg implements Serializable {
/**
* 开始索引,从1开始
*/
private int curPage = 1;
/**
* 最大记录数
*/
private int pageSize = 10;
private JSONObject params;
public... | true |
3817ef26030c440093ad707da1ebead4c3193829 | Java | PeterJanic/trainingproject_v1.1 | /training.project/src/sk/tuke/oop/aliens/DefectiveLight.java | UTF-8 | 336 | 2.59375 | 3 | [] | no_license | package sk.tuke.oop.aliens;
import java.util.Random;
public class DefectiveLight extends Light {
@Override
public void act() {
int random = (int) (Math.random()*20) + 1;
if (random == 1){
this.toggle();
}
else
this.setElectricityFlow(true... | true |
5621dc75684250f78c8edc4baf8e4a4408e5f4a1 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_aab004873aa0856be1dbaf92cf77012c05e0f96d/ApplyButtonPanel/2_aab004873aa0856be1dbaf92cf77012c05e0f96d_ApplyButtonPanel_t.java | UTF-8 | 5,451 | 2.203125 | 2 | [] | no_license | package gov.nih.nci.ncicb.cadsr.loader.ui;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import gov.nih.nci.ncicb.cadsr.loader.util.RunMode;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewEvent;
imp... | true |
28f4391c4d0db604333749b4078f680a5d7111f3 | Java | kuceraf/merchant | /exchange/src/main/java/com/fku/exchange/service/impl/dummy/MockedActiveExchangeService.java | UTF-8 | 1,703 | 2.34375 | 2 | [] | no_license | package com.fku.exchange.service.impl.dummy;
import com.fku.exchange.domain.ExchangeOrder;
import com.fku.exchange.error.MerchantExchangeException;
import com.fku.exchange.service.ActiveExchangeService;
import com.fku.exchange.service.impl.ExchangeHelper;
import lombok.extern.log4j.Log4j2;
import org.knowm.xchange.dto... | true |
31b83d3c7b55c730f0e1b859f1f1933c18ff383c | Java | Skilpad/INF562 | /Jcg/Jcg/geometry/Ray_2.java | UTF-8 | 716 | 2.703125 | 3 | [] | no_license | package Jcg.geometry;
public class Ray_2 implements Ray_interface<Kernel_2> {
protected Point_2 p;
protected Vector_2 v;
public Ray_2(Point_2 p, Vector_2 v) {
this.p = p;
this.v = v;
}
public Ray_2(Segment_2 s) {
this.p = s.source;
this.v = new Vector_2(s.source, s.target);
}
public Point_2... | true |
346353150f5159c6de44d6f5490955b5f6288eac | Java | isabella232/android-sdk-sources-for-api-level-1 | /java/security/cert/CRLException.java | UTF-8 | 681 | 1.796875 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: CRLException.java
package java.security.cert;
import java.security.GeneralSecurityException;
public class CRLExceptio... | true |
b15ceb574bf47a476d2b1f9ee5e7c5acdb33e2e5 | Java | ramkurapati/javapracticles | /Core Java/Collections/OldDataStrutures/EnumSetDemo.java | UTF-8 | 769 | 3.421875 | 3 | [] | no_license | package OldDataStrutures;
import java.util.EnumSet;
public class EnumSetDemo {
enum courses{Java,C,CPP,ManualTesting,AutomaticTesting};
public static void main(String[] args)
{
EnumSet<courses> developers=EnumSet.of(courses.Java,courses.C,courses.CPP);
EnumSet<courses> testers=EnumSet.of(courses.ManualTes... | true |
b278ec553acd4be9768d84e9311bb5f184478954 | Java | azizasm/vue-spring-apps | /backend/src/main/java/com/hokenso/vuespringapps/domain/Challenges.java | UTF-8 | 2,152 | 2.578125 | 3 | [] | no_license | package com.hokenso.vuespringapps.domain;
import javax.persistence.*;
@Entity
@Table(name = "challenges")
public class Challenges {
// PrimaryKey
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private String title;
private String level;
private String link;
priv... | true |
f7c8b6dc7160a0709e9602206b727fc69b31a41f | Java | ShijiaYan/PhoenixSim | /photonic_layer/src/People/Meisam/GUI/Utilities/SimulationDataBase.java | UTF-8 | 9,438 | 2.546875 | 3 | [] | no_license | package People.Meisam.GUI.Utilities;
import People.Meisam.GUI.PhoenixSim.ModulesLibrary.ExportCompleted.ExportCompleted;
import People.Meisam.GUI.Utilities.ExportPlot.JavaFXFileChooser.FileChooserFX;
import PhotonicElements.Utilities.MathLibraries.MoreMath;
import ch.epfl.general_libraries.utils.SimpleMap;
impor... | true |
581815c57af37211406fbe95455801a9559bd55e | Java | vhctrungnq/mlmn | /MLMN-Statistics/src/vn/com/vhc/vmsc2/statistics/dao/WkCellBlkBscDAOImpl.java | UTF-8 | 3,814 | 2.21875 | 2 | [] | no_license | package vn.com.vhc.vmsc2.statistics.dao;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import vn.com.vhc.vmsc2.statistics.domain.WkCellBlkBsc;
public class WkCellBlkBscDAOImpl extends SqlMapClientDaoSupport implements WkC... | true |
06e4821d81c1526621ed1b40227bbfc0cabdb148 | Java | un-knower/dataExport | /dgDataExport/src/com/zero/service/StWasRService.java | UTF-8 | 258 | 1.53125 | 2 | [] | no_license | package com.zero.service;
import java.util.Date;
import java.util.List;
import com.zero.entity.StWasR;
public interface StWasRService extends BaseService<StWasR, Long> {
List<StWasR> findList( Date beginDate, Integer first, Integer count);
}
| true |
365ab95d44682610fb4dade7b10bdfbae1473153 | Java | emjironal/Proyecto_1_Desarrollo_Apps_Moviles | /BreakFoodApp/app/src/main/java/com/example/sergio/breakfoodapp/MainActivity.java | UTF-8 | 6,897 | 1.578125 | 2 | [] | no_license | package com.example.sergio.breakfoodapp;
import android.content.Intent;
import android.database.ContentObservable;
import android.os.StrictMode;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import a... | true |
06ba2d1548fb58db2402a74268313a9b8e85c966 | Java | lyltsh/springBootChapter9 | /src/main/java/com/springboot/javaee/chapter9/callable/GuavaFutureDemo.java | UTF-8 | 1,591 | 3.421875 | 3 | [] | no_license | package com.springboot.javaee.chapter9.callable;
import com.google.common.util.concurrent.*;
import java.util.concurrent.Callable;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executors;
/**
* @author: leiyulin
* @description:
* @date:2018/11/2210:27 PM
*/
public class GuavaFutureDemo ... | true |
5596fff91204b349719ad1b6c02dc088ea11b02a | Java | marlonhenrys/java-algorithms | /Tis3/src/application/BancoDeDados.java | ISO-8859-2 | 9,190 | 2.796875 | 3 | [] | no_license | package application;
import java.sql.*;
import java.util.ArrayList;
import javax.swing.JOptionPane;
public class BancoDeDados {
private Connection connection = null;
private Statement statement = null;
private ResultSet resultset = null;
private static int logado;
private static String secDev, secCli, secDiv, ... | true |
014b957542f4908f204347bf64f362fe081e4426 | Java | liu13chao/freeline | /android-studio-plugin/src/models/FreelineStatus.java | UTF-8 | 2,420 | 2.203125 | 2 | [
"BSD-3-Clause"
] | permissive | package models;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import utils.FreelineUtil;
import utils.LogUtil;
import java.io.File;
import java.util.Collection;
import java.util.Timer;
import java.util.TimerTask;
/**
* Created by pengwei on 2016/10/31.
*/
public class Fr... | true |
4f6cc22193e28abdeb5df7293c0458c8d4b4e786 | Java | madhurimav14/BattleJavaCode | /Dragon.java | UTF-8 | 271 | 3.03125 | 3 | [] | no_license |
public class Dragon implements Battle{
public String getName() {
return "Dragon";
}
public String battle(Battle battleWith) {
if(battleWith.getName().equals("Dragon")){
return "Tied";
}
return battleWith.getName().equals("Wearvolve")?"Lost":"Won";
}
}
| true |
8ceadc79560549a97de6d20327f47e854ca567be | Java | moobsky/spring-abc | /src/main/java/xyz/springabc/web/listener/SessionListener.java | UTF-8 | 1,031 | 2.078125 | 2 | [
"MIT"
] | permissive | package xyz.springabc.web.listener;
import javax.servlet.http.HttpSessionAttributeListener;
import javax.servlet.http.HttpSessionBindingEvent;
/**
* Application Lifecycle Listener implementation class SessionListener
*
*/
public class SessionListener implements HttpSessionAttributeListener {
/**
* Defaul... | true |
3e1ca4cfd08b73d875d34b0ff7a32059e9c31531 | Java | yulonglong/A-Typist-s-Calendar | /src/com/licensetokil/atypistcalendar/gcal/UtilitiesJUnitTest.java | UTF-8 | 17,544 | 2.5 | 2 | [] | no_license | //@author A0097142E
package com.licensetokil.atypistcalendar.gcal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.util.HashMap;
import org.junit.Test;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
public class UtilitiesJUnitTest {
... | true |
0055ef537ed54131b0bafdddb4832d1d51fef06a | Java | pokotyamu/BINGO | /src/Bingo/Bingo.java | UTF-8 | 3,700 | 3.09375 | 3 | [] | no_license |
package Bingo;
import java.util.ArrayList;
import java.util.Random;
class Bingo {
ArrayList<BingoBall> bingosetb= new ArrayList();
ArrayList<BingoBall> bingoseti = new ArrayList();
ArrayList<BingoBall> bingosetn = new ArrayList();
ArrayList<BingoBall> bingosetg = new ArrayList();
ArrayList<Bing... | true |
48dbbccf72a45a85d1c8a4a17c8e4e5842bea057 | Java | opensourcejavadeveloper/military_xml_project_miliconvert | /miliconvert/xsmt/trunk/plugins/org.miliconvert.xsmt.mpgt/src/mpia/schema/TypeCaracteristiquesSIO.java | UTF-8 | 7,544 | 1.875 | 2 | [] | no_license | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package mpia.schema;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Type Caracteristiques SIO</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>... | true |
bde198e2b2e4e1160bfb70f52ec810e03b3f9ef4 | Java | weijiaooaa/XiaoEr-Community | /src/main/java/com/community2/service/UserService.java | UTF-8 | 428 | 1.757813 | 2 | [] | no_license | package com.community2.service;
import com.community2.mapper.UserMapper;
import com.community2.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @Author weijia
* @Date 2019/9/26 13:36
* @Version 1.0
*/
public int... | true |
cc6813e1bf5405d19a67d6e53324841274c6a9c8 | Java | zhoulibo1988/chiguancloud | /cloud_common/src/main/java/com/chigua/cloud/common/result/ResultUtil.java | UTF-8 | 810 | 2.46875 | 2 | [] | no_license | package com.chigua.cloud.common.result;
/**
*
* @ClassName: ResultUtil
* @Description: 统一返回工具类
* @author Mr.zhou
* @date 2018年10月30日 上午11:04:30
*
*/
public class ResultUtil {
//当正确时返回的值
public static Result success(Object data){
Result result = new Result();
result.setCode(Ht... | true |
94f9a666cfcc1143890f53cae3041c6da95f29d5 | Java | liuyan731/leetcode | /src/ly/leetcode/LinkedList/Q206ReverseLinkedList.java | WINDOWS-1252 | 695 | 3.234375 | 3 | [] | no_license | /*
* Q206ReverseLinkedList.java
*
* Created on: 2016419
* Author: liuyan
*/
package ly.leetcode.LinkedList;
public class Q206ReverseLinkedList {
public ListNode reverseList(ListNode head) {
if(head == null || head.next == null) {
return head;
} else {
ListNode p = head.next;
... | true |
161d15575da75ef4576b9849fce0215f8fc3fc05 | Java | aoki234/CalcApp | /app/src/main/java/jp/techacademy/jun/aoki/calcapp/MainActivity.java | UTF-8 | 5,324 | 2.671875 | 3 | [] | no_license | package jp.techacademy.jun.aoki.calcapp;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import a... | true |
deac22410c13d90aec5a000d68f464982a416b2b | Java | Atalaia/NFP121 | /revisions_2018/commands/Command.java | UTF-8 | 809 | 2.84375 | 3 | [] | no_license | package commands;
import conditions.*;
import operations.*;
public class Command<T,R>{
protected Condition<T> condition;
protected Operation<T,R> operation;
protected Command<T,R> exception;
public void setCondition(Condition<T> condition){
this.condition = condition;
}
public void se... | true |
b0997af74836a01a00ff7a8305f69945693b3d94 | Java | RAMASHISHKUMAR/PhoneCallingProject | /app/src/main/java/adapter/ContactsAdapter.java | UTF-8 | 1,056 | 2.421875 | 2 | [] | no_license | package adapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
import modelclass.Contacts;
public class ContactsAdapter extends RecyclerView.Adapter<ContactsAda... | true |
69f5d8c52e9f7463126c0c1f52687fae49bd4fd5 | Java | ewingcode/ball | /src/main/java/com/ewing/order/core/web/common/RequestJson.java | UTF-8 | 2,872 | 2.53125 | 3 | [] | no_license | package com.ewing.order.core.web.common;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.ewing.order.util.GsonUtil;
/**
* 请求的json
*
* @author tansonlam
* @create 2016年12月28日
*
*/
public class RequestJson {
/**
* 签名,根据请求数据和加密方式计算的签名值
*/
private String sign;
/**
* 业务ID
... | true |
1b07c379a3d535ab2a663932c042b9466b294446 | Java | whoschek/hbase-indexer | /hbase-indexer-model/src/main/java/com/ngdata/hbaseindexer/model/api/IndexerLifecycleListener.java | UTF-8 | 1,619 | 1.953125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2013 NGDATA nv
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | true |
b9a22fcaf03886a938b5dc6a78357c438d259c21 | Java | Zalizyaka-Ney/handy.storage | /library/src/main/java/handy/storage/Expressions.java | UTF-8 | 5,428 | 2.765625 | 3 | [] | no_license | package handy.storage;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import handy.storage.annotation.Reference;
import handy.storage.api.ColumnCondition;
import handy.storage.api.Select;
import handy.storage.base.QueryParams;
import handy.storage.exception.IllegalUsageException;
/**
*... | true |
d8f86f10a6f4385666683d22f3c38bb864d52144 | Java | Devcamp1team/Android | /app/src/main/java/com/yapp/no_11/yapp_1team/items/LotteGsonModel.java | UTF-8 | 2,366 | 2.234375 | 2 | [
"MIT",
"Apache-2.0"
] | permissive | package com.yapp.no_11.yapp_1team.items;
import com.google.gson.annotations.SerializedName;
/**
* Created by HunJin on 2017-09-23.
*/
public class LotteGsonModel {
private
@SerializedName("Cinemas")
Cinemas cinemases;
public Cinemas getCinemases() {
return cinemases;
}
public voi... | true |
3129ce8ae77573eda80409bc152b3659e78f1021 | Java | Sari27/DI3ProjetJava | /DI3ProjetJava/src/model/emulator/SearchInEmulator.java | UTF-8 | 4,090 | 3.25 | 3 | [] | no_license | package model.emulator;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.concurrent.CopyOnWriteArrayList;
import controller.emulator.Emulator;
import model.shared.*;
/**
*
* @brief Abstract class which implements method to search employee or
* ... | true |
4b9d1a3e65edf6cd1df8a77cec4b8964e4965239 | Java | khalilmassoussi/pi | /pi-ifr-ejb/src/main/java/services/BasicOpsRemote.java | UTF-8 | 618 | 1.984375 | 2 | [] | no_license | package services;
import java.util.List;
import javax.ejb.Remote;
import persistence.Articles;
import persistence.Camp;
import persistence.Refugee;
@Remote
public interface BasicOpsRemote {
List<Camp> findCamps();
Boolean userInCamp(int id,Camp c);
Long numberOfRefugees(Camp c);
Long numberOfMales(C... | true |
1fde2e2301b46dac861b9e27c8ee2e61cddbee89 | Java | andreyoliferov/job4j | /chapter_011_Collections/src/test/java/set/SimpleSetTest.java | UTF-8 | 926 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive | package set;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.testng.Assert.assertTrue;
/**
* @autor Андрей
* @since 16.07.2018
*/... | true |
21885c201b24b37aa462ab1cbb374a53e1708a21 | Java | mhzj/zf | /src/main/java/com/service/User_ProjectService.java | UTF-8 | 249 | 1.859375 | 2 | [] | no_license | package com.service;
import com.entity.User_project;
public interface User_ProjectService {
public int addUser_Project(User_project user_project);
int delUser_Project(int projectid);
User_project findByprojectid(int projectid);
}
| true |
3c8285637930c12db978a0d59933669f5c1023cb | Java | Jdruwe/Overtime | /app/src/main/java/adevador/com/overtime/listener/WorkdayListener.java | UTF-8 | 268 | 1.789063 | 2 | [] | no_license | package adevador.com.overtime.listener;
import java.util.ArrayList;
import java.util.Date;
import adevador.com.overtime.model.Workday;
/**
* Created by druweje on 21/10/2014.
*/
public interface WorkdayListener {
public void deleteWorkday(Workday workday);
}
| true |
4c23ace056aeebe5387229bd97f0b5a33e6bcae4 | Java | SamuelPaulos/MuM | /FinalProject2/src/ui/loginForm/UserLoginController.java | UTF-8 | 3,959 | 2.46875 | 2 | [] | no_license | package ui.loginForm;
import java.io.IOException;
import javax.swing.JOptionPane;
import banking.ui.BankFrm;
import creditCard.ui.CardFrm;
import framework.dao.StaffDataBase;
import framework.entity.Staff;
import framework.iterator.Iterator;
import javafx.application.Application;
import javafx.event.Acti... | true |
39e169f9e64a58ec616ff337c139a4c92789cfba | Java | Wulf000/springBootSwagger | /springboot_swagger/src/main/java/com/example/demo/ServletInitializer.java | UTF-8 | 782 | 2.28125 | 2 | [] | no_license | package com.example.demo;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
/**
* 使用外置的Tomcat启动时需要配置
* @author 走遍千里
* 若打包成war包,则需要配置
*
* jar包和war包启动区别
* jar包:执行SpringBootApplication的run方法,启动IOC容器,然后创建嵌入式Servlet容器
* war包... | true |
b89acccc5fb50eeccb061c18f42f1f643a2f3e7a | Java | nan-666/Maven | /src/test/java/hello/baidu.java | UTF-8 | 742 | 1.96875 | 2 | [] | no_license | package hello;
import org.jmock.Expectations;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class baidu {
@Before
public void setUp() throws Exception {
Syste... | true |
e6996cfe2a8a7a5a86b8aa4d8fbe0070843a0e57 | Java | jeantessier/Mocking | /src/AllTests.java | UTF-8 | 2,287 | 2.015625 | 2 | [] | no_license | import junit.framework.TestSuite;
public class AllTests {
public static TestSuite suite() {
TestSuite result = new TestSuite();
result.addTestSuite(Single_EasyMock.class);
result.addTestSuite(Single_Mockito.class);
result.addTestSuite(Multiple_jMock.class);
result.addTestSu... | true |
a5e26ae4117ac14f7a29ee055a06522728f6bf00 | Java | SowmyaSiteurl/Admin_Loyalty | /app/src/main/java/siteurl/in/admin_loyalty/CalltoVendor.java | UTF-8 | 2,755 | 2.203125 | 2 | [] | no_license | package siteurl.in.admin_loyalty;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
import static android.Manifest.permis... | true |
0efaa742b26bf0dde2befe7777b5b09cced9cdc1 | Java | jaimepizarr/ProyectoDePoo | /src/Entidades/Premio.java | UTF-8 | 1,072 | 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 Entidades;
/**
*
* @author eljosephavila
*/
public class Premio {
private int puntaje;
private String recompensa;
... | true |
c17a18a7888334c1643ea9bc897384145061b434 | Java | savansh/FindmePOM | /src/Pages/Addbusinees_Step1.java | UTF-8 | 4,053 | 1.90625 | 2 | [] | no_license | package Pages;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium... | true |