code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package org.magnum.mobilecloud.video.repository; import java.util.Collection; import org.magnum.mobilecloud.video.client.VideoSvcApi; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.data.repository.query.Param; import org.springframework.data.rest.core.annotation.Reposit...
ammiller22/programming_cloud_services_for_android
examples/10-VideoServiceWithMongoDB/src/main/java/org/magnum/mobilecloud/video/repository/VideoRepository.java
Java
apache-2.0
2,060
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
akosyakov/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrWhileStatementImpl.java
Java
apache-2.0
3,143
import java.util.concurrent.atomic.AtomicLong; class Test { java.util.concurrent.atomic.LongAdder l = new java.util.concurrent.atomic.LongAdder(); void foo() { l.add(2); l.add(-3); if (l.sum() == 5) { l.add(7 - l.sum()); } l.reset(); System.out.println(l.sum() + 9); System.ou...
asedunov/intellij-community
java/typeMigration/testData/refactoring/typeMigrationByLongAdder/directCallsWithoutAssignment/after/Test.java
Java
apache-2.0
356
/* * 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 ...
elilevine/apache-phoenix
phoenix-core/src/main/java/org/apache/phoenix/parse/SumAggregateParseNode.java
Java
apache-2.0
1,579
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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 agre...
caot/intellij-community
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/StatusBarUpdater.java
Java
apache-2.0
3,799
/* * 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 ...
JSDemos/android-sdk-20
src/javax/xml/datatype/Duration.java
Java
apache-2.0
37,037
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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 agre...
akosyakov/intellij-community
plugins/github/src/org/jetbrains/plugins/github/api/GithubOrg.java
Java
apache-2.0
927
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
jyt109/termite-data-server
tools/mallet-2.0.7/src/cc/mallet/types/Token.java
Java
bsd-3-clause
4,024
/* * Copyright 2000-2011 JetBrains s.r.o. * * 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 agre...
caot/intellij-community
platform/vcs-api/src/com/intellij/openapi/vcs/Details.java
Java
apache-2.0
899
/** * 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...
jmandawg/camel
components/camel-cdi/src/main/java/org/apache/camel/cdi/xml/PackageScanRouteBuilderFinder.java
Java
apache-2.0
3,527
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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 agre...
asedunov/intellij-community
java/java-psi-impl/src/com/intellij/psi/impl/source/tree/CoreJavaASTFactory.java
Java
apache-2.0
2,436
/** * Copyright 2012 Kamran Zafar * * 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 applicab...
Tribler/tribler-android
tsap/app/src/main/java/org/kamranzafar/jtar/TarEntry.java
Java
gpl-3.0
7,543
/* Copyright 2015 Google 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 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/zylib/gml/GmlConverter.java
Java
apache-2.0
3,855
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
asedunov/intellij-community
platform/lang-impl/src/com/intellij/openapi/editor/actions/ToggleShowImportPopupsAction.java
Java
apache-2.0
1,973
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
winstonewert/elasticsearch
client/rest/src/main/java/org/elasticsearch/client/HttpAsyncResponseConsumerFactory.java
Java
apache-2.0
2,721
/* * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
rokn/Count_Words_2015
testing/openjdk2/jdk/test/javax/management/Introspector/DescribedMX.java
Java
mit
1,909
/* Copyright 2015 Google 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 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Updaters/CParentSelectionUpdater.java
Java
apache-2.0
1,648
/* Copyright 2015 Google 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 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/zylib/gui/JRegisterView/IRegisterModel.java
Java
apache-2.0
995
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
Lekanich/intellij-community
platform/vcs-impl/src/com/intellij/openapi/vcs/checkin/ReformatCheckinHandlerFactory.java
Java
apache-2.0
1,115
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
asedunov/intellij-community
platform/core-api/src/com/intellij/psi/search/PsiElementProcessorAdapter.java
Java
apache-2.0
1,166
/* Copyright 2014 Google 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 Unless required by applicable law or agreed to in ...
dgrif/binnavi
src/test/java/com/google/security/zynamics/reil/translators/ppc/SlwiDotTranslatorTest.java
Java
apache-2.0
5,205
/* * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
rokn/Count_Words_2015
testing/openjdk2/jdk/test/java/io/PrintWriter/FailingConstructors.java
Java
mit
4,607
/* * Copyright 2012, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
buhe/ZjDroid
src/org/jf/dexlib2/iface/TryBlock.java
Java
apache-2.0
3,511
package com.uoc.openapilibrary.model; import android.os.Parcel; import android.os.Parcelable; import android.text.style.ClickableSpan; import com.google.gson.Gson; import com.uoc.openapilibrary.Constants; import com.uoc.openapilibrary.RESTMethod; public class Message implements Parcelable { private String id; priv...
UOC/UOCAPI-Android-Examples
UserG/OpenAPILibrary/src/main/java/com/uoc/openapilibrary/model/Message.java
Java
gpl-2.0
5,641
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
rasyhiid/apps-for-android
DivideAndConquer/src/com/google/android/divideandconquer/DirectionPoint.java
Java
apache-2.0
2,430
/** * 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...
IBYoung/hadoop
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticator.java
Java
apache-2.0
12,350
/** * 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...
CandleCandle/camel
components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRequestAndResponseAPITest.java
Java
apache-2.0
4,287
/** * 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...
YMartsynkevych/camel
components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsConfiguration.java
Java
apache-2.0
5,269
/* Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distrib...
netroby/percona-server
storage/ndb/clusterj/clusterj-tie/src/test/java/testsuite/clusterj/tie/QueryTimeAsSqlTimeTypesTest.java
Java
gpl-2.0
876
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you 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 ...
Sandyarathi/Lab2gRPC
lib/netty/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttPublishMessage.java
Java
bsd-3-clause
2,763
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
cowthan/JavaAyo
src-netty/io/netty/example/telnet/TelnetServerInitializer.java
Java
apache-2.0
2,173
/* * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the copyright * notice below and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS...
jclulow/mailbucket
src/main/java/org/sysmgr/mailbucket/App.java
Java
isc
1,741
package controllers; import play.mvc.Controller; import play.mvc.Result; import play.*; import play.mvc.*; import views.html.*; public class Application extends Controller { public Result index() { return ok(index.render("Your new application is ready.")); } }
AnLiGentile/DS4DM
DS4DM_webservice/app/controllers/Application.java
Java
mit
282
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.compute.v2019_11_01; import java.util.List; impo...
selvasingh/azure-sdk-for-java
sdk/compute/mgmt-v2019_11_01/src/main/java/com/microsoft/azure/management/compute/v2019_11_01/WindowsConfiguration.java
Java
mit
7,029
package Graphs; import javafx.animation.Animation; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Side; import javafx.scene.chart.BarChart; import javafx.scene.chart.CategoryAxis; import javafx.scene.chart.Nu...
KyrumX/INF1H-Project3-Data-Application
Application Code/src/Graphs/BarGraph.java
Java
mit
1,528
import java.util.ArrayList; public class ArrayList_vs_LinkedList { public static void main(String[] args) { ArrayList<Integer> arrayList = new ArrayList<>(); //arr } }
levelp/java_beginners_homework
lesson_07/java/ArrayList_vs_LinkedList.java
Java
mit
193
package de.larsgrefer.sense_hat.tester; import de.larsgrefer.sense_hat.SenseHat; import java.io.IOException; /** * @author Lars Grefer */ public interface Command { void run(SenseHat senseHat) throws IOException; }
larsgrefer/java-sense-hat
tester/src/main/java/de/larsgrefer/sense_hat/tester/Command.java
Java
mit
225
package ipara.core.entity; import javax.xml.bind.annotation.XmlElement; /* Bu sınıf 3D secure olmadan ödeme kısmında müşteri adres bilgisinin kullanılacağı yerde ve 3D Secure ile Ödeme'nin 2. adımında müşteri adres bilgisinin istendiği yerde kullanılır. */ public class PurchaserAddress { @XmlElement(name ...
ipara/ipara-java
src/ipara/core/entity/PurchaserAddress.java
Java
mit
996
package mesoft.tool.timetracking.simple.domain.command; import org.axonframework.commandhandling.TargetAggregateIdentifier; public class CreateUserEmployeeCommand { @TargetAggregateIdentifier private final String aggregateId; private final String realName; private final String username; public CreateUserEmploy...
maxan/timetracking
src/main/java/mesoft/tool/timetracking/simple/domain/command/CreateUserEmployeeCommand.java
Java
mit
1,823
package Inheritance.Exercise.P04NeedForSpeed; public class RaceMotorcycle extends Motorcycle{ public RaceMotorcycle(double fuel, int horsePower) { super(fuel, horsePower); this.setFuelConsumption(8.0); } }
lmarinov/Exercise-repo
Java_OOP_2021/src/Inheritance/Exercise/P04NeedForSpeed/RaceMotorcycle.java
Java
mit
232
package edu.uib.info310.search.builder.ontology; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.shared.Lock; public abstract class AbstractArtistDataSource implements ArtistDataSource { protected Model model; protected String artistName; protected String artistUri; /* (non-Javadoc) * @see edu.u...
EivindEE/SemFM
src/main/java/edu/uib/info310/search/builder/ontology/AbstractArtistDataSource.java
Java
mit
1,292
package tools.dym; import java.io.File; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import com.oracle.tr...
VAISHALI-DHANOA/SOMns
src/tools/dym/MetricsCsvWriter.java
Java
mit
22,998
/* * 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.lades.sihv.controller.NewConsultation; import com.lades.sihv.bean.AbstractBean; import com.lades.sihv.controller.RenderedF...
Heitor-Monteiro/LADES-Hospital-Veterinario-
SIHV/src/main/java/com/lades/sihv/controller/NewConsultation/ControllerSisRespCardio.java
Java
mit
8,935
package mx.hercarr.photofinder.view; import java.util.List; import mx.hercarr.photofinder.model.Photo; public interface IPhotosView { void showPhotos(List<Photo> photos); void showMorePhotos(List<Photo> photos); void showLoadMorePhotos(); void showNoResults(); void showError(String error); v...
hercarr/photofinder
app/src/main/java/mx/hercarr/photofinder/view/IPhotosView.java
Java
mit
346
package test; import java.util.*; import jqian.sootex.ptsto.IPtsToQuery; import jqian.sootex.ptsto.SparkPtsToQuery; import soot.*; public class TestSparkPtsToQuery{ /** * Usage: java CLASS <main_class> [analyzed_method]* * Example: * test.util.cases.AccessPathCase "<test.util.cases....
juqian/Slithice
Slithice/src/test/TestSparkPtsToQuery.java
Java
mit
867
package de.dhge.ar.arnavigator.util; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.xml.sax.SAXException; import java.io.ByteArrayInputStream; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import ja...
api-walker/ARNavigator
app/src/main/java/de/dhge/ar/arnavigator/util/ContentParser.java
Java
mit
2,851
package vos; import java.sql.Date; import org.codehaus.jackson.annotate.JsonProperty; public class CompaniaTeatro { @JsonProperty(value="id") private int id; @JsonProperty(value="nombre") private String nombre; @JsonProperty(value="fechaLlegada") private Date fechaLlegada; @JsonProperty(value="fechaSa...
naguilar12/FestivAndes
src/vos/CompaniaTeatro.java
Java
mit
2,241
package de.katzenpapst.amunra.world.horus; import java.util.List; import micdoodle8.mods.galacticraft.api.prefab.core.BlockMetaPair; import net.minecraft.init.Blocks; import de.katzenpapst.amunra.block.ARBlocks; import de.katzenpapst.amunra.world.AmunraBiomeDecorator; import de.katzenpapst.amunra.world.WorldGenOre; ...
katzenpapst/amunra
src/main/java/de/katzenpapst/amunra/world/horus/HorusBiomeDecorator.java
Java
mit
993
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.storage.queue.implementation.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.DateTimeRfc1123; import com.fasterxml.j...
Azure/azure-sdk-for-java
sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/models/MessagesDequeueHeaders.java
Java
mit
2,829
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.streamanalytics.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fas...
Azure/azure-sdk-for-java
sdk/streamanalytics/azure-resourcemanager-streamanalytics/src/main/java/com/azure/resourcemanager/streamanalytics/models/AvroSerialization.java
Java
mit
2,057
package com.textbasedrpgmaker.core.item; import java.util.List; import java.util.ArrayList; public class Inventory { private static List<Item> itens = new ArrayList<Item>(); public static void addItemToInventory(Item item){ itens.add(item); } public static void showItemIventory(){ for(Item item :...
text-based-rpg-maker/textbased-rpg-maker
src/main/java/com/textbasedrpgmaker/core/item/Inventory.java
Java
mit
518
package backend.command; import java.util.ArrayList; import java.util.List; import backend.Model; import backend.StringPair; import backend.Turtle; public abstract class SpecifiedTurtleCommand extends TurtleCommand { public SpecifiedTurtleCommand(StringPair stringPair, int numParams, Command parent, Model model) { ...
madams2419/slogo
src/backend/command/SpecifiedTurtleCommand.java
Java
mit
706
package com.dysania.artofandroid.chapter02.provider; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompat...
DysaniazzZ/ArtOfAndroid
chapter02/src/main/java/com/dysania/artofandroid/chapter02/provider/ProviderActivity.java
Java
mit
2,423
package com.myconnector.domain.interfaces; public interface HasPosition { public Integer getPosition(); public void setPosition(Integer position); }
nileshk/truedolist-java
src/main/java/com/myconnector/domain/interfaces/HasPosition.java
Java
mit
164
/** * @author Brandon Campbell * @version 1.0 */ package dndcharactercreator.races; public class WoodElf extends Elf { private String[] subRacialBonus = {"Elf Weapon Training, Fleet of Foot, Mask of the Wild"}; public WoodElf(String name, int strength, int dexterity, int constitution, int intelligence, int w...
branlcampbell/DnD-Character-Creator
dndcharactercreator/races/WoodElf.java
Java
mit
548
package org.csi.yucca.fabriccontroller.objects.json.detailTenant; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilde...
csipiemonte/yucca-fabriccontroller
JavaFabricController/src/main/java/org/csi/yucca/fabriccontroller/objects/json/detailTenant/ShareType.java
Java
mit
809
package com.univ.helsinki.app.util; public class Constant { public static final boolean DEBUG = false; // http://www.virginmegastore.me/Library/Music/CD_001214/Tracks/Track1.mp3 public static final String[] AUDIO_URL = new String[]{ "http://www.virginmegastore.me/Library/Music/CD_001214/Tracks/Track1.mp3" //...
msimar/AugmentedApp
src/com/univ/helsinki/app/util/Constant.java
Java
mit
449
package com.naili; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SpringSecurityBasicAuthApplicationTests { @Test public void ...
anaili/spring-angularjs-tutorials
SpringSecurityBasicAuth/src/test/java/com/naili/SpringSecurityBasicAuthApplicationTests.java
Java
mit
343
package contexts; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import com.zeshanaslam.otak.Main; import messages.Errors; import org.apache.commons.io.FileUtils; import org.json.JSONException; import org.json.JSONObject; import utils.Config; import utils.ServerUtils; import ja...
zeshan321/Otak
otakserver/src/main/java/contexts/UploadContext.java
Java
mit
4,066
package com.longluo.demo.qrcode.zxing.client.android.encode; import android.provider.ContactsContract; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; /** * Encodes contact information acc...
longluo/AndroidDemo
app/src/main/java/com/longluo/demo/qrcode/zxing/client/android/encode/VCardContactEncoder.java
Java
mit
5,619
package cn.edu.gdut.zaoying.Option.series.candlestick.markLine.data.p0; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Symbo...
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/series/candlestick/markLine/data/p0/SymbolSizeArray.java
Java
mit
334
package net.sf.esfinge.metadata.locate; public class MetadataLocationException extends RuntimeException { //adicionar na excessao qual o metadado e sua localizacao public MetadataLocationException(String message) { super(message); } }
pedrocavalero/metadata
src/main/java/net/sf/esfinge/metadata/locate/MetadataLocationException.java
Java
mit
254
package renders; import jatrace.*; import jatrace.bodies.*; import jatrace.skies.*; public class Ellipse extends GenericRenderer { public Ellipse() { super(); setBaseBrightness(0.6); setFilenamePrefix("Ellipsoid"); CheckCircle floor = new CheckCircle(); addBody(floor); Ellipsoid egg...
dburggie/jatrace
test/renders/Ellipse.java
Java
mit
740
/** * @author Ben-Noah Engelhaupt (code@bensoft.de) GitHub: bensoftde * */ package de.bensoft.acis.core.environment; /** * Represents a globally available unified interface for Actions. It supports * spoken, written and visual output functions. * */ public interface SystemEnvironment { /** * R...
bensoftde/acis
de/bensoft/acis/core/environment/SystemEnvironment.java
Java
mit
2,720
/* * ==================================================================== * 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 ...
garymabin/YGOMobile
apache-async-http-HC4/src/org/apache/http/HC4/pool/ConnPool.java
Java
mit
2,581
import static org.junit.Assert.*; import java.util.List; import org.junit.Before; import org.junit.Test; public class ParserTest { String text; String exp; Lexer lexer = new Lexer(); Parser parser = new Parser(); List<Token> block; @Before public void setUp() throws Exception { ...
quwahara/Calc
Calc/src/test/java/ParserTest.java
Java
mit
38,700
package com.swfarm.biz.wish.dto; import java.io.Serializable; public class SearchWishInfractionCriteria implements Serializable{ private static final long serialVersionUID = 1130514760704951528L; private String link; private String wishInfractionId; private String[] accountNumber; public S...
zhangqiang110/my4j
pms/src/main/java/com/swfarm/biz/wish/dto/SearchWishInfractionCriteria.java
Java
mit
786
package com.metarnet.msg; import java.util.Date; import java.util.Enumeration; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.ObjectMessage; import javax.jms.Session; import javax.jms.TextMessage; import javax.swing.JTextArea; import org.apache.log4j.Logger...
amar19860330/mywidget
src/main/java/com/metarnet/msg/RecMessage.java
Java
mit
2,262
package es.panel.cientouno.service; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceFeature; import javax.xml.ws.Service; /** * This class was generated by Apache CXF 3.0...
davidgrc/cientouno
cientouno-ws-solicitud/src/main/java/es/panel/cientouno/service/SolicitudCientouno_Service.java
Java
mit
3,768
package ie.cit.caf.lc_assignment.service; import java.util.List; import ie.cit.caf.lc_assignment.ChObject; public interface ChObjectService { void save(ChObject chObject); ChObject get(int id); void remove(ChObject chObject); List<ChObject> findAll(); }
Graham84/lc_assignment
lc_assignment/src/main/java/ie/cit/caf/lc_assignment/service/ChObjectService.java
Java
mit
265
/* * (C) Copyright 2017 Kai Burjack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
LWJGLX/debug
src/org/lwjglx/debug/Agent.java
Java
mit
18,180
package org.kogu.problem.model2; import org.kogu.problem.model.Status; public final class Payload implements ImmutablePayload, MutablePayload { // private String url; // 32 bits => 4 billion unique urls // private String component; // at most 256 components => 8 bits // private Status status; // 2 ...
kogupta/pojo-bytes
src/main/java/org/kogu/problem/model2/Payload.java
Java
mit
2,585
package com.usst.dissertation.listener; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; public class SessionListener implements HttpSessionListener { @Override public void sessionCreated(HttpSessionEvent se) { System.out.println(1); } @Override public void sessio...
yangshenghui/graduationProject
usst-console-web/src/main/java/com/usst/dissertation/listener/SessionListener.java
Java
mit
427
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.automation.implementation; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Context; import com.azure.c...
Azure/azure-sdk-for-java
sdk/automation/azure-resourcemanager-automation/src/main/java/com/azure/resourcemanager/automation/implementation/ObjectDataTypesImpl.java
Java
mit
3,198
package super98; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ Parent root = FXMLLoader.l...
luismora2297/JAVA_UIP
super98/src/super98/Main.java
Java
mit
566
package com.github.kolandroid.kol.model.models.inventory; import com.github.kolandroid.kol.connection.ServerReply; import com.github.kolandroid.kol.model.GroupModel; import com.github.kolandroid.kol.model.models.inventory.pockets.ItemPocket; import com.github.kolandroid.kol.model.models.inventory.pockets.ItemPocketMod...
Kasekopf/kolandroid
kol_base/src/main/java/com/github/kolandroid/kol/model/models/inventory/ItemStorageModel.java
Java
mit
5,860
/******************************************************************************* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
nithinvnath/PAVProject
com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorIdentity.java
Java
mit
1,657
/* * This file is part of NeptuneVanilla, licensed under the MIT License (MIT). * * Copyright (c) 2015-2017, Jamie Mansfield <https://github.com/jamierocks> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
NeptunePowered/NeptuneVanilla
src/main/java/org/neptunepowered/vanilla/mixin/bungee/server/network/MixinNetHandlerLoginServer_Bungee.java
Java
mit
2,962
package br.uniriotec.ppgi.mapping.controller; import java.sql.SQLException; import java.util.HashMap; import java.util.Map; import org.apache.log4j.Logger; import br.uniriotec.ppgi.mapping.model.ModifierSynset; import br.uniriotec.ppgi.mapping.model.dao.DAOFactory; import br.uniriotec.ppgi.mapping.model.dao.IModifie...
felipeleao/SemanticMapper
src/main/java/br/uniriotec/ppgi/mapping/controller/ModifierSynsetLoader.java
Java
mit
1,233
package ru.fizteh.fivt.storage.structured; /** * Представляет базу для интерфейс для работы с таблицей, содержащей ключи-значения. * Используется также для доступа к поисковому индексу. */ public interface Index { /** * Возвращает название таблицы или индекса. * * @return Название таблицы. *...
kamiltalipov/database-fizteh
src/ru/fizteh/fivt/storage/structured/Index.java
Java
mit
1,218
package fr.pizzeria.exception; public class DaoException extends Exception { public DaoException() { // TODO Auto-generated constructor stub } public DaoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTra...
amonmart/formation_DTA
pizzeria-console-objet/src/fr/pizzeria/exception/DaoException.java
Java
mit
705
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.j...
Azure/azure-sdk-for-java
sdk/resourcemanager/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java
Java
mit
1,686
package is.ru.honn.ruber.process; import is.ru.honn.ruber.domain.Trip; import is.ru.honn.ruber.domain.TripStatus; import is.ru.honn.ruber.domain.User; import is.ru.honn.ruber.parser.JsonParse; import is.ru.honn.ruber.service.RuberService; import is.ru.honn.ruber.service.UserNotFoundException; import is.ruframework.htt...
KristinnOgGudmundur/RUber
src/java/is/ru/honn/ruber/process/TripImportProcess.java
Java
mit
4,305
/* * 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.github.lxyscls.jvmjava.classfile.constant; /** * * @author sk-xinyilong */ public abstract class ConstantI...
lxyscls/jvmjava
src/main/java/com/github/lxyscls/jvmjava/classfile/constant/ConstantInfo.java
Java
mit
330
package contracts.domain; public enum PayementMethod { prelevement, cheque }
suricats/lab-bot-api
src/contracts/domain/PayementMethod.java
Java
mit
86
package name.valery1707.jcommander.validators.io; import name.valery1707.jcommander.validators.ValidatorTest; import org.junit.runners.Parameterized; import java.io.File; import java.util.Arrays; import java.util.Collection; import static name.valery1707.jcommander.validators.io.FileMock.fileMock; public class Exis...
valery1707/jcommander-ext
validator-io/src/test/java/name/valery1707/jcommander/validators/io/ExistsFileTest.java
Java
mit
814
/* The MIT License Copyright (c) 2004-2016 Paul R. Holser, Jr. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
pholser/jopt-simple
src/test/java/joptsimple/LongOptionRequiredArgumentTest.java
Java
mit
3,717
package com.devfest.manualinjection.test.mock; import com.devfest.manualinjection.app.MainApplication; import com.devfest.manualinjection.data.DataProvider; /** * Created by david on 4/28/14. */ public class MockMainApplication extends MainApplication { @Override public DataProvider getDataProvider() { ...
davetrux/DevFest2014
ManualInjectionDemo/src/test/java/com/devfest/manualinjection/test/mock/MockMainApplication.java
Java
mit
363
package dk.dtu.imm.sensible; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.support.v4.view.View...
andrea-cuttone/SensibleJournal2013
src/dk/dtu/imm/sensible/MainTabsActivity.java
Java
mit
3,337
package ru.lanbilling.webservice.wsdl; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * ...
kanonirov/lanb-client
src/main/java/ru/lanbilling/webservice/wsdl/SetCatalogServiceResponse.java
Java
mit
1,725
package com.alexstyl.specialdates.events.peopleevents; import com.alexstyl.specialdates.date.Date; /** * Creates date labels in a YYYY-MM-DD fashion. This class should be used to describe a date for non-user facing components, such as database entries. */ public enum ShortDateLabelCreator { INSTANCE; priva...
pchrysa/Memento-Calendar
android_mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/ShortDateLabelCreator.java
Java
mit
1,750
package mcjty.xnet.blocks.facade; import mcjty.xnet.XNet; import mcjty.xnet.blocks.generic.GenericCableBlock; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.*; import net.minecraft.client.renderer.t...
McJty/XNet
src/main/java/mcjty/xnet/blocks/facade/FacadeBakedModel.java
Java
mit
3,292
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.producers; import com.facebook.cache.common.CacheKey; import com.facebook.common.internal.Imm...
facebook/fresco
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/EncodedMemoryCacheProducer.java
Java
mit
7,908
package com.codepath.apps.twitterclient.models; import android.os.Parcelable; import android.os.Parcelable.Creator; import org.parceler.Generated; import org.parceler.IdentityCollection; import org.parceler.ParcelWrapper; import org.parceler.ParcelerRuntimeException; @Generated(value = "org.parceler.ParcelAnnotation...
irene3119/TwitterApp
app/build/generated/source/apt/debug/com/codepath/apps/twitterclient/models/Place$$Parcelable.java
Java
mit
4,123
package ExternalPackages.SortedListLib; /** * Represents the alterations to the backingList of a {@code PatchWorkArray}. * <p> * These come in two flavors: {@code Addition}s and {@code Removal}. * {@code Addition}s cover a single index and represents the fact that the * containing PatchWorkArray has a sublist at ...
YcheCourseProject/DIA-Umpire-Maven
DIA-Umpire/DIA-Umpire/src/ExternalPackages/SortedListLib/Alteration.java
Java
mit
4,619
package com.baryberri.a1_1_appwithfourbuttontasks; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will ...
Jamjomjara/snu-artoon
Study/StudyAndroid/1-1-FourButtonApplicationWithTasks/app/src/androidTest/java/com/baryberri/a1_1_appwithfourbuttontasks/ExampleInstrumentedTest.java
Java
mit
786
package com.github.arteam.simplejsonrpc.server.simple; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.type.TypeFactory; import com.fasterxml.jackson.datatype.guava.GuavaModule; import com.fasterxml.jackson.datatype.j...
arteam/simple-json-rpc
server/src/test/java/com/github/arteam/simplejsonrpc/server/simple/JsonRpcServiceTest.java
Java
mit
4,711
package Easy.HouseRobber; /** * 198 - House Robber Challenge * Difficulty: Easy * Description: Find maximal sum, of stolen goods. * Problem Statement: https://leetcode.com/problems/house-robber/ * NOTE: the bottom-up dp solution, calculates the best-paths from shortest to longest */ public class BottomUpDPSoluti...
joshimoo/Challenges
LeetCode/Easy/HouseRobber/BottomUpDPSolution.java
Java
mit
869
/* * Copyright 2001-2013 Aspose Pty Ltd. All Rights Reserved. * * This file is part of Aspose.Cells. The source code in this file * is only intended as a supplement to the documentation, and is provided * "as is", without warranty of any kind, either expressed or implied. */ package programmersguide.asposecell...
asposemarketplace/Aspose-Cells-Java
src/programmersguide/asposecells/workingwithfiles/filehandlingfeatures/savingfiles/java/SavingFiles.java
Java
mit
1,362
package api.DAO; import api.DAO.Impl.ClientDAOImpl; public enum DAOFactory { INSTANCE; private static IClientDAO clientDAO; public IClientDAO getClientDAO() { if (clientDAO == null) { clientDAO = new ClientDAOImpl(); } return clientDAO; } }
itnelo/api-server-java-spring-hibernate
src/main/java/api/DAO/DAOFactory.java
Java
mit
297