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.pocketcampus.plugin.satellite.android.iface; /** * The interface that defines the public methods of the * <code>SatelliteController</code>. * * @author Oriane <oriane.rodriguez@epfl.ch> * */ public interface ISatelliteController { /** * Initiates a request to the server to get the beer of the m...
ValentinMinder/pocketcampus
plugin/satellite/android/src/main/java/org/pocketcampus/plugin/satellite/android/iface/ISatelliteController.java
Java
bsd-3-clause
477
package ij.process; import java.util.*; import java.awt.*; import java.awt.image.*; import ij.gui.*; import ij.Prefs; /** This is an 8-bit image and methods that operate on that image. Based on the ImageProcessor class from "KickAss Java Programming" by Tonny Espeset. */ public class ByteProcessor extends ImageProces...
luttero/Maud
ImageJ/ij/process/ByteProcessor.java
Java
bsd-3-clause
39,194
/* * Copyright (c) 2003-2012, KNOPFLERFISH project * 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 ...
knopflerfish/knopflerfish.org
osgi/bundles/http/http/src/org/knopflerfish/bundle/http/ServletRegistration.java
Java
bsd-3-clause
4,188
/* «•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•»«•» Copyright © 2011 - 2014, Ingo Wechsung All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribu...
mmhelloworld/frege
frege/runtime/Fun21.java
Java
bsd-3-clause
6,369
package org.grassroot.android.adapters; import android.content.Context; import android.support.annotation.NonNull; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widg...
grassrootza/grassroot-android
app/src/main/java/org/grassroot/android/adapters/PhotoGridAdapter.java
Java
bsd-3-clause
3,455
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package versioned.host.exp.exponent.modules.api.netinfo; import android.os.Build; import com.facebook.react.bridge.Promise; import...
exponent/exponent
android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/netinfo/NetInfoModule.java
Java
bsd-3-clause
2,304
/** * Copyright (c) 2009-2018, rultor.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of conditio...
krzyk/rultor
src/test/java/com/rultor/agents/github/qtn/QnAskedByTest.java
Java
bsd-3-clause
4,693
package ca.utoronto.civ.its.galapagos.templates; import ca.utoronto.civ.its.galapagos.Chromosome; /** * Assembler operators govern how a given new set of chromosomes will be integrated into the population, usually by way of a selector. * * Possible examples include simple and crowding operators. * */ ...
nicolaskruchten/galapagos
src/ca/utoronto/civ/its/galapagos/templates/Assembler.java
Java
bsd-3-clause
652
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.enhancedbookmarks; import android.support.v4.widget.DrawerLayout; import org.chromium.components.bookmarks.BookmarkI...
Just-D/chromium-1
chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkDelegate.java
Java
bsd-3-clause
3,658
package com.j256.simplemagic; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import org.junit.Test; public class ContentTypeTest { @Test public void testPrintDuplicates() { Map<String, ContentType> mimeMap = new HashMap<String, ContentType>(); for (ContentType ty...
j256/simplemagic
src/test/java/com/j256/simplemagic/ContentTypeTest.java
Java
isc
1,227
package com.fionapet.business.repository; import com.fionapet.business.entity.FosterRecordDetail; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springside.modules.test.spring.Spring...
bqw5189/pet-hospital
fionapet-business/fionapet-business-service-provider/src/test/java/com/fionapet/business/repository/FosterRecordDetailDaoTest.java
Java
mit
920
package com.hp.autonomy.frontend.find.idol.dashboards.widgets; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.module.SimpleModule; import com.hp.autonomy....
hpe-idol/find
webapp/idol/src/test/java/com/hp/autonomy/frontend/find/idol/dashboards/widgets/ComplexWidgetTest.java
Java
mit
2,377
package demo.binea.com.instagramwithmaterialdesign; import android.content.Context; import android.content.res.Resources; import android.graphics.Point; import android.os.Build; import android.view.Display; import android.view.WindowManager; /** * Created by xubinggui on 15/3/14. */ public class Util { private sta...
xu6148152/InstagramWithMaterialDesign
app/src/main/java/demo/binea/com/instagramwithmaterialdesign/Util.java
Java
mit
1,230
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.appservice.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.a...
Azure/azure-sdk-for-java
sdk/resourcemanagerhybrid/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/fluent/models/WorkerPool.java
Java
mit
4,049
package com.bretpatterson.schemagen.graphql.exceptions; /** * Created by bpatterson on 1/23/16. */ public class NotMappableException extends RuntimeException { private static final long serialVersionUID = -8042949483199730066L; public NotMappableException(String message) { super(message); } }
cliedeman/schemagen-graphql
src/main/java/com/bretpatterson/schemagen/graphql/exceptions/NotMappableException.java
Java
mit
303
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.xdi.oxauth.model.config; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlEl...
diedertimmers/oxAuth
Server/src/main/java/org/xdi/oxauth/model/config/StaticConf.java
Java
mit
922
package io.github.yeagy.bss; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; /** * This class analyzes a POJO via reflection to identify table ...
cyeagy/bss
src/main/java/io/github/yeagy/bss/TableData.java
Java
mit
4,789
/* * Copyright (c) 2006-2017 DMDirc Developers * * 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,...
DMDirc/Plugins
windowflashing/src/main/java/com/dmdirc/addons/windowflashing/WindowFlashingManager.java
Java
mit
7,903
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Food here. * * @author (your name) * @version (a version number or a date) */ public class Food extends Actor { /** * Act - do whatever the Food wants to do. This method is called whenever...
Rachels-Courses/Course-Common-Files
STUDENT_REFERENCE/EXAMPLE_CODE/Greenfoot/Infestation/Food.java
Java
mit
474
package com.g1.b2c.util; public class AreaStringOrAreaId { public void num2area(){ } }
smellyCa/B2C-System
b2c/src/com/g1/b2c/util/AreaStringOrAreaId.java
Java
mit
93
/** * 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.mediaservices.v2018_07_01.implementation; import...
navalev/azure-sdk-for-java
sdk/mediaservices/mgmt-v2018_07_01/src/main/java/com/microsoft/azure/management/mediaservices/v2018_07_01/implementation/ListContentKeysResponseInner.java
Java
mit
1,346
package adapt.util.html; import java.lang.reflect.Field; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import adapt.core.AppCache; import adapt.model.ejb...
farkas-arpad/KROKI-mockup-tool
WebApp/src_gen/adapt/util/html/TableModel.java
Java
mit
3,525
package gui.models; import java.util.List; import java.util.Observable; import java.util.Observer; import javax.swing.table.AbstractTableModel; import utils.ObserverMessage; import controller.Controller; import network.Peer; @SuppressWarnings("serial") public class PeersTableModel extends AbstractTableModel implemen...
razakal/Qora
Qora/src/gui/models/PeersTableModel.java
Java
mit
1,503
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ package org.sikuli.ide; import java.io.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import javax.imageio.*; import org.sikuli.script.Region; ...
bx5974/sikuli
sikuli-ide/src/main/java/org/sikuli/ide/ScreenshotPane.java
Java
mit
8,967
package frontEnd; import java.awt.Dimension; import java.io.IOException; import javax.swing.JEditorPane; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.SwingUtilities; public class HelpPage extends JFrame { public HelpPage(Str...
Chris-Dee/Slogo_2014
src/frontEnd/HelpPage.java
Java
mit
1,110
package FacebookPrep; import java.util.ArrayList; import java.util.List; public class _0022GenerateParentheses { public static void main(String[] args) { System.out.println(generateParenthesis(3)); System.out.println(generateParenthesis(1)); } public static List<String> generateParenthesis(int n) { List<St...
darshanhs90/Java-InterviewPrep
src/FacebookPrep/_0022GenerateParentheses.java
Java
mit
802
/** * The MIT License (MIT) * Copyright (c) 2012 David Carver * 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...
kingargyle/serenity-android
serenity-app/src/test/java/us/nineworlds/serenity/core/externalplayer/VimuPlayerTest.java
Java
mit
4,164
package gov.nist; import java.io.File; import io.proleap.cobol.preprocessor.CobolPreprocessor.CobolSourceFormatEnum; import io.proleap.cobol.runner.CobolParseTestRunner; import io.proleap.cobol.runner.impl.CobolParseTestRunnerImpl; import org.junit.Test; public class IX202ATest { @Test public void test() throws E...
uwol/cobol85parser
src/test/java/gov/nist/IX202ATest.java
Java
mit
542
package com.thebluealliance.androidclient.datafeed.combiners; import com.thebluealliance.androidclient.datafeed.framework.ModelMaker; import com.thebluealliance.androidclient.models.Event; import com.thebluealliance.androidclient.models.Match; import com.thebluealliance.androidclient.subscribers.MatchInfoSubscriber; ...
1fish2/the-blue-alliance-android
android/src/test/java/com/thebluealliance/androidclient/datafeed/combiners/MatchInfoCombinerTest.java
Java
mit
1,256
/* * This file is part of Lorenz, licensed under the MIT License (MIT). * * Copyright (c) Jamie Mansfield <https://www.jamierocks.uk/> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
Lexteam/Lorenz
lorenz-io-proguard/src/main/java/org/cadixdev/lorenz/io/proguard/package-info.java
Java
mit
1,601
package aya.parser.token; import java.util.ArrayList; import aya.exceptions.ex.EndOfInputError; import aya.parser.tokens.Token; public class TokenQueue { protected ArrayList<Token> queue; public TokenQueue() { queue = new ArrayList<Token>(); } @SuppressWarnings("unchecked") public TokenQue...
nick-paul/aya-lang
src/aya/parser/token/TokenQueue.java
Java
mit
1,635
package oauth.Client; import oauth.OauthConstant.OauthConstant; import oauth.Service.IOauthService; import retrofit.RestAdapter; /** * Created by gokhan on 6/28/15. */ public class OauthClient { private IOauthService _oauthService; public IOauthService getAccessToken() { RestAdapter restAdapter =...
previousdeveloper/staj.io-android
app/src/main/java/oauth/Client/OauthClient.java
Java
mit
587
/** * */ package actorx.remote.mina.io; import org.apache.mina.core.buffer.IoBuffer; /** * @author Xiong * @creation 2017年1月28日下午9:14:34 * */ public interface IMinaMessage { // size + code public static final int HEADER_LENGTH = 4; MinaMsgCode getMsgCode(); void decode(IoBuffer ioBuffer)...
nousxiong/actorx-java
src/actorx/remote/mina/io/IMinaMessage.java
Java
mit
381
package May2021GoogLeetcode; import java.util.List; public class _0637AverageOfLevelsInBinaryTree { static public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode() { } TreeNode(int val) { this.val = val; } TreeNode(int val, TreeNode left, TreeNode right) { this.val = val; ...
darshanhs90/Java-InterviewPrep
src/May2021GoogLeetcode/_0637AverageOfLevelsInBinaryTree.java
Java
mit
693
/** * Contains implementations of various optimization algorithms usable by Stork. */ package stork.optimizers;
bingzhang/stork-iRods
stork/optimizers/package-info.java
Java
mit
114
/** * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * */ package com.microsoft.azure.management.samples; import com.google.common.base.Joiner; import com.microsoft.azure.CloudException; import com.microso...
herveyw/azure-sdk-for-java
azure-samples/src/main/java/com/microsoft/azure/management/samples/Utils.java
Java
mit
30,466
// ********************************************************************** // // Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
CheezeCake/muStreamerClient
app/src/main/java/speeral/servStatus.java
Java
mit
1,641
package semanticMarkup.know.lib; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import semanticMarkup.know.IGlossary; public class InMemoryGlossary implements IGlossary { /* private Set<String> structures = new HashSet<String>(); private Set<String> characterCategories = new HashSet<Stri...
dongyemeng/charaparser-unsupervised
src/main/java/semanticMarkup/know/lib/InMemoryGlossary.java
Java
mit
4,987
/* Copyright 2006 by Sean Luke Licensed under the Academic Free License version 3.0 See the file "LICENSE" for more information */ package ec.app.tutorial4; import ec.*; import ec.gp.*; import ec.util.*; public class X extends GPNode { public String toString() { return "x"; } /* pub...
Felix-Yan/ECJ
ec/app/tutorial4/X.java
Java
mit
1,100
package LeetcodeTemplate; import java.util.List; public class _0355DesignTwitter { public static void main(String[] args) { Twitter twitter = new Twitter(); // User 1 posts a new tweet (id = 5). twitter.postTweet(1, 5); // User 1's news feed should return a list with 1 tweet id -> [5]. // System.out.pri...
darshanhs90/Java-InterviewPrep
src/LeetcodeTemplate/_0355DesignTwitter.java
Java
mit
1,711
/** * 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.kusto.v2018_09_07_preview.implementation; import...
navalev/azure-sdk-for-java
sdk/kusto/mgmt-v2018_09_07_preview/src/main/java/com/microsoft/azure/management/kusto/v2018_09_07_preview/implementation/PageImpl1.java
Java
mit
1,766
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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 l...
andresrc/jenkins
core/src/main/java/hudson/model/ModelObject.java
Java
mit
1,520
/** * 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_03_01; import com.fasterxml.jackso...
navalev/azure-sdk-for-java
sdk/compute/mgmt-v2019_03_01/src/main/java/com/microsoft/azure/management/compute/v2019_03_01/ResourceSkuCapacity.java
Java
mit
1,921
package com.infinitus.hcp.network; /** * Created by M on 16/9/9. * <p/> * 下载结果 */ public class DownloadResult<T> { /** * 下载的data */ public final T value; /** * 错误 */ public final Exception error; /** * Class constructor * * @param value loaded value */...
myeveryheart/infinitus-hot-code-push
src/android/src/com/infinitus/hcp/network/DownloadResult.java
Java
mit
691
package com.annimon.paperstyle; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.Button; /...
HKMOpen/PaperStyleWidgets
library/src/main/java/com/annimon/paperstyle/PaperButton.java
Java
mit
4,829
package syntacticTree; import parser.*; public class NewObjectNode extends ExpreNode { public Token name; public ListNode args; public NewObjectNode(Token t, Token t2, ListNode l) { super(t); name = t2; args = l; } }
lucasperin/Beluga
COMPILER/syntacticTree/NewObjectNode.java
Java
mit
276
/* * Copyright (C) 2014 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 app...
hearsilent/KUAS-AP-Material
KUAS-AP-Material/app/src/main/java/silent/kuasapmaterial/libs/MaterialProgressBar.java
Java
mit
11,857
package April2021PrepLeetcode; public class _0726NumberOfAtoms { public static void main(String[] args) { System.out.println(countOfAtoms("H2O")); System.out.println(countOfAtoms("Mg(OH)2")); System.out.println(countOfAtoms("K4(ON(SO3)2)2")); System.out.println(countOfAtoms("Be32")); } public static String...
darshanhs90/Java-Coding
src/April2021PrepLeetcode/_0726NumberOfAtoms.java
Java
mit
359
package com.reactivetechnologies.mq.consume; import com.reactivetechnologies.mq.Data; import com.reactivetechnologies.mq.container.QueueContainer; /** * Callback on a CMQ. Do NOT use this interface directly. Subclass from {@linkplain AbstractQueueListener}. * @author esutdal * @see AbstractQueueListener * @see Qu...
javanotes/redisqueue
src/main/java/com/reactivetechnologies/mq/consume/QueueListener.java
Java
mit
1,507
/***************************************************************************** * This file is part of the Prolog Development Tool (PDT) * * Author: Lukas Degener (among others) * WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start * Mail: pdt@lists.iai.uni-bonn.de * Copyright (C): 2004-2012, CS Dept. III, Univ...
TeamSPoon/logicmoo_base
prolog/logicmoo/pdt_server/pdt.connector/src/org/cs3/pdt/connector/load/DefaultPrologLibrary.java
Java
mit
1,993
package cn.edu.gdut.zaoying.Option.series.graph; 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 NameString { String valu...
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/series/graph/NameString.java
Java
mit
337
package cn.edu.gdut.zaoying.Option.series.line; 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 SymbolSizeFunction { }
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/series/line/SymbolSizeFunction.java
Java
mit
313
package com.raizlabs.android.dbflow.test.structure.autoincrement; import com.raizlabs.android.dbflow.sql.language.Delete; import com.raizlabs.android.dbflow.sql.language.Select; import com.raizlabs.android.dbflow.test.FlowTestCase; import com.raizlabs.android.dbflow.test.structure.TestModel1; import org.junit.Test; ...
janzoner/DBFlow
dbflow-tests/src/test/java/com/raizlabs/android/dbflow/test/structure/autoincrement/ModelAutoIncrementTest.java
Java
mit
1,677
package info.movito.themoviedbapi.model.people; public enum PersonType { CAST, // A member of the cast CREW, // A member of the crew PERSON // No specific type }
albemala/MoviesRenamer
themoviedbapi-1.4/src/main/java/info/movito/themoviedbapi/model/people/PersonType.java
Java
mit
182
package com.lauren.watchwebhtmlcode; 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 execute on an ...
lilongcnc/Android_Study
WatchWebImage/app/src/androidTest/java/com/lauren/watchwebhtmlcode/ExampleInstrumentedTest.java
Java
mit
758
/** * 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.network.v2017_10_01.implementation; import com.m...
selvasingh/azure-sdk-for-java
sdk/network/mgmt-v2017_10_01/src/main/java/com/microsoft/azure/management/network/v2017_10_01/implementation/RouteFilterRuleImpl.java
Java
mit
6,209
package net.java.html.plotlyjs; /* * #%L * This software is Copyright by the Board of Trustees of Michigan State University. * Contact Information: * Facility for Rare Isotope Beams * Michigan State University * East Lansing, MI 48824-1321 * http://frib.msu.edu * %% * Copyright (C) 2016 Board of Trustees of M...
daykin/dukescript-plotlyjs
plotlyjs-api/src/main/java/net/java/html/plotlyjs/ChartEvent.java
Java
mit
1,982
package jorge; /** * Created by jogonzal on 10/31/2015. */ public class ObtainLastNCharacters { public static String ObtainLastNCharacters(String word, int n){ int length = word.length(); if (length >= n){ return word.substring(word.length() - n, word.length()); } else { ...
jogonzal-msft/UWNLPAssignment2
HelloWorld/src/jorge/ObtainLastNCharacters.java
Java
mit
523
package org.bouncycastle.asn1; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.bouncycastle.util.Arrays; /** * Base class for an application specific object */ public class DERApplicationSpecific extends ASN1Primitive { private final boolean isConstructed; private final ...
onessimofalconi/bc-java
core/src/main/java/org/bouncycastle/asn1/DERApplicationSpecific.java
Java
mit
7,037
package org.jenkinsci.plugins.youtrack.youtrackapi; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; import java.util.ArrayList; import java.util.List; /** * This class repre...
jenkinsci/youtrack-plugin
src/main/java/org/jenkinsci/plugins/youtrack/youtrackapi/Group.java
Java
mit
1,248
package com.sentenial.rest.client.api.directdebit.dto; import java.util.Date; import com.sentenial.rest.client.api.common.resource.PagingRequestParameters; import com.sentenial.rest.client.utils.DateUtils; public class ListDirectDebitRequestParameters extends PagingRequestParameters{ private Date actua...
sentenial/nuapay-rest-client
src/main/java/com/sentenial/rest/client/api/directdebit/dto/ListDirectDebitRequestParameters.java
Java
mit
3,097
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.network.samples; import com.microsoft.azure.management.Azure; import com.microsoft.azure.management.compute.Kno...
martinsawicki/azure-sdk-for-java
azure-samples/src/main/java/com/microsoft/azure/management/network/samples/ManageNetworkWatcher.java
Java
mit
15,781
package hudson.cli; import hudson.Extension; import jenkins.model.Jenkins; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import java.io.DataOutputStream; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.net.Socket; import java.security.GeneralSecurit...
MadsNielsen/jtemp
core/src/main/java/hudson/cli/CliProtocol2.java
Java
mit
2,855
package com.benromberg.cordonbleu.data.migration.change0011; import com.benromberg.cordonbleu.data.util.MongoCommand; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class CommitBefore { @JsonProperty(MongoCommand.ID_PROPERTY) private final Str...
nicodeur/cordonbleu
cordonbleu-data/src/test/java/com/benromberg/cordonbleu/data/migration/change0011/CommitBefore.java
Java
mit
845
package com.admarvel.android.ads.omwsdkconnector; public class OMWCustomNativeMetadata { private String type; private String value; public String getType() { return this.type; } public String getValue() { return this.value; } public void setType(String type) { thi...
morisha/theIncredibleYouth
com/admarvel/android/ads/omwsdkconnector/OMWCustomNativeMetadata.java
Java
mit
419
package betterwithmods.module.hardcore.world.villagers; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityInject; import net.minecraftforge.co...
BetterWithMods/BetterWithMods
src/main/java/betterwithmods/module/hardcore/world/villagers/VillagerLevel.java
Java
mit
2,596
/** * 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.eventgrid.v2020_01_01_preview.implementation; im...
selvasingh/azure-sdk-for-java
sdk/eventgrid/mgmt-v2020_01_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2020_01_01_preview/implementation/DomainSharedAccessKeysImpl.java
Java
mit
1,053
/** * Logback: the reliable, generic, fast and flexible logging framework. * Copyright (C) 1999-2015, QOS.ch. All rights reserved. * * This program and the accompanying materials are dual-licensed under * either the terms of the Eclipse Public License v1.0 as published by * the Eclipse Foundation * * ...
JPAT-ROSEMARY/SCUBA
org.jpat.scuba.external.slf4j/logback-1.2.3/logback-classic/src/main/java/ch/qos/logback/classic/db/names/TableName.java
Java
mit
688
package cn.edu.gdut.zaoying.Option.series.pie.markLine.lineStyle.emphasis; 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 Op...
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/series/pie/markLine/lineStyle/emphasis/OpacityNumber.java
Java
mit
365
/** * */ package com.github.nnest.arcteryx; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.junit.Test; /** * @author brad.wu * */ public class Enter...
bradwoo8621/arcteryx
src/test/java/com/github/nnest/arcteryx/EnterpriseTest.java
Java
mit
4,485
package commands.turtleCommands; import backend.WorldModel; import backend.WorldsCollection; import commands.TurtleCommand; public class PenDownQueryTurtleCommand extends TurtleCommand { public PenDownQueryTurtleCommand() { super(0); } @Override public double execute(Object o) { WorldModel t = WorldsCollec...
codylieu/slogo
src/commands/turtleCommands/PenDownQueryTurtleCommand.java
Java
mit
398
package com.gudong.appkit.utils; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.preference.PreferenceManager; import android.util.TypedValue; import com.gudong.appkit.R; /** * 主题相关的工具类 * Created by mao on 7/16/15. */ public class Them...
linuxiao/AppPlus
app/src/main/java/com/gudong/appkit/utils/ThemeUtils.java
Java
mit
3,904
/** * 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.network.v2019_07_01; import com.microsoft.azure....
navalev/azure-sdk-for-java
sdk/network/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/network/v2019_07_01/ServiceEndpointPolicies.java
Java
mit
1,329
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
kashike/SpongeAPI
src/main/java/org/spongepowered/api/event/entity/DamageEntityEvent.java
Java
mit
17,824
package net.jsunit; import net.jsunit.configuration.ConfigurationSource; import net.jsunit.configuration.ServerConfigurationProperty; import org.jdom.Document; import org.jdom.Element; import java.io.IOException; import java.net.URL; import java.util.Iterator; import java.util.List; public class RemoteCo...
pivotal/jsunit
java/source_core/net/jsunit/RemoteConfigurationSource.java
Java
mit
3,337
package mariculture.fishery.fish; import static mariculture.api.core.Environment.Salinity.SALINE; import static mariculture.core.lib.MCLib.dropletDestroy; import static mariculture.core.lib.MCLib.dropletEarth; import static mariculture.core.lib.MCLib.dropletPoison; import static mariculture.core.lib.MCLib.fishMeal; i...
svgorbunov/Mariculture
src/main/java/mariculture/fishery/fish/FishStargazer.java
Java
mit
3,683
/** * 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.datamigration.v2018_03_31_preview; import com.fa...
selvasingh/azure-sdk-for-java
sdk/datamigration/mgmt-v2018_03_31_preview/src/main/java/com/microsoft/azure/management/datamigration/v2018_03_31_preview/ValidationError.java
Java
mit
1,685
package Q13_07_Lambda_Expressions; import java.util.ArrayList; import java.util.List; import java.util.stream.Stream; public class QuestionB { public static int getPopulation(List<Country> countries, String continent) { Stream<Country> sublist = countries.stream().filter( country -> { return country.getContin...
Kiandr/CrackingCodingInterview
java/Ch 13. Java/Q13_07_Lambda_Expressions/QuestionB.java
Java
mit
874
package com.checkout.api.services.charge.request; public class CardIdCharge extends BaseCharge { public CardIdCharge(){ super(); } public String cardId; public String cvv; }
CKOTech/checkout-java-library
checkout/src/com/checkout/api/services/charge/request/CardIdCharge.java
Java
mit
186
package net.minecraft.server; import com.google.common.base.Predicate; final class EntitySelectorHuman implements Predicate { EntitySelectorHuman() {} public boolean a(Entity entity) { return entity instanceof EntityHuman; } public boolean apply(Object object) { return this.a((Entit...
Codecarinas/massive-octo-shame
Server/work/decompile-8eb82bde/net/minecraft/server/EntitySelectorHuman.java
Java
cc0-1.0
340
/** * Copyright (c) 2013-2016 by Brainwy Software Ltda. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.brainwy.liclips...
ControlSystemStudio/org.csstudio.iter
plugins/org.brainwy.liclipsetext.editor/src/org/brainwy/liclipsetext/editor/common/partitioning/LiClipsePresentationReconciler.java
Java
epl-1.0
43,891
package anatlyzer.ocl.ui; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.eclipse.emf.ecore.resource.Resource; import anatlyzer.atlext.OCL.OclExpression; public interface IConstraintCheckerBridge { String getName(); TranslationResult translate(String text, Resource mm...
jesusc/anatlyzer
plugins/anatlyzer.ocl.ui/src/anatlyzer/ocl/ui/IConstraintCheckerBridge.java
Java
epl-1.0
1,389
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
openhab/openhab
bundles/binding/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/converter/ConverterFactory.java
Java
epl-1.0
7,351
/******************************************************************************* * Copyright (c) 2012, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
OpenLiberty/open-liberty
dev/com.ibm.ws.security.wim.adapter.ldap_fat/fat/src/com/ibm/ws/security/wim/adapter/ldap/fat/TDSLDAP_SSLRef_BadSSLTest.java
Java
epl-1.0
4,744
/******************************************************************************* * Copyright (c) 2014, 2014 Bruno Medeiros and other Contributors. * 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 d...
aschran/goclipse
plugin_tooling/src-util/melnorme/utilbox/collections/ArrayView.java
Java
epl-1.0
3,307
//-----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2021 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which ac...
jcryptool/crypto
org.jcryptool.visual.verifiablesecretsharing/src/org/jcryptool/visual/verifiablesecretsharing/views/Messages.java
Java
epl-1.0
5,959
/******************************************************************************* * Copyright (c) 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.faulttolerance.cdi_fat/fat/src/com/ibm/websphere/microprofile/faulttolerance_fat/fallbackMethod/GenericComplexSearchA.java
Java
epl-1.0
1,010
package org.python.pydev.debug.console_actions; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.ILaunch; import org.eclipse.debug.core.ILaunchConfiguration; import org.eclipse.debug.core.model.IProcess; import org.eclipse.debug.internal.ui.view...
akurtakov/Pydev
plugins/org.python.pydev.debug/src/org/python/pydev/debug/console_actions/RestartLaunchAction.java
Java
epl-1.0
3,461
/*- ******************************************************************************* * Copyright (c) 2011, 2016 Diamond Light Source Ltd. * 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, ...
AnthonyHullDiamond/scanning
org.eclipse.scanning.test/src/org/eclipse/scanning/test/messaging/SubsetStatus.java
Java
epl-1.0
7,613
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
openhab/openhab
bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/job/EventReloaderJob.java
Java
epl-1.0
24,530
package com.coverity.ws.v9; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for defectStateSpecDataObj comp...
christ66/coverity-plugin
src/main/java/com/coverity/ws/v9/DefectStateSpecDataObj.java
Java
epl-1.0
2,180
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Gene...
OpenLiberty/open-liberty
dev/com.ibm.jbatch.jsl.model/src/com/ibm/jbatch/jsl/model/v1/Split.java
Java
epl-1.0
5,304
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
kaloyan-raev/che
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/editor/texteditor/TextEditorInit.java
Java
epl-1.0
14,784
/******************************************************************************* * Copyright (c) 2015 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.fat_tools/src/com/ibm/websphere/ejbcontainer/test/osgi/pmi/internal/AverageStatistic.java
Java
epl-1.0
942
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
Mirage20/che
plugins/plugin-maven/che-plugin-maven-ide/src/main/java/org/eclipse/che/plugin/maven/client/project/MavenModelImporter.java
Java
epl-1.0
3,212
/******************************************************************************* * Copyright (c) 2016 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.webserver.plugin.runtime/src/com/ibm/ws/webserver/plugin/runtime/requester/PluginConfigRequesterImpl.java
Java
epl-1.0
6,665
/******************************************************************************* * Copyright (c) 2003,2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and...
OpenLiberty/open-liberty
dev/com.ibm.ws.sipcontainer/src/com/ibm/ws/sip/stack/transaction/logging/LoggerMgr.java
Java
epl-1.0
729
/******************************************************************************* * Copyright (c) 2004-2010 Sunil Kamath (IcemanK). All rights reserved. This * program is made available under the terms of the Common Public License v1.0 * which is available at http://www.eclipse.org/legal/cpl-v10.html * * Contr...
chrismathis/eclipsensis
plugins/net.sf.eclipsensis/src/net/sf/eclipsensis/help/commands/StringParam.java
Java
epl-1.0
4,032
/******************************************************************************* * Copyright (c) 2015 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.cdi.visibility_fat/fat/src/vistest/appClientAsAppClientLib/dummy/DummyMain.java
Java
epl-1.0
787
/******************************************************************************* * Copyright (c) 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
kgibm/open-liberty
dev/com.ibm.ws.jsfContainer/src/com/ibm/ws/jsf/container/application/JSFContainerApplication.java
Java
epl-1.0
2,532