text stringlengths 7 1.01M |
|---|
package com.adriankwiatkowski.logcolor.colorbuilder.builders;
import com.adriankwiatkowski.logcolor.colorbuilder.interfaces.ColorBuilder;
public abstract class AbstractColorBuilder implements ColorBuilder {
public AbstractColorBuilder(Builder<?> builder) {
}
public abstract static class Builder<T extend... |
package component;
public class TextBox extends Component {
@Override
public void display() {
System.out.println("显示文本框");
}
}
|
/*
* Copyright 2013-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... |
/*
* 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 ... |
// Targeted by JavaCPP version 1.5.5-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cpython;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.cpython.global.python.*;
@Properties(inher... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2017 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
package com.leonardo.arkansasproject;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final Bot bot = new Bot();
final Scanner scanner = new Scanner(System.in);
if (scanner.hasNext()) {
bot.getJda().shutdown();
scanner.close()... |
/**
* Copyright 2006-2010 Daniel Henninger. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package net.sf.kraken.protocols.oscar;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Coll... |
/*
* 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 frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.RobotContainer;
import frc.robot.subsystems.SK20Climb;
/**
* An example command that uses an subsystem.
*/
public class ClimbReleaseCommand extends CommandBase {
private final SK20Climb m_subsystem;
private Robot... |
/*
* 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 io.swagger.model;
import java.util.Objects;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.model.AmeItemParameterType;
import java.util.List;
import javax.validation.constraints.*;
import io.swagger.annota... |
package com.devil.spring.bean;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import javax.annotation.PostConstruct;
/**
* @author Devil
* @date Created in 2021/7/15 9:47
*/
public class DevilBean implements InitializingBean {
private stati... |
package builder;
public class Director {
public void consturct(Builder builder) {
builder.buildA();
builder.buildB();
}
}
|
package com.smart.module.car.web;
import com.smart.common.model.Result;
import com.smart.common.util.ExcelExport;
import com.smart.module.car.entity.CarManage;
import com.smart.module.car.repository.CarManageRepository;
import com.smart.module.car.service.CarManageService;
import com.smart.module.finance.entity.Order;... |
/*
* 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 org.modelio.module.cpswarm.type.Algorithm;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackso... |
package com.zos.activiti;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;
import lombok.extern.slf4j.Slf4j;
impo... |
package com.example.franco.francobeerapp.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Franco on 29/05/2017.
*/
public class Beer {
@SerializedName("message")
@Expose
private String message;
@SerializedName("data")
@Expose
... |
package module827packageJava0;
import java.lang.Integer;
public class Foo45 {
Integer int0;
Integer int1;
public void foo0() {
new module827packageJava0.Foo44().foo6();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
package com.google.gson.internal.bind;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonIOException;
import com.google.gson.JsonNull;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSyntaxEx... |
// Copyright 2000-2017 JetBrains s.r.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
package com.udacity.pricing;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.transaction.TransactionSystemException;
import org.springframework.web.bind.anno... |
package com.haleywang.putty.dto;
import com.haleywang.putty.service.action.ActionCategoryEnum;
import java.io.Serializable;
/**
* @author haley
*/
public class ActionDto implements Action, Serializable {
private String name;
private String action;
private String keyMap;
private ActionCategoryEnum ... |
package com.example.zipkinserver_2.business.src.service.Impl;
import com.example.zipkinserver_2.business.src.service.Zipkin2Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.sleuth.sampler.AlwaysSampler;
import org.springframework.context.annotation.Bean;
import o... |
/*
* Copyright 2010 Srikanth Reddy Lingala
*
* 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... |
/*
* 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 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 k0bin.notes.model;
import android.support.annotation.NonNull;
import java.util.Objects;
public class FilterTag {
@NonNull
private Tag tag;
private boolean isActive;
public FilterTag(@NonNull Tag tag, boolean isActive) {
this.tag = tag;
this.isActive = isActive;
}
@No... |
package br.com.zupacademy.marcio.casadocodigo.controller.dto;
import br.com.zupacademy.marcio.casadocodigo.model.Pais;
public class PaisResponse {
private Long id;
private String nome;
public PaisResponse(Pais pais) {
this.id = pais.getId();
this.nome = pais.getNome();
}
public ... |
package com.salton123.app;
import android.Manifest;
import android.app.Application;
import android.content.pm.PackageManager;
import android.os.Process;
import com.qw.soul.permission.SoulPermission;
import com.salton123.C;
import com.salton123.app.future.FutureTaskAppDelegate;
import com.salton123.log.XLog;
import co... |
package com.platum.restflow.exceptions;
import java.util.List;
@SuppressWarnings("serial")
public class RestflowListOfException extends RestflowException {
private List<Throwable> errors;
public RestflowListOfException(List<Throwable> errors) {
this("Errors occurred", errors);
}
public RestflowListOfExcept... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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
*
* ... |
/*
* Copyright 2016 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2016-17 inpwtepydjuf@gmail.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
*
* Unless required by applicable law... |
package org.apache.xmlext.org.w3c.dom.svg;
public interface SVGFEImageElement extends
SVGElement,
SVGURIReference,
SVGLangSpace,
SVGExternalResourcesRequired,
SVGFilterPrimitiveStandardAttributes {
public SVGAnimatedPreserveAspec... |
/*
* 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.qunar.im.ui.presenter.views;
import android.util.SparseArray;
import com.qunar.im.base.module.Nick;
import java.util.List;
/**
* Created by saber on 15-7-2.
*/
public abstract class IChatroomViewAdapterForDeptView implements IChatRoomListView {
@Override
public void setGroupList( SparseArray<... |
//This is source code of favorite. Copyrightⓒ. Tarks. All Rights Reserved.
/*
* Copyright 2013, Edmodo, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License.
* You may obtain a copy of the License in the LICENSE file, or at:
*
* ... |
package blanco.sfdc.jdbc.driver;
import java.sql.PreparedStatement;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import com.sforce.soap.partner.DescribeGlobalResult;
import com.sforce.soap.partner.DescribeGlobalSObjectResult;
import com.sforce.soap.partner.DescribeSObjectResult;
import com.sforce.... |
package com.google.android.gms.internal.ads;
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
public final class zzciw {
private final zzdnv zzeot;
private final zzdnw zzeou;
private final zzbvh zzfsg;
private final zzbwa zzfwy;
private final zzbuc zzfxw;
private final zzbv... |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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://... |
package com.ray.library.view.view.imageview;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import com.bumptech.glide.load.engine.b... |
package com.twitapp.notification.service;
import com.twitapp.clients.notification.NotificationRequest;
import com.twitapp.notification.model.Notification;
import com.twitapp.notification.repository.NotificationRepository;
import lombok.AllArgsConstructor;
import org.modelmapper.ModelMapper;
import org.springframework.... |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
/*
* 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... |
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2018-2019 The Feast 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
*... |
/*
* 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 ... |
// This is a generated file. Not intended for manual editing.
package com.perl5.lang.perl.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface PsiPerlReplacementRegex extends PsiPerlExpr, PerlReplacementRegex {
@Nullable
PsiPerlBlockBraceless getBlo... |
package org.apache.ojb.tools.mapping.reversedb2.dnd2;
/* Copyright 2002-2005 The Apache Software 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.a... |
package ch.admin.bag.covidcertificate.config.security.validation;
import ch.admin.bag.covidcertificate.config.security.authentication.JeapAuthenticationContext;
import com.nimbusds.jwt.JWT;
import com.nimbusds.jwt.JWTParser;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
@NoArgsConstructor(access = Acces... |
package org.testcontainers.junit.jupiter;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.HttpClientBuilder;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.testcontai... |
/*
* This file is part of Neutron, licensed under the MIT License
*
* Copyright (c) 2020 Crypnotic <crypnoticofficial@gmail.com>
* Copyright (c) 2020 Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... |
package com.develcode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TestedevelcodeApiApplication {
public static void main(String[] args) {
SpringApplication.run(TestedevelcodeApiApplication.cla... |
package com.docusign.esign.model;
import java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.ErrorDetails;
import com.docusign.esign.model.MergeField;
import com.docusign.esign.model.PropertyMetadata;
import com.docusign.esign.model.SmartContractInformation;
import com.fasterxml.jackson.annotat... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, cop... |
package com.javapatterns.iterator.copsandsales;
public class CartOfCopA extends ShoppingCart {
public CartOfCopA() {
}
public Iterator createIterator() {
return new ForwardIterator(this);
}
} |
package demo.binea.com.materialdesignprogressbar;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTe... |
/*
* 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.revature.data;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import java.util.Set;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import com.revature.beans.Department;
import com.revature.data.pos... |
/*
* 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 vdi.commons.web.rest.objects;
/**
* Contains information about restrictions for VM creation and update defined by
* the ManagementServer.
*
* @see vdi.commons.web.rest.interfaces.ManagementVMService#getResourceRestrictions()
* ManagementVMService#getResourceRestrictions()
*/
public class ResourceRe... |
/*
* The MIT License (MIT)
*
* Copyright (c) Despector <https://despector.voxelgenesis.com>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without rest... |
package udmi.schema;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Setup Reflector State
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NO... |
/*
* Licensed to ElasticSearch and Shay Banon 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... |
/*
* Copyright 2019 The RoboZonky 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 ... |
package mage.cards.c;
import mage.abilities.Ability;
import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.AttachEffect;
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import... |
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.llvm.LLVM;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.llvm.global.LLVM.*;
/**
* @see llvm::JITEventLis... |
/*
* Copyright 2022 Whilein
*
* 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... |
package com.lovi.puppy.exceptions;
public class RequestProcessingException extends Exception{
private static final long serialVersionUID = 400173508861017252L;
private int statusCode = 400;
public RequestProcessingException(String errorMessage) {
super(errorMessage);
}
public int getStatusCode() {
retur... |
/*
* Copyright (C) 2017 优客服-多渠道客服系统
* Modifications copyright (C) 2018 Chatopera Inc, <https://www.chatopera.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://ww... |
package com.hebin.lifetool.ui.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view... |
/*
* AbstractImageBorder.java
*
* Created on March 27, 2007, 9:19 AM
*
* Copyright 2006-2007 Nigel Hughes
*
* 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/
* licen... |
package crazypants.gui;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.rend... |
package com.java.leetCode;
/**
* Created by mi on 17-8-8.
*/
public class ReverseKGroup_25 {
public ListNode reverseKGroup(ListNode head, int k) {
ListNode phead = new ListNode(0);
ListNode pre = phead;
phead.next = head;
if (k > 1) {
while (pre.next != null) {
... |
/*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... |
package com.adaptris.management.aar;
class SimpleLogger {
static final boolean DBG = Boolean.getBoolean("adp.bootstrap.debug") || Boolean.getBoolean("interlok.bootstrap.debug");
static void log(String s) {
if (DBG) System.err.println("(Container): " + s);
}
static void log(String s, Exception e) {
Sy... |
/*
* Copyright 2003-2019 MarkLogic Corporation
*
* 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... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.fragment;
public final class R {
private R() {}
public static final class attr {
private attr(... |
package org.intermine.api.bag.operations;
/*
* Copyright (C) 2002-2018 FlyMine
*
* 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. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/... |
package de.csbdresden.csbdeep.network.model.tensorflow;
import org.junit.Ignore;
import org.junit.Test;
import net.imagej.ImageJ;
public class TensorflowTest {
@Test
@Ignore
public void testTensorflowService() {
ImageJ ij = new ImageJ();
ij.ui().setHeadless(true);
ij.command().ru... |
package com.dezhonger.y2020.m01;
/**
* Created by dezhonger on 2020/01/05
*
* @author dezhonger
* @since 2020/01/05
*/
public class Leetcode1312 {
int res = Integer.MAX_VALUE;
public static void main(String[] args) {
System.out.println(new Leetcode1312().minInsertions("dyyuyabzkqaybcspq"));
}... |
/*
* 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 img.read;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.Para... |
package com.sap.cloud.lm.sl.cf.core.model;
import static java.text.MessageFormat.format;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
import com.sap.cloud.lm.sl.mta.Messages;
import com.sap.cloud.lm.sl.mta.model.AuditableConfigura... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.generated;
import com.azure.core.util.Context;
/** Samples for AvailabilitySets GetByResourceGroup. */
public final cla... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... |
package com.andersenlab.crm.rest.facade;
import com.andersenlab.crm.rest.BaseResponse;
import com.andersenlab.crm.rest.dto.EstimationRequestOldDto;
public interface EstimationRequestFacade {
BaseResponse createOldRequest(EstimationRequestOldDto json);
BaseResponse updateOldRequest(EstimationRequestOldDto js... |
package com.example.n11thirdhomework.service;
import com.example.n11thirdhomework.entity.CategoryEntity;
import java.util.List;
public interface CategoryService {
List<CategoryEntity> findAll();
CategoryEntity findById(String id) ;
CategoryEntity save(CategoryEntity category);
void delete(String ... |
package org.reactnative.camera.events;
import androidx.core.util.Pools;
import android.util.SparseArray;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import android.util.Log;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.Readabl... |
package example.service;
import example.repo.Customer887Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer887Service {
public Customer887Service(Customer887Repository repo) {
}
}
|
/*
* (c) LibriCore
*
* Created on Jan 25, 2005
*
* Order.java
*/
package org.folio.marccat.dao.persistence;
import net.sf.hibernate.CallbackException;
import net.sf.hibernate.Session;
import org.folio.marccat.business.common.Persistence;
import org.folio.marccat.business.common.PersistenceState;
import org.folio... |
/*
* 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.naughtyzombie.boilerplate.springreactboilerplate.security;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import static org.springfr... |
package nl.weeaboo.vn.core;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
/**
* General-purpose relative direction.
*/
public enum Direction {
NONE(0),
TOP_LEFT(7),
... |
package org.ovirt.engine.ui.uicommonweb.models.networks;
import java.util.ArrayList;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.StoragePool;
import org.ovirt.engine.core.common.businessentities.network.Network;
import org.ovirt.engine.core.common.businessentities.network.NetworkView;
... |
package org.develnext.jphp.core.syntax.generators;
import org.develnext.jphp.core.syntax.SyntaxAnalyzer;
import org.develnext.jphp.core.tokenizer.token.SemicolonToken;
import org.develnext.jphp.core.tokenizer.token.Token;
import org.develnext.jphp.core.tokenizer.token.expr.BraceExprToken;
import org.develnext.jphp.cor... |
//,temp,TestMapProgress.java,90,92,temp,LocalJobRunner.java,705,709
//,3
public class xxx {
public void shuffleError(TaskAttemptID taskId, String message) throws IOException {
LOG.info("Task " + taskId + " reporting shuffle error: " + message);
}
}; |
package representer.normalizer;
import com.github.javaparser.ast.Node;
import com.github.javaparser.ast.comments.BlockComment;
import com.github.javaparser.ast.comments.LineComment;
import com.github.javaparser.ast.comments.JavadocComment;
import com.github.javaparser.ast.visitor.ModifierVisitor;
public class Commen... |
/*
* Copyright (c) 2013, Blackboard, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of con... |
/*
* (c) 2005 David B. Bracewell
*
* 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, Ve... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.