text stringlengths 7 1.01M |
|---|
package jaredbgreat.dldungeons.nbt.tags;
/*
* Doomlike Dungeons by is licensed the MIT License
* Copyright (c) 2014-2018 Jared Blackburn
*/
import jaredbgreat.dldungeons.nbt.NBTType;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.nbt.NBTTagLong;
public class ... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... |
/*
* Copyright (C) 2020-2021 Lightbend Inc. <https://www.lightbend.com>
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ReplicatorMessages.proto
package akka.cluster.ddata.protobuf.msg;
public final class ReplicatorMessages {
private ReplicatorMessages() {}
public static void register... |
package net.greghaines.jesque;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class TestConfigBuilder {
@Test
public void testGetDefaultConfig() {
final Config config = ConfigBuilder.getDefaultConfig();
Assert.a... |
package org.akadia.prometheus.metrics;
import io.prometheus.client.Collector;
import io.prometheus.client.hotspot.GarbageCollectorExports;
import org.akadia.prometheus.PrometheusExporter;
import org.akadia.prometheus.interfaces.MetricWrapper;
import org.akadia.prometheus.utils.Util;
import java.util.List;
public cla... |
/*
* Copyright 2016-2021 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 2002-2010 Martin Dvorak
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.apach... |
package org.jboss.resteasy.test.resource;
import org.jboss.resteasy.specimpl.ResteasyUriInfo;
import org.junit.Assert;
import org.junit.Test;
import java.net.URI;
import java.net.URISyntaxException;
/**
* @tpSubChapter Resource tests
* @tpChapter Unit tests
* @tpSince RESTEasy 3.0.17
* @tpTestCaseDetails Regressi... |
package com.alvieira.jblog.web.rest.errors;
import java.io.Serializable;
public class FieldErrorVM implements Serializable {
private static final long serialVersionUID = 1L;
private final String objectName;
private final String field;
private final String message;
public FieldErrorVM(String d... |
package com.github.kshashov.timetracker.data.service.admin.roles;
import com.github.kshashov.timetracker.data.entity.user.ProjectRole;
import com.github.kshashov.timetracker.data.entity.user.ProjectRoleIdentity;
import com.github.kshashov.timetracker.data.entity.user.User;
import javax.validation.constraints.NotNull;... |
package com.tsy.leanote.widget.loadsir;
import com.kingja.loadsir.callback.Callback;
import com.tsy.leanote.R;
/**
* Description:TODO
* Create Time:2017/9/4 10:22
* Author:KingJA
* Email:kingjavip@gmail.com
*/
public class EmptyCallback extends Callback {
@Override
protected int onCreateView() {
... |
package dev.hephaestus.relentlessdead.impl.entitest.ai.pathing;
import dev.hephaestus.relentlessdead.impl.entitest.PathfindingEntity;
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHel... |
package com.mesosphere.dcos.cassandra.scheduler.resources;
import com.google.common.collect.ImmutableMap;
import com.mesosphere.dcos.cassandra.common.config.ConfigurationManager;
import com.mesosphere.dcos.cassandra.common.config.ServiceConfig;
import com.mesosphere.dcos.cassandra.common.tasks.CassandraDaemonTask;
imp... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.rendering;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
i... |
package com.liquidPrep.models;
public class Weather {
private float currentTemperature;
private float minTemperature;
private float maxTemperature;
private String levelMetric;
public Weather(float currentTemperature, float minTemperature, float maxTemperature, String levelMetric) {
super();
this.currentTe... |
package com.github.zxl0714.redismock.operations;
import com.github.zxl0714.redismock.storage.RedisBase;
import com.github.zxl0714.redismock.server.Slice;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
class RO_spop extends RO_pop<Set<Slice>> {
RO_spop(RedisBase base, List<Slice> params )... |
/*
* 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... |
/*
* Copyright 2014-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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... |
package problems.algorithm.string;
/**
* @author search
* @version 创建时间:2018年4月23日 下午4:59:37 类说明 : 最后一个单词的长度
*/
public class LengthOfLastWord_58 {
public int lengthOfLastWord(String s) {
String[] arr = s.trim().split(" ");
return arr[arr.length - 1].length();
}
public int lengthOfLastWord2(St... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* 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 conditi... |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package org.infinispan.counter.impl.function;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Collections;
import java.util.Set;
import org.infinispan.commons.marshall.AdvancedExternalizer;
import org.infinispan.counter.api.CounterConfiguration;
import org.infinis... |
package com.loohp.limbo.plugins;
import com.loohp.limbo.file.FileConfiguration;
public class PluginInfo {
private final String name;
private final String description;
private final String author;
private final String version;
private final String main;
public PluginInfo(FileConfiguration fil... |
package com.trilead.ssh2;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import static org.junit.Assert.fail;
public class TestExtendedHostKeyVerifier extends ExtendedServerHostKeyVerifier {
private final Logger logger = L... |
/*
* Copyright (c) 2016 Network New Technologies 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 appli... |
/*
* (C) Copyright Itude Mobile B.V., The Netherlands
*
* 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... |
/*
* 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... |
/*
* Copyright 2002-2016 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... |
// Copyright 2000-2020 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.ui.mac.foundation;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Disposer;
import c... |
package group.test;
public interface FortuneService {
public String getFortune();
}
|
package se.comhem.web.test.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import se.comhem.web.test.domain.Hero;
import se.comhem.web.test.exception.SaveHeroException;
import se.comhem.web.test.repositories.HeroRepository;
import java.util.Map;
... |
/**
“© Copyright 2017 Hewlett Packard Enterprise Development LP
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 conditions and the follo... |
package softuniBlog.controller;
import org.apache.catalina.servlet4preview.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.core.Authentication;
import org.springframework.securit... |
package com.qyh.litemvp.cache;
import android.text.TextUtils;
import android.util.LruCache;
/**
* @author 邱永恒
* @time 2017/10/23 16:19
* @desc 内存缓存
*/
public class MemoryCache implements ICache{
private LruCache<String, Object> cache;
private static MemoryCache instance;
private Memo... |
/*
* Copyright 2014 NAVER Corp.
*
* 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 ... |
package com.example;
import org.springframework.stereotype.Component;
@Component
public class MejoraFormato {
public String mejorFormato(String nombre) {
String output = "";
String [] split = nombre.split(" ");
for (int i = 0; i< split.length; i ++ ) {
output += split[i].substring(0, 1).toUpperCase()+s... |
/*
* Copyright 1999-2021 Alibaba Group Holding Ltd.
*
* 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.infinispan.lucene.readlocks;
import java.io.IOException;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.IOContext;
import org.apache.lucene.store.IndexInput;
import org.apache.lucene.store.IndexOutput;
import org.infinispan.Cache;
import org.infinispan.lucene.CacheTestSupport;
im... |
/*
* 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... |
public class Node
{
String name;
int height;
Node left;
Node right;
public Node()
{
this.name = new String("Value");
this.height = 1;
this.left = null;
this.right = null;
}
public Node(String name)
{
this.name = new String(na... |
/**
* 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 (c) 2019, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.daml.extensions.jsonapi.gson;
import static org.junit.Assert.assertEquals;
import com.google.gson.Gson;
import com.google.gson.JsonDeserializer;
import java.tim... |
package com.blamejared.crafttweaker.impl_native.entity.attribute;
import com.blamejared.crafttweaker.api.annotations.ZenRegister;
import com.blamejared.crafttweaker_annotations.annotations.Document;
import com.blamejared.crafttweaker_annotations.annotations.NativeTypeRegistration;
import net.minecraft.entity.ai.attrib... |
package dk.statsbiblioteket.user.tra.apt;
import org.junit.Test;
public class T2 {
}
|
/**
* Copyright 2015-2017 Red Hat, Inc, and individual contributors.
*
* 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 require... |
package malictus.gh.dtb;
/**
* DTBNode
*
* An object that represents a single DTB value.
*
* by Jim Halliday
* malictus@malictus.net
*
*/
public class DTBValue {
//float, string, or integer object (single only) or sometimes null
Object value;
int type;
public DTBValue(Object value, int t... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
/*
* Copyright (c) 2020. MobilityData IO.
*
* 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 ... |
package com.packtpublishing.tddjava.ch02friendships;
import org.junit.*;
import java.util.Arrays;
import java.util.List;
public class FriendshipsTest {
@BeforeClass
public static void beforeClass() {
// This method will be executed once on initialization time
}
@AfterClass
public static ... |
/* Copyright (c) 2015 Qualcomm Technologies Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that
the following conditions are met:
Redistributions of source code must retain the above... |
package com.injectionforxcode;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.fileEditor.FileDocumentManager;
import com.intellij.openapi.project.Project;
import com.intell... |
package com.blogspot.kma.chatsocket.server.model;
import java.io.Closeable;
/**
* Communication server that will wait for connections from clients and routes these connections
* to {@link Worker}.
*/
public interface Server extends Closeable {
void start();
}
|
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2016
* ... |
/**
* UserList.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201402.rm;
/**
* Represents a UserList object that is sent over the wire.
* This is a list of users an account may targ... |
package com.example.contexthierarchy;
import com.example.contexthierarchy.context.TestBean;
import com.example.contexthierarchy.foo.FooConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.Sprin... |
/*
* Copyright (c) 2013, 2018, 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 ... |
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.py.translate.operation;
import org.jetbrains.kotlin.builtins.KotlinBuiltIns;
imp... |
package org.hzero.admin.infra.repository.impl;
import io.choerodon.core.domain.Page;
import io.choerodon.mybatis.pagehelper.PageHelper;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;
import org.hzero.admin.domain.entity.ApiMonitorRule;
import org.hzero.admin.domain.repository.ApiMonitorRuleRepository;
impo... |
package org.assertj.android.support.v4.api.util;
import android.support.v4.util.SparseArrayCompat;
import org.assertj.core.api.AbstractAssert;
import static org.assertj.core.api.Assertions.assertThat;
/** Assertions for {@link SparseArrayCompat} instances. */
public class SparseArrayCompatAssert<E>
extends Abstr... |
package ru.taskurotta.recipes.darg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.taskurotta.test.flow.BasicFlowArbiter;
import java.util.List;
import java.util.UUID;
/**
* Created with IntelliJ IDEA.
* User: dimadin
* Date: 16.07.13 14:29
*/
public class DArgArbiter extends BasicFlowArbiter... |
package net.minecraft.world.level.block;
import javax.annotation.Nullable;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.world.InteractionHand;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.... |
package test20;
/*
* @author Sridhar Gopinath - g.sridhar53@gmail.com
*
* Course project,
* Principles of Programming Course, Fall - 2016,
* Computer Science and Automation (CSA),
* Indian Institute of Science (IISc),
* Bangalore
*/
/*
* Test 20: Multiple constructors
*/
public class Main {
public sta... |
package org.pwr.hpc.gol.gpu.init;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
public class NvccCompilationUtils {
public static String preparePtxFile(String cuFileName) throws IOException {
cuFileName = cuFileName.substring(1);
... |
/*******************************************************************************
* (c) Copyright IBM Corporation 2017.
*
* 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... |
/**
*
*/
package socns.persist.service;
import java.util.Date;
/**
* @author langhsu
*
*/
public interface LogService {
void add(int logType, long userId, long targetId, String ip);
int statsByDay(int logType, long userId, long targetId, String ip, Date day);
}
|
package com.haiberg.automation.client.StepDefinition;
import org.junit.Assert;
import com.haiberg.automation.client.task.ChangeClientTask;
import com.haiberg.automation.client.task.CreateClientTask;
import com.haiberg.automation.login.task.LoginTask;
import com.haiberg.automation.login.testRunner.LoginRunner;
impor... |
/*
* Copyright 2012-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 applicable... |
package com.github.stefvanschie.quickskript.bukkit.psi.expression;
import com.github.stefvanschie.quickskript.bukkit.context.EventContextImpl;
import com.github.stefvanschie.quickskript.core.context.Context;
import com.github.stefvanschie.quickskript.core.context.EventContext;
import com.github.stefvanschie.quickskrip... |
/*
* 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 module370packageJava0;
import java.lang.Integer;
public class Foo17 {
Integer int0;
Integer int1;
public void foo0() {
new module370packageJava0.Foo16().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
/*
* This file is part of igloo, licensed under the MIT License.
*
* Copyright (c) 2018 KyoriPowered
*
* 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 wi... |
/*
* Copyright 2020 Haulmont.
*
* 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... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package game;
import java.awt.Color;
import java.awt.Graphics;
/**
* Class that controls movement and render of the bot.
* @author DanielderErbauer
*
*/
public class Bot extends GameObject {
float speed;
public Bot(int pX, int pY, Game game, float speed) {
super(pX, pY, game);
this.speed ... |
package com.mzielinski.advent.of.code.day12.model.position;
import com.mzielinski.advent.of.code.day12.model.Direction;
import com.mzielinski.advent.of.code.day12.model.Instruction;
import static com.mzielinski.advent.of.code.day12.model.Direction.*;
public record StandardPositionChanger(int north, int south, int ea... |
/*
* 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 2012-2018 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 com.java.offer;
public class FindFirstNodeTest {
static class Node{
int value;
Node next;
Node(int val){
this.value = val;
}
}
public static Node findFirstNode(Node head1, Node head2){
if(head1 == null || head2 == null){
return null;
}
int length1 = 0, length2 = 0;
Node node = he... |
/*
* The MIT License
*
* Copyright 2019 WildBees Labs, Inc.
*
* 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, co... |
import java.lang.annotation.*;
import org.aspectj.lang.annotation.*;
import org.aspectj.lang.*;
@Aspect class A {
@Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)")
void annotatedMethods(Tracing tracing) { }
@AfterThrowing(pointcut = "annotatedMethods(tracing)", throwing = "t")... |
package com.andarb.bakelicious;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.GridLayoutManager;
import andro... |
package s1705270;
import java.util.HashSet;
import java.util.Set;
public abstract class BinaryComparison extends Comparison {
protected Term left;
protected Term right;
public BinaryComparison(Term left, Term right, Comparison.Type type) {
super(type);
this.left = left;
this.right = right;
}
public Te... |
//
// $Id$
//
package jsky.app.ot.progadmin;
import javax.swing.*;
import java.awt.*;
/**
* UI for editing GSA attributes.
*/
final class GsaUI extends JPanel {
private JSpinner _monthSpinner;
private JCheckBox _headerCheckBox;
public GsaUI() {
super(new GridBagLayout());
// setBorder(... |
package chapter10.e11;
public class Student extends Person {
private String major;
public Student(String name, int yearOfBirth, String major) {
super(name, yearOfBirth);
this.major = major;
}
public String getMajor() {
return this.major;
}
public String toString() {
return "Student " + getName() + ... |
/**
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for ... |
/*
* aFlux: JVM based IoT Mashup Tool
* Copyright 2019 Tanmaya Mahapatra
*
* 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
*
* Unl... |
/*
* 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.huawei.ais.demo.asr;
import java.io.File;
import java.io.IOException;
import com.huawei.ais.sdk.AisAccessWithProxy;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.io.FileUtils;
import org.apache.http.HttpResponse;
import com.alibaba.fastjson.JSONObject;
import com.huawei.ais.dem... |
package com.noice.xxxx.users.app.resources.users.v1.controllers;
import java.util.Arrays;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import ... |
// 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... |
/*
* Copyright 2016 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package com.kodeWorkTest.project.util;
import android.support.test.espresso.IdlingResource;
import java.util.concurrent.atomic.AtomicInteger;
import timber.log.Timber;
/**
* Espresso Idling resource that handles waiting for RxJava Observables executions. This class must
* be used with RxIdlingScheduler. Before re... |
package com.zhida.car.datahelper;
import com.zhida.car.datahelper.network.Message;
import com.zhida.car.datahelper.network.MessageManager;
/**
* Created by skylan on 16/12/25.
*/
public class ConnectDataHelper extends BaseDataHelper {
public static final String COMMAND_STR = "cmd=ping";
private boolean m... |
package org.umlg.sqlg;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.umlg.sqlg.test.*;
import org.umlg.sqlg.test.aggregate.TestAggregate;
import org.umlg.sqlg.test.aggregate.TestGroupCount;
import org.umlg.sqlg.test.aggregate.TestMax;
import org.umlg.sqlg.test.batch.*;
import org.umlg.sql... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for
* license information.
*/
package com.microsoft.azure.spring.data.cosmosdb.core;
import com.azure.data.cosmos.CosmosContainerProperties;
import com.azure.data.cosmos.PartitionKey;
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cc.geosrv.xodr.geo;
import cc.ctrl.CtrlLineArcs;
import cc.geosrv.Proj;
import cc.geosrv.xodr.XodrUtil;
import cc.util.Arrays;... |
/*
* 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 (c) 1991, 2021 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
/*
* Copyright (C) 2019 Pieter Pauwels, Ghent University
* Modifications Copyright (C) 2020 Giovanni Velludo
*
* This file is part of ifc-java.
*
* 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 Li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.