text stringlengths 7 1.01M |
|---|
package com.commercetools.api.models.error;
import java.util.*;
import io.vrap.rmf.base.client.Builder;
import io.vrap.rmf.base.client.utils.Generated;
@Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen")
public final class FeatureRemovedErrorBuild... |
package org.kairosdb.core.properties;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.name.Names;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.kairosdb.core.exception.KairosDBExcep... |
package org.interledger.core.asn.codecs;
/*-
* ========================LICENSE_START=================================
* Interledger Core Codecs
* %%
* Copyright (C) 2017 - 2018 Hyperledger and its contributors
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exc... |
// 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.codeInsight.completion;
import com.intellij.openapi.editor.Caret;
import com.intellij.openapi.editor.Editor;
import com.intellij.psi.PsiFile;
import org.jetb... |
package utilities;
import java.awt.*;
import java.util.Comparator;
/**
* Comparator to compare Points which represent grid position in the selector pane.
* Uses singleton design pattern as only one instance of class is ever required.
* Only useful for comparing Points which represent grid position in selector pane... |
/*
* Copyright 2014 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 applica... |
/* */ package org.usfirst.frc.team3374.robot.commands;
/* */
/* */ import com.ctre.CANTalon;
/* */ import edu.wpi.first.wpilibj.VictorSP;
/* */ import edu.wpi.first.wpilibj.command.Command;
/* */ import org.usfirst.frc.team3374.robot.OI;
/* */ import org.usfirst.frc.team3374.robot.Robot;
/*... |
import java.util.concurrent.Semaphore;
public class Herdsmen implements Runnable {
private String identifier;
public static Semaphore waffen = new Semaphore(1);
public static int lettering = 0;
public Herdsmen(String card) {
this.identifier = card;
}
public void run() {
while (true) {
Syst... |
package blocks;
public class StaticDemo {
final static int X;
static{
X=20;
}
} |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v7.app;
import android.content.Context;
import android.graphics.drawable.Drawable;
public interface ActionBarDrawerToggle$Delegat... |
/**
* Provides various version-related classes.
*/
package uk.co.caprica.vlcj.version;
|
/*
* Copyright © 2018 Yan Zhenjie.
*
* 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... |
package com.factly.dega.repository.search;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.Configuration;
/**
* Configure a Mock version of RoleSearchRepository to test the
* application without starting Elasticsearch.
*/
@Configuration
public class RoleSea... |
/*
* Copyright (C) 2015 Twitter, 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 agr... |
/*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* 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... |
/*
* Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... |
package nl.uva.alexandria;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableAdminServer
@SpringBootApplication
public class AlexandriaApplication {
public static void ma... |
package loopwhile;
import java.util.Scanner;
/**
*
* @author Manager
*/
public class Loopwhile {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner sc =new Scanner (System.in);
... |
/*
* Copyright (C) 2008 FoxLabs
*
* 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 ... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package us.vczf.leetcode;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static us.vczf.leetcode.LC21MergeTwoSortedLists.mergeTwoLists;
class LC21MergeTwo... |
package com.example.unitconverter.service;
import com.example.unitconverter.api.dtos.ConversionCategoryDto;
import com.example.unitconverter.entities.ConversionCategory;
import com.example.unitconverter.repository.ConversionCategoryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
/**
* Copyright ${license.git.copyrightYears} the original author or authors.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... |
/**
* 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... |
/*
* Copyright 2002-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 ap... |
/*
* Copyright (c) 1999, 2008, 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 ... |
package com.amplifino.obelix.indexes;
import java.util.Comparator;
import org.osgi.annotation.versioning.ProviderType;
import com.amplifino.obelix.pairs.OrderedPair;
import com.amplifino.obelix.segments.SegmentTypes;
import com.amplifino.obelix.sets.Injection;
import com.amplifino.obelix.sets.SortedIndex;
... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.assetlineage.handlers;
import org.apache.commons.lang3.StringUtils;
import org.odpi.openmetadata.accessservices.assetlineage.event.AssetLineageEventType;
import org.odpi.openm... |
/*
* Copyright 2015-2020 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... |
// Copyright 2021 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... |
package com.project.library.dao;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframe... |
/*
* Copyright 2011-2016 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... |
package cn.allwayz.cart.config;
import cn.allwayz.common.exception.BizCodeEnum;
import cn.allwayz.common.utils.R;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.... |
package me.chanjar.weixin.mp.bean.freepublish;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import me.chanjar.weixin.common.bean.ToJson;
import me.chanjar.weixin.com... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.graphdht.hashcontainer;
import java.util.HashMap;
import java.util.Map;
import org.graphdht.dht.HTService;
/**
*
* @author alex
*/
public class SimpleHT<K, T> implements HTService<K, T> {
HashMap c... |
/*
* Copyright (C) 2016 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ocs.indaba.controlpanel.notifimporter;
import com.ocs.indaba.po.NotificationType;
import com.ocs.indaba.po.Role;
import java.util.List;
/**
*
* @author yc06x
*/
public class ImpProjectNotif {
priva... |
/*
* Copyright (c) 2018 jMonkeyEngine
* 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... |
package com.willautomate.profit.daemon;
import static org.junit.Assert.*;
import java.text.ParseException;
import org.junit.Test;
public class DataVomiterTest {
@Test
public void test() throws ParseException {
// System.out.println("safsdf"+DataVomiter.getLastDate());
// DataVomiter.vomitData();
System.out.p... |
package com.guuidea.inreading.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.appcompat.widget.Toolbar;
import com.guuidea.inreading.R;
import com.guuidea.inreading.model.flag.CommunityType;
import com.guuidea... |
package org.jpc.mapping.converter.catalog.refterm;
import static org.jconverter.converter.ConversionGoal.conversionGoal;
import org.jconverter.converter.DelegateConversionException;
import org.jconverter.converter.TypeDomain;
import org.jpc.Jpc;
import org.jpc.mapping.converter.FromTermConverter;
import org.jpc.term.... |
package com.gentics.mesh.json.deserializer;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.ObjectCodec;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.dat... |
/*
* 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 distributed under t... |
package com.zyplayer.doc.dubbo.framework.constant;
import org.apache.commons.lang.StringUtils;
import java.util.HashSet;
import java.util.Set;
/**
* 基本数据类型
*
* @author 暮光:城中城
* @since 2020年10月31日
**/
public class BaseType {
private static final Set<String> baseType = new HashSet<String>() {{
add("java.lang... |
package net.burngames.devathon.persistence;
import com.google.common.base.Joiner;
import net.burngames.devathon.Website;
import net.burngames.devathon.routes.RouteException;
import org.json.JSONObject;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import spark.Request;
import spark.Response;
... |
/*
* 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 ... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... |
/****************************************************************
* 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... |
package com.wappworks.xstream;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.converters.Converter;
import com.thoughtworks.xstream.converters.basic.BigDecimalConverter;
import com.thoughtworks.xstream.converters.basic.BigIntegerConverter;
import com.thoughtworks.xstream.converters.basic.Bool... |
/*
* Copyright (c) 2021 Airbyte, Inc., all rights reserved.
*/
package io.airbyte.server.handlers;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.ap... |
/* */ package org.apache.commons.codec.binary;
/* */
/* */ import java.io.FilterInputStream;
/* */ import java.io.IOException;
/* */ import java.io.InputStream;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* ... |
/*
* Copyright 2008-present MongoDB, 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 ag... |
/*
* This file is part of the zyan/wework-msgaudit.
*
* (c) 读心印 <aa24615@qq.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
package com.tencent.wework;
/* sdk返回数据
typedef struct Slice_t {
char* buf;
int len;
} Slice_t;
typedef s... |
package hackerrank;
import java.io.*;
import java.util.Collections;
import java.util.List;
import java.util.stream.IntStream;
import static java.util.stream.Collectors.toList;
public class RoadRepair {
/*
* Complete the 'getMinCost' function below.
*
* The function is expected to return a LONG_I... |
/**
* Obsahuje trydu Schema.
* Trida predstavuje schema s bloky a operace nad schematem.
*
* @author Miroslav Válka (xvalka05)
* @author Jan Trněný (xtrnen03)
*/
package main.project;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.collections.FXColle... |
package org.coderdreams.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import org.coderdreams.dom.ComplexUser;
import org.coderdreams.webapp.autocomplete.AutocompleteFilters;
import org.springframework.beans.factory.annotation.Autowired;
public class SearchU... |
//
// ========================================================================
// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package Nov2020Leetcode;
public class _0318MaximumProductOfWordLengths {
public static void main(String[] args) {
System.out.println(1 << 0);
}
public static int maxProduct(String[] words) {
}
}
|
import java.util.Iterator;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ks")
@Implements("IterableDualNodeQueue")
public class IterableDualNodeQueue implements Iterable {
@Obfus... |
/*
* FAE, Feinno App Engine
*
* Create by gaolei 2011-8-4
*
* Copyright (c) 2011 北京新媒传信科技有限公司
*/
package org.helium.util.io;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
/**
* I/O流帮助类
*
* Created by Coral
*/
public class StreamHelper
{
/**
*
* 读一个流,读到想要的字节数
... |
package software.amazon.logs.loggroup;
import org.apache.commons.collections.MapUtils;
import software.amazon.cloudformation.exceptions.CfnAlreadyExistsException;
import software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy;
import software.amazon.cloudformation.proxy.Logger;
import software.amazon.cloudfo... |
package com.workhub.z.servicechat.service;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;
/**
* 附件上传下载等相关功能service
*
* @author zhuqz
* @since 2019-06-04 10:22:34
*/
public interface ZzFileManageService {
public Map<String, String>... |
// 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.ide.projectWizard;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.JavaUiBundle;
import com.intellij.ide.highlighter.ModuleFileType;
import com.in... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
/**
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
*/
package com.oracle.bmc.core.model;
/**
*
* <br/>
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
* that are {@code null} because they are unset from fields tha... |
package cn.elvea.platform.commons.config;
import cn.elvea.platform.base.constants.DateTimeConstants;
import cn.elvea.platform.base.enums.LangEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.ZoneId;
/**
* Config
*
* @author elvea
* @since 0.0.1
*/
@Data
@No... |
package com.neu.wms.service.impl;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.neu.wms.dao.BookMapper;
import com.neu.wms.domain.Book;
import com.neu.wms.domain... |
/* MazeRunnerII: A Maze-Solving Game
Copyright (C) 2008-2010 Eric Ahnell
Any questions should be directed to the author via email at: MazeRunnerII@worldwizard.net
*/
package com.puttysoftware.mazerunner3.maze.objects;
import com.puttysoftware.mazerunner3.loader.ObjectImageConstants;
import com.puttysoftware.mazerun... |
package net.serenitybdd.cucumber.integration.steps;
import cucumber.api.java.en.Given;
/**
* Created by john on 15/07/2014.
*/
public class BrokenStepInstantiationSteps {
public BrokenStepInstantiationSteps() throws InstantiationException {
throw new InstantiationException("Oh crap!");
}
@Give... |
package seedu.address.model;
import static java.util.Objects.requireNonNull;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import javafx.beans.InvalidationListener;
import javafx.collections.ObservableList;
import seedu.address.c... |
/*
* Copyright 2020 Netflix, 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 a... |
package edu.iastate.geol.meteor.swat.bug.controller;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpSession;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller... |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.agent.mobilepay.sign response.
*
* @author auto create
* @since 1.0, 2021-12-07 20:57:54
*/
public class AlipayOpenAgentMobilepaySignResponse extends AlipayResponse {
private static final long se... |
import org.junit.* ;
import static org.junit.Assert.* ;
public class PictureUnitTest {
@SuppressWarnings("unused")
private double delta = 1e-5;
public final static int WW=2;
public final static int HH=4;
public final static int XW=0;
public final static int XH=1;
@Test(timeout=1000)
... |
/*
* Copyright 2011-2016 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 "li... |
package org.opendatadiscovery.oddplatform.service;
import java.util.UUID;
import org.opendatadiscovery.oddplatform.api.contract.model.CountableSearchFilter;
import org.opendatadiscovery.oddplatform.api.contract.model.DataEntityList;
import org.opendatadiscovery.oddplatform.api.contract.model.DataEntityRef;
import org.... |
package org.vaadin.artur.hillapush.crud;
import java.time.LocalDateTime;
import java.util.List;
import com.vaadin.exampledata.DataType;
import com.vaadin.exampledata.ExampleDataGenerator;
import com.vaadin.flow.spring.annotation.SpringComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spr... |
/*
* 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 ... |
package com.onpositive.wikipedia.workbench.words.primary;
import java.util.HashSet;
import java.util.LinkedHashSet;
import com.onpositive.semantic.wordnet.Grammem;
import com.onpositive.text.analysis.IToken;
import com.onpositive.text.analysis.lexic.WordFormToken;
import com.onpositive.text.analysis.syntax.ClauseToke... |
/*
* 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 ... |
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.
package jodd.json;
import jodd.JoddJson;
import jodd.util.UnsafeUtil;
import jodd.util.buffer.FastCharBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* JSON serializer.
*/
public c... |
/*
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
* Copyright (C) 2018-2021 AT&T Intellectual Property. All rights reserved.
* ==============================================================... |
package ru.stqa.pft.sandbox;
public class Point {
public int x;
public int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
}
|
package com.example.customerqueue_module;
import com.google.firebase.database.DataSnapshot;
public interface CustomerQueueDatabaseCallback {
void onCustomerAddedToQueueInDB(DataSnapshot dataSnapshot);
void onCustomerRemovedFromQueueInDB(DataSnapshot dataSnapshot);
void onCustomerQueueEmptyInDB();
vo... |
package org.dmp.mongo.logging;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;
import org.apache.log4j.Logger;
/**
* Since Logger is not a managed bean, we need to create a producer for it.
*
* @author david.peters
*
*/
public class LoggerFactory {
@Produces... |
package com.javarush.task.task06.task0605;
import java.io.*;
/*
Контролируем массу тела
*/
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader bis = new BufferedReader(new InputStreamReader(System.in));
double weight = Double.parseDouble(bis.readL... |
package com.ibm.myweather;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
public class MainActivity extends AppCompatActivity {
@Overrid... |
/*
* Copyright (C) 2018 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... |
/**
* 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... |
package com.uwsoft.editor.renderer.systems.action.data;
import java.util.ArrayList;
/**
* Created by ZeppLondon on 10/23/15.
*/
public class ParallelData extends ActionData {
public ActionData[] actionDatas;
public boolean complete;
public ParallelData(ActionData[] actionDatas) {
this.actionDat... |
package com.oneonezz.generic;
import java.io.Serializable;
import java.util.List;
public class AdvertTypeBean implements Serializable {
/**
* id : 1
* type : 1
* advert_type : 1
* is_out : 1
* is_usermsg : 1
* number : 8
* banner_data : [{"id":"1","advert_id":"1","banner_url":"... |
/*
See lda-top/LICENCE (or https://raw.github.com/epimorphics/elda/master/LICENCE)
for the licence for this software.
(c) Copyright 2011 Epimorphics Limited
$Id$
File: APISpec.java
Created by: Dave Reynolds
Created on: 31 Jan 2010
*/
package com.epimorphics.lda.specs;
... |
package mekanism.generators.common.block;
import buildcraft.api.tools.IToolWrench;
import javax.annotation.Nonnull;
import mekanism.common.Mekanism;
import mekanism.common.base.IActiveState;
import mekanism.common.tile.prefab.TileEntityBasicBlock;
import mekanism.common.tile.prefab.TileEntityElectricBlock;
import meka... |
package io.github.jspinak.brobot.buildStateStructure.buildFromNames.write.transitionSpecs;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.MethodSpec;
import io.github.jspinak.brobot.actions.customActions.CommonActions;
import io.github.jspinak.brobot.buildStateStructure.buildFromNames.babyStates.... |
package jp.wasabeef.recyclerview.animators;
/*
* Copyright (C) 2015 Wasabeef
* 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
*
* ... |
/**
* Copyright 2019 the original author or authors.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... |
package gov.healthit.chpl.scheduler.job.summarystatistics.chart.domain;
import java.time.LocalDate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TotalUniqueProductsOverTime {
privat... |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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... |
/**
*
* 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"); ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.