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
ea3a3253bc8311d3cb7007db2e70068931392e95
Java
zouxiang123/portal
/portal-platform/src/main/java/com/xtt/platform/util/CopyUtil.java
UTF-8
3,155
3.171875
3
[]
no_license
/** * @Title: CopyUtil.java * @Package com.xtt.platform.util * Copyright: Copyright (c) 2015 * @author: bruce * @date: 2016年3月17日 上午11:35:25 * */ package com.xtt.platform.util; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.Date; public class CopyUtil { /** *...
true
4fab2fe6f5d5a1d698187d027eb7759e0570858f
Java
onofrimelisa/quality-challenge
/src/main/java/com/quality/challenge/utils/CitySearchUtil.java
UTF-8
2,244
2.53125
3
[]
no_license
package com.quality.challenge.utils; import com.quality.challenge.dto.FlightDTO; import com.quality.challenge.dto.HotelDTO; import com.quality.challenge.dto.StatusCodeDTO; import com.quality.challenge.exceptions.InvalidDestinationException; import com.quality.challenge.exceptions.InvalidOriginException; import org.spr...
true
6081f69f2a7cea55347e97d3ca9fd96cae44f519
Java
diligentyang/JavaWebLibrary
/src/shiyan/User.java
UTF-8
3,312
2.625
3
[]
no_license
package shiyan; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.mysql.jdbc.Connection; import com.mysql.jdbc.PreparedStatement; import com.mysql.jdbc.Statement; public class User { private Connection conn; public boolean checkUser(String usern...
true
c3ea74dca8fbd6457d3278a87b9a743abc1fc351
Java
lovemomia/sogokids-admin
/src/main/java/com/sogokids/teacher/service/impl/CourseAssignServiceImpl.java
UTF-8
5,653
2.171875
2
[]
no_license
package com.sogokids.teacher.service.impl; import com.sogokids.course.model.Course; import com.sogokids.course.service.CourseService; import com.sogokids.system.service.PlaceService; import com.sogokids.teacher.model.CourseAssign; import com.sogokids.teacher.service.CourseAssignService; import com.sogokids.utils.util....
true
10bf54bd5217db4c49a9df20c91c431bee227f2d
Java
yunusborazan/NeverPuk
/NeverPuk/net/nv/p.java
UTF-8
317
1.601563
2
[]
no_license
package net.nv; import net.nv.t; public class p extends t { public p(String var1) { this("commands.generic.entity.notFound", new Object[]{var1}); } public p(String var1, Object... var2) { super(var1, var2); } public synchronized Throwable fillInStackTrace() { return this; } }
true
aca7f4fd686f5f4430b036f71a9414d7c8c09923
Java
liu13722785488/ProjectStruct
/app/src/main/java/com/happyjob/wagesteward/base/BaseFragment.java
UTF-8
386
1.742188
2
[]
no_license
package com.happyjob.wagesteward.base; import android.view.View; import android.view.View.OnClickListener; import androidx.fragment.app.Fragment; public abstract class BaseFragment extends Fragment implements OnClickListener { public abstract void initView(View view); public abstract void initData(); public ab...
true
a7787c2eae6ee3b84c6d5460c5e771daad8ba788
Java
lifes/wtf1
/src/main/java/com/hikvision/syncbd/common/FileUtil.java
UTF-8
678
2.640625
3
[]
no_license
package com.hikvision.syncbd.common; import java.io.File; import java.util.ArrayList; import java.util.List; /** * @author chenhuaming 2016-1-11 * */ public class FileUtil { public static File[] getFilesOnDirectoryNotIncludeFolder( String directoryPath) { File base = new File(directoryPath); File[] files ...
true
db0dea289cdb8bb9d689903146511ba6f4c71d1c
Java
Paindar/LambdaLib2
/src/main/java/cn/lambdalib2/render/TransformChain.java
UTF-8
1,081
2.375
2
[ "MIT" ]
permissive
package cn.lambdalib2.render; import org.lwjgl.util.vector.Matrix4f; public class TransformChain { private static final Matrix4f _temp = new Matrix4f(); private final Matrix4f _result = new Matrix4f(); public TransformChain() { } public TransformChain(Matrix4f other) { _result.load(oth...
true
0a9efff386ccd2c2e3efb8bac476648bfdfd0dd3
Java
OksanaKulbaba/graphs
/src/main/java/Lab1/Adjacency.java
UTF-8
2,414
3.40625
3
[]
no_license
package Lab1; import java.util.*; import java.util.concurrent.ConcurrentSkipListSet; public class Adjacency { public int[][] getMatrix() { return matrix; } private int[][] matrix; private HashMap<Integer,Integer> verTemp ; public void initMatrix(){ verTemp = new HashMap<>();...
true
2aa882949add1d1c2253ab6b1be0df427916711d
Java
stingpie/Java_group_pproject
/group_array_project/src/group_array_project/FileGenerator.java
UTF-8
1,571
4.0625
4
[]
no_license
package group_array_project; //import necessary java classes import java.io.FileWriter; import java.util.Random; public class FileGenerator{ //method that generates a file containing an array of numbers with specified width, height, and path public static void makeTextFile(int width, int height, String path) ...
true
3971e6d3959388df6940949284ef5e5c375df280
Java
bijojoseph16/CodingInterview
/java/getImportance.java
UTF-8
940
3.390625
3
[ "MIT" ]
permissive
/* // Employee info class Employee { // It's the unique id of each node; // unique id of this employee public int id; // the importance value of this employee public int importance; // the id of direct subordinates public List<Integer> subordinates; }; */ class Solution { public int getI...
true
2560d0e6a204ac35e57564157ff0be865394bf39
Java
limboc/sample
/app/src/main/java/com/github/limboc/sample/ui/activity/BaseActivity.java
UTF-8
2,712
2.15625
2
[]
no_license
package com.github.limboc.sample.ui.activity; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import com.github.limboc.sample.App; i...
true
54e6de4ef02731876ec6429c959df8e36c17df8e
Java
kva-devops/job4j_design
/src/main/java/ru/job4j/collection/SimpleQueue.java
UTF-8
571
3.40625
3
[]
no_license
package ru.job4j.collection; import java.util.Iterator; public class SimpleQueue<T> { private final SimpleStack<T> in = new SimpleStack<>(); private final SimpleStack<T> out = new SimpleStack<>(); public T poll() { Iterator<T> itIn = in.iterator(); Iterator<T> itOut = out.iterator(); ...
true
a4919503e64df8822b6c0497ddc1d178eb466b28
Java
Ramya9710/hms
/src/initialprocess/Bed.java
UTF-8
798
2.796875
3
[]
no_license
package initialprocess; public class Bed { private Long bedId; private String bedType; private String roomName; public Long getBedId() { return bedId; } public void setBedId(Long bedId) { this.bedId = bedId; } public String getBedType() { return (bedType); ...
true
0ecfb6d8152dee5ed65bed34c434325725d1df18
Java
645551977/java_test
/src/test/java/TestCase/V1_1/IssuePage/WorkLog/RPCMSD1395.java
UTF-8
2,232
1.898438
2
[]
no_license
package TestCase.V1_1.IssuePage.WorkLog; import org.openqa.selenium.By; import org.testng.annotations.Test; import shdsd.selenium.Tools.BaseTest; import shdsd.selenium.Tools.Entrance; import shdsd.selenium.Tools.Properties; import shdsd.selenium.Tools.ScreenshotUntils; public class RPCMSD1395 extends BaseTest { ...
true
0f9fb0e5806a31e52463d3c177bbc99189b2c1c6
Java
Semineces/online-video
/service/service_vod/src/main/java/com/hty/vod/controller/VodController.java
UTF-8
3,445
2.25
2
[]
no_license
package com.hty.vod.controller; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.vod.model.v20170321.DeleteVideoRequest; import com.aliyuncs.vod.model.v20170321.GetVideoPlayAuthRequest; import com.aliyuncs.vod.model.v20170321.GetVideoPlayAuthResponse; import com.hty.servicebase.MyException; import com.hty.uti...
true
172aafbcc7e803851f5cbb11367bad68cf8328a1
Java
Blajimir/fake-measures
/src/main/java/ru/efko/thermal/fakemeasures/model/Sensor.java
UTF-8
1,410
1.929688
2
[]
no_license
package ru.efko.thermal.fakemeasures.model; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Table(name = "sensor") @Data @NoArgsConstructor public class Sensor { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sensor_seq") @SequenceGenerator(...
true
712196bdb4373c1e01c77a1c4ae9e7e63976dddf
Java
chrgsoni07/SmartShop
/src/main/java/com/rk/smartshop/model/ProductLocation.java
UTF-8
165
1.664063
2
[]
no_license
package com.rk.smartshop.model; import lombok.Data; @Data public class ProductLocation { private Long id; private Long locationId; private Long productId; }
true
db3e85734e09291fe981e0b4fdc7540b94f0f0ac
Java
henridev/City-Assistant
/app/src/main/java/smartassist/appreciate/be/smartassist/utils/WeatherHelper.java
UTF-8
4,935
2.328125
2
[]
no_license
package smartassist.appreciate.be.smartassist.utils; import smartassist.appreciate.be.smartassist.R; /** * Created by Inneke on 24/02/2015. */ public class WeatherHelper { public static final int COLOR_DARK = 0; public static final int COLOR_GRAY = 1; public static final int COLOR_WHITE = 2; privat...
true
d8240c9e4c4127d4d55cd6a5af2cb1daa234122f
Java
LMurphy186232/JavaWrapper
/src/sortie/data/simpletypes/DetailedOutputSettings.java
UTF-8
7,773
2.9375
3
[]
no_license
package sortie.data.simpletypes; import java.util.ArrayList; /** * Base class for detailed output settings. * <p>Copyright: Copyright (c) Charles D. Canham 2003</p> * <p>Company: Cary Institute of Ecosystem Studies</p> * @author Lora E. Murphy * @version 1.0 * * <br>Edit history: * <br>------------------ * ...
true
3760707d6303858c328b9d3470600dc54dc5692b
Java
wh1t3p1g/ysomap
/core/src/main/java/ysomap/bullets/groovy/ClosureWithTemplatesImplBullet.java
UTF-8
1,774
2.296875
2
[ "Apache-2.0" ]
permissive
package ysomap.bullets.groovy; import org.codehaus.groovy.runtime.MethodClosure; import ysomap.bullets.AbstractBullet; import ysomap.bullets.Bullet; import ysomap.bullets.jdk.TemplatesImplBullet; import ysomap.common.annotation.*; import ysomap.core.util.DetailHelper; /** * @author wh1t3p1g * @since 2021/8/6 */ @B...
true
7f22848825c2fbfd67b025b556a5b96e04011855
Java
codemky/uni
/src/main/java/edu/uni/userBaseInfo1/service/MySecondLevelDisciplineService.java
UTF-8
2,185
2.03125
2
[]
no_license
package edu.uni.userBaseInfo1.service; import com.github.pagehelper.PageInfo; import edu.uni.professionalcourses.bean.SecondLevelDiscipline; import java.util.List; public interface MySecondLevelDisciplineService { /** * Author: chenenru 23:59 2019/4/29 * @param * @return List<SecondLevelDiscipline...
true
7f832bcf54a9165da7ad9b1eb97dd1076985c7cb
Java
wnifirami/YtsMovies
/app/src/main/java/com/example/macprosam/ytsmovies/DetailActivity.java
UTF-8
1,950
2.09375
2
[]
no_license
package com.example.macprosam.ytsmovies; import android.animation.ObjectAnimator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.animation.DecelerateInterpolator; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; import a...
true
1cdee80f96c204c1997e181d6f4abe74a5ef4b88
Java
SuperLiL/diff
/src/main/java/com/web/controller/DiffController.java
UTF-8
14,029
2.15625
2
[]
no_license
package com.web.controller; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.SerializerFeature; import com.web.interceptor.Diffintercept; import com.web.pojo.DiffPostParams; import com.web.response.ResultGenerator; import com.web.service.DiffService...
true
77301c6afba0135fe75b252aa97e3cae603f477a
Java
flamestro/openwhisk-devtools
/java-local/src/test/java/openwhisk/java/local/test/LauncherTest.java
UTF-8
3,529
2.078125
2
[ "Apache-2.0" ]
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 ...
true
cdcc28781c7e69d7a8d5836269f34419cb072d3f
Java
ananghanafi/CobMNN
/app/src/main/java/com/masbi/cobmnn/Daftar.java
UTF-8
2,555
2.21875
2
[]
no_license
package com.masbi.cobmnn; import android.content.Intent; import android.os.AsyncTask; import android.support.design.widget.TextInputEditText; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.w...
true
cb9845a274444dd81031edd1343e193554191a5e
Java
rktoledo/KEBA
/KEBA_Interface/src/dbObjects/LoadingData.java
UTF-8
4,158
2.40625
2
[]
no_license
package dbObjects; import java.io.Serializable; import java.time.LocalDateTime; import org.json.simple.JSONObject; public class LoadingData implements Serializable{ private static final long serialVersionUID = 1L; private int loadID; private int sessionID; private int loadTime; private int loadedEnergy; priv...
true
46038bbe1ad74125fd6ab97b33fde73308e32e29
Java
org-PhoenixFairy/JavaTeachRepostiory
/Teach/src/NoteMaker/LibMain.java
GB18030
1,275
3.5
4
[]
no_license
package NoteMaker; import java.util.Scanner; public class LibMain { /** * * @param msg * StringıʼǣһַԪռһУһнٰͣ * @param prog * һRunnableij */ public static void NoteMake(String[] msg,Runnable prog){ Scanner sc= new Scanner(System.in); int i=0; System.out.println("----ʼӡʼ----"); f...
true
dc57af0e54ffa1d0a5bffe8e5eed839cac44a0e6
Java
agaveplatform/science-apis
/agave-profiles/profiles-core/src/main/java/org/iplantc/service/profile/model/ProfileSerializer.java
UTF-8
785
2.21875
2
[ "BSD-3-Clause" ]
permissive
package org.iplantc.service.profile.model; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import org.iplantc.service.profile.exceptions.Profi...
true
6a53c14dc129b127df477350ae64ae1788047b86
Java
subaruwrx/Activity
/app/src/main/java/cput/za/ac/ecommerce_clothingapp/factory/DatasourceDAO.java
UTF-8
444
2.09375
2
[]
no_license
package cput.za.ac.ecommerce_clothingapp.factory; import java.util.ArrayList; import cput.za.ac.ecommerce_clothingapp.domain.Address; /** * Created by Admin on 2016-06-06. */ public interface DatasourceDAO { public void createAddress(Address address); public void updateAddress(Address address); public ...
true
227d6a36266f91168668a2d24c81bedf8cd52cb9
Java
AbhijeetDhillon/Design-1
/MinStack.java
UTF-8
949
3.375
3
[]
no_license
import java.util.Stack; // Time Complexity :O(n) // Space Complexity :O(1) // Did this code successfully run on Leetcode : Yes // Any problem you faced while coding this : No class MinStack { Stack<Integer> stack,stack2; int min; /** initialize your data structure here. */ public MinSta...
true
088b3151e1b7e69e3c4c6196fcabffcd43325117
Java
pentaho/pentaho-chartbeans
/src/main/java/org/pentaho/chart/plugin/xml/XmlChartOutput.java
UTF-8
5,022
1.976563
2
[]
no_license
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can ob...
true
ad542bfda79466350cd56c0c1e2d29b100a16316
Java
jonabacke/programieren-1
/Blatt_6/Blatt06_1_NeuronaleNetzwerke/Zug.java
UTF-8
1,732
3.75
4
[]
no_license
/** * Mit dieser Klasse wird eine Liste (Zug) erstellt die aus mehreren * Elementen (Wagen ) bestehen kann * * @author Jonathan Backes * @version 31.05.2018 */ public class Zug { private Wagen _lock; /** * Im Konstruktor wird das erste Element der Liste erstellt (Lock) * * @param ...
true
61da49e44653ecba420b178872bb33255e0e0f3f
Java
fx247562340/opscloud-demo
/opscloud-common/src/main/java/com/baiyi/opscloud/common/util/RedisKeyUtils.java
UTF-8
341
1.953125
2
[]
no_license
package com.baiyi.opscloud.common.util; import com.google.common.base.Joiner; /** * @Author baiyi * @Date 2020/4/7 6:55 下午 * @Version 1.0 */ public class RedisKeyUtils { public static String getMyServerTreeKey(int userId,String uuid){ return Joiner.on(":").join("serverTree", "userId", userId, "uuid",...
true
7f2891b5eb42f59e257e69afd7a9e69273db0691
Java
bryanwhho/Java-algorithms
/LSEMA407/src/LongestMirrorSequence.java
UTF-8
3,599
3.109375
3
[]
no_license
/*---------------------------------------------------------------- * Author: Bryan Ho * Written: 09/12/2013 * Last updated: 09/12/2013 * * Compilation: javac LongestMirrorSequence.java * Execution: java LongestMirror Sequence [string of char values] * * * % java LongestMirrorSequence ...
true
dd0804b14cbd8041e251929d9f55503a81ff599f
Java
amrendrabagga/LeetcodeChallenge21
/src/main/java/april/week3/Day4_RemoveNthNodeFromEndOfList.java
UTF-8
1,294
3.25
3
[]
no_license
package april.week3; import utils.ListNode; public class Day4_RemoveNthNodeFromEndOfList { public ListNode removeNthFromEnd(ListNode head, int n) { int len = 0; ListNode tmp = head; while (tmp != null) { len++; tmp = tmp.next; } if (len == 1) { ...
true
f01ffb5d2e9a602fa04551f936522079300c72bd
Java
veffhz/library-web-app
/library-batch/src/main/java/ru/otus/dao/jpa/BookJpaRepository.java
UTF-8
349
1.867188
2
[]
no_license
package ru.otus.dao.jpa; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import ru.otus.domain.Book; import java.util.List; public interface BookJpaRepository extends JpaRepository<Book, String>, FindAllSupport { @EntityGraph("bookGraph")...
true
a2b523d3700d84ad7b81d8643a9811569ddbed75
Java
diego1198/ServicioGruas
/final/Gruas/src/java/ec/edu/espe/gruasService/service/ServiceResource.java
UTF-8
6,804
2.484375
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 ec.edu.espe.gruasService.service; import ec.edu.espe.gruasService.model.DBConnect; import ec.edu.espe.gruasService.model.Servi...
true
a8ff76122df89bc460e476f4ff8b0907ec07bd18
Java
John-Sawicki/TSI
/PowerLoadsActivity.java
UTF-8
17,843
1.726563
2
[]
no_license
package com.john.android.tsi; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.preference.PreferenceManager; import android.support...
true
34edb393d8df93efd7dc39876d214e6ec1079a53
Java
Suresh918/mySpringbootMicroServices
/MYCHANGE/java/review-service/src/test/java/com/example/mirai/mychange/reviewservice/json/ReviewCaseStatusJson.java
UTF-8
421
2.140625
2
[]
no_license
package com.example.mirai.projectname.reviewservice.json; public class ReviewCaseStatusJson extends Content { public ReviewCaseStatusJson(String content) { super(content); } public Long getId() { return Long.valueOf("" + documentContext.read("id")); } public Integer getStatus() ...
true
f4355fbefa5565d3bad8ebfef4f85b6601fa5ce8
Java
dostermeier/mbuddy
/mail-rest-server/src/main/java/com/zutubi/services/mail/rest/server/RestLifecycleComponent.java
UTF-8
3,757
2.21875
2
[ "Apache-2.0" ]
permissive
package com.zutubi.services.mail.rest.server; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.HandlerCollection; import org.eclipse.jetty.server.handler.RequestLogHandler; import org.eclipse.jetty.webapp.WebAppContext; import org.slf4j.Logger; ...
true
b0d712f6631b87e7831be6e85887bd21ead3e36e
Java
danielmartinez96/Tp1IR
/TrabajoPractico1/src/trabajopractico1/TrabajoPractico1.java
UTF-8
649
1.890625
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 trabajopractico1; import datos.GeneradorDatos; import presetador.PresentadorInicio; import vista.Inicio; /** * ...
true
4ba028e6f3723753f088eab6efe4c3d88302c396
Java
liangyingshao/goods
/oomall-test/src/test/java/cn/edu/xmu/oomall/SongRunhanTest.java
UTF-8
15,572
2.0625
2
[]
no_license
package cn.edu.xmu.oomall; import cn.edu.xmu.ooad.util.JacksonUtil; import cn.edu.xmu.ooad.util.ResponseCode; import cn.edu.xmu.oomall.LoginVo; import cn.edu.xmu.test.TestApplication; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; i...
true
0f5d1603407099d4d505d1aa2de8180f4a803f02
Java
sgzlyy/java-demo
/src/designPattern/command/Client.java
UTF-8
445
2.703125
3
[]
no_license
package designPattern.command; /** * @author sby * @Title: Client * @Description: 命令模式 * @date 2019/1/29 15:11 */ public class Client { public static void main(String[] args) throws Exception { Class c = Class.forName("designPattern.command.FanCommand"); AbstractCommand command = (AbstractComm...
true
484dd5179d9687d4eb902747bf4d88a2699bd858
Java
dianyueneo/Agriculture
/app/src/main/java/com/cxwl/agriculture/IntroActivity.java
UTF-8
1,302
2.359375
2
[]
no_license
package com.cxwl.agriculture; import android.app.Activity; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.view.View; import android.widget.ImageView; import com.cxwl.agriculture.adapter.IntroImagePagerAdapter; /** * Created by hongge on 15/8/1. */ public class IntroActivity exte...
true
52b435fad1be82987dc6420a60e75cd4b6922541
Java
kreker92/ContextToCode
/plugin/src/main/java/tmt/attributes/TextAttributes.java
UTF-8
1,314
2.25
2
[]
no_license
package tmt.attributes; import com.intellij.openapi.editor.colors.TextAttributesKey; import static com.intellij.openapi.editor.colors.TextAttributesKey.createTextAttributesKey; public class TextAttributes { public static final TextAttributesKey CRITICAL; public static final TextAttributesKey MAJOR; ...
true
4c695d9310658b05bbc36709e12ae33069aa5dac
Java
trongnguyen0503/FYP_project
/app/src/main/java/com/tntstudios/feedyourpig/adapters/MapAdapter.java
UTF-8
3,229
2.203125
2
[]
no_license
package com.tntstudios.feedyourpig.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.r...
true
2e3708429d560e1d0ea249a32d768ac2460b51f1
Java
hasithalakmal/RIP
/SQLScriptGen/src/main/java/com/rip/sqlscriptgen/DatabasePulgginInterface.java
UTF-8
854
1.585938
2
[ "Apache-2.0" ]
permissive
/* * 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 com.rip.sqlscriptgen; import org.json.JSONObject; /** * * @author Hasitha Lakmal */ public interface DatabasePulgginInterf...
true
3d07bf51224a3e5b15202068b6f5dc695162776d
Java
P79N6A/icse_20_user_study
/methods/Method_1017106.java
UTF-8
171
1.742188
2
[]
no_license
private Map<String,String> payload(){ final ImmutableMap.Builder<String,String> payload=ImmutableMap.builder(); payload.put("state","ok"); return payload.build(); }
true
065b2463b18930e869c54adcc327fb57fbe0666a
Java
vhctrungnq/mlmn
/MLMN-Statistics/src/vn/com/vhc/vmsc2/statistics/web/controller/MnCellHoController.java
UTF-8
10,564
2.0625
2
[]
no_license
package vn.com.vhc.vmsc2.statistics.web.controller; import java.util.ArrayList; import java.util.Calendar; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
true
114dde8f9fcd02b08a53bf28a32f78b7ca1e939a
Java
yarn47/Dagger2-Android-WeatherSample
/app/src/main/java/com/example/daggerpractice00/api/response/ShownWeatherInfo.java
UTF-8
742
2.40625
2
[]
no_license
package com.example.daggerpractice00.api.response; public class ShownWeatherInfo { private String cityName = "citys"; private Weather todayWeather = null; private Weather tomorrowWeather = null; public String getCityName() { return cityName; } public void setCityName(String cityName) ...
true
19cf7b80f8db3f239eef78dc3a33d565f5f30524
Java
Paramyth/javafx
/kodeklubben/src/game/FxmlApp.java
UTF-8
1,729
2.6875
3
[]
no_license
package game; import java.net.URL; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.SnapshotParameters; import javafx.scene.image.Image; import javafx.scene.image.WritableImage; import javafx.scen...
true
ade6442e16f4ae1c3119229caa4f20646758bacf
Java
XM-XiaoMa/AgentPermission
/permission/src/main/java/com/xm/permission/api/SettingPageDialog.java
UTF-8
281
1.546875
2
[]
no_license
package com.xm.permission.api; import android.content.Context; import com.xm.permission.entity.PermissionParam; import java.util.List; public interface SettingPageDialog { void showDialog(Context context, List<PermissionParam> permissions, SettingPageExecutor executor); }
true
96eb1e0ba512ac1176dc0a28aa279f201873f483
Java
ukiKwon/geofence-shop-coupon
/RemindMeThere-Materials/remindmethere-final/app/src/main/java/com/android/raywenderlich/remindmethere/GeoCouponActivity.java
UTF-8
2,487
2.375
2
[]
no_license
package com.android.raywenderlich.remindmethere; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.View; import android.widget.Toolbar; import java.util.ArrayList; import androidx.appcompat.app.ActionBar; import androidx.recyclerview.widget.Linear...
true
99faac6111d9138cc2e0c451ebb943a9da13179b
Java
alegna19/JavaExercises
/src/hackerrank/DeltaEncoding.java
UTF-8
1,550
3.953125
4
[]
no_license
package hackerrank; /* 1. Se tiene una lista de números y se debe sacar la diferencia de la resta entre el primer número de la lista con el segundo. Ejemplo: 25626 - 25757 = -131 ese valor se debe cargar a una nueva lista para luego imprimir las diferencias. 2. si las diferencias(Delta) estan son mayores a 127 y menor...
true
c58bb1dd911584e492cd73a6cc24c115fca5e092
Java
jelem/capella
/task_8/andrew.samsonov/src/main/java/ua/pp/darknsoft/MultidimensionalArray.java
UTF-8
1,633
3.125
3
[]
no_license
package ua.pp.darknsoft; public class MultidimensionalArray { public static int[][] pascalTriangle(int length) { int[][] autoPascal = new int[length][]; for (int i = 0; i < autoPascal.length; i++) { int[] innerArray = new int[i + 1]; autoPascal[i] = innerArray; if (i > 0) { for (i...
true
8f3fb246f5c24980c742c4ede3089ba8151e839e
Java
jaboto/dhis2-android-capture-app
/tableview/src/main/java/com/evrencoskun/tableview/TableView.java
UTF-8
32,885
1.640625
2
[ "BSD-3-Clause" ]
permissive
/* * Copyright (c) 2018. Evren Coşkun * * 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 ...
true
c908f4c7df841e29faa5dfcd2022c8ca7d09f9ba
Java
lima-caio/role-service
/src/main/java/com/marvin/roleservice/rest/dto/RoleCreationDto.java
UTF-8
422
1.984375
2
[]
no_license
package com.marvin.roleservice.rest.dto; import com.marvin.roleservice.domain.Role; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * Data transfer object for {@link Role} creation. */ @Data public class RoleCreationDto { @ApiModelProperty(value = "name", position = 1) private Strin...
true
e89552c4e033bf459b336a922fa14437ade21d29
Java
akmred/RNPT
/app/src/main/java/com/example/rnpt/fragments/FragmentOpenRNPT.java
UTF-8
2,290
2.0625
2
[]
no_license
package com.example.rnpt.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import com.example...
true
ffd7bf25c2be2c24c8cd767bd58c029e3ebdb3a4
Java
scaiocesar/voy-microservices
/auth-common/src/main/java/com/voy/auth/model/UserActive.java
UTF-8
316
1.859375
2
[]
no_license
package com.voy.auth.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Created by Bozo on 05/11/2015. */ @JsonIgnoreProperties(ignoreUnknown = true) public class UserActive { public Boolean isActive; public UserActive(){} public UserActive(Boolean b){this.isActive = b;} }
true
d713ea828df5e9b742676e63a31feedb572db63a
Java
checkermu/LeetCode
/easy/LongestSubStringNo.java
UTF-8
3,983
3.828125
4
[]
no_license
package com.uestc.gt.easy; /** * author: checkermu email:guotaoleng@163.com * time: 2015年6月17日下午7:47:27 * Given a string, find the length of the longest substring without repeating characters. * For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. * For "bbb...
true
25d0ed78fe5cd8b1367cd6537c7113afc866265f
Java
apache/servicemix-components
/engines/servicemix-bean/src/test/java/org/apache/servicemix/bean/LoggingPojoTest.java
UTF-8
11,842
1.960938
2
[ "Apache-2.0" ]
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 ...
true
e91762820b3927117507956dde00344af4ae4399
Java
aligaber2020/projects
/src/main/java/com/app/datatransferobject/CountryDTO.java
UTF-8
1,068
2.03125
2
[]
no_license
package com.app.datatransferobject; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_NULL) public class CountryDTO { private Long ID; private String COUNTRYNAME; private String ALIAS; private String CODE; private String PHONE_NUMBER; private String FAX_NUMBER; private ...
true
bd6d723417094501f37562c475c9550c237c2ad4
Java
STPS-PORTALDIGITAL/Portal-Empleo-Nuevo
/PortalDigital/src/main/java/stps/gob/mx/dto/InicioDTO.java
UTF-8
1,482
1.992188
2
[]
no_license
package stps.gob.mx.dto; import java.util.List; public class InicioDTO { private List<String> listaEmpleos;//ok private List<String> listaMunicipiosEntidad; private List<String> listaFerias; private List<String> listaConvocatorias; private int numeroOfertasEmpleo;//ok private int numeroCandidatos; ...
true
f81ca6c8b412a09722d3a627f695f273a25bc8df
Java
conceptslearningmachine-FEIN-85-1759293/fssi-file-processor
/src/main/java/gov/gsa/fssi/files/sourcefiles/utils/SourceFileValidator.java
UTF-8
3,279
2.609375
3
[]
no_license
package main.java.gov.gsa.fssi.files.sourcefiles.utils; import main.java.gov.gsa.fssi.files.File; import main.java.gov.gsa.fssi.files.schemas.schemafields.SchemaField; import main.java.gov.gsa.fssi.files.schemas.schemafields.fieldconstraints.FieldConstraint; import main.java.gov.gsa.fssi.files.sourcefiles.SourceFile; ...
true
6c5be430f50409f40907b263fd3d06ae93c6a3e1
Java
emmahawk/Lab3
/lab3_EclipseProject_emma/src/ca/uwaterloo/crysp/otr/crypt/rim/RIMDHPrivateKey.java
UTF-8
2,017
1.804688
2
[]
no_license
/* * Java OTR library * Copyright (C) 2008-2009 Ian Goldberg, Muhaimeen Ashraf, Andrew Chung, * Can Tang * * This library is free software; you can redistribute it and/or * modify it under the terms of version 2.1 of the GNU Lesser General * Public License as published by the Free...
true
1573fb9d799c3d0cb235f9c54c6d234fcbc3d2be
Java
gitskarios/Gitskarios
/app/src/main/java/com/alorma/github/ui/fragment/issues/IssuesListFragment.java
UTF-8
11,686
1.554688
2
[ "MIT" ]
permissive
package com.alorma.github.ui.fragment.issues; import android.animation.Animator; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.v...
true
4bd0d9c359512575e074a88742f7f50e56ba6d9d
Java
chorlick/mining-automator
/src/main/java/edu/regis/miningautomator/repository/MiningInsallationRepository.java
UTF-8
826
1.976563
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 edu.regis.miningautomator.repository; import edu.regis.miningautomator.models.MiningInstallation; import edu.regis.miningautom...
true
dd6d216ab2b9bdbf9a21aa108b3ee882b3b67183
Java
Sudheerbolla/Dev
/app/src/main/java/com/devotted/fragments/SortBottomSheetFragment.java
UTF-8
3,622
2.171875
2
[]
no_license
package com.devotted.fragments; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.BottomSheetDialog; import android.support.design.widget.BottomSheetDialogFragment; import android.view.View; import androi...
true
52bc9132dbca9489723c26b9d57249147366f894
Java
RoelvdBurght/Journal
/app/src/main/java/e/roel/journal/EntryAdapter.java
UTF-8
1,866
2.46875
2
[]
no_license
package e.roel.journal; import android.content.Context; import android.database.Cursor; import android.text.Layout; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.ResourceCursorAdapter; import android.widget.TextView; import e.roel.journal.R; public class En...
true
0e9d49e07cc8c9ae30b605ff960d4427deac1766
Java
Faiz-Hasan/COE420-Carpool-Project
/Carpool/app/src/main/java/com/example/rjurri/carpool/SelectSeats.java
UTF-8
539
1.882813
2
[]
no_license
package com.example.rjurri.carpool; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class SelectSeats extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sa...
true
04fbc44dc9c69a6f10ffbb3c04a4a902d67f1f1f
Java
1547753613/springboot
/src/main/java/com/aaa/springboothomestay/entity/UserBrowse.java
UTF-8
282
1.585938
2
[]
no_license
package com.aaa.springboothomestay.entity; import lombok.Data; import java.util.Date; @Data public class UserBrowse { private int id;// int 主键 private int uid;// int 用户外键 private int hid;// int 房屋表外键 private Date date;// date 浏览日期 }
true
4d3b816a818cbb7d08a87ab65ebf07ad03d3da2f
Java
james1896/Phippy_Android
/app/src/main/java/com/tiffany/phippy/tour/TourFragment.java
UTF-8
3,631
1.9375
2
[]
no_license
package com.tiffany.phippy.tour; import android.content.Intent; import android.support.v4.app.Fragment; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextVie...
true
031114b45a42c94e73674567766f8be73eaa6703
Java
kamleshsindhal08/react-native-xmpp
/android/src/main/java/rnxmpp/mam/MamElements.java
UTF-8
3,241
2.421875
2
[ "BSD-2-Clause" ]
permissive
package rnxmpp.mam; import org.jivesoftware.smack.packet.DefaultExtensionElement; import org.jivesoftware.smack.packet.ExtensionElement; import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.util.StringUtils; import org.jivesoftware.smack.util.XmlStringBuilder; import org.jivesoftware.smackx.forw...
true
a09279ee807e991512f400fe48964b390195501d
Java
vtqveant/ccg-corpus
/importer/src/main/java/ru/eventflow/ccg/data/corpus/SQLDataBridge.java
UTF-8
8,760
2.046875
2
[]
no_license
package ru.eventflow.ccg.data.corpus; import ru.eventflow.ccg.datasource.model.corpus.*; import java.sql.*; import java.util.BitSet; import java.util.HashMap; import java.util.List; import java.util.Map; public class SQLDataBridge implements DataBridge { private final Map<String, BitSet> grammemeFlags = new Has...
true
d4ea5b66b831641c4d56adc2d9ef8df1e3ce0d0a
Java
huzza/shifu
/src/main/java/ml/shifu/shifu/core/datestat/DateStatComputeReducer.java
UTF-8
21,709
2.09375
2
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
/* * Copyright [2012-2019] PayPal Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
true
fc3aa0a196664fa85a93f01b5787397a2ab38246
Java
MrZ1995/learning-project
/first-year/src/main/java/com/learning/maven/string_class/StringDemo12.java
UTF-8
271
2.421875
2
[]
no_license
package com.learning.maven.string_class; public class StringDemo12 { public static void main(String args[]){ String logo = "yootk"; String strA = "www.yootk.com"; String strB = "www.logo.com"; System.out.println(strA==strB); } }
true
5e9236f3f6c0c2961c9cfc08289636bfca7574ca
Java
rahulyhg/Volta
/app/src/main/java/com/jmjsolution/solarup/interfaces/DeletePack.java
UTF-8
108
1.617188
2
[]
no_license
package com.jmjsolution.solarup.interfaces; public interface DeletePack { void onDeletePack(int i); }
true
2b008ee8270ab424f52a1c0b3448986642fa86b0
Java
jessica1127/algorithmJava
/amazon/LetterCombinationOfAPhone17.java
UTF-8
1,551
3.546875
4
[]
no_license
import java.util.*; class Solution { public List<String> letterCombinations(String digits) { List<String> res = new ArrayList<>(); HashMap<Integer, String> map = new HashMap<Integer, String>(); map.put(2, "abc"); map.put(3, "def"); map.put(4, "ghi"); map.put(5, "jkl...
true
c38fecd734797d4e987d8fec97487c34dc009c27
Java
ilialeonov/Epam_training
/FinalProject/src/java/by/epam/interpol/entity/User.java
UTF-8
3,296
2.703125
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 by.epam.interpol.entity; import java.util.Objects; /** * * @author Ilia Leonov * User entity */ public class User { p...
true
daebd7400e2cac529ff1afe3b90a4fe9027d5f17
Java
CloritoPicado/POO
/src/proyecto1/UI/EditarVehiculo.java
UTF-8
36,257
2.171875
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 proyecto1.UI; import java.awt.image.BufferedImage; import java.util.Date; import java.util.List; import javax.swing.*; import ...
true
71795472b20bd05c804242ca41e36c7445bc7752
Java
myandy/shishi
/shishi/src/main/java/com/myth/shishi/fragment/ChangeBackgroundFragment.java
UTF-8
2,467
2.09375
2
[]
no_license
package com.myth.shishi.fragment; import android.app.Fragment; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import com.myth.shishi.MyApplication; import com.myth.shishi.R; impor...
true
47892536c5edec8e4fc94a378d4294c41266bb53
Java
iyakiwan/MovieDB-Jetpack
/app/src/main/java/com/example/java/submission_jetpack/ui/movie/MovieViewModel.java
UTF-8
904
2.09375
2
[]
no_license
package com.example.java.submission_jetpack.ui.movie; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.example.java.submission_jetpack.data.source.SubmissionRepository; import com.example.java.submission_jetpack.data.source.remote.response....
true
85a8f87889dcd14daf6677ea62abde9eb7987249
Java
yilberth16/ParcialFinal
/app/src/main/java/com/example/covid/RastreoMapa.java
UTF-8
667
1.726563
2
[]
no_license
package com.example.covid; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; public class RastreoMapa extends AppCompatActivity { private WebView miWebView; @Override protected void onCreate(Bundle savedInstance...
true
685bfd9ac5313eb5b8f2f3626a49aeea3d212145
Java
iliedorobat/LIDO-Parser
/src/ro/webdata/parser/xml/lido/core/leaf/objectID/ObjectIDDAO.java
UTF-8
239
1.882813
2
[ "MIT" ]
permissive
package ro.webdata.parser.xml.lido.core.leaf.objectID; import org.w3c.dom.Node; public interface ObjectIDDAO { /** * * @param node <b>lido:objectID</b> node type. * @return <b>ObjectID</b> */ ObjectID getObjectID(Node node); }
true
5baa9ce840dc5d1827b0fcbdc2d146d6345505ee
Java
wangshengkui/smartPenForBoard
/src/com/example/smartpengesture/DealSmartPenGesture.java
UTF-8
37,445
1.796875
2
[]
no_license
package com.example.smartpengesture; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import com.example.smartpenfo...
true
edeb9d5bb4b5a3ee0abc2e21e6e77272b3805f5f
Java
jbro885/couchbase-lite-java
/lib/src/main/java/com/couchbase/lite/internal/NativeLibrary.java
UTF-8
6,047
2.296875
2
[ "Apache-2.0" ]
permissive
// // NativeLibrary.java // // Copyright (c) 2019 Couchbase, Inc 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // /...
true
726bb48e959874c7984d0d981e68200dd97a3be7
Java
shibing624/similarity
/src/main/java/org/xm/classification/Feature.java
UTF-8
1,812
2.96875
3
[ "Apache-2.0" ]
permissive
package org.xm.classification; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.HashMap; import java.util.Map; /** * 文档的特征 */ public class Feature { /** * 每个关键词在不同类别中出现的文档数量 */ private Map<String, Integer> docCountMap = new HashMap<>(); /** ...
true
6cd76dab9c18d19134e6c7b118bf7501fb9b8be6
Java
lvelezsantos/Generacion-Numeros-Aleatorios
/src/simulaciones/Auto.java
UTF-8
525
2.46875
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Autores: * Luis Alfonso Velez Santos * Carlos Yesid Hernandez Herrera * Jose Esteban Betin Diaz */ package simulaciones; public class Auto { int diasrenta; public void setDiasrenta(int diasr...
true
112002d4e2428137bb0d3cd8459d6997220ec83b
Java
rajithaS/Wikia
/app/src/main/java/com/rajithas/apps/wikia/ui/WikiListAdapter.java
UTF-8
3,308
2.328125
2
[]
no_license
package com.rajithas.apps.wikia.ui; import android.content.Context; import android.graphics.Color; import android.text.TextUtils; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; i...
true
afbed6e3beac7804df0eff423dc1e94b9b6518fc
Java
GabeOchieng/ggnn.tensorflow
/data/libgdx/Bresenham2_newObject.java
UTF-8
76
1.609375
2
[]
no_license
@Override protected GridPoint2 newObject() { return new GridPoint2(); }
true
07ba94bb596d759a74d99edf5e88db11f4f8dcb4
Java
SEO2317/StarbucksWeb
/src/feedback/controller/FeedbackUpdateAction.java
UTF-8
828
2.0625
2
[]
no_license
package feedback.controller; import java.util.HashMap; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import common.controller.AbstractController; import feedback.model.FeedbackDAO; import feedback.model.InterFeedbackDAO; public class FeedbackUpdateAction extends Abstr...
true
256841f91232fde4cb54e7f4e046566461b9ff57
Java
contactBoostTag/softwareengineer
/src/main/java/State_Pattern/TestClientState.java
UTF-8
547
2.46875
2
[]
no_license
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package State_Pattern; /** * * @author Romell */ public class TestClientState { public static void main(String[] args) { StateContext sc = new StateContext(); sc.writeName("Mo...
true
93cd7fd21453bcb3b3aa703cd818b99462a94934
Java
HansenBerlin/deztoint
/deztoint/src/DecimalToBinaryTool.java
UTF-8
10,486
3.546875
4
[]
no_license
import javax.swing.*; /** * Author: Hannes * Created: 04.11.2020 * * CC BY **/ public class DecimalToBinaryTool { // Deklarieren der Variable die ich später ausgeben möchte private static String binaryValue = ""; public static void main(String[] args) { // Abfrage des Inputs und ...
true
7c443e5f2e072b178b8f86fe98ba79075e70179e
Java
somi92/eKlub
/src/main/java/rs/fon/eklub/json/mixins/AttendanceForMemberSerializationMixin.java
UTF-8
440
1.59375
2
[ "Apache-2.0" ]
permissive
/* * 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 rs.fon.eklub.json.mixins; import com.fasterxml.jackson.annotation.JsonIgnore; import rs.fon.eklub.core.entities.Member; /** ...
true
63a36f9d97e463eadd2480500328db8afcdca1ee
Java
khetreJagdish/JAVA
/Collection/src/collection/QueueDemo.java
UTF-8
1,297
3.859375
4
[]
no_license
package collection; import java.util.ArrayList; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Queue; public class QueueDemo { public static void main(String[] args) { //Queue<Integer> queue = new LinkedList<Integer>(); Queue<Integer> queue = new PriorityQueue<Integer>(); qu...
true
25f9b208cc34248f834f1c0c76b94d5b3d6b6c80
Java
m-barnas/langusta3-web
/rest/src/main/java/cz/fi/muni/PB138/rest/controller/PatternController.java
UTF-8
1,732
2.203125
2
[]
no_license
package cz.fi.muni.PB138.rest.controller; import cz.fi.muni.PB138.dto.PatternBaseDTO; import cz.fi.muni.PB138.dto.PatternDTO; import cz.fi.muni.PB138.facade.PatternFacade; import cz.fi.muni.PB138.rest.Uri; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import javax.inject...
true
23e7ba527325047423d4bfb2090bff76eb2c325d
Java
Carryours/algorithm004-03
/Week 01/id_628/LeetCode_141_628.java
GB18030
3,634
3.484375
3
[]
no_license
import java.util.HashSet; import java.util.Set; import com.leetCode.exercise.struct.ListNode; //һжǷл // // Ϊ˱ʾеĻʹ pos ʾβӵеλã 0 ʼ pos -1ڸûл // // // // ʾ 1 // // 룺head = [3,2,0,-4], pos = 1 //true //ͣһβӵڶڵ㡣 // // // // // ʾ 2 // // 룺head = [1,2], pos = 0 //true //ͣһβӵһڵ㡣 // // // ...
true
9a00bf081a73c1b098478ce14bb3eda769c137ec
Java
NarekDallakyan/AndroidNewsMVVM
/app/src/main/java/am/ith/myapplication/webservice/Service.java
UTF-8
236
1.835938
2
[]
no_license
package am.ith.myapplication.webservice; import am.ith.myapplication.model.AppResponse; import retrofit2.Call; import retrofit2.http.GET; public interface Service { @GET("/temp//json.php") Call<AppResponse> getAllProduct(); }
true
a034da6557ba445fe4f42b130a8d1225ea2b91d5
Java
xfhy/HelloSpringBoot
/src/main/java/com/xfhy/girl/repository/GirlRepository.java
UTF-8
438
2.015625
2
[ "Apache-2.0" ]
permissive
package com.xfhy.girl.repository; import com.xfhy.girl.domain.Girl; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * author xfhy * create at 2018/3/23 12:33 * description: */ //继承JpaRepository bean类名,id类型 public interface GirlRepository extends JpaRepository<Girl, Int...
true