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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
eb1374f010fd4928a3400749126b9dfe1f9752f5 | Java | iantal/AndroidPermissions | /apks/apks_from_phone/data_app_com_monefy_app_lite-2/source/com/monefy/dropboxSyncV2/h.java | UTF-8 | 2,257 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package com.monefy.dropboxSyncV2;
import android.os.AsyncTask;
import com.monefy.application.a;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ExecutionException;
public class h
{
private static h a;
private List<SyncPriori... | true |
79ac2ceac491f30e0e68a971f63b573d0bf7b567 | Java | camilavieda04/Parcial-2 | /Desktop/Parcial-2-master/src/main/java/edu/eci/cvds/persistence/mybatisimpl/mappers/PassengerMapper.java | UTF-8 | 556 | 2.046875 | 2 | [] | no_license | package edu.eci.cvds.persistence.mybatisimpl.mappers;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import edu.eci.cvds.entities.Passenger;
import edu.eci.cvds.entities.Fligth;
public interface PassengerMapper {
List<Passenger> getAll();
List<Passenger> findByFligth(@Param("fligth") Str... | true |
34b595d22920f2ecac77dad1ff98995409ecae24 | Java | igorperisic/Intro-to-Software-Engineering-Final-Project | /CSE360_FinalProject/src/Main.java | UTF-8 | 6,710 | 2.859375 | 3 | [] | no_license | import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;
import javax.swing.JTable;
impor... | true |
a03875d8b68c95b7c258537df2339018333a0bc7 | Java | joaovcog/brewer | /src/main/java/com/algaworks/brewer/service/CadastroEstiloService.java | UTF-8 | 1,618 | 2.640625 | 3 | [] | no_license | package com.algaworks.brewer.service;
import javax.persistence.PersistenceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.algaworks.brewer.model.Estilo;
import com.alga... | true |
5974e598ad634ffaa4dd9bd33160f6ca6f9bfb2a | Java | erid-rahmad/Eproch | /src/main/java/com/bhp/opusb/service/dto/CConvertionRateCriteria.java | UTF-8 | 6,616 | 2.03125 | 2 | [] | no_license | package com.bhp.opusb.service.dto;
import java.io.Serializable;
import java.util.Objects;
import io.github.jhipster.service.Criteria;
import io.github.jhipster.service.filter.BooleanFilter;
import io.github.jhipster.service.filter.DoubleFilter;
import io.github.jhipster.service.filter.Filter;
import io.github.jhipster... | true |
d6400e221cd041473d17cf45624566636560e2fd | Java | deleplanque/cleanStreet | /cleanStreet-back/src/main/java/com/cleanStreet/webApp/entite/Contact.java | UTF-8 | 1,943 | 2.390625 | 2 | [] | no_license | package com.cleanStreet.webApp.entite;
import java.io.Serializable;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import ja... | true |
f3b2883fcb0d38e62db95d5e0cb7587448986fb3 | Java | expeehaa/Devathlon | /src/main/java/de/expeehaa/spigot/config/wrapper/WandConfigWrapper.java | UTF-8 | 4,159 | 2.65625 | 3 | [] | no_license | package de.expeehaa.spigot.config.wrapper;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import org.bukkit.entity.EntityType;
import org.b... | true |
e5f7b0000d164fd148ce21a4440e29335ba9f894 | Java | bellmit/jhj-parent | /jhj-service/src/main/java/com/jhj/vo/staff/OrgStaffPayDeptOaListVo.java | UTF-8 | 280 | 1.734375 | 2 | [] | no_license | package com.jhj.vo.staff;
import com.jhj.po.model.bs.OrgStaffPayDept;
public class OrgStaffPayDeptOaListVo extends OrgStaffPayDept{
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
| true |
05a8f0e815d55f6e815b59bcef25286a2b8038f1 | Java | emersonlara/EFD-Java | /SpedFiscal/src/br/com/alberteije/vo/CepVO.java | UTF-8 | 3,295 | 2.3125 | 2 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.alberteije.vo;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persiste... | true |
13623a2b7e7071657f4a848bb308c966dbafa507 | Java | kuhadiyadharmesh/RecLibs | /src/main/java/lib/api/poll/com/model/BuyCredit_Response.java | UTF-8 | 1,216 | 2.21875 | 2 | [
"MIT"
] | permissive | package lib.api.poll.com.model;
/**
* Created by Dharmesh-PC on 1/13/2018.
*/
public class BuyCredit_Response
{
private boolean status = false ;
//"code":"amount_added","credits_added":300,"credits":8550,"credits_trans":300,"rem_expiry":null
private String msg , credits_added,credits,credits_trans,... | true |
0c1b5872813b314cc71b258d9522418496eb992f | Java | loobug/AQMS | /AQMS-WebApp/AQMS-WebApp-persistent/src/main/java/com/ly/dao/RealDataMapper.java | UTF-8 | 875 | 1.960938 | 2 | [] | no_license | package com.ly.dao;
import java.util.List;
import java.util.Map;
import com.ly.entity.RealData;
public interface RealDataMapper {
int deleteByPrimaryKey(Integer id);
int insert(RealData record);
int insertSelective(RealData record);
int updateByPrimaryKeySelective(RealData record);
int upda... | true |
a6f7d743142714c07ef0fb9e7eaa7e68366820ff | Java | delekta/agh-po | /threads/src/World.java | UTF-8 | 1,070 | 3.328125 | 3 | [] | no_license | public class World {
public static void main(String[] args) {
Fork f1 = new Fork();
Fork f2 = new Fork();
Fork f3 = new Fork();
Fork f4 = new Fork();
Fork f5 = new Fork();
Philosopher p1 = new Philosopher("P1", f1, f2);
Philosopher p2 = new Philosopher("P2", ... | true |
bc348fe7bab68898b72634c44374963f3b52950e | Java | Mckrgf/TestGitDemo | /TestGitDemo/app/src/main/java/com/god/yb/testgitdemo/Receiver/LockReceiver.java | UTF-8 | 1,973 | 2.21875 | 2 | [] | no_license | package com.god.yb.testgitdemo.Receiver;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.god.yb.testgitdemo.Utils.ToastUtil;
import com.god.yb.testgitdemo.activities.LockScreenActivity;
/**
* Cr... | true |
a0be873a30aaa6a478bf520a67c142bde288b97c | Java | soy6032/JAVA | /ch08/src/ch08/ImplClass.java | UTF-8 | 449 | 2.984375 | 3 | [] | no_license | package ch08;
public abstract class ImplClass implements Inter {
@Override
public void method1() {
// TODO Auto-generated method stub
System.out.println("Inter에서 상속받은 추상 메소드1");
}
@Override
public void method2() {
// TODO Auto-generated method stub
System.out.println("Inter에서 상속받은 추상 메소드2");
}
// @Ove... | true |
dbdf52456e9b76bd1e444b7f5ff8637b806ef017 | Java | think-01/jee-microservices | /domain/src/main/java/tixer/system/persistence/APIEntity.java | UTF-8 | 835 | 1.992188 | 2 | [] | no_license | package tixer.system.persistence;
/**
* Created by slawek@t01.pl on 2016-04-11.
*/
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import javax.persistence.Column;
import javax.persiste... | true |
5a184cace69b94dfc552b0ff57106627f1d0a173 | Java | apache/geode | /geode-core/src/main/java/org/apache/geode/management/builder/GeodeClusterManagementServiceBuilder.java | UTF-8 | 1,550 | 1.679688 | 2 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown"
] | 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 may not ... | true |
a6fe50a265db2e6ed020422af0849a37f33b41e3 | Java | sg3012/TheLuxepass | /src/test/java/com/luxepass/qa/tests/MyProfilepageflowtest.java | UTF-8 | 1,977 | 2.671875 | 3 | [] | no_license | package com.luxepass.qa.tests;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.luxepass.qa.base.TestBase;
import com.luxepass.qa.pages.HomePage;
import com.luxepass.qa.pages.HowitWorksPage;
import com.luxep... | true |
c95f375facc73bf0ba457492765086075fdf5ae7 | Java | vsethi13/chess-game-2-player | /src/main/java/com/test/chess/piece/Queen.java | UTF-8 | 703 | 3.171875 | 3 | [] | no_license | package com.test.chess.piece;
import com.test.chess.board.Square;
public class Queen extends Piece {
public Queen(char type) {
super(type);
}
@Override
public boolean isValidMove(Square destination, boolean isCapture) {
return getBishopCharacteristics().isValidMove(destination, isCap... | true |
55a975e2d981b886a73be62f1e431eacaf9ce37f | Java | pereau/ipi-java-250-export | /src/main/java/com/example/demo/service/export/ExportXLSXService.java | UTF-8 | 5,212 | 1.96875 | 2 | [] | no_license | package com.example.demo.service.export;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import javax.management.loading.PrivateClassLoader;
import org.apache.derby.iapi.services.daemon.DaemonService;
import org.apache.poi.ss.usermodel.Cell;
... | true |
9ac5e7afdf9f68dbcbd83db3341f158e83005c7c | Java | lycoxn/android_framework | /app/src/main/java/com/android/example/github/proutil/StringUtils.java | UTF-8 | 11,326 | 2.96875 | 3 | [
"Apache-2.0"
] | permissive | package com.android.example.github.proutil;
import android.content.Context;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.Random;
import java.util.regex.Matcher;
import java.ut... | true |
4ec4ea7807ea8eb9fa9854dda9b73df7a3527a8a | Java | Atish-Jain/CodeChallenge | /src/main/java/com/abn/dsalgos/challenges/problems/LHSSumRHS.java | UTF-8 | 794 | 3.6875 | 4 | [] | no_license | package com.abn.dsalgos.challenges.problems;
import java.util.Arrays;
/*
Given, an array of size n. Find an element which divides the array in two sub-arrays with equal sum.
*/
public class LHSSumRHS {
public static void main(String[] args) {
int[] array = {-1,3,0,1,4,-3};
LHSSumRHS lhsSumR... | true |
bc6fa0492f28f8114ba48db667f48d23b0c0bd36 | Java | Deepanshuchauhan123/Education-System-App | /app/src/main/java/com/example/app_deepanshu/CSR_Post_School.java | UTF-8 | 2,978 | 2.015625 | 2 | [] | no_license | package com.example.app_deepanshu;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.SystemClock;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.example.app_deepa... | true |
2b6dc88817633fc7bdc2bfe8aa2964515fefebd5 | Java | rarexixi/quick-permission | /quick-admin/src/main/java/org/xi/quick/sys/vm/search/UserTokenSearchVm.java | UTF-8 | 1,802 | 2.09375 | 2 | [] | no_license | package org.xi.quick.sys.vm.search;
import org.xi.quick.common.model.SearchVm;
import org.xi.quick.sys.models.condition.UserTokenCondition;
import org.xi.quick.sys.models.condition.extension.UserTokenConditionExtension;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.*;
/**
* 系... | true |
3c85925bf6e9513225b7c3075c91f91b7f3ffa9b | Java | ekamidi/policy-models | /models-interactions/model-yaml/src/main/java/org/onap/policy/controlloop/policy/PolicyParam.java | UTF-8 | 3,535 | 2.03125 | 2 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | /*
* ============LICENSE_START=======================================================
* policy-endpoints
* ================================================================================
* Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved.
* Modifications Copyright (C) 2019 Nordix Foundation.
... | true |
ad3dfeb5e71eecc06a0d08f302982d689eb29a44 | Java | delv408/low_level_design | /trello/src/main/java/com/practice/trello/model/PrivacyType.java | UTF-8 | 89 | 1.625 | 2 | [] | no_license | package com.practice.trello.model;
public enum PrivacyType {
PUBLIC,
PRIVATE
}
| true |
0f7bd6dca1b95a55d4f3901b706ee6a064faa672 | Java | Simone3/MediaTracker | /app/src/test/java/it/polimi/dima/mediatracker/adapters/media_items_list/SectionedRecyclerViewAdapterTest.java | UTF-8 | 7,680 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package it.polimi.dima.mediatracker.adapters.media_items_list;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricGradleTestRunner;
import org.robolectric.annotation.Config;
import java.util.ArrayList... | true |
981e675a1f9abd06bb662fcb4e2be2afd9c33565 | Java | Yu1106/springboot | /src/main/java/com/jacky/demo/filter/LogProcessTimeFilter.java | UTF-8 | 778 | 2.3125 | 2 | [] | no_license | package com.jacky.demo.filter;
import org.springframework.web.filter.OncePerRequestFilter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class LogProcessTimeFilte... | true |
95f7c53d73760a9850290b798664466e6aab82a2 | Java | prashant31191/TrainAPP | /app/src/main/java/dev452/app/trainapp/Controller/ClassItems/Train.java | UTF-8 | 2,726 | 2.484375 | 2 | [] | no_license | package dev452.app.trainapp.Controller.ClassItems;
public class Train {
private String srcName, destName, TrainName, TrainNumber, sourceName, destinationName;
private String srcTime, destTime, tDays, tRuns, srTime, detTime;
public Train() {
}
public Train(String SName, String DName, String AT... | true |
fff452807e9075345cf0fd2cc76fdfb64a580bf6 | Java | openregister/openregister-java | /src/test/java/uk/gov/register/filters/ResourceAvailabilityFilterTest.java | UTF-8 | 2,037 | 2.1875 | 2 | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | package uk.gov.register.filters;
import io.dropwizard.testing.junit.ResourceTestRule;
import org.junit.Rule;
import org.junit.Test;
import uk.gov.register.configuration.ResourceConfiguration;
import uk.gov.register.resources.DownloadNotAvailable;
import uk.gov.register.views.ViewFactory;
import javax.ws.rs.GET;
impor... | true |
b541a2d5f446f18aeec424911f3368aa8bf6f83d | Java | yangck1/sims | /src/main/java/com/xust/sims/web/config/WebConfig.java | UTF-8 | 1,175 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | package com.xust.sims.web.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.AsyncConfigurerSupport;
import org.springframework.sch... | true |
a7f6f427e89bd49616a26e5e6d6e2fc7b6688a3e | Java | fagan2888/sc-hyperledger-stockexchange | /src/main/java/org/example/Order.java | UTF-8 | 1,857 | 2.390625 | 2 | [] | no_license | /*
* SPDX-License-Identifier: Apache-2.0
*/
package org.example;
import java.util.Objects;
import org.hyperledger.fabric.contract.annotation.DataType;
import org.hyperledger.fabric.contract.annotation.Property;
import com.owlike.genson.annotation.JsonProperty;
@DataType()
public final class Order {
@Propert... | true |
68dbe0f4bd6c970fbab5114f21c65abea902a58e | Java | syx1314/zuche | /app/build/generated/source/apt/TTtest/debug/com/zql/app/shop/view/fragment/company/CAirSelectedHomeCityFragment_ViewBinding.java | UTF-8 | 2,101 | 1.78125 | 2 | [] | no_license | // Generated code from Butter Knife. Do not modify!
package com.zql.app.shop.view.fragment.company;
import android.support.annotation.CallSuper;
import android.support.annotation.UiThread;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import butterknife.Unbinder;
import butterknife.internal.... | true |
08497336f53177ab91c03b99a78806a6ee129123 | Java | alias-noa/university-related | /JP2Lab - Java/lab2/lab2s/src/lab2/RownanieKwadratoweViewBeanCustomizer.java | UTF-8 | 7,669 | 2.5 | 2 | [] | no_license | package lab2;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.Customizer;
import java.beans.PropertyChangeListener;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabe... | true |
ba7d5a9764ddffbce775af458c41b9020201946f | Java | mm-garagesale/jvm-troubleshooting-workshop | /src/main/java/ar/com/javacuriosities/labs/memory_visibility/Meeting.java | UTF-8 | 503 | 3.203125 | 3 | [] | no_license | package ar.com.javacuriosities.labs.memory_visibility;
public class Meeting {
private boolean bossArrived = false;
public Meeting() {
}
public void waitBoss(String name) {
System.out.println(name + " is waiting");
while (!bossArrived) {
}
System.out.println(name + "... | true |
ae55d1f170a2192c42679e6200167566dc8bc1a2 | Java | nicolaslorenzo12/BestGradesOfASchool | /src/grades/Student.java | UTF-8 | 1,029 | 3.53125 | 4 | [] | no_license | package grades;
public class Student {
private String name;
private double academicPoints;
private double behavioralPoints;
public Student(String name, double academicPoints, double behavioralPoints){
this.name = name;
this.academicPoints = academicPoints;
this.behavioralPoints... | true |
29569847976b84aa1e8940a8dd5c6ae5e58376e3 | Java | MrZerg27/MUD | /MUDHierarchy/src/hierarchy/Location.java | UTF-8 | 2,430 | 3.46875 | 3 | [] | no_license | package hierarchy;
import java.util.ArrayList;
public abstract class Location
{
private ArrayList<Item> items = new ArrayList<Item>();
private ArrayList<Npc> npcs = new ArrayList<Npc>();
private ArrayList<Portal> portals = new ArrayList<Portal>();
private String description;
private int ID;
public Location(S... | true |
8548c462c5735b1f29b93bc736e0587e5d6b4cca | Java | eGovFramework/egovframe-common-components | /src/main/java/egovframework/com/utl/sim/service/EgovMenuGov.java | UTF-8 | 2,706 | 2.515625 | 3 | [
"Apache-2.0"
] | permissive | /**
* Class Name : EgovMenuGov.java
* Description : 메뉴관리 Business Interface class
* Modification Information
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.02.02 이 용 최초 생성
* 2022.11.11 김혜준 시큐어코딩 처리
*
* @author 공통 서비스 개발팀 이... | true |
00159ae62ce4e99aabbf2bfc7a709cb856913bf7 | Java | yongsun-yoon/java-tutorial | /01_JAVA1/Casting.java | UHC | 414 | 3.703125 | 4 | [] | no_license |
public class Casting {
public static void main(String[] args) {
double a = 1.1;
double b = 1;
System.out.println(b); // double
// int c = 1.1; // double -> int Error
int c = (int) 1.1; // casting ȯ
System.out.println(c); // int
String d = Integer.toString(c); // int to string
System.out.p... | true |
2f3790def5e4840431929595d43a8b4a3c06e5d5 | Java | l406608580/design-pattern | /src/main/java/com/lhy/设计模式/C行为型模式/G观察者模式/步骤3/HexaObserver.java | UTF-8 | 614 | 3.125 | 3 | [] | no_license | package com.lhy.设计模式.C行为型模式.G观察者模式.步骤3;
import com.lhy.设计模式.C行为型模式.G观察者模式.步骤1.Subject;
import com.lhy.设计模式.C行为型模式.G观察者模式.步骤2.Observer;
/**
* @author hy.Li
* @date 2020/8/25 14:19
*/
public class HexaObserver extends Observer {
public HexaObserver(Subject subject){
this.subject = subject;
this.... | true |
d0650c1bbb779f098d1500864fb7fc022b03d7a7 | Java | zhaododo2008/permission | /project/ps-intf/src/main/java/com/codeshare/permission/user/dto/DesignerQueryReq.java | UTF-8 | 1,116 | 2.09375 | 2 | [] | no_license | package com.codeshare.permission.user.dto;
import com.codeshare.permission.common.BasePageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* @author cjbi
*/
@ApiModel("用户分页查询")
public class DesignerQueryReq extends BasePageRequest {
@ApiModelProperty("手机号")
... | true |
bb99979d5688e07c3f0708f1d9894f474c81d4eb | Java | KateBeloova/Module-8 | /service/Servise.java | UTF-8 | 731 | 2.171875 | 2 | [] | no_license | package Homework.Module8.service;
import Homework.Module8.business_objects.User;
import Homework.Module8.page.ApiDocsLoginPage;
import Homework.Module8.patterns.factorymethod.ChromeDriverCreator;
import Homework.Module8.patterns.factorymethod.WebDriverCreator;
import Homework.Module8.patterns.singleton.WebDriverSingl... | true |
2b338d51c896d0ec46f3ee8cec30bc30847ef47b | Java | SabaAlex/MPP | /src/main/java/repository/xml/XMLRepository.java | UTF-8 | 9,599 | 2.1875 | 2 | [] | no_license | package repository.xml;
import model.domain.BaseEntity;
import model.exceptions.MyException;
import model.exceptions.ValidatorException;
import model.validators.Validator;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
imp... | true |
1bde981ad82f508f64c0f8b99bbc3a7e46f31257 | Java | SoulBreath/demo | /src/main/java/com/example/demo/mq/ActiveMQ/queue/ActiveProducerQueue.java | UTF-8 | 535 | 2.25 | 2 | [] | no_license | package com.example.demo.mq.ActiveMQ.queue;
import org.springframework.jms.core.JmsMessagingTemplate;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import javax.jms.Queue;
@Component
public class ActiveProducerQueue {
@Resource
private JmsMessagingTemplate jmsMessagingTe... | true |
0f361899ad00af7a8c954c8dac8c22c7ca8bf263 | Java | The-SkyTime/inleiding-java | /src/h06/praktijk.java | UTF-8 | 546 | 3.1875 | 3 | [] | no_license | package h06;
import java.applet.*;
import java.awt.*;
public class praktijk extends Applet {
double cijf1,cijf2,cijf3;
double cijftot;
double cijfx;
double cijfz;
public void init() {
cijf1 = 5.9;
cijf2 = 6.3;
cijf3 = 6.9;
cijftot = (cijf1 + cijf2 + cijf3) / 3 ;
... | true |
759656635d409cc904b672d7315bf0418c7e3c57 | Java | WongChan666/SpringMVCDemoFramwork | /src/main/java/com/meinergy/demo/service/impl/DemoServiceImpl.java | UTF-8 | 407 | 2.078125 | 2 | [] | no_license | package com.meinergy.demo.service.impl;
import com.meinergy.demo.service.DemoService;
import com.meinergy.framwork.annotion.Service;
/**
* DemoServiceImpl
*
* @author chenwang
* @date 2020/10/13
*/
@Service
public class DemoServiceImpl implements DemoService {
@Override
public String get(String name) {
... | true |
ebc7e9f48cecc42634a9a4717ede48566a922137 | Java | GerritCodeReview/gerrit | /java/com/google/gerrit/acceptance/WaitUtil.java | UTF-8 | 1,190 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | // Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | true |
8d8936a2e7816dedac1fa8774ce53c172798a378 | Java | grahambenevelli/stats | /nfl-client/src/main/java/com/grahamsfault/nfl/api/model/game/drive/GameDrives.java | UTF-8 | 1,429 | 2.578125 | 3 | [] | no_license | package com.grahamsfault.nfl.api.model.game.drive;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
i... | true |
d3d74b770dc7f75368647159b4701221de68db5f | Java | lufei1344/cloud-oa | /src/main/java/com/cloudoa/framework/flow/entity/BpmConfLine.java | UTF-8 | 2,293 | 2.140625 | 2 | [
"Apache-2.0"
] | permissive | package com.cloudoa.framework.flow.entity;
// Generated by Hibernate Tools
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java... | true |
d4a4543d4da0f4f9c66b7cc536de42a4036fdba1 | Java | Nirvana92/NewTemplete | /src/com/hf/energy/TabChargeActivity.java | UTF-8 | 615 | 1.953125 | 2 | [] | no_license | package com.hf.energy;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
public class TabChargeActivity extends Activity implements OnClickListener{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sa... | true |
5d35adc61649c06cbf0f1b45a03b379e47f9a4e4 | Java | bhushan0109/Google_keep_back_end | /src/main/java/com/finovate/model/User.java | UTF-8 | 2,319 | 2.203125 | 2 | [] | no_license |
package com.finovate.model;
import java.time.LocalDateTime;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persis... | true |
cf63b1c37c0c048a56bae9e52cea2dfde068e858 | Java | iamarindamkundu/java-practice | /HackerRank/searching/sherlock_and_array/Solution.java | UTF-8 | 786 | 3.40625 | 3 | [] | no_license | package sherlock_and_array;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
for (int i = 0; i < t; i++) {
int n = sc.nextInt();
int a[] = new int[n];
for (int j = 0; j < n; j++) {
a[j] = sc.nextI... | true |
68652305efdb1c66d75cfb4b444e3203a78b0e90 | Java | sachithd/crowdguru | /webapp/src/test/java/org/crowdguru/webapp/integration/view/ProfilePageTest.java | UTF-8 | 901 | 1.9375 | 2 | [] | no_license | package org.crowdguru.webapp.integration.view;
import org.crowdguru.webapp.helper.AuthorityFactory;
import org.junit.Before;
import org.junit.Test;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
... | true |
34d0d7ed63c45e6051b259b477630ee47ec14656 | Java | a3535ed54a5ee6917a46cfa6c3f12679/7c314649_Menoria_OLD_SemiObf | /class_1411.java | UTF-8 | 3,717 | 1.835938 | 2 | [] | no_license | import java.io.BufferedInputStream;
import java.nio.ByteBuffer;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.lwjgl.BufferUtils;
// $FF: renamed from: o7
public class class_1411 {
// $FF: renamed from: b W
private final class_106 field_7517;
// $FF: ... | true |
03625436436e9691ce712db459eb1e8269b8df60 | Java | yiqianxu/hk-mapping | /src/main/java/com/hk/templates/DaoImplHolderTemplate.java | UTF-8 | 945 | 2.328125 | 2 | [] | no_license | package com.hk.templates;
import java.io.File;
import java.util.List;
import com.hk.entitys.Table;
/**
* DaoHolder.vm
*
* @author huangkai
* @date 2015年8月13日 下午11:46:31
* @version V1.0
*/
public class DaoImplHolderTemplate extends AbstractTemplate {
private String modelPackage;
private List<Table> tables;... | true |
f1d0c3fc6eff926e58c8df77f60ba9a147fcc2be | Java | KovalevuchMykhaylo/LogosJava | /MyClassProject/src/core/home10/Shop.java | UTF-8 | 171 | 1.65625 | 2 | [] | no_license | package core.home10;
import java.util.Set;
import java.util.TreeSet;
public class Shop {
Set<Comodity> tovar = new TreeSet<>();
public void addTovar(){
}
} | true |
89e6f242eced53f44819e56a72c16e71e2f43f5e | Java | yexing17/jw-exam-system | /src/me/hisun/exsys/dao/QuesDao.java | UTF-8 | 2,641 | 2.484375 | 2 | [
"MIT"
] | permissive | package me.hisun.exsys.dao;
import java.sql.ResultSet;
public class QuesDao {
public static int insertSubj(String type,String ques,String mark,String tag,String subtag,String ans){//class only support number
int r = 0;
try{
String sql = "insert into questions(type,ques,mark,tag,subtag,ans) values('"+type+"'... | true |
465378a3af457da54f9d61f42de5b5dbcdc9cdb1 | Java | Kangyejiii/JavaExample | /src/main/java/chap13/sec04/exam01_generic_method/BoxingMethodExample.java | UTF-8 | 648 | 3.8125 | 4 | [] | no_license | package chap13.sec04.exam01_generic_method;
/**메소드 앞에 < > 제네릭 구체적인타입명시해준다!*/
public class BoxingMethodExample {
public static void main(String[] args) {
Box<Integer> box1 = Util.<Integer>boxing(100);
int intValue = box1.getT();
System.out.println(intValue);
Box<String> box2 = Uti... | true |
ef502e50931b5341441103891a9f3db7f028853f | Java | apollowesley/jun_test | /tmp/util/utils_osutil/src/org/util/JdbcUtil.java | GB18030 | 1,882 | 2.75 | 3 | [] | no_license | package org.util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class JdbcUtil {
private String driver;
private String url;
private String name;
private String password;
private String jarPath;
public JdbcU... | true |
83353ce31e1994e2ea24a4d3742fc9c8decad700 | Java | Zoly90/EMZOtours | /src/main/java/ro/emzo/turismapp/user/model/UserInfo.java | UTF-8 | 3,894 | 2.078125 | 2 | [] | no_license | package ro.emzo.turismapp.user.model;
import java.util.Collection;
import java.util.Date;
import javax.persistence.*;
import com.fasterxml.jackson.annotation.JsonBackReference;
import ro.emzo.turismapp.core.model.BaseModel;
import ro.emzo.turismapp.holiday.model.Periods;
import ro.emzo.turismapp.offer.model.Personal... | true |
2c4a0828700954f90d4af25e4958e8c208420752 | Java | kubernetes-client/java | /fluent/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapFluentImpl.java | UTF-8 | 7,808 | 2.125 | 2 | [
"Apache-2.0"
] | permissive | package io.kubernetes.client.openapi.models;
import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.Nested;
import java.lang.String;
import java.util.LinkedHashMap;
import java.lang.Deprecated;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
import java.... | true |
7172cd1f8eb7cb308bbfc1df073fe321ca4c1189 | Java | mauricioandrada2018/androidtechniquesarticle | /GlobalVariable/app/src/main/java/mauricio/com/globalvariable/GlobalVariableCPWrapper.java | UTF-8 | 2,348 | 2.140625 | 2 | [] | no_license | /*
* Copyright (C) 2019 Mauricio Andrada
*
* 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 ... | true |
2c900bf67ec187ce98fbb9a4c0824d11044d7100 | Java | djferns/ContentManagementSystem | /src/com/dexter/cms/service/CommentService.java | UTF-8 | 233 | 1.796875 | 2 | [] | no_license | package com.dexter.cms.service;
import java.util.List;
import com.dexter.cms.model.Comment;
public interface CommentService {
public void addComment(Comment comment);
public List<Comment> getCommentsForId(int articleId);
}
| true |
2a6cc387137cc4d30616b795d845381452421e2d | Java | tsombrero/optionfusion | /app/src/main/java/com/optionfusion/model/provider/amtd/AmtdResponseBase.java | UTF-8 | 683 | 2.046875 | 2 | [] | no_license | package com.optionfusion.model.provider.amtd;
import com.optionfusion.module.OptionFusionApplication;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/*
<amtd>
<result></result>
<.../>
</amtd>
*/
@Root(name = "amtd", strict = false)
public class AmtdResponseBase {
@Eleme... | true |
503a5cfc8bed9516cf7518b79b9363f3e768f409 | Java | texalbuja-tw/junit-kata | /src/test/java/$8_assertions/HeroBeingDeadExceptionsTest.java | UTF-8 | 1,535 | 2.8125 | 3 | [] | no_license | package $8_assertions;
import static org.assertj.core.api.Assertions.*;
import static org.assertj.core.api.ThrowableAssert.catchThrowable;
import org.junit.Ignore;
import org.junit.Test;
import com.googlecode.catchexception.CatchException;
import hero.Hero;
public class HeroBeingDeadExceptionsTest {
@Test
... | true |
add354cdf88864e783ef8896af13af1af7196ca5 | Java | BAAMMM1/AI4-IS-P2-Lernen-Neural-Network | /src/main/java/model/snake/event/PickUpCollision.java | UTF-8 | 707 | 2.671875 | 3 | [] | no_license | package model.snake.event;
import model.snake.entity.Field;
import model.snake.entity.Player;
import model.snake.entity.Score;
import model.snake.entity.Snake;
public class PickUpCollision extends Collision {
public PickUpCollision(Player player, Field field, Snake snake, Score score) {
super(player, fi... | true |
5d2a48b859883ced56e2bc0e6410985e70b53bfa | Java | lytsfeng/Portable | /app/src/main/java/com/ldkj/portable/exceptions/CustomException.java | UTF-8 | 166 | 2.09375 | 2 | [] | no_license | package com.ldkj.portable.exceptions;
public class CustomException extends Exception {
public CustomException(String detailMessage) {
super(detailMessage);
}
}
| true |
02d4ede612f8e1c825570a619098617e0cc752a6 | Java | chindypb/Latihan-PL-Bab-3 | /src/ProgramAdit.java | UTF-8 | 2,781 | 2.90625 | 3 | [] | no_license | package jenisbingkai;
import java.util.Scanner;
public class ProgramAdit {
public static void main(String[] args) {
int lanjut;
Scanner in = new Scanner(System.in);
JenisBingkai bingkai = new JenisBingkai();
System.out.print("Masukkan ID : ");
String ID = in.nextLine(... | true |
f10533989ac03eaa0ee23c4ab19ac7a8d7cfd846 | Java | ponyaga2004/3-semestr-stage2 | /calls/src/main/java/sundukov/andrey/calls/command/ShowForDestinationCommand.java | UTF-8 | 567 | 2.578125 | 3 | [] | no_license | package sundukov.andrey.calls.command;
import sundukov.andrey.calls.Calls;
import sundukov.andrey.calls.Record;
import javax.swing.*;
import java.util.List;
import java.util.stream.Collectors;
public class ShowForDestinationCommand implements Command {
@Override
public void execute(Calls calls) {
Str... | true |
da9bd7d492b4233678dc15aa55d1fee6f0f4b1f0 | Java | Joseph-Dibi/FilmQueryProject | /src/com/skilldistillery/filmquery/entities/Inventory.java | UTF-8 | 1,609 | 3 | 3 | [] | no_license | package com.skilldistillery.filmquery.entities;
public class Inventory {
private String title;
private String condition;
private int storeID;
public String getCondition() {
return condition;
}
public void setCondition(String condition) {
this.condition = condition;
}
public int getStoreID() {
return st... | true |
3066da37313af1550f573f3c3092f4b6400f9def | Java | scm-manager/scm-teamscale-plugin | /src/test/java/com/cloudogu/scm/teamscale/pullrequest/PullRequestLinkEnricherTest.java | UTF-8 | 3,857 | 1.671875 | 2 | [
"MIT"
] | permissive | /*
* MIT License
*
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
*
* 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 r... | true |
a7cfbdacd23941cc1db464a1befefb9b60435e52 | Java | royalyngifty/PrestShop | /Cucumber/src/test/java/com/it/pop/PageElements.java | UTF-8 | 1,039 | 2.34375 | 2 | [] | no_license | package com.it.pop;
import org.openqa.selenium.*;
import java.util.ArrayList;
import java.util.List;
import static org.junit.jupiter.api.Assertions.*;
public class PageElements extends BaseClass{
public void ClickLinkItem(String menu){
driver.findElement(By.xpath("//a[contains(text(),'"+menu+... | true |
3b8ce272a6cffea33351d3506163c01a8953ba5e | Java | Alackey/File-Deleter | /src/main/MainController.java | UTF-8 | 7,999 | 3.015625 | 3 | [
"MIT"
] | permissive | package main;
import api.DriveAPI;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.control.Button;
import javafx.scene.control.MenuItem;
import javafx.stage.DirectoryChooser;
import org.controlsfx.control.action.Action;
import org.controlsfx.dia... | true |
cdea089efb14938da52de6a401ff34a05ee07f11 | Java | rosatorichard/WavesOfWrath | /app/src/main/java/com/batchmates/android/wavesofwrath/model/PlaceInformation.java | UTF-8 | 926 | 2.359375 | 2 | [] | no_license | package com.batchmates.android.wavesofwrath.model;
import com.google.android.gms.maps.model.LatLng;
/**
* Created by Android on 7/17/2017.
*/
public class PlaceInformation {
String name,address,icon;
int price;
double rating;
LatLng location;
public PlaceInformation(String name, String addres... | true |
67a85aa61ea0cf34b42f835ad8bdf06b6cd5b59b | Java | ingef/conquery | /backend/src/main/java/com/bakdata/conquery/commands/StandaloneCommand.java | UTF-8 | 4,682 | 1.945313 | 2 | [
"MIT"
] | permissive | package com.bakdata.conquery.commands;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import ja... | true |
14176a9611d9ed1bf39774171d8fd97f912d1875 | Java | HugoRodI/felinae | /src/felinae/os_utils/OSValidator.java | UTF-8 | 398 | 2.734375 | 3 | [] | no_license | package felinae.os_utils;
public class OSValidator {
private static String osName = System.getProperty("os.name").toLowerCase();
public boolean allowedOS() {
if (isWindows())
return true;
return false;
}
private boolean isWindows() {
if (osName.indexOf... | true |
8b537aea938b51c43c1f0d96f5dc4e4155623165 | Java | drvpereira/java-lessons | /ejb3/mdb/src/br/farn/pcd/ejb/GeradorNomes.java | UTF-8 | 114 | 1.625 | 2 | [] | no_license | package br.farn.pcd.ejb;
import javax.ejb.Remote;
@Remote
public interface GeradorNomes {
String gerar();
}
| true |
48e9c7e73974340a10ca3aa4a8501fd0477a01ab | Java | jimkast/exotic-java | /src/main/java/org/jimkast/ooj/net/http/Prop.java | UTF-8 | 455 | 2.34375 | 2 | [] | no_license | package org.jimkast.ooj.net.http;
public interface Prop {
String name();
String value();
class Envelope implements Prop {
private final Prop prop;
public Envelope(Prop prop) {
this.prop = prop;
}
@Override
public final String name() {
ret... | true |
ad37515958d70df84a25de73daf8ecd1fc4e3cb2 | Java | gzm326/Member | /app/src/main/java/com/firesoft/member/Adapter/ProductxfAdapter.java | UTF-8 | 4,771 | 2.109375 | 2 | [] | no_license | package com.firesoft.member.Adapter;
/**
* Created by Administrator on 2015/9/16.
*/
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.LinearLayout;
import... | true |
9111148ec21bb889710c8a4568201481a89cca02 | Java | shailendra28/-LineComparisonOOPS | /src/LineComparisonOOPS.java | UTF-8 | 2,069 | 3.640625 | 4 | [] | no_license | class lineFunction {
int getLineValue() {
int value = (int)(Math.random() * 10);
return value;
}
double getLineLength(int x1,int x2, int y1,int y2) {
double x = Math.pow((x2 - x1), 2);
double y = Math.pow((y2 - y1), 2);
return Math.sqrt(x + y);
}
boolean is... | true |
0138175fe4ea2f0f48dd397e26d23a8cca0417fd | Java | jexp/javaspektrum | /rsocket/src/main/java/rsocket/Server.java | UTF-8 | 4,060 | 2.84375 | 3 | [] | no_license | package rsocket;
import io.rsocket.*;
import io.rsocket.core.RSocketServer;
import io.rsocket.transport.netty.server.TcpServerTransport;
import io.rsocket.util.DefaultPayload;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
import org.reactivestreams.Subscription;
import reactor.core.Dispo... | true |
a67e0fa26cabbba48b40392bf8778aa78d5f4b35 | Java | soniclab/ciknowmgr | /src/ciknowmgr/util/AntUtil.java | UTF-8 | 655 | 2.1875 | 2 | [] | no_license | package ciknowmgr.util;
import java.io.File;
import org.apache.tools.ant.DefaultLogger;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.ProjectHelper;
public class AntUtil {
public static void executeTarget(String buildFile, String target){
Project ant = new Project();
ant.init();
... | true |
dcb5fb1e54f4ac2866868b0c43c1b544838ff38d | Java | MayankGoel1991/ecommerce2 | /BackE/src/main/java/com/BackE/dao/SupplierDao.java | UTF-8 | 354 | 2.03125 | 2 | [] | no_license | package com.BackE.dao;
import java.util.List;
import com.BackE.model.Supplier;
public interface SupplierDao {
boolean addSupplier(Supplier supplier);
public void updateSupplier(Supplier supplier);
public List<Supplier> listSupplier();
public void removeSupplier(String supplierId);
//read
public Supplier getSuppl... | true |
41c1bbf289c0a5588dc1f6e9705e4b1c6871e9ed | Java | minhhieu030598/mongo-service | /src/main/java/com/mongoservice/repositories/PersonRepo.java | UTF-8 | 471 | 1.601563 | 2 | [] | no_license | //package com.mongoservice.repositories;
//
//import com.mongoservice.model.Person;
//import org.bson.Document;
//import org.springframework.data.mongodb.repository.MongoRepository;
//import org.springframework.data.mongodb.repository.Query;
//
//import java.util.List;
//
//public interface PersonRepo extends MongoRepo... | true |
80d08303c8c145786cb2b2db3ca53687bea23885 | Java | asciidoctor/asciidoctor-intellij-plugin | /src/main/java/org/asciidoc/intellij/editor/AsciiDocSplitEditorProvider.java | UTF-8 | 3,134 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | package org.asciidoc.intellij.editor;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.fileEditor.TextEditor;
import com.intellij.openapi.fileEditor.impl.text.PsiAwareText... | true |
90fcfbfca98dfb31ef8a9eb4aef0c9fddb2219b7 | Java | kbrabrand/Pascal2100 | /no/uio/ifi/pascal2100/parser/CompoundStatm.java | UTF-8 | 1,304 | 2.28125 | 2 | [
"MIT"
] | permissive | package no.uio.ifi.pascal2100.parser;
import static no.uio.ifi.pascal2100.scanner.TokenKind.beginToken;
import static no.uio.ifi.pascal2100.scanner.TokenKind.endToken;
import no.uio.ifi.pascal2100.main.CodeFile;
import no.uio.ifi.pascal2100.main.Main;
import no.uio.ifi.pascal2100.scanner.Scanner;
public class Compou... | true |
617c2acb6264a9f9c4051130fbf3cd3f6b666298 | Java | viranribic/design-patterns | /lab4/src/hr/fer/zemris/ooup/lab4/graphicalObjects/interfaces/GraphicalObject.java | UTF-8 | 650 | 2.5 | 2 | [] | no_license | package hr.fer.zemris.ooup.lab4.graphicalObjects.interfaces;
import hr.fer.zemris.linearna.Point2D;
public interface GraphicalObject extends GeometricalObject,DrawableObject,ObservableObject,PrototipeObject, LoadSaveObject {
boolean isSelected();
void setSelected(boolean selected);
int getNumberOfHotPoint... | true |
702a9212a0dc6577d8bfd0e7949f37959516f6d0 | Java | aryoxp/prayertimes | /src/ap/mobile/prayertimes/interfaces/GeolocationInterface.java | UTF-8 | 151 | 1.585938 | 2 | [
"MIT"
] | permissive | package ap.mobile.prayertimes.interfaces;
public interface GeolocationInterface {
public void onLocationLoaded(double longitude, double latitude);
}
| true |
79ac96e743b2567563502c6ffcfe0eead5189c11 | Java | bhavani95/JavaPractice | /InheritExample/src/inheritexample/Hourly.java | UTF-8 | 366 | 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 inheritexample;
/**
*
* @author s528143
*/
public class Hourly extends InheritExample {
int hourly;
public int getS... | true |
6317c14d0ec1082bfcd98dabe4a02d49d3e26632 | Java | mvoishchev/Android-Porject | /app/src/main/java/connectors/yummly/YummlyModels.java | UTF-8 | 1,011 | 2.015625 | 2 | [] | no_license | package connectors.yummly;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
/**
* Created by satya on 10/15/2015.
*/
public class YummlyModels {
public class RecipePreviewModel
{
@SerializedName("id")
String title;
@SerializedNa... | true |
de6928febcbff25f366b53fac684dd2b729b0cb1 | Java | maciekmika/invoices-project | /server/src/main/java/com/io/invoices/invoiceshibernate/facture/FactureService.java | UTF-8 | 6,616 | 2.125 | 2 | [] | no_license | package com.io.invoices.invoiceshibernate.facture;
import com.io.invoices.invoiceshibernate.bankAccount.BankAccount;
import com.io.invoices.invoiceshibernate.bankAccount.BankAccountRepository;
import com.io.invoices.invoiceshibernate.client.Client;
import com.io.invoices.invoiceshibernate.client.ClientRepository;
impo... | true |
0ecb70fcebdd15df328551e73fb81fd02d8ed6cd | Java | 1193708911/P2Cloud | /P2Cloud/src/main/java/movi/ui/view/MyImageView.java | UTF-8 | 748 | 2.265625 | 2 | [] | no_license | package movi.ui.view;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import movi.view.photopicker.utils.OtherUtils;
/**
* Created by chjj on 2016/6/20.
*/
public class MyImageView extends ImageView {
Context mContext;
int mWidth;
int mHeight;
pub... | true |
602897beee46340cdbc5cf435c48f8f5a3efcd41 | Java | led-os/SeexLove | /app/src/main/java/com/chat/seecolove/view/activity/MuenDialog.java | UTF-8 | 1,416 | 1.882813 | 2 | [] | no_license | package com.chat.seecolove.view.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.chat.seecolove.R;
... | true |
848c82f0c374689f084bc9759eefd1d8e096be6b | Java | D-Inc/EnderIO | /src/main/java/crazypants/enderio/api/tool/ITool.java | UTF-8 | 355 | 1.773438 | 2 | [
"Unlicense",
"CC-BY-3.0",
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | package crazypants.enderio.api.tool;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
public interface ITool extends IHideFacades {
boolean canUse(ItemStack stack, EntityPlayer player, BlockPos pos);
void used(ItemStack stack, Enti... | true |
440dd4a1d7948a8b98f51d04f72e157c69570c54 | Java | nanchenwg/stu | /seckillV2.1/src/test/java/com/seckill/test/testMapList.java | UTF-8 | 1,302 | 2.671875 | 3 | [] | no_license | package com.seckill.test;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.junit.Test;
import com.seckill.pojo.Seckill;
public class testMapList {
@Test
public void test(){
List<Seckill> list = new ArrayList<>();
Seckill s1 = new Seckill(... | true |
907c75352bdc560727e17774ed717fba04ad5667 | Java | heycandy/bdsdp-example | /src/main/java/com/chinasofti/ark/bdsdp/example/components/client/ExampleResponseFilter.java | UTF-8 | 1,234 | 2.203125 | 2 | [] | no_license | package com.chinasofti.ark.bdsdp.example.components.client;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.ws.rs.client.ClientRequestContext;
import javax.ws.rs.client.ClientResponseContext;
import j... | true |
d2a2133d05b754a3c05cfd4aa46b9e9ffc73f801 | Java | gtu001/gtu-test-code | /GTU/src/gtu/quartz/ScheduleManager.java | UTF-8 | 947 | 2.078125 | 2 | [] | no_license | package gtu.quartz;
import org.quartz.CronTrigger;
import org.quartz.JobDetail;
import org.quartz.Scheduler;
import org.quartz.SimpleTrigger;
/**
* 定義Schedule Manager interface
* Comment for ScheduleManager
* @author <a href="mailto:chris@mail.omniwise.com.tw">Chris</a>
* @version 2008/3/17:下午 4:43:02
... | true |
c7b7b8736594f40116df774ad4e13bf98cbfbd2e | Java | ABHISHEK-VM/java_e_lab | /inheritance2/AssociateProfessor.java | UTF-8 | 580 | 2.609375 | 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 inheritance2;
/**
*
* @author user
*/
public class AssociateProfessor extends Person{
public AssociateProfessor(St... | true |
3509b83bf8aebe7e3a2630adf761211d543dc28b | Java | Pau42195/IdentiCares | /IdentiCares/app/src/main/java/com/gruixuts/identicares/GestorDB.java | UTF-8 | 26,825 | 2.046875 | 2 | [] | no_license | package com.gruixuts.identicares;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.provider.BaseColumns;
import android.util.Log;
import java.text.ParsePo... | true |
614d2d0c920a4aec2c7b821cfeca7a214b3a8ce5 | Java | ty2009137128/speczoo2 | /src/com/graduation/webservice/IOmlWebService.java | UTF-8 | 591 | 2.015625 | 2 | [] | no_license | package com.graduation.webservice;
import com.graduation.model.OmlElement;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import java.util.List;
@Path("/oml")
public interface IOmlWebService {
@GET
@Path("/test"... | true |
eea99a501736418e720ef27e98acb9583602acdd | Java | Bharat2195/Bestafe | /app/src/main/java/com/toranado/bestafe/adpter/CartItem.java | UTF-8 | 788 | 2.265625 | 2 | [] | no_license | package com.toranado.bestafe.adpter;
/**
* Created by sbhar on 12-07-2016.
*/
public class CartItem {
private String product_id;
private String model;
private String price;
private String Image;
public String getProduct_id() {
return product_id;
}
public void setProduct_id(St... | true |