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 |
|---|---|---|---|---|---|
/**
* hub-detect
*
* Copyright (C) 2019 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 owners... | blackducksoftware/hub-detect | hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/lifecycle/boot/ConnectivityChecker.java | Java | apache-2.0 | 5,266 |
/*
* Copyright 2017 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | google/j2cl | transpiler/javatests/com/google/j2cl/integration/subnativejstype/SubMyNativeType.java | Java | apache-2.0 | 874 |
// Copyright 2018 Google LLC
//
// 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 writi... | googleads/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/TrackingSetting.java | Java | apache-2.0 | 2,116 |
/*
* Copyright (C) 2012-2015 DataStax 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 app... | mebigfatguy/java-driver | driver-core/src/test/java/com/datastax/driver/core/TypeCodecNumbersIntegrationTest.java | Java | apache-2.0 | 5,497 |
package com.matianl.explore.java8.ch3.sec05;
import java.util.function.*;
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.image.*;
import javafx.scene.layout.*;
import javafx.scene.paint.*;
import javafx.stage.*;
public class ImageDemo extends Application {
public static Image transform(Ima... | matinalhope/explore | spring-jdbc/src/book/java/com/matianl/explore/java8/ch3/sec05/ImageDemo.java | Java | apache-2.0 | 1,323 |
/*
* #!
* %
* Copyright (C) 2014 - 2015 Humboldt-Universität zu Berlin
* %
* 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
*
* U... | krichter722/aeolus | testUtils/src/main/java/de/hub/cs/dbis/aeolus/testUtils/IncSpout.java | Java | apache-2.0 | 7,203 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.io;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.util.net.ssl.UntrustedCer... | sabi0/intellij-community | platform/platform-api/src/com/intellij/util/io/RequestBuilder.java | Java | apache-2.0 | 3,898 |
/*
* 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 ... | francisliu/hbase | hbase-endpoint/src/main/java/org/apache/hadoop/hbase/coprocessor/AggregateImplementation.java | Java | apache-2.0 | 21,400 |
/*
* 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 writing, software
* distribut... | sunchao/presto | presto-main/src/main/java/com/facebook/presto/operator/scalar/ArrayToArrayCast.java | Java | apache-2.0 | 6,020 |
/*
* Copyright 2013 must-be.org
*
* 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 w... | ernestp/consulo | platform/platform-impl/src/com/intellij/ide/impl/util/NewProjectUtilPlatform.java | Java | apache-2.0 | 1,299 |
/**
* package of information to draw labels
*
* @version 0.1.0
* @author ChrissW-R1
* @since 0.1.0
*/
package de.conterra.babelfish.plugin.v10_02.object.labeling; | conterra/babelfish | babelfish-api/src/main/java/de/conterra/babelfish/plugin/v10_02/object/labeling/package-info.java | Java | apache-2.0 | 175 |
package com.myit.server.model.admin;
import java.io.Serializable;
import com.myit.common.beans.BaseModel;
/**
* 角色菜单关联实体类<br>
*
* @author LiuCongwen
* @see [相关类/方法](可选)
* @since [产品/模块版本] (可选)
*/
public class RoleMenu extends BaseModel implements Serializable {
/**
* generate sid
... | 346674058/SuRui | code/myit-server/src/main/java/com/myit/server/model/admin/RoleMenu.java | Java | apache-2.0 | 1,005 |
package com.lelander.mbaize.e_sloop;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import and... | Mbaize/E-Sloop | app/src/main/java/com/lelander/mbaize/e_sloop/SearchResultsPositionWanted.java | Java | apache-2.0 | 17,270 |
/*******************************************************************************
* Copyright 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | nasa/OpenSPIFe | gov.nasa.ensemble.core.model.plan.diff/src-test/gov/nasa/ensemble/core/model/plan/diff/test/PlanImplementedWithPatchBuilder.java | Java | apache-2.0 | 9,485 |
/*******************************************************************************
*
* Pentaho Data Profiling
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0... | smaring/pentaho-data-profiling | api/doc/rest/src/main/java/org/pentaho/profiling/api/doc/rest/ErrorCode.java | Java | apache-2.0 | 1,294 |
package com.tvd12.ezyfox.bean.testing.configuration;
public class NotIncludeSingleton1 {
}
| youngmonkeys/ezyfox | ezyfox-bean/src/test/java/com/tvd12/ezyfox/bean/testing/configuration/NotIncludeSingleton1.java | Java | apache-2.0 | 93 |
/*
* Copyright 2009 The Closure Compiler Authors.
*
* 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... | GerHobbelt/closure-compiler | src/com/google/javascript/jscomp/TypeValidator.java | Java | apache-2.0 | 34,536 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | zpao/buck | src/com/facebook/buck/features/apple/projectV2/Utils.java | Java | apache-2.0 | 2,696 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/transform/StopTaskResultJsonUnmarshaller.java | Java | apache-2.0 | 2,715 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/AssociationExecutionTarget.java | Java | apache-2.0 | 16,445 |
package me.chanjar.weixin.cp.api.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import com.google.gson.JsonParser;
import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;
import me.cha... | binarywang/weixin-java-tools | weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpChatServiceImpl.java | Java | apache-2.0 | 2,737 |
package com.schaffer.base.test;
/**
* Created by a7352 on 2017/7/5.
*/
public class Test3 extends TestBaseFragment {
}
| SchafferWang0818/SchafferBaseLibrary | app/src/main/java/com/schaffer/base/test/Test3.java | Java | apache-2.0 | 124 |
/*
* Copyright (c) 2008-2021, Hazelcast, 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 ... | emre-aydin/hazelcast | hazelcast-sql-core/src/test/java/com/hazelcast/sql/impl/calcite/opt/physical/index/PhysicalIndexPreferenceTest.java | Java | apache-2.0 | 4,034 |
/**
* Copyright 2011 Kjetil Ørbekk
*
* 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 ... | orbekk/jadab | Jadab/src/main/java/com/github/binding/android/propertyprovider/PropertyProviderStack.java | Java | apache-2.0 | 1,954 |
package de.timedout.oc.browser.handlers;
import org.eclipse.e4.core.contexts.Active;
import org.eclipse.e4.core.di.annotations.CanExecute;
import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
import org.eclipse.swt.widgets.Shell;
import de.timedout.oc.browser... | lukasiewycz/oc | projects/de.timedout.oc/src/de/timedout/oc/browser/handlers/ChangeDirectoryHandler.java | Java | apache-2.0 | 1,075 |
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
public class UmsGrowthChangeHistory implements Serializable {
private Long id;
private Long memberId;
private Date createTime;
@ApiModelProperty(value = "改变类型:0->增加;1->减... | macrozheng/mall | mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java | Java | apache-2.0 | 2,826 |
/*
* 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 writing, software
* distribut... | avasilevskiy/presto | presto-utils/src/main/java/com/facebook/presto/utils/decoder/DecoderErrorCode.java | Java | apache-2.0 | 1,170 |
/*******************************************************************************
* Copyright 2014 See AUTHORS file.
*
* 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.a... | domokato/gdx-ai | gdx-ai/src/com/badlogic/gdx/ai/btree/Task.java | Java | apache-2.0 | 8,877 |
/*
* Copyright (C) 2017 Dirk Lemmermann Software & Consulting (dlsc.com)
*
* 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
*
... | dlemmermann/CalendarFX | CalendarFXView/src/main/java/impl/com/calendarfx/view/DetailedWeekViewSkin.java | Java | apache-2.0 | 7,101 |
/*
* Knetik Platform API Documentation latest
* This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com.
*
* OpenAPI spec version: latest
* Contact: support@knetik.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* ... | knetikmedia/knetikcloud-java-client | src/main/java/com/knetikcloud/model/Order.java | Java | apache-2.0 | 6,365 |
package rx.dong.com.rxjoke.api;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import rx.Observable;
import rx.dong.com.rxjoke.model.JokeEntity;
/**
* Created by JDD on 2016/4/8.
*/
public interface JokeApi {
@Headers(... | a1510312433/533 | app/src/main/java/rx/dong/com/rxjoke/api/JokeApi.java | Java | apache-2.0 | 595 |
package benchmarkdp.datagenerator.core;
public interface IGeneratedCode {
public String getPlatform();
public void saveToFile(String filePath, String testCaseName);
}
| kduretec/TestDataGenerator | DataGenerator/src/benchmarkdp/datagenerator/core/IGeneratedCode.java | Java | apache-2.0 | 174 |
package com.hiltoneffectiveandroid.view;
import com.hilton.effectiveandroid.R;
import com.hilton.effectiveandroid.R.layout;
import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
public class LinearLayoutTest extends Activity {
@Override
public void onCreate(Bun... | alexhilton/EffectiveAndroid | src/com/hiltoneffectiveandroid/view/LinearLayoutTest.java | Java | apache-2.0 | 455 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | davebarnes97/geode | geode-core/src/main/java/org/apache/geode/cache/wan/GatewayReceiver.java | Java | apache-2.0 | 6,164 |
package org.ebayopensource.fidouaf.marvin.client.op;
public class UafRequestMsgParseException extends Exception {
public UafRequestMsgParseException(Exception e) {
super(e);
}
/**
*
*/
private static final long serialVersionUID = 2654274247574179420L;
}
| emersonmello/dummyuafclient | app/src/main/java/org/ebayopensource/fidouaf/marvin/client/op/UafRequestMsgParseException.java | Java | apache-2.0 | 269 |
/*
* Copyright 2019 the original author or authors.
*
* 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 appli... | rest-assured/rest-assured | rest-assured/src/main/java/io/restassured/specification/ResponseSpecification.java | Java | apache-2.0 | 37,804 |
/*
* Copyright (c) 2008-2016, Hazelcast, 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 ... | lmjacksoniii/hazelcast | hazelcast-client/src/test/java/com/hazelcast/client/ClientEntryListenerDisconnectTest.java | Java | apache-2.0 | 4,537 |
/**
* Copyright 2013 Ricky Tobing
*
* 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... | bingzer/Butler | Library/Core/src/main/java/com/bingzer/android/XDocument.java | Java | apache-2.0 | 3,122 |
public class StubTest {
}
| Artyomcool/DiskLruCache | src/stressTest/java/StubTest.java | Java | apache-2.0 | 26 |
//
// ÀÌ ÆÄÀÏÀº JAXB(JavaTM Architecture for XML Binding) ÂüÁ¶ ±¸Çö 2.2.8-b130911.1802 ¹öÀüÀ» ÅëÇØ »ý¼ºµÇ¾ú½À´Ï´Ù.
// <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>¸¦ ÂüÁ¶ÇϽʽÿÀ.
// ÀÌ ÆÄÀÏÀ» ¼öÁ¤ÇÏ¸é ¼Ò½º ½ºÅ°¸¶¸¦ ÀçÄÄÆÄÀÏÇÒ ¶§ ¼öÁ¤ »çÇ×ÀÌ ¼Õ½ÇµË´Ï´Ù.
// »ý¼º ³¯Â¥: 2015.07.30 ½Ã°£ 02:38:1... | gs1oliot/gs1source | DataAggregator/src/main/java/org/gs1/source/tsd/DocumentType.java | Java | apache-2.0 | 7,734 |
/*
* Copyright 2013
*
* 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 writin... | rPraml/org.openntf.domino | domino/design-impl/src/main/java/org/openntf/domino/design/impl/DesignAgentA.java | Java | apache-2.0 | 1,088 |
package com.suscipio_solutions.consecro_mud.Items.Basic;
import com.suscipio_solutions.consecro_mud.Items.interfaces.Container;
import com.suscipio_solutions.consecro_mud.Libraries.interfaces.GenericBuilder;
import com.suscipio_solutions.consecro_mud.core.CMLib;
import com.suscipio_solutions.consecro_mud.core.CMProps;
... | ConsecroMUD/ConsecroMUD | com/suscipio_solutions/consecro_mud/Items/Basic/GenPortal.java | Java | apache-2.0 | 4,924 |
/*
* Copyright (c) 2015 Hannes Dorfmann.
*
* 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 o... | hubme/WorkHelperApp | app/src/main/java/com/king/app/workhelper/model/entity/Animal.java | Java | apache-2.0 | 827 |
/*
* TextAreaDefaults.java - Encapsulates default values for various settings
* Copyright (C) 1999 Slava Pestov
*
* You may use and modify this package for any purpose. Redistribution is
* permitted, in both source and binary form, provided that this notice
* remains intact in all source distributions of this pac... | MOHAMED-OKASHA/bari3 | Arduino-master-Customized/_back/TextAreaDefaults.java | Java | apache-2.0 | 2,554 |
package uk.projectchronos.xplorationreader.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Class that represent article.
*/
public class Article {
@Expose
private String title;
@Expose
private String url;
@SerializedName("abstract")
... | GreenBlueBit/android-xpreader | app/src/main/java/uk/projectchronos/xplorationreader/model/Article.java | Java | apache-2.0 | 2,972 |
/**
* Location Intelligence APIs
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit ... | PitneyBowes/LocationIntelligenceSDK-Java | src/main/java/pb/locationintelligence/model/Carrier.java | Java | apache-2.0 | 2,983 |
package liquibase.ext.vertica.snapshot;
import liquibase.database.Database;
import liquibase.exception.DatabaseException;
import liquibase.ext.vertica.database.VerticaDatabase;
import liquibase.snapshot.DatabaseSnapshot;
import liquibase.snapshot.InvalidExampleException;
import liquibase.snapshot.jvm.UniqueConstraintS... | Blackbaud-MikeLueders/liquibase-vertica | src/main/java/liquibase/ext/vertica/snapshot/UniqueConstraintSnapshotGeneratorVertica.java | Java | apache-2.0 | 1,294 |
package io.electrum.vas.model;
import java.util.Objects;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.electrum.vas.Utils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelPropert... | electrumpayments/service-interface-base | src/main/java/io/electrum/vas/model/An32TokenPayment.java | Java | apache-2.0 | 2,351 |
/*
* 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 ... | radicalbit/ambari | ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/AbstractUpgradeServerAction.java | Java | apache-2.0 | 2,115 |
package com.pacoapp.paco.js.bridge;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.pacoapp.paco.model.Event;... | google/paco | Paco/src/com/pacoapp/paco/js/bridge/JavascriptEventLoader.java | Java | apache-2.0 | 9,227 |
package lesson.oop;
/**
* Created by igor on 10.10.2015.
*/
public class Methods {
public static void print(int a) {
System.out.println("one :" + a);
}
public static void print(int a, int b) {
System.out.println("two :" +a +" "+b);
}
public static void print(int a, int ... b) {
... | nesterione/JavaTrainings | src/lesson/oop/Methods.java | Java | apache-2.0 | 845 |
/*******************************************************************************
* Copyright 2012 André Rouél
*
* 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.... | zpzgone/uadetector | modules/uadetector-core/src/main/java/net/sf/uadetector/UserAgentFamily.java | Java | apache-2.0 | 80,051 |
package ua.danit.chess.api.game;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import ua.danit.chess.api.Player;
import ua.danit.chess.api.dao.GameState;
import ua.danit.chess.api.dao.GameState.BoardS... | djandrewd/chess_game_api | src/main/java/ua/danit/chess/api/game/Game.java | Java | apache-2.0 | 4,960 |
package com.example.android.gson;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by KevinShiny on 2017/8/11.
*/
public class Weather {
public String status;
public Basic basic;
public AQI aqi;
public Now now;
public Suggestion suggestion;
@Ser... | xiaoxin306/coolweather | app/src/main/java/com/example/android/gson/Weather.java | Java | apache-2.0 | 392 |
/*
* Copyright (c) 2017 Ahome' Innovation Technologies. 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
*
* Un... | ahome-it/ahome-tooling-server-core | src/main/groovy/com/ait/tooling/server/core/json/schema/validator/JSONSchemaValidatorConfiguration.java | Java | apache-2.0 | 1,187 |
package crypto;
public interface Cipher {
public String encrypt(String plaintext);
public String decrypt(String ciphertext);
}
| Kalkwst/Crypto_Algorithms_Demo | crypto/Cipher.java | Java | apache-2.0 | 141 |
/**
* Copyright 2012-2013 eBay Software Foundation - 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
*
* Unles... | eBay/mtdtool | ManualTestDemultiplexer/src/com/ebay/testdemultiplexer/device/commands/DragCommand.java | Java | apache-2.0 | 5,990 |
/*
* Copyright 2015 E.Hooijmeijer / www.ctrl-alt-dev.nl
*
* 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... | ctrl-alt-dev/json-transform | src/test/java/nl/ctrlaltdev/json/transform/parse/JsonTokenizerTest.java | Java | apache-2.0 | 4,175 |
package org.jsmart.zerocode.core.engine.validators;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.inject.Guice;
import com.google.inject.Injector;
import java.util.List;
import org.jsmart.zerocode.core.di.main.ApplicationMainModule;
import org.jsmart.zerocode.core.di.provider.ObjectMapperProvid... | authorjapps/zerocode | core/src/test/java/org/jsmart/zerocode/core/engine/validators/ZeroCodeValidatorImplTest.java | Java | apache-2.0 | 3,591 |
package kornell.gui.client.util;
import java.util.Date;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.i18n.client.LocaleInfo;
import com.google.gwt.storage.client.Storage;
import com.google.gwt.user.client.Cookies;
import com.google.gwt.user.client.Window;
import kornell.core.util.StringUti... | Craftware/Kornell | kornell-gwt/src/main/java/kornell/gui/client/util/ClientProperties.java | Java | apache-2.0 | 4,719 |
package com.tiny.demo.firstlinecode.ui.presenter;
import com.tiny.demo.firstlinecode.BuildConfig;
import com.tiny.demo.firstlinecode.R;
import com.tiny.demo.firstlinecode.common.utils.ResUtils;
import com.tiny.demo.firstlinecode.ui.contract.OptionalResortContract;
import com.tiny.demo.firstlinecode.ui.model.OptionalR... | tinyvampirepudge/Android_Basis_Demo | Android_Basis_Demo/app/src/main/java/com/tiny/demo/firstlinecode/ui/presenter/OptionalResortPresenter.java | Java | apache-2.0 | 1,773 |
/*
Copyright 2013 Stephen K Samuel
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 i... | sksamuel/scrimage | scrimage-core/src/main/java/com/sksamuel/scrimage/pixels/PixelTools.java | Java | apache-2.0 | 5,394 |
/*
* Copyright 2017 Yongshun Ye
*
* 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 ... | ShreckYe/SCUYouth | app/src/main/java/shreckye/scu/youth/model/InfoItem.java | Java | apache-2.0 | 1,068 |
/*
* Copyright 2015 The FireNio Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | generallycloud/baseio | firenio-test/src/main/java/test/io/buffer/TestByteBufCopy.java | Java | apache-2.0 | 5,813 |
package com.ysj;
/**
* @author yihua.huang@dianping.com
*/
public interface HelloWorldService {
void helloWorld();
}
| code4craft/tiny-spring | src+/test/java/com/ysj/HelloWorldService.java | Java | apache-2.0 | 122 |
/*
* Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.io;
import java.nio.channels.FileChannel;
import sun.nio.ch.FileChannelImpl;
import sun.m... | ZhaoX/jdk-1.7-annotated | src/java/io/RandomAccessFile.java | Java | apache-2.0 | 46,777 |
package com.cisco.axl.api._8;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LBusyLampField complex type.
*
* <p>The following schema fragment specifies the expected content contained within this... | ox-it/cucm-http-api | src/main/java/com/cisco/axl/api/_8/LBusyLampField.java | Java | apache-2.0 | 4,585 |
package com.java110.api.listener.fee;
import com.alibaba.fastjson.JSONObject;
import com.java110.api.listener.AbstractServiceApiDataFlowListener;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.java110.intf.fee.IFeeInnerServiceSMO;
import com.java110.dto... | java110/MicroCommunity | service-api/src/main/java/com/java110/api/listener/fee/QueryFeeByCarInoutListener.java | Java | apache-2.0 | 3,569 |
package com.watook.customview;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.drawable.BitmapDrawable;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.Log... | avinashkgit/Watook | app/src/main/java/com/watook/customview/DragSortRecycler.java | Java | apache-2.0 | 13,933 |
/* Assignment 1: TravelClaim
* Name: Brandon Cheung
* CCID: bwcheung
* Date: Feb 2, 2015
* LICENSE: APACHE 2.0 (read the Readme file)
* Source taken from: http://developer.android.com/guide/topics/ui/controls/spinner.html, http://stackoverflow.com/questions/1947933/how-to-get-spinner-value
* Description: Th... | bwcheung/as1 | src/com/example/travelclaims/NewExpenseActivity.java | Java | apache-2.0 | 5,153 |
package org.schema.api.model.thing.intangible;
public class HealthPlanNetwork extends Intangible
{
} | omindra/schema_org_java_api | core_with_extensions/src/main/java/org/schema/api/model/thing/intangible/HealthPlanNetwork.java | Java | apache-2.0 | 101 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | PurelyApplied/geode | extensions/geode-modules/src/main/java/org/apache/geode/modules/util/RegionHelper.java | Java | apache-2.0 | 9,007 |
/*
* 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... | freeVM/freeVM | enhanced/archive/classlib/java6/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_hr_HR.java | Java | apache-2.0 | 1,112 |
/*
* Copyright 2010-2012 Roger Kapsi
*
* 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 ... | rkapsi/ardverk-concurrent | src/main/java/org/ardverk/concurrent/AsyncThreadPoolExecutor.java | Java | apache-2.0 | 3,279 |
package com.twitter.inject.app;
import java.math.BigDecimal;
public interface PaymentProcessor {
String processPayment(BigDecimal payment);
}
| twitter/finatra | inject/inject-app/src/test/java/com/twitter/inject/app/PaymentProcessor.java | Java | apache-2.0 | 147 |
package br.com.battista.arcadia.caller.validator;
import static org.hamcrest.Matchers.*;
import javax.validation.Validation;
import javax.validation.Validator;
import org.junit.*;
import org.junit.rules.*;
import org.junit.runner.*;
import org.mockito.InjectMocks;
import org.mockito.Spy;
import org.mockito.runners.... | rabsouza/arcadia-caller | src/test/java/br/com/battista/arcadia/caller/validator/EntityValidatorTest.java | Java | apache-2.0 | 1,625 |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_2435 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_2435.java | Java | apache-2.0 | 151 |
package fragments;
import gridview.LauncherMain;
import gridview.NewIconsMain;
import gridview.RequestIconsMain;
import helper.ScrollGridView;
import java.util.ArrayList;
import java.util.List;
import adapters.MainAdapter;
import adapters.MainAdapter.AdapterItem;
import android.content.ComponentName;
import android.... | osramd/iconpack_ssc | src/fragments/MainFragment.java | Java | apache-2.0 | 8,849 |
/*
* Copyright 2017 nosemaj.org
*
* 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 w... | jamesonwilliams/medium-sdk-java | src/main/java/com/medium/api/dependencies/http/HttpClient.java | Java | apache-2.0 | 2,063 |
/**
* Copyright 2011 The PlayN Authors
*
* 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 ... | playn/playn | html/src/playn/html/HtmlInput.java | Java | apache-2.0 | 25,033 |
/*
* 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")... | mike10004/appengine-imaging | gaecompat-awt-imaging/src/awt-windowing/com/google/code/appengine/awt/Scrollbar.java | Java | apache-2.0 | 19,697 |
/*
* 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 ... | freeVM/freeVM | enhanced/buildtest/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/share/CorrectClasses/testManyClasses_C48.java | Java | apache-2.0 | 1,832 |
/**
* vertigo - simple java starter
*
* Copyright (C) 2013-2018, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com)
* KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... | KleeGroup/vertigo-addons | vertigo-stella/src/main/java/io/vertigo/stella/impl/workers/WorkDispatcherConfUtil.java | Java | apache-2.0 | 1,983 |
/*
* Copyright © 2019 The GWT Project Authors
*
* 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... | gwtproject/gwt-event-dom | gwt-event-dom/src/main/java/org/gwtproject/event/dom/client/DragStartHandler.java | Java | apache-2.0 | 1,000 |
package academy.learnprogramming.challenge2;
public class Main {
public static void main(String[] args) {
Integer one = 1;
Integer two = 2;
Integer three = 3;
Integer four = 4;
IntegerLinkedList list = new IntegerLinkedList();
list.insertSorted(three);
lis... | abhishekajain/questions | src/main/java/academy/learnprogramming/challenge2/Main.java | Java | apache-2.0 | 518 |
/*
* Copyright 2015 the original author or authors.
*
* 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 l... | aruanruan/copycat | io/src/main/java/net/kuujo/copycat/io/UnpooledDirectAllocator.java | Java | apache-2.0 | 1,042 |
/*
* Copyright (c) 2008-2013, Hazelcast, 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 ... | health-and-care-developer-network/health-and-care-developer-network | library/hazelcast/2.5/hazelcast-2.5-source/hazelcast/src/main/java/com/hazelcast/impl/TcpIpJoiner.java | Java | apache-2.0 | 21,419 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/transform/DescribeAccountAttributesRequestMarshaller.java | Java | apache-2.0 | 1,833 |
/**
* 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... | kingargyle/turmeric-bot | camel-core/src/main/java/org/apache/camel/Channel.java | Java | apache-2.0 | 4,194 |
/*
* $Id$
*
* Janus platform is an open-source multiagent platform.
* More details on http://www.janusproject.io
*
* Copyright (C) 2014-2015 Sebastian RODRIGUEZ, Nicolas GAUD, Stéphane GALLAND.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian... | jgfoster/sarl | sre/io.janusproject/io.janusproject.tests/src/test/java/io/janusproject/tests/kernel/services/jdk/contextspace/StandardContextSpaceServiceTest.java | Java | apache-2.0 | 16,576 |
/*
* Copyright (C) 2017. OpenLattice, Inc
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... | kryptnostic/rhizome | src/main/java/com/openlattice/postgres/PostgresPod.java | Java | apache-2.0 | 2,504 |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... | jl1955/uPortal5 | uPortal-web/src/main/java/org/apereo/portal/url/PortalUrlProviderImpl.java | Java | apache-2.0 | 11,941 |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | aws/aws-sdk-java | aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/transform/CreateProvisioningTemplateRequestProtocolMarshaller.java | Java | apache-2.0 | 2,787 |
package com.mamu.repository.schema.property.mapper;
/**
* @author Johnny
*/
public class GremlinObjectMapperException extends Throwable {
public GremlinObjectMapperException(String msg) {super(msg);}
public GremlinObjectMapperException(String msg, Exception e) {
super(msg, e);
}
}
| johnny0917/mamu | mamu.repository/src/main/java/com/mamu/repository/schema/property/mapper/GremlinObjectMapperException.java | Java | apache-2.0 | 306 |
package mapreducer;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.util.*;
import java.io.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.conf.*;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapred.*;
import org.apache.hadoop.util.*;
public class Write... | yinjiangling/Accelerating-Sub-Dataset-Processing | mapreducer/WriteToHDFS.java | Java | apache-2.0 | 820 |
package org.hl7.fhir.instance.model.api;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2021 Smile CDR, 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
*
... | SingingTree/hapi-fhir | hapi-fhir-base/src/main/java/org/hl7/fhir/instance/model/api/ICompositeType.java | Java | apache-2.0 | 765 |
/**
* 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... | arnaud-deprez/camel | tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelHystrixTest.java | Java | apache-2.0 | 1,221 |
/*
* Copyright 2011-2017 the original author or authors.
*
* 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 ap... | CiNC0/Cartier | cartier-redis/src/main/java/com/lambdaworks/redis/cluster/MultiNodeExecution.java | Java | apache-2.0 | 4,032 |
package com.signalfx.metrics.connection;
/**
* A factory that creates connections to datapoint given an endpoint to connect to.
*
* @author jack
*/
public interface DataPointReceiverFactory {
/**
* Create connection to datapoint.
*/
DataPointReceiver createDataPointReceiver();
}
| lganzzzo/signalfx-java | signalfx-java/src/main/java/com/signalfx/metrics/connection/DataPointReceiverFactory.java | Java | apache-2.0 | 304 |
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-recommender | proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/GetInsightTypeConfigRequestOrBuilder.java | Java | apache-2.0 | 2,204 |